/drivers/media/usb/dvb-usb-v2/ |
D | dvb_usb.h | 59 #define adap_to_d(adap) (container_of(adap, struct dvb_usb_device, \ 112 struct dvb_usb_device; 142 int (*query) (struct dvb_usb_device *d); 244 int (*identify_state) (struct dvb_usb_device *, const char **); 247 int (*download_firmware) (struct dvb_usb_device *, 253 int (*get_adapter_count) (struct dvb_usb_device *); 255 int (*power_ctrl) (struct dvb_usb_device *, int); 256 int (*read_config) (struct dvb_usb_device *d); 264 int (*init) (struct dvb_usb_device *); 265 void (*exit) (struct dvb_usb_device *); [all …]
|
D | az6007.c | 133 static int az6007_read(struct dvb_usb_device *d, u8 req, u16 value, in az6007_read() 180 static int az6007_write(struct dvb_usb_device *d, u8 req, u16 value, in az6007_write() 198 struct dvb_usb_device *d = fe_to_d(fe); in az6007_streaming_ctrl() 207 static int az6007_rc_query(struct dvb_usb_device *d) in az6007_rc_query() 240 static int az6007_get_rc_config(struct dvb_usb_device *d, struct dvb_usb_rc *rc) in az6007_get_rc_config() 258 struct dvb_usb_device *d = (struct dvb_usb_device *)ca->data; in az6007_ci_read_attribute_mem() 300 struct dvb_usb_device *d = (struct dvb_usb_device *)ca->data; in az6007_ci_write_attribute_mem() 331 struct dvb_usb_device *d = (struct dvb_usb_device *)ca->data; in az6007_ci_read_cam_control() 377 struct dvb_usb_device *d = (struct dvb_usb_device *)ca->data; in az6007_ci_write_cam_control() 408 struct dvb_usb_device *d = (struct dvb_usb_device *)ca->data; in CI_CamReady() [all …]
|
D | anysee.c | 49 static int anysee_ctrl_msg(struct dvb_usb_device *d, in anysee_ctrl_msg() 117 static int anysee_read_reg(struct dvb_usb_device *d, u16 reg, u8 *val) in anysee_read_reg() 126 static int anysee_write_reg(struct dvb_usb_device *d, u16 reg, u8 val) in anysee_write_reg() 134 static int anysee_wr_reg_mask(struct dvb_usb_device *d, u16 reg, u8 val, in anysee_wr_reg_mask() 155 static int anysee_rd_reg_mask(struct dvb_usb_device *d, u16 reg, u8 *val, in anysee_rd_reg_mask() 177 static int anysee_get_hw_info(struct dvb_usb_device *d, u8 *id) in anysee_get_hw_info() 190 static int anysee_led_ctrl(struct dvb_usb_device *d, u8 mode, u8 interval) in anysee_led_ctrl() 198 static int anysee_ir_ctrl(struct dvb_usb_device *d, u8 onoff) in anysee_ir_ctrl() 209 struct dvb_usb_device *d = i2c_get_adapdata(adap); in anysee_master_xfer() 502 static int anysee_read_config(struct dvb_usb_device *d) in anysee_read_config() [all …]
|
D | dvb_usb_core.c | 35 static int dvb_usbv2_download_firmware(struct dvb_usb_device *d, in dvb_usbv2_download_firmware() 69 static int dvb_usbv2_i2c_init(struct dvb_usb_device *d) in dvb_usbv2_i2c_init() 94 static int dvb_usbv2_i2c_exit(struct dvb_usb_device *d) in dvb_usbv2_i2c_exit() 107 struct dvb_usb_device *d = container_of(work, in dvb_usb_read_remote_control() 108 struct dvb_usb_device, rc_query_work.work); in dvb_usb_read_remote_control() 132 static int dvb_usbv2_remote_init(struct dvb_usb_device *d) in dvb_usbv2_remote_init() 197 static int dvb_usbv2_remote_exit(struct dvb_usb_device *d) in dvb_usbv2_remote_exit() 258 struct dvb_usb_device *d = adap_to_d(adap); in dvb_usb_start_feed() 346 struct dvb_usb_device *d = adap_to_d(adap); in dvb_usb_stop_feed() 406 struct dvb_usb_device *d = adap_to_d(adap); in dvb_usbv2_media_device_init() [all …]
|
D | dvbsky.c | 53 static int dvbsky_usb_generic_rw(struct dvb_usb_device *d, in dvbsky_usb_generic_rw() 73 static int dvbsky_stream_ctrl(struct dvb_usb_device *d, u8 onoff) in dvbsky_stream_ctrl() 92 struct dvb_usb_device *d = fe_to_d(fe); in dvbsky_streaming_ctrl() 98 static int dvbsky_gpio_ctrl(struct dvb_usb_device *d, u8 gport, u8 value) in dvbsky_gpio_ctrl() 116 struct dvb_usb_device *d = i2c_get_adapdata(adap); in dvbsky_i2c_xfer() 199 static int dvbsky_rc_query(struct dvb_usb_device *d) in dvbsky_rc_query() 223 static int dvbsky_get_rc_config(struct dvb_usb_device *d, struct dvb_usb_rc *rc) in dvbsky_get_rc_config() 242 struct dvb_usb_device *d = fe_to_d(fe); in dvbsky_usb_set_voltage() 257 struct dvb_usb_device *d = adap_to_d(adap); in dvbsky_read_mac_addr() 283 struct dvb_usb_device *d = fe_to_d(fe); in dvbsky_usb_read_status() [all …]
|
D | lmedm04.c | 176 static int lme2510_usb_talk(struct dvb_usb_device *d, in lme2510_usb_talk() 213 static int lme2510_stream_restart(struct dvb_usb_device *d) in lme2510_stream_restart() 229 static int lme2510_enable_pid(struct dvb_usb_device *d, u8 index, u16 pid_out) in lme2510_enable_pid() 421 struct dvb_usb_device *d = adap_to_d(adap); in lme2510_int_read() 461 struct dvb_usb_device *d = adap_to_d(adap); in lme2510_pid_filter_ctrl() 488 struct dvb_usb_device *d = adap_to_d(adap); in lme2510_pid_filter() 505 static int lme2510_return_status(struct dvb_usb_device *d) in lme2510_return_status() 528 static int lme2510_msg(struct dvb_usb_device *d, in lme2510_msg() 541 struct dvb_usb_device *d = i2c_get_adapdata(adap); in lme2510_i2c_xfer() 616 struct dvb_usb_device *d = adap_to_d(adap); in lme2510_streaming_ctrl() [all …]
|
D | dvb_usb_urb.c | 24 static int dvb_usb_v2_generic_io(struct dvb_usb_device *d, in dvb_usb_v2_generic_io() 68 int dvb_usbv2_generic_rw(struct dvb_usb_device *d, in dvb_usbv2_generic_rw() 81 int dvb_usbv2_generic_write(struct dvb_usb_device *d, u8 *buf, u16 len) in dvb_usbv2_generic_write() 93 int dvb_usbv2_generic_rw_locked(struct dvb_usb_device *d, in dvb_usbv2_generic_rw_locked() 100 int dvb_usbv2_generic_write_locked(struct dvb_usb_device *d, u8 *buf, u16 len) in dvb_usbv2_generic_write_locked()
|
D | rtl28xxu.c | 30 static int rtl28xxu_ctrl_msg(struct dvb_usb_device *d, struct rtl28xxu_req *req) in rtl28xxu_ctrl_msg() 76 static int rtl28xxu_wr_regs(struct dvb_usb_device *d, u16 reg, u8 *val, int len) in rtl28xxu_wr_regs() 94 static int rtl28xxu_rd_regs(struct dvb_usb_device *d, u16 reg, u8 *val, int len) in rtl28xxu_rd_regs() 112 static int rtl28xxu_wr_reg(struct dvb_usb_device *d, u16 reg, u8 val) in rtl28xxu_wr_reg() 117 static int rtl28xxu_rd_reg(struct dvb_usb_device *d, u16 reg, u8 *val) in rtl28xxu_rd_reg() 122 static int rtl28xxu_wr_reg_mask(struct dvb_usb_device *d, u16 reg, u8 val, in rtl28xxu_wr_reg_mask() 147 struct dvb_usb_device *d = i2c_get_adapdata(adap); in rtl28xxu_i2c_xfer() 282 static int rtl2831u_read_config(struct dvb_usb_device *d) in rtl2831u_read_config() 363 static int rtl2832u_read_config(struct dvb_usb_device *d) in rtl2832u_read_config() 593 static int rtl28xxu_read_config(struct dvb_usb_device *d) in rtl28xxu_read_config() [all …]
|
D | af9035.c | 45 static int af9035_ctrl_msg(struct dvb_usb_device *d, struct usb_req *req) in af9035_ctrl_msg() 129 static int af9035_wr_regs(struct dvb_usb_device *d, u32 reg, u8 *val, int len) in af9035_wr_regs() 153 static int af9035_rd_regs(struct dvb_usb_device *d, u32 reg, u8 *val, int len) in af9035_rd_regs() 163 static int af9035_wr_reg(struct dvb_usb_device *d, u32 reg, u8 val) in af9035_wr_reg() 169 static int af9035_rd_reg(struct dvb_usb_device *d, u32 reg, u8 *val) in af9035_rd_reg() 175 static int af9035_wr_reg_mask(struct dvb_usb_device *d, u32 reg, u8 val, in af9035_wr_reg_mask() 195 static int af9035_add_i2c_dev(struct dvb_usb_device *d, const char *type, in af9035_add_i2c_dev() 246 static void af9035_del_i2c_dev(struct dvb_usb_device *d) in af9035_del_i2c_dev() 284 struct dvb_usb_device *d = i2c_get_adapdata(adap); in af9035_i2c_master_xfer() 495 static int af9035_identify_state(struct dvb_usb_device *d, const char **name) in af9035_identify_state() [all …]
|
D | af9015.c | 31 static int af9015_ctrl_msg(struct dvb_usb_device *d, struct req_t *req) in af9015_ctrl_msg() 124 static int af9015_write_regs(struct dvb_usb_device *d, u16 addr, u8 *val, in af9015_write_regs() 132 static int af9015_read_regs(struct dvb_usb_device *d, u16 addr, u8 *val, u8 len) in af9015_read_regs() 139 static int af9015_write_reg(struct dvb_usb_device *d, u16 addr, u8 val) in af9015_write_reg() 144 static int af9015_read_reg(struct dvb_usb_device *d, u16 addr, u8 *val) in af9015_read_reg() 149 static int af9015_write_reg_i2c(struct dvb_usb_device *d, u8 addr, u16 reg, in af9015_write_reg_i2c() 162 static int af9015_read_reg_i2c(struct dvb_usb_device *d, u8 addr, u16 reg, in af9015_read_reg_i2c() 175 static int af9015_do_reg_bit(struct dvb_usb_device *d, u16 addr, u8 bit, u8 op) in af9015_do_reg_bit() 197 static int af9015_set_reg_bit(struct dvb_usb_device *d, u16 addr, u8 bit) in af9015_set_reg_bit() 202 static int af9015_clear_reg_bit(struct dvb_usb_device *d, u16 addr, u8 bit) in af9015_clear_reg_bit() [all …]
|
/drivers/media/usb/dvb-usb/ |
D | dvb-usb.h | 93 struct dvb_usb_device; 185 int (*rc_query) (struct dvb_usb_device *, u32 *, int *); 207 int (*rc_query) (struct dvb_usb_device *d); 280 int (*power_ctrl) (struct dvb_usb_device *, int); 281 int (*read_mac_address) (struct dvb_usb_device *, u8 []); 373 struct dvb_usb_device *dev; 425 struct dvb_usb_device { struct 465 struct module *, struct dvb_usb_device **, argument 470 extern int dvb_usb_generic_rw(struct dvb_usb_device *, u8 *, u16, u8 *, u16,int); 471 extern int dvb_usb_generic_write(struct dvb_usb_device *, u8 *, u16); [all …]
|
D | gp8psk.c | 32 static int gp8psk_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, in gp8psk_usb_in_op() 71 static int gp8psk_usb_out_op(struct dvb_usb_device *d, u8 req, u16 value, in gp8psk_usb_out_op() 103 static int gp8psk_get_fw_version(struct dvb_usb_device *d, u8 *fw_vers) in gp8psk_get_fw_version() 108 static int gp8psk_get_fpga_version(struct dvb_usb_device *d, u8 *fpga_vers) in gp8psk_get_fpga_version() 113 static void gp8psk_info(struct dvb_usb_device *d) in gp8psk_info() 130 static int gp8psk_load_bcm4500fw(struct dvb_usb_device *d) in gp8psk_load_bcm4500fw() 187 static int gp8psk_power_ctrl(struct dvb_usb_device *d, int onoff) in gp8psk_power_ctrl() 232 static int gp8psk_bcm4500_reload(struct dvb_usb_device *d) in gp8psk_bcm4500_reload() 262 struct dvb_usb_device *d = priv; in gp8psk_fe_in() 270 struct dvb_usb_device *d = priv; in gp8psk_fe_out() [all …]
|
D | dib0700.h | 56 extern int dib0700_get_version(struct dvb_usb_device *d, u32 *hwversion, 58 extern int dib0700_set_gpio(struct dvb_usb_device *, enum dib07x0_gpios gpio, u8 gpio_dir, u8 gpio_… 59 extern int dib0700_ctrl_clock(struct dvb_usb_device *d, u32 clk_MHz, u8 clock_out_gp3); 60 extern int dib0700_ctrl_rd(struct dvb_usb_device *d, u8 *tx, u8 txlen, u8 *rx, u8 rxlen); 62 extern int dib0700_rc_setup(struct dvb_usb_device *d, struct usb_interface *intf); 68 extern int dib0700_set_i2c_speed(struct dvb_usb_device *d, u16 scl_kHz);
|
D | dvb-usb-common.h | 30 extern int dvb_usb_device_power_ctrl(struct dvb_usb_device *d, int onoff); 40 extern int dvb_usb_i2c_init(struct dvb_usb_device *); 41 extern int dvb_usb_i2c_exit(struct dvb_usb_device *); 49 extern int dvb_usb_remote_init(struct dvb_usb_device *); 50 extern int dvb_usb_remote_exit(struct dvb_usb_device *);
|
D | az6027.c | 301 static int az6027_usb_in_op(struct dvb_usb_device *d, u8 req, in az6027_usb_in_op() 331 static int az6027_usb_out_op(struct dvb_usb_device *d, in az6027_usb_out_op() 395 static int az6027_rc_query(struct dvb_usb_device *d, u32 *event, int *state) in az6027_rc_query() 412 struct dvb_usb_device *d = (struct dvb_usb_device *)ca->data; in az6027_ci_read_attribute_mem() 454 struct dvb_usb_device *d = (struct dvb_usb_device *)ca->data; in az6027_ci_write_attribute_mem() 485 struct dvb_usb_device *d = (struct dvb_usb_device *)ca->data; in az6027_ci_read_cam_control() 531 struct dvb_usb_device *d = (struct dvb_usb_device *)ca->data; in az6027_ci_write_cam_control() 562 struct dvb_usb_device *d = (struct dvb_usb_device *)ca->data; in CI_CamReady() 593 struct dvb_usb_device *d = (struct dvb_usb_device *)ca->data; in az6027_ci_slot_reset() 649 struct dvb_usb_device *d = (struct dvb_usb_device *)ca->data; in az6027_ci_slot_ts_enable() [all …]
|
D | dvb-usb-remote.c | 47 struct dvb_usb_device *d = input_get_drvdata(dev); in legacy_dvb_usb_getkeycode() 70 struct dvb_usb_device *d = input_get_drvdata(dev); in legacy_dvb_usb_setkeycode() 110 struct dvb_usb_device *d = in legacy_dvb_usb_read_remote_control() 111 container_of(work, struct dvb_usb_device, rc_query_work.work); in legacy_dvb_usb_read_remote_control() 184 static int legacy_dvb_usb_remote_init(struct dvb_usb_device *d) in legacy_dvb_usb_remote_init() 242 struct dvb_usb_device *d = in dvb_usb_read_remote_control() 243 container_of(work, struct dvb_usb_device, rc_query_work.work); in dvb_usb_read_remote_control() 263 static int rc_core_dvb_usb_remote_init(struct dvb_usb_device *d) in rc_core_dvb_usb_remote_init() 307 int dvb_usb_remote_init(struct dvb_usb_device *d) in dvb_usb_remote_init() 340 int dvb_usb_remote_exit(struct dvb_usb_device *d) in dvb_usb_remote_exit() [all …]
|
D | dibusb.h | 124 extern int dibusb_power_ctrl(struct dvb_usb_device *, int); 125 extern int dibusb2_0_power_ctrl(struct dvb_usb_device *, int); 131 extern int dibusb_rc_query(struct dvb_usb_device *, u32 *, int *); 132 extern int dibusb_read_eeprom_byte(struct dvb_usb_device *, u8, u8 *);
|
D | dvb-usb-init.c | 29 static int dvb_usb_adapter_init(struct dvb_usb_device *d, short *adapter_nrs) in dvb_usb_adapter_init() 111 static int dvb_usb_adapter_exit(struct dvb_usb_device *d) in dvb_usb_adapter_exit() 128 static int dvb_usb_exit(struct dvb_usb_device *d) in dvb_usb_exit() 141 static int dvb_usb_init(struct dvb_usb_device *d, short *adapter_nums) in dvb_usb_init() 216 int dvb_usb_device_power_ctrl(struct dvb_usb_device *d, int onoff) in dvb_usb_device_power_ctrl() 236 struct module *owner, struct dvb_usb_device **du, in dvb_usb_device_init() 240 struct dvb_usb_device *d = NULL; in dvb_usb_device_init() 261 d = kzalloc(sizeof(struct dvb_usb_device), GFP_KERNEL); in dvb_usb_device_init() 289 struct dvb_usb_device *d = usb_get_intfdata(intf); in dvb_usb_device_exit()
|
D | vp702x.c | 33 static int vp702x_usb_in_op_unlocked(struct dvb_usb_device *d, u8 req, in vp702x_usb_in_op_unlocked() 58 int vp702x_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, in vp702x_usb_in_op() 70 static int vp702x_usb_out_op_unlocked(struct dvb_usb_device *d, u8 req, in vp702x_usb_out_op_unlocked() 89 static int vp702x_usb_out_op(struct dvb_usb_device *d, u8 req, u16 value, in vp702x_usb_out_op() 101 int vp702x_usb_inout_op(struct dvb_usb_device *d, u8 *o, int olen, u8 *i, int ilen, int msec) in vp702x_usb_inout_op() 116 static int vp702x_usb_inout_cmd(struct dvb_usb_device *d, u8 cmd, u8 *o, in vp702x_usb_inout_cmd() 260 static int vp702x_rc_query(struct dvb_usb_device *d, u32 *event, int *state) in vp702x_rc_query() 294 static int vp702x_read_mac_addr(struct dvb_usb_device *d,u8 mac[6]) in vp702x_read_mac_addr() 335 struct dvb_usb_device *d; in vp702x_usb_probe() 361 struct dvb_usb_device *d = usb_get_intfdata(intf); in vp702x_usb_disconnect()
|
D | af9005.c | 45 static int (*rc_decode) (struct dvb_usb_device *d, u8 *data, int len, 58 static int af9005_generic_read_write(struct dvb_usb_device *d, u16 reg, in af9005_generic_read_write() 147 int af9005_read_ofdm_register(struct dvb_usb_device *d, u16 reg, u8 * value) in af9005_read_ofdm_register() 161 int af9005_read_ofdm_registers(struct dvb_usb_device *d, u16 reg, in af9005_read_ofdm_registers() 176 int af9005_write_ofdm_register(struct dvb_usb_device *d, u16 reg, u8 value) in af9005_write_ofdm_register() 191 int af9005_write_ofdm_registers(struct dvb_usb_device *d, u16 reg, in af9005_write_ofdm_registers() 208 int af9005_read_register_bits(struct dvb_usb_device *d, u16 reg, u8 pos, in af9005_read_register_bits() 225 int af9005_write_register_bits(struct dvb_usb_device *d, u16 reg, u8 pos, in af9005_write_register_bits() 242 static int af9005_usb_read_tuner_registers(struct dvb_usb_device *d, in af9005_usb_read_tuner_registers() 250 static int af9005_usb_write_tuner_registers(struct dvb_usb_device *d, in af9005_usb_write_tuner_registers() [all …]
|
D | technisat-usb2.c | 58 struct dvb_usb_device *dev; 170 struct dvb_usb_device *d = i2c_get_adapdata(adap); in technisat_usb2_i2c_xfer() 231 static int technisat_usb2_set_led(struct dvb_usb_device *d, int red, in technisat_usb2_set_led() 280 static int technisat_usb2_set_led_timer(struct dvb_usb_device *d, u8 red, u8 green) in technisat_usb2_set_led_timer() 375 static int technisat_usb2_power_ctrl(struct dvb_usb_device *d, int level) in technisat_usb2_power_ctrl() 393 static void technisat_usb2_eeprom_dump(struct dvb_usb_device *d) 421 static int technisat_usb2_eeprom_lrc_read(struct dvb_usb_device *d, in technisat_usb2_eeprom_lrc_read() 456 static int technisat_usb2_read_mac_address(struct dvb_usb_device *d, in technisat_usb2_read_mac_address() 612 static int technisat_usb2_get_ir(struct dvb_usb_device *d) in technisat_usb2_get_ir() 681 static int technisat_usb2_rc_query(struct dvb_usb_device *d) in technisat_usb2_rc_query() [all …]
|
D | vp7045.c | 28 int vp7045_usb_op(struct dvb_usb_device *d, u8 cmd, u8 *out, int outlen, u8 *in, int inlen, int mse… in vp7045_usb_op() 84 u8 vp7045_read_reg(struct dvb_usb_device *d, u8 reg) in vp7045_read_reg() 94 static int vp7045_power_ctrl(struct dvb_usb_device *d, int onoff) in vp7045_power_ctrl() 157 static int vp7045_rc_query(struct dvb_usb_device *d, u32 *event, int *state) in vp7045_rc_query() 179 static int vp7045_read_eeprom(struct dvb_usb_device *d,u8 *buf, int len, int offset) in vp7045_read_eeprom() 193 static int vp7045_read_mac_addr(struct dvb_usb_device *d,u8 mac[6]) in vp7045_read_mac_addr()
|
D | vp7045.h | 66 extern struct dvb_frontend * vp7045_fe_attach(struct dvb_usb_device *d); 67 extern int vp7045_usb_op(struct dvb_usb_device *d, u8 cmd, u8 *out, int outlen, u8 *in, int inlen,i… 68 extern u8 vp7045_read_reg(struct dvb_usb_device *d, u8 reg);
|
D | cinergyT2-core.c | 48 static struct dvb_usb_device *cinergyt2_usb_device; 54 struct dvb_usb_device *d = adap->dev; in cinergyt2_streaming_ctrl() 68 static int cinergyt2_power_ctrl(struct dvb_usb_device *d, int enable) in cinergyt2_power_ctrl() 85 struct dvb_usb_device *d = adap->dev; in cinergyt2_frontend_attach() 161 static int cinergyt2_rc_query(struct dvb_usb_device *d, u32 *event, int *state) in cinergyt2_rc_query()
|
D | vp702x.h | 108 extern struct dvb_frontend * vp702x_fe_attach(struct dvb_usb_device *d); 110 extern int vp702x_usb_inout_op(struct dvb_usb_device *d, u8 *o, int olen, u8 *i, int ilen, int msec… 111 extern int vp702x_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen…
|