/drivers/media/rc/ |
D | st_rc.c | 28 struct rc_dev *rdev; 68 static void st_rc_send_lirc_timeout(struct rc_dev *rdev) in st_rc_send_lirc_timeout() 193 struct st_rc_device *rc_dev = platform_get_drvdata(pdev); in st_rc_remove() local 197 clk_disable_unprepare(rc_dev->sys_clock); in st_rc_remove() 198 rc_unregister_device(rc_dev->rdev); in st_rc_remove() 202 static int st_rc_open(struct rc_dev *rdev) in st_rc_open() 215 static void st_rc_close(struct rc_dev *rdev) in st_rc_close() 226 struct rc_dev *rdev; in st_rc_probe() 229 struct st_rc_device *rc_dev; in st_rc_probe() local 233 rc_dev = devm_kzalloc(dev, sizeof(struct st_rc_device), GFP_KERNEL); in st_rc_probe() [all …]
|
D | rc-loopback.c | 39 struct rc_dev *dev; 52 static int loop_set_tx_mask(struct rc_dev *dev, u32 mask) in loop_set_tx_mask() 66 static int loop_set_tx_carrier(struct rc_dev *dev, u32 carrier) in loop_set_tx_carrier() 75 static int loop_set_tx_duty_cycle(struct rc_dev *dev, u32 duty_cycle) in loop_set_tx_duty_cycle() 89 static int loop_set_rx_carrier_range(struct rc_dev *dev, u32 min, u32 max) in loop_set_rx_carrier_range() 104 static int loop_tx_ir(struct rc_dev *dev, unsigned *txbuf, unsigned count) in loop_tx_ir() 145 static void loop_set_idle(struct rc_dev *dev, bool enable) in loop_set_idle() 155 static int loop_set_learning_mode(struct rc_dev *dev, int enable) in loop_set_learning_mode() 167 static int loop_set_carrier_report(struct rc_dev *dev, int enable) in loop_set_carrier_report() 181 struct rc_dev *rc; in loop_init()
|
D | rc-core-priv.h | 30 int (*decode)(struct rc_dev *dev, struct ir_raw_event event); 33 int (*raw_register)(struct rc_dev *dev); 34 int (*raw_unregister)(struct rc_dev *dev); 45 struct rc_dev *dev; /* pointer to the parent rc_dev */ 107 struct rc_dev *dev; 161 int ir_raw_event_register(struct rc_dev *dev); 162 void ir_raw_event_unregister(struct rc_dev *dev);
|
D | rc-main.c | 225 static unsigned int ir_update_mapping(struct rc_dev *dev, in ir_update_mapping() 281 static unsigned int ir_establish_scancode(struct rc_dev *dev, in ir_establish_scancode() 339 struct rc_dev *rdev = input_get_drvdata(idev); in ir_setkeycode() 382 static int ir_setkeytable(struct rc_dev *dev, in ir_setkeytable() 456 struct rc_dev *rdev = input_get_drvdata(idev); in ir_getkeycode() 514 u32 rc_g_keycode_from_table(struct rc_dev *dev, u32 scancode) in rc_g_keycode_from_table() 545 static void ir_do_keyup(struct rc_dev *dev, bool sync) in ir_do_keyup() 565 void rc_keyup(struct rc_dev *dev) in rc_keyup() 584 struct rc_dev *dev = (struct rc_dev *)cookie; in ir_timer_keyup() 611 void rc_repeat(struct rc_dev *dev) in rc_repeat() [all …]
|
D | rc-ir-raw.c | 79 int ir_raw_event_store(struct rc_dev *dev, struct ir_raw_event *ev) in ir_raw_event_store() 107 int ir_raw_event_store_edge(struct rc_dev *dev, enum raw_event_type type) in ir_raw_event_store_edge() 160 int ir_raw_event_store_with_filter(struct rc_dev *dev, struct ir_raw_event *ev) in ir_raw_event_store_with_filter() 194 void ir_raw_event_set_idle(struct rc_dev *dev, bool idle) in ir_raw_event_set_idle() 220 void ir_raw_event_handle(struct rc_dev *dev) in ir_raw_event_handle() 244 static int change_protocol(struct rc_dev *dev, u64 *rc_type) in change_protocol() 250 static void ir_raw_disable_protocols(struct rc_dev *dev, u64 protocols) in ir_raw_disable_protocols() 261 int ir_raw_event_register(struct rc_dev *dev) in ir_raw_event_register() 301 void ir_raw_event_unregister(struct rc_dev *dev) in ir_raw_event_unregister()
|
D | ati_remote.c | 248 struct rc_dev *rdev; 382 static int ati_remote_rc_open(struct rc_dev *rdev) in ati_remote_rc_open() 388 static void ati_remote_rc_close(struct rc_dev *rdev) in ati_remote_rc_close() 765 struct rc_dev *rdev = ati_remote->rdev; in ati_remote_rc_init() 834 struct rc_dev *rc_dev; in ati_remote_probe() local 855 rc_dev = rc_allocate_device(); in ati_remote_probe() 856 if (!ati_remote || !rc_dev) in ati_remote_probe() 866 ati_remote->rdev = rc_dev; in ati_remote_probe() 890 rc_dev->map_name = RC_MAP_ATI_X10; /* default map */ in ati_remote_probe() 895 rc_dev->map_name = type->default_keymap; in ati_remote_probe() [all …]
|
D | ir-lirc-codec.c | 33 static int ir_lirc_decode(struct rc_dev *dev, struct ir_raw_event ev) in ir_lirc_decode() 109 struct rc_dev *dev; in ir_lirc_transmit_ir() 184 struct rc_dev *dev; in ir_lirc_ioctl() 342 static int ir_lirc_register(struct rc_dev *dev) in ir_lirc_register() 418 static int ir_lirc_unregister(struct rc_dev *dev) in ir_lirc_unregister()
|
D | iguanair.c | 34 struct rc_dev *rc; 294 static int iguanair_set_tx_carrier(struct rc_dev *dev, uint32_t carrier) in iguanair_set_tx_carrier() 336 static int iguanair_set_tx_mask(struct rc_dev *dev, uint32_t mask) in iguanair_set_tx_mask() 350 static int iguanair_tx(struct rc_dev *dev, unsigned *txbuf, unsigned count) in iguanair_tx() 393 static int iguanair_open(struct rc_dev *rdev) in iguanair_open() 409 static void iguanair_close(struct rc_dev *rdev) in iguanair_close() 429 struct rc_dev *rc; in iguanair_probe()
|
D | nuvoton-cir.c | 178 struct rc_dev *rc_dev = to_rc_dev(dev); in wakeup_data_show() local 179 struct nvt_dev *nvt = rc_dev->priv; in wakeup_data_show() 211 struct rc_dev *rc_dev = to_rc_dev(dev); in wakeup_data_store() local 212 struct nvt_dev *nvt = rc_dev->priv; in wakeup_data_store() 643 static int nvt_set_tx_carrier(struct rc_dev *dev, u32 carrier) in nvt_set_tx_carrier() 679 static int nvt_tx_ir(struct rc_dev *dev, unsigned *txbuf, unsigned n) in nvt_tx_ir() 967 static int nvt_open(struct rc_dev *dev) in nvt_open() 993 static void nvt_close(struct rc_dev *dev) in nvt_close() 1004 struct rc_dev *rdev; in nvt_probe()
|
D | ene_ir.c | 851 static int ene_open(struct rc_dev *rdev) in ene_open() 863 static void ene_close(struct rc_dev *rdev) in ene_close() 874 static int ene_set_tx_mask(struct rc_dev *rdev, u32 tx_mask) in ene_set_tx_mask() 892 static int ene_set_tx_carrier(struct rc_dev *rdev, u32 carrier) in ene_set_tx_carrier() 916 static int ene_set_tx_duty_cycle(struct rc_dev *rdev, u32 duty_cycle) in ene_set_tx_duty_cycle() 926 static int ene_set_learning_mode(struct rc_dev *rdev, int enable) in ene_set_learning_mode() 942 static int ene_set_carrier_report(struct rc_dev *rdev, int enable) in ene_set_carrier_report() 960 static void ene_set_idle(struct rc_dev *rdev, bool idle) in ene_set_idle() 971 static int ene_transmit(struct rc_dev *rdev, unsigned *buf, unsigned n) in ene_transmit() 1010 struct rc_dev *rdev; in ene_probe()
|
D | ir-hix5hd2.c | 68 struct rc_dev *rdev; 120 static int hix5hd2_ir_open(struct rc_dev *rdev) in hix5hd2_ir_open() 128 static void hix5hd2_ir_close(struct rc_dev *rdev) in hix5hd2_ir_close() 195 struct rc_dev *rdev; in hix5hd2_ir_probe()
|
D | redrat3.c | 200 struct rc_dev *rc; 510 static int redrat3_set_timeout(struct rc_dev *rc_dev, unsigned int timeoutns) in redrat3_set_timeout() argument 512 struct redrat3_dev *rr3 = rc_dev->priv; in redrat3_set_timeout() 751 static int redrat3_set_tx_carrier(struct rc_dev *rcdev, u32 carrier) in redrat3_set_tx_carrier() 765 static int redrat3_transmit_ir(struct rc_dev *rcdev, unsigned *txbuf, in redrat3_transmit_ir() 907 static struct rc_dev *redrat3_init_rc_dev(struct redrat3_dev *rr3) in redrat3_init_rc_dev() 910 struct rc_dev *rc; in redrat3_init_rc_dev()
|
/drivers/media/pci/smipcie/ |
D | smipcie-ir.c | 118 struct rc_dev *rc_dev = ir->rc_dev; in smi_ir_decode() local 147 rc_keydown(rc_dev, RC_TYPE_RC5, scancode, toggle); in smi_ir_decode() 183 struct rc_dev *rc_dev; in smi_ir_init() local 186 rc_dev = rc_allocate_device(); in smi_ir_init() 187 if (!rc_dev) in smi_ir_init() 196 rc_dev->driver_name = "SMI_PCIe"; in smi_ir_init() 197 rc_dev->input_phys = ir->input_phys; in smi_ir_init() 198 rc_dev->input_name = ir->input_name; in smi_ir_init() 199 rc_dev->input_id.bustype = BUS_PCI; in smi_ir_init() 200 rc_dev->input_id.version = 1; in smi_ir_init() [all …]
|
/drivers/reset/hisilicon/ |
D | hi6220_reset.c | 34 #define to_reset_data(x) container_of(x, struct hi6220_reset_data, rc_dev) 42 struct reset_controller_dev rc_dev; member 46 static int hi6220_peripheral_assert(struct reset_controller_dev *rc_dev, in hi6220_peripheral_assert() argument 49 struct hi6220_reset_data *data = to_reset_data(rc_dev); in hi6220_peripheral_assert() 58 static int hi6220_peripheral_deassert(struct reset_controller_dev *rc_dev, in hi6220_peripheral_deassert() argument 61 struct hi6220_reset_data *data = to_reset_data(rc_dev); in hi6220_peripheral_deassert() 75 static int hi6220_media_assert(struct reset_controller_dev *rc_dev, in hi6220_media_assert() argument 78 struct hi6220_reset_data *data = to_reset_data(rc_dev); in hi6220_media_assert() 84 static int hi6220_media_deassert(struct reset_controller_dev *rc_dev, in hi6220_media_deassert() argument 87 struct hi6220_reset_data *data = to_reset_data(rc_dev); in hi6220_media_deassert() [all …]
|
/drivers/hid/ |
D | hid-picolcd_cir.c | 52 if (!data->rc_dev || (data->status & PICOLCD_CIR_SHUN)) { in picolcd_raw_cir() 77 ir_raw_event_store(data->rc_dev, &rawir); in picolcd_raw_cir() 79 ir_raw_event_handle(data->rc_dev); in picolcd_raw_cir() 84 static int picolcd_cir_open(struct rc_dev *dev) in picolcd_cir_open() 95 static void picolcd_cir_close(struct rc_dev *dev) in picolcd_cir_close() 108 struct rc_dev *rdev; in picolcd_init_cir() 135 data->rc_dev = rdev; in picolcd_init_cir() 145 struct rc_dev *rdev = data->rc_dev; in picolcd_exit_cir() 147 data->rc_dev = NULL; in picolcd_exit_cir()
|
/drivers/media/rc/img-ir/ |
D | img-ir-raw.c | 25 struct rc_dev *rc_dev = priv->raw.rdev; in img_ir_refresh_raw() local 43 ir_raw_event_store_edge(rc_dev, IR_SPACE); in img_ir_refresh_raw() 45 ir_raw_event_store_edge(rc_dev, IR_PULSE); in img_ir_refresh_raw() 46 ir_raw_event_handle(rc_dev); in img_ir_refresh_raw() 106 struct rc_dev *rdev; in img_ir_probe_raw() 138 struct rc_dev *rdev = raw->rdev; in img_ir_remove_raw()
|
D | img-ir-hw.c | 461 static int img_ir_set_filter(struct rc_dev *dev, enum rc_filter_type type, in img_ir_set_filter() 517 static int img_ir_set_normal_filter(struct rc_dev *dev, in img_ir_set_normal_filter() 523 static int img_ir_set_wakeup_filter(struct rc_dev *dev, in img_ir_set_wakeup_filter() 540 struct rc_dev *rdev = hw->rdev; in img_ir_set_decoder() 654 static int img_ir_change_protocol(struct rc_dev *dev, u64 *ir_type) in img_ir_change_protocol() 658 struct rc_dev *rdev = hw->rdev; in img_ir_change_protocol() 695 struct rc_dev *rdev = priv->hw.rdev; in img_ir_set_protocol() 1045 struct rc_dev *rdev; in img_ir_probe_hw() 1119 struct rc_dev *rdev = hw->rdev; in img_ir_remove_hw()
|
/drivers/media/usb/em28xx/ |
D | em28xx-input.c | 63 struct rc_dev *rc; 365 static int em28xx_ir_start(struct rc_dev *rc) in em28xx_ir_start() 375 static void em28xx_ir_stop(struct rc_dev *rc) in em28xx_ir_stop() 382 static int em2860_ir_change_protocol(struct rc_dev *rc_dev, u64 *rc_type) in em2860_ir_change_protocol() argument 384 struct em28xx_IR *ir = rc_dev->priv; in em2860_ir_change_protocol() 410 static int em2874_ir_change_protocol(struct rc_dev *rc_dev, u64 *rc_type) in em2874_ir_change_protocol() argument 412 struct em28xx_IR *ir = rc_dev->priv; in em2874_ir_change_protocol() 445 static int em28xx_ir_change_protocol(struct rc_dev *rc_dev, u64 *rc_type) in em28xx_ir_change_protocol() argument 447 struct em28xx_IR *ir = rc_dev->priv; in em28xx_ir_change_protocol() 454 return em2860_ir_change_protocol(rc_dev, rc_type); in em28xx_ir_change_protocol() [all …]
|
/drivers/media/usb/cx231xx/ |
D | cx231xx-input.c | 75 dev->init_data.rc_dev = rc_allocate_device(); in cx231xx_ir_init() 76 if (!dev->init_data.rc_dev) in cx231xx_ir_init() 93 dev->init_data.rc_dev->scancode_mask = 0xff; in cx231xx_ir_init() 94 dev->init_data.rc_dev->driver_name = "cx231xx"; in cx231xx_ir_init()
|
/drivers/media/usb/tm6000/ |
D | tm6000-input.c | 60 struct rc_dev *rc; 299 static int tm6000_ir_start(struct rc_dev *rc) in tm6000_ir_start() 310 static void tm6000_ir_stop(struct rc_dev *rc) in tm6000_ir_stop() 319 static int tm6000_ir_change_protocol(struct rc_dev *rc, u64 *rc_type) in tm6000_ir_change_protocol() 338 static int __tm6000_ir_int_start(struct rc_dev *rc) in __tm6000_ir_int_start() 380 static void __tm6000_ir_int_stop(struct rc_dev *rc) in __tm6000_ir_int_stop() 418 struct rc_dev *rc; in tm6000_ir_init()
|
/drivers/media/usb/dvb-usb/ |
D | dtt200u.c | 117 rc_keydown(d->rc_dev, proto, scancode, 0); in dtt200u_rc_query() 119 rc_keyup(d->rc_dev); in dtt200u_rc_query() 121 rc_repeat(d->rc_dev); in dtt200u_rc_query() 123 rc_keyup(d->rc_dev); in dtt200u_rc_query()
|
D | dvb-usb.h | 205 int (*change_protocol)(struct rc_dev *dev, u64 *rc_type); 451 struct rc_dev *rc_dev; member
|
D | dvb-usb-remote.c | 199 d->rc_dev = NULL; in legacy_dvb_usb_remote_init() 266 struct rc_dev *dev; in rc_core_dvb_usb_remote_init() 290 d->rc_dev = dev; in rc_core_dvb_usb_remote_init() 347 rc_unregister_device(d->rc_dev); in dvb_usb_remote_exit()
|
/drivers/media/usb/au0828/ |
D | au0828-input.c | 36 struct rc_dev *rc; 242 static int au0828_rc_start(struct rc_dev *rc) in au0828_rc_start() 256 static void au0828_rc_stop(struct rc_dev *rc) in au0828_rc_stop() 289 struct rc_dev *rc; in au0828_rc_register()
|
/drivers/media/usb/dvb-usb-v2/ |
D | dvb_usb.h | 141 int (*change_protocol)(struct rc_dev *dev, u64 *rc_type); 390 struct rc_dev *rc_dev; member
|