/linux-4.19.296/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() 196 struct st_rc_device *rc_dev = platform_get_drvdata(pdev); in st_rc_remove() local 200 clk_disable_unprepare(rc_dev->sys_clock); in st_rc_remove() 201 rc_unregister_device(rc_dev->rdev); in st_rc_remove() 205 static int st_rc_open(struct rc_dev *rdev) in st_rc_open() 218 static void st_rc_close(struct rc_dev *rdev) in st_rc_close() 229 struct rc_dev *rdev; in st_rc_probe() 232 struct st_rc_device *rc_dev; in st_rc_probe() local 236 rc_dev = devm_kzalloc(dev, sizeof(struct st_rc_device), GFP_KERNEL); in st_rc_probe() [all …]
|
D | rc-core-priv.h | 24 int rc_open(struct rc_dev *rdev); 31 void rc_close(struct rc_dev *rdev); 37 int (*decode)(struct rc_dev *dev, struct ir_raw_event event); 44 int (*raw_register)(struct rc_dev *dev); 45 int (*raw_unregister)(struct rc_dev *dev); 54 struct rc_dev *dev; /* pointer to the parent rc_dev */ 287 int ir_raw_event_prepare(struct rc_dev *dev); 288 int ir_raw_event_register(struct rc_dev *dev); 289 void ir_raw_event_free(struct rc_dev *dev); 290 void ir_raw_event_unregister(struct rc_dev *dev); [all …]
|
D | rc-loopback.c | 36 struct rc_dev *dev; 49 static int loop_set_tx_mask(struct rc_dev *dev, u32 mask) in loop_set_tx_mask() 63 static int loop_set_tx_carrier(struct rc_dev *dev, u32 carrier) in loop_set_tx_carrier() 72 static int loop_set_tx_duty_cycle(struct rc_dev *dev, u32 duty_cycle) in loop_set_tx_duty_cycle() 86 static int loop_set_rx_carrier_range(struct rc_dev *dev, u32 min, u32 max) in loop_set_rx_carrier_range() 101 static int loop_tx_ir(struct rc_dev *dev, unsigned *txbuf, unsigned count) in loop_tx_ir() 142 static void loop_set_idle(struct rc_dev *dev, bool enable) in loop_set_idle() 152 static int loop_set_learning_mode(struct rc_dev *dev, int enable) in loop_set_learning_mode() 164 static int loop_set_carrier_report(struct rc_dev *dev, int enable) in loop_set_carrier_report() 176 static int loop_set_wakeup_filter(struct rc_dev *dev, in loop_set_wakeup_filter() [all …]
|
D | rc-main.c | 172 static int ir_create_table(struct rc_dev *dev, struct rc_map *rc_map, in ir_create_table() 220 static int ir_resize_table(struct rc_dev *dev, struct rc_map *rc_map, in ir_resize_table() 271 static unsigned int ir_update_mapping(struct rc_dev *dev, in ir_update_mapping() 328 static unsigned int ir_establish_scancode(struct rc_dev *dev, in ir_establish_scancode() 387 struct rc_dev *rdev = input_get_drvdata(idev); in ir_setkeycode() 430 static int ir_setkeytable(struct rc_dev *dev, in ir_setkeytable() 507 struct rc_dev *rdev = input_get_drvdata(idev); in ir_getkeycode() 566 u32 rc_g_keycode_from_table(struct rc_dev *dev, u32 scancode) in rc_g_keycode_from_table() 597 static void ir_do_keyup(struct rc_dev *dev, bool sync) in ir_do_keyup() 618 void rc_keyup(struct rc_dev *dev) in rc_keyup() [all …]
|
D | ir-rx51.c | 29 struct rc_dev *rcdev; 113 static int ir_rx51_tx(struct rc_dev *dev, unsigned int *buffer, in ir_rx51_tx() 151 static int ir_rx51_open(struct rc_dev *dev) in ir_rx51_open() 169 static void ir_rx51_release(struct rc_dev *dev) in ir_rx51_release() 185 static int ir_rx51_set_duty_cycle(struct rc_dev *dev, u32 duty) in ir_rx51_set_duty_cycle() 194 static int ir_rx51_set_tx_carrier(struct rc_dev *dev, u32 carrier) in ir_rx51_set_tx_carrier() 241 struct rc_dev *rcdev; in ir_rx51_probe()
|
D | rc-ir-raw.c | 26 struct rc_dev *dev = raw->dev; in ir_raw_event_thread() 74 int ir_raw_event_store(struct rc_dev *dev, struct ir_raw_event *ev) in ir_raw_event_store() 102 int ir_raw_event_store_edge(struct rc_dev *dev, bool pulse) in ir_raw_event_store_edge() 129 int ir_raw_event_store_with_timeout(struct rc_dev *dev, struct ir_raw_event *ev) in ir_raw_event_store_with_timeout() 169 int ir_raw_event_store_with_filter(struct rc_dev *dev, struct ir_raw_event *ev) in ir_raw_event_store_with_filter() 203 void ir_raw_event_set_idle(struct rc_dev *dev, bool idle) in ir_raw_event_set_idle() 229 void ir_raw_event_handle(struct rc_dev *dev) in ir_raw_event_handle() 245 static int change_protocol(struct rc_dev *dev, u64 *rc_proto) in change_protocol() 293 static void ir_raw_disable_protocols(struct rc_dev *dev, u64 protocols) in ir_raw_disable_protocols() 558 struct rc_dev *dev = raw->dev; in ir_raw_edge_handle() [all …]
|
D | bpf-lirc.c | 107 static int lirc_bpf_attach(struct rc_dev *rcdev, struct bpf_prog *prog) in lirc_bpf_attach() 145 static int lirc_bpf_detach(struct rc_dev *rcdev, struct bpf_prog *prog) in lirc_bpf_detach() 183 void lirc_bpf_run(struct rc_dev *rcdev, u32 sample) in lirc_bpf_run() 197 void lirc_bpf_free(struct rc_dev *rcdev) in lirc_bpf_free() 215 struct rc_dev *rcdev; in lirc_prog_attach() 235 struct rc_dev *rcdev; in lirc_prog_detach() 264 struct rc_dev *rcdev; in lirc_prog_query()
|
D | pwm-ir-tx.c | 38 static int pwm_ir_set_duty_cycle(struct rc_dev *dev, u32 duty_cycle) in pwm_ir_set_duty_cycle() 47 static int pwm_ir_set_carrier(struct rc_dev *dev, u32 carrier) in pwm_ir_set_carrier() 59 static int pwm_ir_tx(struct rc_dev *dev, unsigned int *txbuf, in pwm_ir_tx() 95 struct rc_dev *rcdev; in pwm_ir_probe()
|
D | lirc_dev.c | 48 void ir_lirc_raw_event(struct rc_dev *dev, struct ir_raw_event ev) in ir_lirc_raw_event() 130 void ir_lirc_scancode_event(struct rc_dev *dev, struct lirc_scancode *lsc) in ir_lirc_scancode_event() 148 struct rc_dev *dev = container_of(inode->i_cdev, struct rc_dev, in ir_lirc_open() 217 struct rc_dev *dev = fh->rc; in ir_lirc_close() 240 struct rc_dev *dev = fh->rc; in ir_lirc_transmit_ir() 387 struct rc_dev *dev = fh->rc; in ir_lirc_ioctl() 614 struct rc_dev *rcdev = fh->rc; in ir_lirc_poll() 638 struct rc_dev *rcdev = fh->rc; in ir_lirc_read_mode2() 676 struct rc_dev *rcdev = fh->rc; in ir_lirc_read_scancode() 715 struct rc_dev *rcdev = fh->rc; in ir_lirc_read() [all …]
|
D | ati_remote.c | 244 struct rc_dev *rdev; 378 static int ati_remote_rc_open(struct rc_dev *rdev) in ati_remote_rc_open() 384 static void ati_remote_rc_close(struct rc_dev *rdev) in ati_remote_rc_close() 761 struct rc_dev *rdev = ati_remote->rdev; in ati_remote_rc_init() 829 struct rc_dev *rc_dev; in ati_remote_probe() local 854 rc_dev = rc_allocate_device(RC_DRIVER_SCANCODE); in ati_remote_probe() 855 if (!ati_remote || !rc_dev) in ati_remote_probe() 865 ati_remote->rdev = rc_dev; in ati_remote_probe() 889 rc_dev->map_name = RC_MAP_ATI_X10; /* default map */ in ati_remote_probe() 894 rc_dev->map_name = type->default_keymap; in ati_remote_probe() [all …]
|
D | serial_ir.c | 138 struct rc_dev *rcdev; 484 static int serial_ir_tx(struct rc_dev *dev, unsigned int *txbuf, 486 static int serial_ir_tx_duty_cycle(struct rc_dev *dev, u32 cycle); 487 static int serial_ir_tx_carrier(struct rc_dev *dev, u32 carrier); 488 static int serial_ir_open(struct rc_dev *rcdev); 489 static void serial_ir_close(struct rc_dev *rcdev); 493 struct rc_dev *rcdev; in serial_ir_probe() 608 static int serial_ir_open(struct rc_dev *rcdev) in serial_ir_open() 627 static void serial_ir_close(struct rc_dev *rcdev) in serial_ir_close() 642 static int serial_ir_tx(struct rc_dev *dev, unsigned int *txbuf, in serial_ir_tx() [all …]
|
D | gpio-ir-tx.c | 40 static int gpio_ir_tx_set_duty_cycle(struct rc_dev *dev, u32 duty_cycle) in gpio_ir_tx_set_duty_cycle() 49 static int gpio_ir_tx_set_carrier(struct rc_dev *dev, u32 carrier) in gpio_ir_tx_set_carrier() 61 static int gpio_ir_tx(struct rc_dev *dev, unsigned int *txbuf, in gpio_ir_tx() 123 struct rc_dev *rcdev; in gpio_ir_tx_probe()
|
D | ir-spi.c | 29 struct rc_dev *rc; 34 static int ir_spi_tx(struct rc_dev *dev, in ir_spi_tx() 83 static int ir_spi_set_tx_carrier(struct rc_dev *dev, u32 carrier) in ir_spi_set_tx_carrier() 95 static int ir_spi_set_duty_cycle(struct rc_dev *dev, u32 duty_cycle) in ir_spi_set_duty_cycle()
|
D | ir-imon-decoder.c | 38 static void ir_imon_decode_scancode(struct rc_dev *dev) in ir_imon_decode_scancode() 104 static int ir_imon_decode(struct rc_dev *dev, struct ir_raw_event ev) in ir_imon_decode() 244 static int ir_imon_register(struct rc_dev *dev) in ir_imon_register() 285 static int ir_imon_unregister(struct rc_dev *dev) in ir_imon_unregister()
|
D | nuvoton-cir.c | 174 static void nvt_write_wakeup_codes(struct rc_dev *dev, in nvt_write_wakeup_codes() 214 struct rc_dev *rc_dev = to_rc_dev(dev); in wakeup_data_show() local 215 struct nvt_dev *nvt = rc_dev->priv; in wakeup_data_show() 247 struct rc_dev *rc_dev = to_rc_dev(dev); in wakeup_data_store() local 277 nvt_write_wakeup_codes(rc_dev, wake_buf, count); in wakeup_data_store() 641 static int nvt_set_tx_carrier(struct rc_dev *dev, u32 carrier) in nvt_set_tx_carrier() 659 static int nvt_ir_raw_set_wakeup_filter(struct rc_dev *dev, in nvt_ir_raw_set_wakeup_filter() 931 static int nvt_open(struct rc_dev *dev) in nvt_open() 940 static void nvt_close(struct rc_dev *dev) in nvt_close() 951 struct rc_dev *rdev; in nvt_probe()
|
D | iguanair.c | 30 struct rc_dev *rc; 291 static int iguanair_set_tx_carrier(struct rc_dev *dev, uint32_t carrier) in iguanair_set_tx_carrier() 333 static int iguanair_set_tx_mask(struct rc_dev *dev, uint32_t mask) in iguanair_set_tx_mask() 347 static int iguanair_tx(struct rc_dev *dev, unsigned *txbuf, unsigned count) in iguanair_tx() 387 static int iguanair_open(struct rc_dev *rdev) in iguanair_open() 403 static void iguanair_close(struct rc_dev *rdev) in iguanair_close() 423 struct rc_dev *rc; in iguanair_probe()
|
D | ir-hix5hd2.c | 68 struct rc_dev *rdev; 129 static int hix5hd2_ir_open(struct rc_dev *rdev) in hix5hd2_ir_open() 146 static void hix5hd2_ir_close(struct rc_dev *rdev) in hix5hd2_ir_close() 213 struct rc_dev *rdev; in hix5hd2_ir_probe()
|
D | ene_ir.c | 846 static int ene_open(struct rc_dev *rdev) in ene_open() 858 static void ene_close(struct rc_dev *rdev) in ene_close() 869 static int ene_set_tx_mask(struct rc_dev *rdev, u32 tx_mask) in ene_set_tx_mask() 887 static int ene_set_tx_carrier(struct rc_dev *rdev, u32 carrier) in ene_set_tx_carrier() 911 static int ene_set_tx_duty_cycle(struct rc_dev *rdev, u32 duty_cycle) in ene_set_tx_duty_cycle() 921 static int ene_set_learning_mode(struct rc_dev *rdev, int enable) in ene_set_learning_mode() 937 static int ene_set_carrier_report(struct rc_dev *rdev, int enable) in ene_set_carrier_report() 955 static void ene_set_idle(struct rc_dev *rdev, bool idle) in ene_set_idle() 966 static int ene_transmit(struct rc_dev *rdev, unsigned *buf, unsigned n) in ene_transmit() 1005 struct rc_dev *rdev; in ene_probe()
|
D | gpio-ir-recv.c | 28 struct rc_dev *rcdev; 50 struct rc_dev *rcdev; in gpio_ir_recv_probe()
|
/linux-4.19.296/include/media/ |
D | rc-core.h | 81 struct rc_dev *rc; 170 struct rc_dev { struct 220 int (*change_protocol)(struct rc_dev *dev, u64 *rc_proto); argument 221 int (*open)(struct rc_dev *dev); argument 222 void (*close)(struct rc_dev *dev); argument 223 int (*s_tx_mask)(struct rc_dev *dev, u32 mask); argument 224 int (*s_tx_carrier)(struct rc_dev *dev, u32 carrier); argument 225 int (*s_tx_duty_cycle)(struct rc_dev *dev, u32 duty_cycle); argument 226 int (*s_rx_carrier_range)(struct rc_dev *dev, u32 min, u32 max); argument 227 int (*tx_ir)(struct rc_dev *dev, unsigned *txbuf, unsigned n); argument [all …]
|
/linux-4.19.296/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 …]
|
/linux-4.19.296/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() 134 data->rc_dev = rdev; in picolcd_init_cir() 144 struct rc_dev *rdev = data->rc_dev; in picolcd_exit_cir() 146 data->rc_dev = NULL; in picolcd_exit_cir()
|
/linux-4.19.296/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, false); in img_ir_refresh_raw() 45 ir_raw_event_store_edge(rc_dev, true); 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() 137 struct rc_dev *rdev = raw->rdev; in img_ir_remove_raw()
|
/linux-4.19.296/include/media/i2c/ |
D | ir-kbd-i2c.h | 14 struct rc_dev *rc; 59 struct rc_dev *rc_dev; member
|
/linux-4.19.296/drivers/media/usb/dvb-usb-v2/ |
D | dvb_usb.h | 141 int (*change_protocol)(struct rc_dev *dev, u64 *rc_proto); 394 struct rc_dev *rc_dev; member
|