Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/input/rmi4/
Drmi_bus.h36 struct rmi_function { struct
48 #define to_rmi_function(d) container_of(d, struct rmi_function, dev) argument
52 int __must_check rmi_register_function(struct rmi_function *);
53 void rmi_unregister_function(struct rmi_function *);
80 int (*probe)(struct rmi_function *fn);
81 void (*remove)(struct rmi_function *fn);
82 int (*config)(struct rmi_function *fn);
83 int (*reset)(struct rmi_function *fn);
85 int (*suspend)(struct rmi_function *fn);
86 int (*resume)(struct rmi_function *fn);
Drmi_driver.h91 struct rmi_function *rmi_find_function(struct rmi_device *rmi_dev, u8 number);
103 const char *rmi_f01_get_product_ID(struct rmi_function *fn);
106 int rmi_f03_overwrite_button(struct rmi_function *fn, unsigned int button,
108 void rmi_f03_commit_buttons(struct rmi_function *fn);
110 static inline int rmi_f03_overwrite_button(struct rmi_function *fn, in rmi_f03_overwrite_button()
115 static inline void rmi_f03_commit_buttons(struct rmi_function *fn) {} in rmi_f03_commit_buttons()
Drmi_f03.c29 struct rmi_function *fn;
40 int rmi_f03_overwrite_button(struct rmi_function *fn, unsigned int button, in rmi_f03_overwrite_button()
59 void rmi_f03_commit_buttons(struct rmi_function *fn) in rmi_f03_commit_buttons()
96 struct rmi_function *fn = f03->fn; in rmi_f03_initialize()
142 struct rmi_function *fn = f03->fn; in rmi_f03_pt_open()
165 struct rmi_function *fn = f03->fn; in rmi_f03_pt_close()
198 static int rmi_f03_probe(struct rmi_function *fn) in rmi_f03_probe()
222 static int rmi_f03_config(struct rmi_function *fn) in rmi_f03_config()
246 struct rmi_function *fn = ctx; in rmi_f03_attention()
307 static void rmi_f03_remove(struct rmi_function *fn) in rmi_f03_remove()
Drmi_bus.c131 struct rmi_function *fn = to_rmi_function(dev); in rmi_release_function()
149 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_match()
155 static void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe()
165 static inline void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe()
173 static int rmi_create_function_irq(struct rmi_function *fn, in rmi_create_function_irq()
204 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_probe()
228 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_remove()
238 int rmi_register_function(struct rmi_function *fn) in rmi_register_function()
270 void rmi_unregister_function(struct rmi_function *fn) in rmi_unregister_function()
Drmi_f30.c80 struct rmi_function *f03;
84 static int rmi_f30_read_control_parameters(struct rmi_function *fn, in rmi_f30_read_control_parameters()
101 static void rmi_f30_report_button(struct rmi_function *fn, in rmi_f30_report_button()
124 struct rmi_function *fn = ctx; in rmi_f30_attention()
163 static int rmi_f30_config(struct rmi_function *fn) in rmi_f30_config()
223 static int rmi_f30_map_gpios(struct rmi_function *fn, in rmi_f30_map_gpios()
273 static int rmi_f30_initialize(struct rmi_function *fn, struct f30_data *f30) in rmi_f30_initialize()
366 static int rmi_f30_probe(struct rmi_function *fn) in rmi_f30_probe()
Drmi_f55.c27 struct rmi_function *fn;
36 static int rmi_f55_detect(struct rmi_function *fn) in rmi_f55_detect()
108 static int rmi_f55_probe(struct rmi_function *fn) in rmi_f55_probe()
Drmi_f34.c18 struct rmi_function *fn = f34->fn; in rmi_f34_write_bootloader_id()
48 struct rmi_function *fn = f34->fn; in rmi_f34_command()
102 struct rmi_function *fn = ctx; in rmi_f34_attention()
133 struct rmi_function *fn = f34->fn; in rmi_f34_write_blocks()
197 struct rmi_function *fn = f34->fn; in rmi_f34_flash_firmware()
301 static int rmi_f34_status(struct rmi_function *fn) in rmi_f34_status()
317 struct rmi_function *fn = data->f34_container; in rmi_driver_bootloader_id_show()
343 struct rmi_function *fn = data->f34_container; in rmi_driver_configuration_id_show()
520 static int rmi_f34_probe(struct rmi_function *fn) in rmi_f34_probe()
Drmi_2d_sensor.h61 struct rmi_function *fn;
84 int rmi_2d_sensor_configure_input(struct rmi_function *fn,
Drmi_driver.c37 struct rmi_function *fn, *tmp; in rmi_free_function_list()
60 static int reset_one_function(struct rmi_function *fn) in reset_one_function()
79 static int configure_one_function(struct rmi_function *fn) in configure_one_function()
101 struct rmi_function *entry; in rmi_driver_process_reset_requests()
116 struct rmi_function *entry; in rmi_driver_process_config_requests()
243 struct rmi_function *rmi_find_function(struct rmi_device *rmi_dev, u8 number) in rmi_find_function()
246 struct rmi_function *entry; in rmi_find_function()
256 static int suspend_one_function(struct rmi_function *fn) in suspend_one_function()
278 struct rmi_function *entry; in rmi_suspend_functions()
290 static int resume_one_function(struct rmi_function *fn) in resume_one_function()
[all …]
Drmi_f54.c90 struct rmi_function *fn;
170 static int rmi_f54_request_report(struct rmi_function *fn, u8 report_type) in rmi_f54_request_report()
517 struct rmi_function *fn = f54->fn; in rmi_f54_work()
600 static int rmi_f54_config(struct rmi_function *fn) in rmi_f54_config()
609 static int rmi_f54_detect(struct rmi_function *fn) in rmi_f54_detect()
647 static int rmi_f54_probe(struct rmi_function *fn) in rmi_f54_probe()
727 static void rmi_f54_remove(struct rmi_function *fn) in rmi_f54_remove()
Drmi_f01.c254 const char *rmi_f01_get_product_ID(struct rmi_function *fn) in rmi_f01_get_product_ID()
382 static int rmi_f01_probe(struct rmi_function *fn) in rmi_f01_probe()
577 static void rmi_f01_remove(struct rmi_function *fn) in rmi_f01_remove()
583 static int rmi_f01_config(struct rmi_function *fn) in rmi_f01_config()
630 static int rmi_f01_suspend(struct rmi_function *fn) in rmi_f01_suspend()
659 static int rmi_f01_resume(struct rmi_function *fn) in rmi_f01_resume()
683 struct rmi_function *fn = ctx; in rmi_f01_attention()
Drmi_f12.c67 struct rmi_function *fn = sensor->fn; in rmi_f12_read_sensor_tuning()
201 struct rmi_function *fn = ctx; in rmi_f12_attention()
236 static int rmi_f12_write_control_regs(struct rmi_function *fn) in rmi_f12_write_control_regs()
294 static int rmi_f12_config(struct rmi_function *fn) in rmi_f12_config()
318 static int rmi_f12_probe(struct rmi_function *fn) in rmi_f12_probe()
Drmi_f11.c728 static int f11_read_control_regs(struct rmi_function *fn, in f11_read_control_regs()
744 static int f11_write_control_regs(struct rmi_function *fn, in f11_write_control_regs()
1035 static int rmi_f11_initialize(struct rmi_function *fn) in rmi_f11_initialize()
1238 static int rmi_f11_config(struct rmi_function *fn) in rmi_f11_config()
1265 struct rmi_function *fn = ctx; in rmi_f11_attention()
1299 static int rmi_f11_resume(struct rmi_function *fn) in rmi_f11_resume()
1322 static int rmi_f11_probe(struct rmi_function *fn) in rmi_f11_probe()
Drmi_f34.h292 struct rmi_function *fn;
Drmi_2d_sensor.c208 int rmi_2d_sensor_configure_input(struct rmi_function *fn, in rmi_2d_sensor_configure_input()
/Linux-v5.4/include/linux/
Drmi.h340 struct rmi_function *f01_container;
341 struct rmi_function *f34_container;