Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/input/rmi4/
Drmi_bus.h39 struct rmi_function { struct
51 #define to_rmi_function(d) container_of(d, struct rmi_function, dev) argument
55 int __must_check rmi_register_function(struct rmi_function *);
56 void rmi_unregister_function(struct rmi_function *);
83 int (*probe)(struct rmi_function *fn);
84 void (*remove)(struct rmi_function *fn);
85 int (*config)(struct rmi_function *fn);
86 int (*reset)(struct rmi_function *fn);
88 int (*suspend)(struct rmi_function *fn);
89 int (*resume)(struct rmi_function *fn);
Drmi_driver.h94 struct rmi_function *rmi_find_function(struct rmi_device *rmi_dev, u8 number);
106 const char *rmi_f01_get_product_ID(struct rmi_function *fn);
109 int rmi_f03_overwrite_button(struct rmi_function *fn, unsigned int button,
111 void rmi_f03_commit_buttons(struct rmi_function *fn);
113 static inline int rmi_f03_overwrite_button(struct rmi_function *fn, in rmi_f03_overwrite_button()
118 static inline void rmi_f03_commit_buttons(struct rmi_function *fn) {} in rmi_f03_commit_buttons()
Drmi_f03.c32 struct rmi_function *fn;
43 int rmi_f03_overwrite_button(struct rmi_function *fn, unsigned int button, in rmi_f03_overwrite_button()
62 void rmi_f03_commit_buttons(struct rmi_function *fn) in rmi_f03_commit_buttons()
99 struct rmi_function *fn = f03->fn; in rmi_f03_initialize()
145 struct rmi_function *fn = f03->fn; in rmi_f03_pt_open()
168 struct rmi_function *fn = f03->fn; in rmi_f03_pt_close()
201 static int rmi_f03_probe(struct rmi_function *fn) in rmi_f03_probe()
225 static int rmi_f03_config(struct rmi_function *fn) in rmi_f03_config()
249 struct rmi_function *fn = ctx; in rmi_f03_attention()
310 static void rmi_f03_remove(struct rmi_function *fn) in rmi_f03_remove()
Drmi_bus.c134 struct rmi_function *fn = to_rmi_function(dev); in rmi_release_function()
152 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_match()
158 static void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe()
168 static inline void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe()
176 static int rmi_create_function_irq(struct rmi_function *fn, in rmi_create_function_irq()
207 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_probe()
231 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_remove()
241 int rmi_register_function(struct rmi_function *fn) in rmi_register_function()
273 void rmi_unregister_function(struct rmi_function *fn) in rmi_unregister_function()
Drmi_f30.c83 struct rmi_function *f03;
87 static int rmi_f30_read_control_parameters(struct rmi_function *fn, in rmi_f30_read_control_parameters()
104 static void rmi_f30_report_button(struct rmi_function *fn, in rmi_f30_report_button()
127 struct rmi_function *fn = ctx; in rmi_f30_attention()
166 static int rmi_f30_config(struct rmi_function *fn) in rmi_f30_config()
226 static int rmi_f30_map_gpios(struct rmi_function *fn, in rmi_f30_map_gpios()
276 static int rmi_f30_initialize(struct rmi_function *fn, struct f30_data *f30) in rmi_f30_initialize()
369 static int rmi_f30_probe(struct rmi_function *fn) in rmi_f30_probe()
Drmi_f55.c30 struct rmi_function *fn;
39 static int rmi_f55_detect(struct rmi_function *fn) in rmi_f55_detect()
111 static int rmi_f55_probe(struct rmi_function *fn) in rmi_f55_probe()
Drmi_f34.c21 struct rmi_function *fn = f34->fn; in rmi_f34_write_bootloader_id()
51 struct rmi_function *fn = f34->fn; in rmi_f34_command()
105 struct rmi_function *fn = ctx; in rmi_f34_attention()
136 struct rmi_function *fn = f34->fn; in rmi_f34_write_blocks()
200 struct rmi_function *fn = f34->fn; in rmi_f34_flash_firmware()
304 static int rmi_f34_status(struct rmi_function *fn) in rmi_f34_status()
320 struct rmi_function *fn = data->f34_container; in rmi_driver_bootloader_id_show()
346 struct rmi_function *fn = data->f34_container; in rmi_driver_configuration_id_show()
523 static int rmi_f34_probe(struct rmi_function *fn) in rmi_f34_probe()
Drmi_2d_sensor.h64 struct rmi_function *fn;
87 int rmi_2d_sensor_configure_input(struct rmi_function *fn,
Drmi_driver.c40 struct rmi_function *fn, *tmp; in rmi_free_function_list()
63 static int reset_one_function(struct rmi_function *fn) in reset_one_function()
82 static int configure_one_function(struct rmi_function *fn) in configure_one_function()
104 struct rmi_function *entry; in rmi_driver_process_reset_requests()
119 struct rmi_function *entry; in rmi_driver_process_config_requests()
246 struct rmi_function *rmi_find_function(struct rmi_device *rmi_dev, u8 number) in rmi_find_function()
249 struct rmi_function *entry; in rmi_find_function()
259 static int suspend_one_function(struct rmi_function *fn) in suspend_one_function()
281 struct rmi_function *entry; in rmi_suspend_functions()
293 static int resume_one_function(struct rmi_function *fn) in resume_one_function()
[all …]
Drmi_f54.c93 struct rmi_function *fn;
173 static int rmi_f54_request_report(struct rmi_function *fn, u8 report_type) in rmi_f54_request_report()
530 struct rmi_function *fn = f54->fn; in rmi_f54_work()
613 static int rmi_f54_config(struct rmi_function *fn) in rmi_f54_config()
622 static int rmi_f54_detect(struct rmi_function *fn) in rmi_f54_detect()
660 static int rmi_f54_probe(struct rmi_function *fn) in rmi_f54_probe()
739 static void rmi_f54_remove(struct rmi_function *fn) in rmi_f54_remove()
Drmi_f01.c257 const char *rmi_f01_get_product_ID(struct rmi_function *fn) in rmi_f01_get_product_ID()
385 static int rmi_f01_probe(struct rmi_function *fn) in rmi_f01_probe()
580 static void rmi_f01_remove(struct rmi_function *fn) in rmi_f01_remove()
586 static int rmi_f01_config(struct rmi_function *fn) in rmi_f01_config()
633 static int rmi_f01_suspend(struct rmi_function *fn) in rmi_f01_suspend()
662 static int rmi_f01_resume(struct rmi_function *fn) in rmi_f01_resume()
686 struct rmi_function *fn = ctx; in rmi_f01_attention()
Drmi_f12.c67 struct rmi_function *fn = sensor->fn; in rmi_f12_read_sensor_tuning()
203 struct rmi_function *fn = ctx; in rmi_f12_attention()
238 static int rmi_f12_write_control_regs(struct rmi_function *fn) in rmi_f12_write_control_regs()
296 static int rmi_f12_config(struct rmi_function *fn) in rmi_f12_config()
311 static int rmi_f12_probe(struct rmi_function *fn) in rmi_f12_probe()
Drmi_f11.c732 static int f11_read_control_regs(struct rmi_function *fn, in f11_read_control_regs()
748 static int f11_write_control_regs(struct rmi_function *fn, in f11_write_control_regs()
1039 static int rmi_f11_initialize(struct rmi_function *fn) in rmi_f11_initialize()
1244 static int rmi_f11_config(struct rmi_function *fn) in rmi_f11_config()
1271 struct rmi_function *fn = ctx; in rmi_f11_attention()
1305 static int rmi_f11_resume(struct rmi_function *fn) in rmi_f11_resume()
1328 static int rmi_f11_probe(struct rmi_function *fn) in rmi_f11_probe()
Drmi_f34.h295 struct rmi_function *fn;
Drmi_2d_sensor.c212 int rmi_2d_sensor_configure_input(struct rmi_function *fn, in rmi_2d_sensor_configure_input()
/Linux-v4.19/include/linux/
Drmi.h343 struct rmi_function *f01_container;
344 struct rmi_function *f34_container;