Home
last modified time | relevance | path

Searched refs:rmi_device (Results 1 – 16 of 16) sorted by relevance

/Linux-v4.19/drivers/input/rmi4/
Drmi_driver.h75 int rmi_read_register_desc(struct rmi_device *d, u16 addr,
93 void rmi_free_function_list(struct rmi_device *rmi_dev);
94 struct rmi_function *rmi_find_function(struct rmi_device *rmi_dev, u8 number);
95 int rmi_enable_sensor(struct rmi_device *rmi_dev);
96 int rmi_scan_pdt(struct rmi_device *rmi_dev, void *ctx,
97 int (*callback)(struct rmi_device *rmi_dev, void *ctx,
100 void rmi_enable_irq(struct rmi_device *rmi_dev, bool clear_wake);
101 void rmi_disable_irq(struct rmi_device *rmi_dev, bool enable_wake);
103 int rmi_initial_reset(struct rmi_device *rmi_dev, void *ctx,
122 int rmi_f34_create_sysfs(struct rmi_device *rmi_dev);
[all …]
Drmi_bus.h15 struct rmi_device;
41 struct rmi_device *rmi_dev;
105 #define to_rmi_device(d) container_of(d, struct rmi_device, dev)
108 rmi_get_platform_data(struct rmi_device *d) in rmi_get_platform_data()
122 static inline int rmi_reset(struct rmi_device *d) in rmi_reset()
137 static inline int rmi_read(struct rmi_device *d, u16 addr, u8 *buf) in rmi_read()
153 static inline int rmi_read_block(struct rmi_device *d, u16 addr, in rmi_read_block()
168 static inline int rmi_write(struct rmi_device *d, u16 addr, u8 data) in rmi_write()
183 static inline int rmi_write_block(struct rmi_device *d, u16 addr, in rmi_write_block()
Drmi_driver.c38 void rmi_free_function_list(struct rmi_device *rmi_dev) in rmi_free_function_list()
101 static int rmi_driver_process_reset_requests(struct rmi_device *rmi_dev) in rmi_driver_process_reset_requests()
116 static int rmi_driver_process_config_requests(struct rmi_device *rmi_dev) in rmi_driver_process_config_requests()
131 static int rmi_process_interrupt_requests(struct rmi_device *rmi_dev) in rmi_process_interrupt_requests()
169 void rmi_set_attn_data(struct rmi_device *rmi_dev, unsigned long irq_status, in rmi_set_attn_data()
193 struct rmi_device *rmi_dev = dev_id; in rmi_irq_fn()
220 static int rmi_irq_init(struct rmi_device *rmi_dev) in rmi_irq_init()
246 struct rmi_function *rmi_find_function(struct rmi_device *rmi_dev, u8 number) in rmi_find_function()
278 static int rmi_suspend_functions(struct rmi_device *rmi_dev) in rmi_suspend_functions()
312 static int rmi_resume_functions(struct rmi_device *rmi_dev) in rmi_resume_functions()
[all …]
Drmi_bus.c55 struct rmi_device *rmi_dev = to_rmi_device(dev); in rmi_release_device()
80 struct rmi_device *rmi_dev; in rmi_register_transport_device()
83 rmi_dev = kzalloc(sizeof(struct rmi_device), GFP_KERNEL); in rmi_register_transport_device()
122 struct rmi_device *rmi_dev = xport->rmi_dev; in rmi_unregister_transport_device()
243 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_register_function()
Drmi_f34.c22 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f34_write_bootloader_id()
52 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f34_command()
137 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f34_write_blocks()
364 struct rmi_device *rmi_dev = data->rmi_dev; in rmi_firmware_update()
594 int rmi_f34_create_sysfs(struct rmi_device *rmi_dev) in rmi_f34_create_sysfs()
599 void rmi_f34_remove_sysfs(struct rmi_device *rmi_dev) in rmi_f34_remove_sysfs()
Drmi_f12.c68 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f12_read_sensor_tuning()
204 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f12_attention()
242 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f12_write_control_regs()
315 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f12_probe()
Drmi_f11.c734 struct rmi_device *rmi_dev = fn->rmi_dev; in f11_read_control_regs()
753 struct rmi_device *rmi_dev = fn->rmi_dev; in f11_write_control_regs()
764 static int rmi_f11_get_query_parameters(struct rmi_device *rmi_dev, in rmi_f11_get_query_parameters()
1041 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f11_initialize()
1272 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f11_attention()
Drmi_f55.c41 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f55_detect()
Drmi_f54.c176 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f54_request_report()
216 struct rmi_device *rmi_dev = f54->fn->rmi_dev; in rmi_f54_get_report_size()
403 struct rmi_device *rmi_dev = f54->fn->rmi_dev; in rmi_f54_set_input()
Drmi_f01.c138 static int rmi_f01_read_properties(struct rmi_device *rmi_dev, in rmi_f01_read_properties()
387 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f01_probe()
687 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f01_attention()
Drmi_f03.c250 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f03_attention()
Drmi_smbus.c383 struct rmi_device *rmi_dev = rmi_smb->xport.rmi_dev; in rmi_smb_resume()
Drmi_2d_sensor.c215 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_2d_sensor_configure_input()
Drmi_f30.c371 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f30_probe()
/Linux-v4.19/include/linux/
Drmi.h251 struct rmi_device;
267 struct rmi_device *rmi_dev;
305 int (*reset_handler)(struct rmi_device *rmi_dev);
306 int (*clear_irq_bits)(struct rmi_device *rmi_dev, unsigned long *mask);
307 int (*set_irq_bits)(struct rmi_device *rmi_dev, unsigned long *mask);
308 int (*store_productid)(struct rmi_device *rmi_dev);
309 int (*set_input_params)(struct rmi_device *rmi_dev,
323 struct rmi_device { struct
341 struct rmi_device *rmi_dev; argument
374 void rmi_set_attn_data(struct rmi_device *rmi_dev, unsigned long irq_status,
[all …]
/Linux-v4.19/drivers/hid/
Dhid-rmi.c293 struct rmi_device *rmi_dev = data->xport.rmi_dev; in rmi_reset_attn_mode()
318 struct rmi_device *rmi_dev = hdata->xport.rmi_dev; in rmi_input_event()
438 struct rmi_device *rmi_dev = data->xport.rmi_dev; in rmi_suspend()
456 struct rmi_device *rmi_dev = data->xport.rmi_dev; in rmi_post_resume()