Lines Matching refs:mxt_data

284 struct mxt_data {  struct
411 static void mxt_dump_message(struct mxt_data *data, u8 *message) in mxt_dump_message()
417 static int mxt_wait_for_completion(struct mxt_data *data, in mxt_wait_for_completion()
435 static int mxt_bootloader_read(struct mxt_data *data, in mxt_bootloader_read()
459 static int mxt_bootloader_write(struct mxt_data *data, in mxt_bootloader_write()
482 static int mxt_lookup_bootloader_address(struct mxt_data *data, bool retry) in mxt_lookup_bootloader_address()
515 static int mxt_probe_bootloader(struct mxt_data *data, bool alt_address) in mxt_probe_bootloader()
539 static u8 mxt_get_bootloader_version(struct mxt_data *data, u8 val) in mxt_get_bootloader_version()
560 static int mxt_check_bootloader(struct mxt_data *data, unsigned int state, in mxt_check_bootloader()
623 static int mxt_send_bootloader_cmd(struct mxt_data *data, bool unlock) in mxt_send_bootloader_cmd()
641 struct mxt_data *data = i2c_get_clientdata(client); in mxt_wakeup_toggle()
750 mxt_get_object(struct mxt_data *data, u8 type) in mxt_get_object()
765 static void mxt_proc_t6_messages(struct mxt_data *data, u8 *msg) in mxt_proc_t6_messages()
798 static int mxt_write_object(struct mxt_data *data, in mxt_write_object()
812 static void mxt_input_button(struct mxt_data *data, u8 *message) in mxt_input_button()
827 static void mxt_input_sync(struct mxt_data *data) in mxt_input_sync()
834 static void mxt_proc_t9_message(struct mxt_data *data, u8 *message) in mxt_proc_t9_message()
903 static void mxt_proc_t15_messages(struct mxt_data *data, u8 *message) in mxt_proc_t15_messages()
916 static void mxt_proc_t97_messages(struct mxt_data *data, u8 *message) in mxt_proc_t97_messages()
921 static void mxt_proc_t100_message(struct mxt_data *data, u8 *message) in mxt_proc_t100_message()
1029 static int mxt_proc_message(struct mxt_data *data, u8 *message) in mxt_proc_message()
1066 static int mxt_read_and_process_messages(struct mxt_data *data, u8 count) in mxt_read_and_process_messages()
1097 static irqreturn_t mxt_process_messages_t44(struct mxt_data *data) in mxt_process_messages_t44()
1152 static int mxt_process_messages_until_invalid(struct mxt_data *data) in mxt_process_messages_until_invalid()
1176 static irqreturn_t mxt_process_messages(struct mxt_data *data) in mxt_process_messages()
1217 struct mxt_data *data = dev_id; in mxt_interrupt()
1235 static int mxt_t6_command(struct mxt_data *data, u16 cmd_offset, in mxt_t6_command()
1267 static int mxt_acquire_irq(struct mxt_data *data) in mxt_acquire_irq()
1282 static int mxt_soft_reset(struct mxt_data *data) in mxt_soft_reset()
1310 static void mxt_update_crc(struct mxt_data *data, u8 cmd, u8 value) in mxt_update_crc()
1367 static int mxt_check_retrigen(struct mxt_data *data) in mxt_check_retrigen()
1399 static int mxt_prepare_cfg_mem(struct mxt_data *data, struct mxt_cfg *cfg) in mxt_prepare_cfg_mem()
1497 static int mxt_upload_cfg_mem(struct mxt_data *data, struct mxt_cfg *cfg) in mxt_upload_cfg_mem()
1524 static int mxt_init_t7_power_cfg(struct mxt_data *data);
1545 static int mxt_update_cfg(struct mxt_data *data, const struct firmware *fw) in mxt_update_cfg()
1698 static void mxt_free_input_device(struct mxt_data *data) in mxt_free_input_device()
1706 static void mxt_free_object_table(struct mxt_data *data) in mxt_free_object_table()
1737 static int mxt_parse_object_table(struct mxt_data *data, in mxt_parse_object_table()
1854 static int mxt_read_info_block(struct mxt_data *data) in mxt_read_info_block()
1942 static int mxt_read_t9_resolution(struct mxt_data *data) in mxt_read_t9_resolution()
1988 static int mxt_read_t100_config(struct mxt_data *data) in mxt_read_t100_config()
2070 struct mxt_data *data) in mxt_set_up_as_touchpad()
2091 static int mxt_initialize_input_device(struct mxt_data *data) in mxt_initialize_input_device()
2239 static int mxt_configure_objects(struct mxt_data *data,
2248 static int mxt_initialize(struct mxt_data *data) in mxt_initialize()
2306 static int mxt_set_t7_power_cfg(struct mxt_data *data, u8 sleep) in mxt_set_t7_power_cfg()
2329 static int mxt_init_t7_power_cfg(struct mxt_data *data) in mxt_init_t7_power_cfg()
2371 static u16 mxt_get_debug_value(struct mxt_data *data, unsigned int x, in mxt_get_debug_value()
2398 static int mxt_convert_debug_pages(struct mxt_data *data, u16 *outbuf) in mxt_convert_debug_pages()
2424 static int mxt_read_diagnostic_debug(struct mxt_data *data, u8 mode, in mxt_read_diagnostic_debug()
2486 struct mxt_data *data = q->drv_priv; in mxt_queue_setup()
2500 struct mxt_data *data = vb2_get_drv_priv(vb->vb2_queue); in mxt_buffer_queue()
2555 struct mxt_data *data = video_drvdata(file); in mxt_vidioc_querycap()
2585 static int mxt_set_input(struct mxt_data *data, unsigned int i) in mxt_set_input()
2616 struct mxt_data *data = video_drvdata(file); in mxt_vidioc_g_input()
2625 struct mxt_data *data = video_drvdata(file); in mxt_vidioc_fmt()
2700 static void mxt_debug_init(struct mxt_data *data) in mxt_debug_init()
2779 static void mxt_debug_init(struct mxt_data *data) in mxt_debug_init()
2784 static int mxt_configure_objects(struct mxt_data *data, in mxt_configure_objects()
2819 struct mxt_data *data = dev_get_drvdata(dev); in mxt_fw_version_show()
2829 struct mxt_data *data = dev_get_drvdata(dev); in mxt_hw_version_show()
2856 struct mxt_data *data = dev_get_drvdata(dev); in mxt_object_show()
2921 struct mxt_data *data = dev_get_drvdata(dev); in mxt_load_fw()
3044 struct mxt_data *data = dev_get_drvdata(dev); in mxt_update_fw_store()
3079 static void mxt_start(struct mxt_data *data) in mxt_start()
3103 static void mxt_stop(struct mxt_data *data) in mxt_stop()
3123 struct mxt_data *data = input_get_drvdata(dev); in mxt_input_open()
3132 struct mxt_data *data = input_get_drvdata(dev); in mxt_input_close()
3137 static int mxt_parse_device_properties(struct mxt_data *data) in mxt_parse_device_properties()
3219 struct mxt_data *data; in mxt_probe()
3247 data = devm_kzalloc(&client->dev, sizeof(struct mxt_data), GFP_KERNEL); in mxt_probe()
3374 struct mxt_data *data = i2c_get_clientdata(client); in mxt_remove()
3387 struct mxt_data *data = i2c_get_clientdata(client); in mxt_suspend()
3408 struct mxt_data *data = i2c_get_clientdata(client); in mxt_resume()