Home
last modified time | relevance | path

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

/Linux-v6.6/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_f3a.c34 struct rmi_function *f03;
38 static void rmi_f3a_report_button(struct rmi_function *fn, in rmi_f3a_report_button()
58 struct rmi_function *fn = ctx; in rmi_f3a_attention()
94 static int rmi_f3a_config(struct rmi_function *fn) in rmi_f3a_config()
122 static int rmi_f3a_map_gpios(struct rmi_function *fn, struct f3a_data *f3a, in rmi_f3a_map_gpios()
167 static int rmi_f3a_initialize(struct rmi_function *fn, struct f3a_data *f3a) in rmi_f3a_initialize()
207 static int rmi_f3a_probe(struct rmi_function *fn) in rmi_f3a_probe()
Drmi_bus.c132 struct rmi_function *fn = to_rmi_function(dev); in rmi_release_function()
150 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_match()
156 static void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe()
166 static inline void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe()
174 static int rmi_create_function_irq(struct rmi_function *fn, in rmi_create_function_irq()
205 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_probe()
229 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_remove()
239 int rmi_register_function(struct rmi_function *fn) in rmi_register_function()
271 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_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_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_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_2d_sensor.h61 struct rmi_function *fn;
84 int rmi_2d_sensor_configure_input(struct rmi_function *fn,
Drmi_f54.c97 struct rmi_function *fn;
177 static int rmi_f54_request_report(struct rmi_function *fn, u8 report_type) in rmi_f54_request_report()
536 struct rmi_function *fn = f54->fn; in rmi_f54_work()
614 static int rmi_f54_config(struct rmi_function *fn) in rmi_f54_config()
623 static int rmi_f54_detect(struct rmi_function *fn) in rmi_f54_detect()
661 static int rmi_f54_probe(struct rmi_function *fn) in rmi_f54_probe()
740 static void rmi_f54_remove(struct rmi_function *fn) in rmi_f54_remove()
Drmi_f01.c256 const char *rmi_f01_get_product_ID(struct rmi_function *fn) in rmi_f01_get_product_ID()
384 static int rmi_f01_probe(struct rmi_function *fn) in rmi_f01_probe()
579 static void rmi_f01_remove(struct rmi_function *fn) in rmi_f01_remove()
585 static int rmi_f01_config(struct rmi_function *fn) in rmi_f01_config()
632 static int rmi_f01_suspend(struct rmi_function *fn) in rmi_f01_suspend()
661 static int rmi_f01_resume(struct rmi_function *fn) in rmi_f01_resume()
685 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.c754 static int f11_read_control_regs(struct rmi_function *fn, in f11_read_control_regs()
770 static int f11_write_control_regs(struct rmi_function *fn, in f11_write_control_regs()
1061 static int rmi_f11_initialize(struct rmi_function *fn) in rmi_f11_initialize()
1274 static int rmi_f11_config(struct rmi_function *fn) in rmi_f11_config()
1301 struct rmi_function *fn = ctx; in rmi_f11_attention()
1335 static int rmi_f11_resume(struct rmi_function *fn) in rmi_f11_resume()
1358 static int rmi_f11_probe(struct rmi_function *fn) in rmi_f11_probe()
Drmi_f34.h275 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-v6.6/include/linux/
Drmi.h341 struct rmi_function *f01_container;
342 struct rmi_function *f34_container;