~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/media/dvb/dvb-usb/dib0700.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
        // 1 Byte: 4MSB(1 = enable streaming, 0 = disable streaming) 4LSB(Video Mode: 0 = MPEG2 188Bytes, 1 = Analog)
33
33
        // 2 Byte: MPEG2 mode:  4MSB(1 = Master Mode, 0 = Slave Mode) 4LSB(Channel 1 = bit0, Channel 2 = bit1)
34
34
        // 2 Byte: Analog mode: 4MSB(0 = 625 lines, 1 = 525 lines)    4LSB(     "                "           )
 
35
#define REQUEST_SET_I2C_PARAM       0x10
35
36
#define REQUEST_SET_RC              0x11
36
37
#define REQUEST_NEW_I2C_READ        0x12
37
38
#define REQUEST_NEW_I2C_WRITE       0x13
45
46
        u8 is_dib7000pc;
46
47
        u8 fw_use_new_i2c_api;
47
48
        u8 disable_streaming_master_mode;
48
 
    u32 fw_version;
49
 
    u32 nb_packet_buffer_size;
 
49
        u32 fw_version;
 
50
        u32 nb_packet_buffer_size;
 
51
        u8 buf[255];
50
52
};
51
53
 
52
54
extern int dib0700_get_version(struct dvb_usb_device *d, u32 *hwversion,
61
63
extern int dib0700_identify_state(struct usb_device *udev, struct dvb_usb_device_properties *props,
62
64
                        struct dvb_usb_device_description **desc, int *cold);
63
65
extern int dib0700_change_protocol(struct rc_dev *dev, u64 rc_type);
 
66
extern int dib0700_set_i2c_speed(struct dvb_usb_device *d, u16 scl_kHz);
64
67
 
65
68
extern int dib0700_device_count;
66
69
extern int dvb_usb_dib0700_ir_proto;