Home
last modified time | relevance | path

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

/drivers/input/rmi4/
Drmi_f3a.c39 struct f3a_data *f3a, unsigned int button) in rmi_f3a_report_button() argument
41 u16 key_code = f3a->gpio_key_map[button]; in rmi_f3a_report_button()
42 bool key_down = !(f3a->data_regs[0] & BIT(button)); in rmi_f3a_report_button()
44 if (f3a->trackstick_buttons && in rmi_f3a_report_button()
47 rmi_f03_overwrite_button(f3a->f03, key_code, key_down); in rmi_f3a_report_button()
52 input_report_key(f3a->input, key_code, key_down); in rmi_f3a_report_button()
59 struct f3a_data *f3a = dev_get_drvdata(&fn->dev); in rmi_f3a_attention() local
65 if (drvdata->attn_data.size < f3a->register_count) { in rmi_f3a_attention()
70 memcpy(f3a->data_regs, drvdata->attn_data.data, in rmi_f3a_attention()
71 f3a->register_count); in rmi_f3a_attention()
[all …]