Home
last modified time | relevance | path

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

/linux/drivers/input/touchscreen/
H A Dgoodix.h67 struct goodix_ts_data;
72 int (*check_config)(struct goodix_ts_data *ts, const u8 *cfg, int len);
73 void (*calc_config_checksum)(struct goodix_ts_data *ts);
76 struct goodix_ts_data { struct
112 int goodix_send_cfg(struct goodix_ts_data *ts, const u8 *cfg, int len); argument
113 int goodix_int_sync(struct goodix_ts_data *ts);
114 int goodix_reset_no_int_sync(struct goodix_ts_data *ts);
116 int goodix_firmware_check(struct goodix_ts_data *ts);
117 bool goodix_handle_fw_request(struct goodix_ts_data *ts);
118 void goodix_save_bak_ref(struct goodix_ts_data *ts);
H A Dgoodix.c61 static int goodix_check_cfg_8(struct goodix_ts_data *ts,
63 static int goodix_check_cfg_16(struct goodix_ts_data *ts,
65 static void goodix_calc_cfg_checksum_8(struct goodix_ts_data *ts);
66 static void goodix_calc_cfg_checksum_16(struct goodix_ts_data *ts);
251 static int goodix_ts_read_input_report(struct goodix_ts_data *ts, u8 *data) in goodix_ts_read_input_report()
310 static int goodix_create_pen_input(struct goodix_ts_data *ts) in goodix_create_pen_input()
348 static void goodix_ts_report_pen_down(struct goodix_ts_data *ts, u8 *data) in goodix_ts_report_pen_down()
389 static void goodix_ts_report_pen_up(struct goodix_ts_data *ts) in goodix_ts_report_pen_up()
402 static void goodix_ts_report_touch_8b(struct goodix_ts_data *ts, u8 *coor_data) in goodix_ts_report_touch_8b()
417 static void goodix_ts_report_touch_9b(struct goodix_ts_data *ts, u8 *coor_data) in goodix_ts_report_touch_9b()
[all …]
H A Dgoodix_fwupload.c189 static int goodix_firmware_upload(struct goodix_ts_data *ts) in goodix_firmware_upload()
262 static int goodix_prepare_bak_ref(struct goodix_ts_data *ts) in goodix_prepare_bak_ref()
309 static int goodix_send_main_clock(struct goodix_ts_data *ts) in goodix_send_main_clock()
330 int goodix_firmware_check(struct goodix_ts_data *ts) in goodix_firmware_check()
348 bool goodix_handle_fw_request(struct goodix_ts_data *ts) in goodix_handle_fw_request()
406 void goodix_save_bak_ref(struct goodix_ts_data *ts) in goodix_save_bak_ref()
/linux/drivers/hid/
H A Dhid-goodix-spi.c93 struct goodix_ts_data { struct
112 static void *goodix_get_event_report(struct goodix_ts_data *ts, u32 addr, in goodix_get_event_report() argument
140 static int goodix_spi_read(struct goodix_ts_data *ts, u32 addr, in goodix_spi_read()
174 static int goodix_spi_write(struct goodix_ts_data *ts, u32 addr, in goodix_spi_write()
206 static int goodix_dev_confirm(struct goodix_ts_data *ts) in goodix_dev_confirm()
247 struct goodix_ts_data *ts = hid->driver_data; in goodix_hid_parse()
297 struct goodix_ts_data *ts = hid->driver_data; in goodix_hid_start()
326 struct goodix_ts_data *ts = hid->driver_data; in goodix_hid_open()
334 struct goodix_ts_data *ts = hid->driver_data; in goodix_hid_close()
340 static int goodix_hid_check_ack_status(struct goodix_ts_data *ts, u32 *resp_len) in goodix_hid_check_ack_status()
[all …]