Home
last modified time | relevance | path

Searched defs:ts (Results 1 – 25 of 202) sorted by relevance

123456789

/drivers/input/touchscreen/
Dcyttsp_core.c84 static int ttsp_read_block_data(struct cyttsp *ts, u8 command, in ttsp_read_block_data()
102 static int ttsp_write_block_data(struct cyttsp *ts, u8 command, in ttsp_write_block_data()
120 static int ttsp_send_command(struct cyttsp *ts, u8 cmd) in ttsp_send_command()
125 static int cyttsp_handshake(struct cyttsp *ts) in cyttsp_handshake()
134 static int cyttsp_load_bl_regs(struct cyttsp *ts) in cyttsp_load_bl_regs()
143 static int cyttsp_exit_bl_mode(struct cyttsp *ts) in cyttsp_exit_bl_mode()
171 static int cyttsp_set_operational_mode(struct cyttsp *ts) in cyttsp_set_operational_mode()
192 static int cyttsp_set_sysinfo_mode(struct cyttsp *ts) in cyttsp_set_sysinfo_mode()
220 static int cyttsp_set_sysinfo_regs(struct cyttsp *ts) in cyttsp_set_sysinfo_regs()
243 static void cyttsp_hard_reset(struct cyttsp *ts) in cyttsp_hard_reset()
[all …]
Dmxs-lradc-ts.c100 static bool mxs_lradc_check_touch_event(struct mxs_lradc_ts *ts) in mxs_lradc_check_touch_event()
106 static void mxs_lradc_map_ts_channel(struct mxs_lradc_ts *ts, unsigned int vch, in mxs_lradc_map_ts_channel()
115 static void mxs_lradc_setup_ts_channel(struct mxs_lradc_ts *ts, unsigned int ch) in mxs_lradc_setup_ts_channel()
169 static void mxs_lradc_setup_ts_pressure(struct mxs_lradc_ts *ts, in mxs_lradc_setup_ts_pressure()
217 static unsigned int mxs_lradc_ts_read_raw_channel(struct mxs_lradc_ts *ts, in mxs_lradc_ts_read_raw_channel()
233 static unsigned int mxs_lradc_read_ts_pressure(struct mxs_lradc_ts *ts, in mxs_lradc_read_ts_pressure()
281 static void mxs_lradc_setup_touch_detection(struct mxs_lradc_ts *ts) in mxs_lradc_setup_touch_detection()
309 static void mxs_lradc_prepare_x_pos(struct mxs_lradc_ts *ts) in mxs_lradc_prepare_x_pos()
335 static void mxs_lradc_prepare_y_pos(struct mxs_lradc_ts *ts) in mxs_lradc_prepare_y_pos()
361 static void mxs_lradc_prepare_pressure(struct mxs_lradc_ts *ts) in mxs_lradc_prepare_pressure()
[all …]
Dtsc2007_core.c91 bool tsc2007_is_pen_down(struct tsc2007 *ts) in tsc2007_is_pen_down()
115 struct tsc2007 *ts = handle; in tsc2007_soft_irq() local
179 struct tsc2007 *ts = handle; in tsc2007_hard_irq() local
190 static void tsc2007_stop(struct tsc2007 *ts) in tsc2007_stop()
201 struct tsc2007 *ts = input_get_drvdata(input_dev); in tsc2007_open() local
221 struct tsc2007 *ts = input_get_drvdata(input_dev); in tsc2007_close() local
230 struct tsc2007 *ts = i2c_get_clientdata(client); in tsc2007_get_pendown_state_gpio() local
235 static int tsc2007_probe_dt(struct i2c_client *client, struct tsc2007 *ts) in tsc2007_probe_dt()
283 static int tsc2007_probe_dt(struct i2c_client *client, struct tsc2007 *ts) in tsc2007_probe_dt()
290 static int tsc2007_probe_pdev(struct i2c_client *client, struct tsc2007 *ts, in tsc2007_probe_pdev()
[all …]
Dgoodix.c208 static int goodix_ts_read_input_report(struct goodix_ts_data *ts, u8 *data) in goodix_ts_read_input_report()
259 static void goodix_ts_report_touch(struct goodix_ts_data *ts, u8 *coor_data) in goodix_ts_report_touch()
290 static void goodix_process_events(struct goodix_ts_data *ts) in goodix_process_events()
322 struct goodix_ts_data *ts = dev_id; in goodix_ts_irq_handler() local
332 static void goodix_free_irq(struct goodix_ts_data *ts) in goodix_free_irq()
337 static int goodix_request_irq(struct goodix_ts_data *ts) in goodix_request_irq()
350 static int goodix_check_cfg(struct goodix_ts_data *ts, in goodix_check_cfg()
387 static int goodix_send_cfg(struct goodix_ts_data *ts, in goodix_send_cfg()
411 static int goodix_int_sync(struct goodix_ts_data *ts) in goodix_int_sync()
433 static int goodix_reset(struct goodix_ts_data *ts) in goodix_reset()
[all …]
Dad7879.c137 static int ad7879_read(struct ad7879 *ts, u8 reg) in ad7879_read()
152 static int ad7879_write(struct ad7879 *ts, u8 reg, u16 val) in ad7879_write()
167 static int ad7879_report(struct ad7879 *ts) in ad7879_report()
231 static void ad7879_ts_event_release(struct ad7879 *ts) in ad7879_ts_event_release()
242 struct ad7879 *ts = (void *)handle; in ad7879_timer() local
249 struct ad7879 *ts = handle; in ad7879_irq() local
260 static void __ad7879_enable(struct ad7879 *ts) in __ad7879_enable()
269 static void __ad7879_disable(struct ad7879 *ts) in __ad7879_disable()
284 struct ad7879 *ts = input_get_drvdata(input); in ad7879_open() local
295 struct ad7879 *ts = input_get_drvdata(input); in ad7879_close() local
[all …]
Dtsc200x-core.c120 static void tsc200x_update_pen_state(struct tsc200x *ts, in tsc200x_update_pen_state()
145 struct tsc200x *ts = _ts; in tsc200x_irq_thread() local
207 struct tsc200x *ts = (struct tsc200x *)data; in tsc200x_penup_timer() local
215 static void tsc200x_start_scan(struct tsc200x *ts) in tsc200x_start_scan()
223 static void tsc200x_stop_scan(struct tsc200x *ts) in tsc200x_stop_scan()
228 static void tsc200x_reset(struct tsc200x *ts) in tsc200x_reset()
238 static void __tsc200x_disable(struct tsc200x *ts) in __tsc200x_disable()
251 static void __tsc200x_enable(struct tsc200x *ts) in __tsc200x_enable()
267 struct tsc200x *ts = dev_get_drvdata(dev); in tsc200x_selftest_show() local
350 struct tsc200x *ts = dev_get_drvdata(dev); in tsc200x_attr_is_visible() local
[all …]
Dads7846.c203 static void ads7846_stop(struct ads7846 *ts) in ads7846_stop()
215 static void ads7846_restart(struct ads7846 *ts) in ads7846_restart()
226 static void __ads7846_disable(struct ads7846 *ts) in __ads7846_disable()
238 static void __ads7846_enable(struct ads7846 *ts) in __ads7846_enable()
249 static void ads7846_disable(struct ads7846 *ts) in ads7846_disable()
264 static void ads7846_enable(struct ads7846 *ts) in ads7846_enable()
315 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_read12_ser() local
389 struct ads7846 *ts = dev_get_drvdata(dev); in ads7845_read12_ser() local
442 static inline unsigned null_adjust(struct ads7846 *ts, ssize_t v) in null_adjust()
466 static inline unsigned vbatt_adjust(struct ads7846 *ts, ssize_t v) in vbatt_adjust()
[all …]
Dzforce_ts.c143 static int zforce_command(struct zforce_ts *ts, u8 cmd) in zforce_command()
166 static void zforce_reset_assert(struct zforce_ts *ts) in zforce_reset_assert()
171 static void zforce_reset_deassert(struct zforce_ts *ts) in zforce_reset_deassert()
176 static int zforce_send_wait(struct zforce_ts *ts, const char *buf, int len) in zforce_send_wait()
214 static int zforce_command_wait(struct zforce_ts *ts, u8 cmd) in zforce_command_wait()
235 static int zforce_resolution(struct zforce_ts *ts, u16 x, u16 y) in zforce_resolution()
247 static int zforce_scan_frequency(struct zforce_ts *ts, u16 idle, u16 finger, in zforce_scan_frequency()
263 static int zforce_setconfig(struct zforce_ts *ts, char b1) in zforce_setconfig()
274 static int zforce_start(struct zforce_ts *ts) in zforce_start()
327 static int zforce_stop(struct zforce_ts *ts) in zforce_stop()
[all …]
Dipaq-micro-ts.c32 struct touchscreen_data *ts = data; in micro_ts_receive() local
49 static void micro_ts_toggle_receive(struct touchscreen_data *ts, bool enable) in micro_ts_toggle_receive()
68 struct touchscreen_data *ts = input_get_drvdata(input); in micro_ts_open() local
77 struct touchscreen_data *ts = input_get_drvdata(input); in micro_ts_close() local
85 struct touchscreen_data *ts; in micro_ts_probe() local
127 struct touchscreen_data *ts = dev_get_drvdata(dev); in micro_ts_suspend() local
136 struct touchscreen_data *ts = dev_get_drvdata(dev); in micro_ts_resume() local
Dmelfas_mip4.c188 static int mip4_i2c_xfer(struct mip4_ts *ts, in mip4_i2c_xfer()
234 static int mip4_get_fw_version(struct mip4_ts *ts) in mip4_get_fw_version()
254 static int mip4_query_device(struct mip4_ts *ts) in mip4_query_device()
375 static int mip4_power_on(struct mip4_ts *ts) in mip4_power_on()
387 static void mip4_power_off(struct mip4_ts *ts) in mip4_power_off()
396 static void mip4_clear_input(struct mip4_ts *ts) in mip4_clear_input()
413 static int mip4_enable(struct mip4_ts *ts) in mip4_enable()
426 static void mip4_disable(struct mip4_ts *ts) in mip4_disable()
439 static void mip4_report_keys(struct mip4_ts *ts, u8 *packet) in mip4_report_keys()
474 static void mip4_report_touch(struct mip4_ts *ts, u8 *packet) in mip4_report_touch()
[all …]
Dauo-pixcir-ts.c134 static int auo_pixcir_collect_data(struct auo_pixcir_ts *ts, in auo_pixcir_collect_data()
183 struct auo_pixcir_ts *ts = dev_id; in auo_pixcir_interrupt() local
266 static int auo_pixcir_power_mode(struct auo_pixcir_ts *ts, int mode) in auo_pixcir_power_mode()
291 static int auo_pixcir_int_config(struct auo_pixcir_ts *ts, in auo_pixcir_int_config()
323 static int auo_pixcir_int_toggle(struct auo_pixcir_ts *ts, bool enable) in auo_pixcir_int_toggle()
351 static int auo_pixcir_start(struct auo_pixcir_ts *ts) in auo_pixcir_start()
378 static int auo_pixcir_stop(struct auo_pixcir_ts *ts) in auo_pixcir_stop()
401 struct auo_pixcir_ts *ts = input_get_drvdata(dev); in auo_pixcir_input_open() local
408 struct auo_pixcir_ts *ts = input_get_drvdata(dev); in auo_pixcir_input_close() local
418 struct auo_pixcir_ts *ts = i2c_get_clientdata(client); in auo_pixcir_suspend() local
[all …]
Dad7877.c270 struct ad7877 *ts = spi_get_drvdata(spi); in ad7877_read_adc() local
331 static int ad7877_process_data(struct ad7877 *ts) in ad7877_process_data()
379 static inline void ad7877_ts_event_release(struct ad7877 *ts) in ad7877_ts_event_release()
390 struct ad7877 *ts = (void *)handle; in ad7877_timer() local
400 struct ad7877 *ts = handle; in ad7877_irq() local
420 static void ad7877_disable(struct ad7877 *ts) in ad7877_disable()
440 static void ad7877_enable(struct ad7877 *ts) in ad7877_enable()
475 struct ad7877 *ts = dev_get_drvdata(dev); in SHOW() local
484 struct ad7877 *ts = dev_get_drvdata(dev); in ad7877_disable_store() local
505 struct ad7877 *ts = dev_get_drvdata(dev); in ad7877_dac_show() local
[all …]
Dpixcir_i2c_ts.c105 static void pixcir_ts_report(struct pixcir_i2c_ts_data *ts, in pixcir_ts_report()
190 static int pixcir_set_power_mode(struct pixcir_i2c_ts_data *ts, in pixcir_set_power_mode()
234 static int pixcir_set_int_mode(struct pixcir_i2c_ts_data *ts, in pixcir_set_int_mode()
268 static int pixcir_int_enable(struct pixcir_i2c_ts_data *ts, bool enable) in pixcir_int_enable()
295 static int pixcir_start(struct pixcir_i2c_ts_data *ts) in pixcir_start()
326 static int pixcir_stop(struct pixcir_i2c_ts_data *ts) in pixcir_stop()
354 struct pixcir_i2c_ts_data *ts = input_get_drvdata(dev); in pixcir_input_open() local
361 struct pixcir_i2c_ts_data *ts = input_get_drvdata(dev); in pixcir_input_close() local
369 struct pixcir_i2c_ts_data *ts = i2c_get_clientdata(client); in pixcir_i2c_ts_suspend() local
396 struct pixcir_i2c_ts_data *ts = i2c_get_clientdata(client); in pixcir_i2c_ts_resume() local
Delants_i2c.c234 static int elants_i2c_calibrate(struct elants_data *ts) in elants_i2c_calibrate()
301 static int elants_i2c_query_hw_version(struct elants_data *ts) in elants_i2c_query_hw_version()
332 static int elants_i2c_query_fw_version(struct elants_data *ts) in elants_i2c_query_fw_version()
359 static int elants_i2c_query_test_version(struct elants_data *ts) in elants_i2c_query_test_version()
388 static int elants_i2c_query_bc_version(struct elants_data *ts) in elants_i2c_query_bc_version()
412 static int elants_i2c_query_ts_info(struct elants_data *ts) in elants_i2c_query_ts_info()
513 static int elants_i2c_initialize(struct elants_data *ts) in elants_i2c_initialize()
720 static int elants_i2c_fw_update(struct elants_data *ts) in elants_i2c_fw_update()
784 static void elants_i2c_mt_event(struct elants_data *ts, u8 *buf) in elants_i2c_mt_event()
840 static void elants_i2c_event(struct elants_data *ts, u8 *buf) in elants_i2c_event()
[all …]
Dzet6223.c48 struct zet6223_ts *ts = input_get_drvdata(dev); in zet6223_start() local
57 struct zet6223_ts *ts = input_get_drvdata(dev); in zet6223_stop() local
64 struct zet6223_ts *ts = dev_id; in zet6223_irq() local
109 struct zet6223_ts *ts = _ts; in zet6223_power_off() local
114 static int zet6223_power_on(struct zet6223_ts *ts) in zet6223_power_on()
142 static int zet6223_query_device(struct zet6223_ts *ts) in zet6223_query_device()
183 struct zet6223_ts *ts; in zet6223_probe() local
Dst1232.c58 static int st1232_ts_read_data(struct st1232_ts_data *ts) in st1232_ts_read_data()
105 struct st1232_ts_data *ts = dev_id; in st1232_ts_irq_handler() local
148 static void st1232_ts_power(struct st1232_ts_data *ts, bool poweron) in st1232_ts_power()
157 struct st1232_ts_data *ts; in st1232_ts_probe() local
239 struct st1232_ts_data *ts = i2c_get_clientdata(client); in st1232_ts_remove() local
249 struct st1232_ts_data *ts = i2c_get_clientdata(client); in st1232_ts_suspend() local
264 struct st1232_ts_data *ts = i2c_get_clientdata(client); in st1232_ts_resume() local
Dektf2127.c73 static void ektf2127_report_event(struct ektf2127_ts *ts, const u8 *buf) in ektf2127_report_event()
104 struct ektf2127_ts *ts = dev_id; in ektf2127_irq() local
140 struct ektf2127_ts *ts = input_get_drvdata(dev); in ektf2127_start() local
150 struct ektf2127_ts *ts = input_get_drvdata(dev); in ektf2127_stop() local
158 struct ektf2127_ts *ts = i2c_get_clientdata(to_i2c_client(dev)); in ektf2127_suspend() local
170 struct ektf2127_ts *ts = i2c_get_clientdata(to_i2c_client(dev)); in ektf2127_resume() local
227 struct ektf2127_ts *ts; in ektf2127_probe() local
Draydium_i2c_ts.c266 static int raydium_i2c_query_ts_info(struct raydium_data *ts) in raydium_i2c_query_ts_info()
320 static int raydium_i2c_check_fw_status(struct raydium_data *ts) in raydium_i2c_check_fw_status()
340 static int raydium_i2c_initialize(struct raydium_data *ts) in raydium_i2c_initialize()
630 static int raydium_i2c_do_update_firmware(struct raydium_data *ts, in raydium_i2c_do_update_firmware()
751 static int raydium_i2c_fw_update(struct raydium_data *ts) in raydium_i2c_fw_update()
793 static void raydium_mt_event(struct raydium_data *ts) in raydium_mt_event()
828 struct raydium_data *ts = _dev; in raydium_i2c_irq() local
860 struct raydium_data *ts = i2c_get_clientdata(client); in raydium_i2c_fw_ver_show() local
869 struct raydium_data *ts = i2c_get_clientdata(client); in raydium_i2c_hw_ver_show() local
879 struct raydium_data *ts = i2c_get_clientdata(client); in raydium_i2c_boot_mode_show() local
[all …]
Dstmpe-ts.c131 struct stmpe_touch *ts = in stmpe_work() local
161 struct stmpe_touch *ts = data; in stmpe_ts_handler() local
203 static int stmpe_init_hw(struct stmpe_touch *ts) in stmpe_init_hw()
277 struct stmpe_touch *ts = input_get_drvdata(dev); in stmpe_ts_open() local
290 struct stmpe_touch *ts = input_get_drvdata(dev); in stmpe_ts_close() local
299 struct stmpe_touch *ts) in stmpe_ts_get_platform_info()
329 struct stmpe_touch *ts; in stmpe_input_probe() local
392 struct stmpe_touch *ts = platform_get_drvdata(pdev); in stmpe_ts_remove() local
Dcy8ctmg110_ts.c68 static void cy8ctmg110_power(struct cy8ctmg110 *ts, bool poweron) in cy8ctmg110_power()
152 static int cy8ctmg110_set_sleepmode(struct cy8ctmg110 *ts, bool sleep) in cy8ctmg110_set_sleepmode()
182 struct cy8ctmg110 *ts; in cy8ctmg110_probe() local
297 struct cy8ctmg110 *ts = i2c_get_clientdata(client); in cy8ctmg110_suspend() local
311 struct cy8ctmg110 *ts = i2c_get_clientdata(client); in cy8ctmg110_resume() local
326 struct cy8ctmg110 *ts = i2c_get_clientdata(client); in cy8ctmg110_remove() local
Dts4800-ts.c51 struct ts4800_ts *ts = dev->private; in ts4800_ts_open() local
64 struct ts4800_ts *ts = dev->private; in ts4800_ts_close() local
76 struct ts4800_ts *ts = dev->private; in ts4800_ts_poll() local
107 struct ts4800_ts *ts) in ts4800_parse_dt()
150 struct ts4800_ts *ts; in ts4800_ts_probe() local
Dsun4i-ts.c126 static void sun4i_ts_irq_handle_input(struct sun4i_ts_data *ts, u32 reg_val) in sun4i_ts_irq_handle_input()
158 struct sun4i_ts_data *ts = dev_id; in sun4i_ts_irq() local
176 struct sun4i_ts_data *ts = input_get_drvdata(dev); in sun4i_ts_open() local
187 struct sun4i_ts_data *ts = input_get_drvdata(dev); in sun4i_ts_close() local
193 static int sun4i_get_temp(const struct sun4i_ts_data *ts, int *temp) in sun4i_get_temp()
216 struct sun4i_ts_data *ts = dev_get_drvdata(dev); in show_temp() local
245 struct sun4i_ts_data *ts; in sun4i_ts_probe() local
390 struct sun4i_ts_data *ts = platform_get_drvdata(pdev); in sun4i_ts_remove() local
/drivers/mfd/
Ducb1x00-ts.c57 static inline void ucb1x00_ts_evt_add(struct ucb1x00_ts *ts, u16 pressure, u16 x, u16 y) in ucb1x00_ts_evt_add()
68 static inline void ucb1x00_ts_event_release(struct ucb1x00_ts *ts) in ucb1x00_ts_event_release()
80 static inline void ucb1x00_ts_mode_int(struct ucb1x00_ts *ts) in ucb1x00_ts_mode_int()
92 static inline unsigned int ucb1x00_ts_read_pressure(struct ucb1x00_ts *ts) in ucb1x00_ts_read_pressure()
119 static inline unsigned int ucb1x00_ts_read_xpos(struct ucb1x00_ts *ts) in ucb1x00_ts_read_xpos()
146 static inline unsigned int ucb1x00_ts_read_ypos(struct ucb1x00_ts *ts) in ucb1x00_ts_read_ypos()
172 static inline unsigned int ucb1x00_ts_read_xres(struct ucb1x00_ts *ts) in ucb1x00_ts_read_xres()
184 static inline unsigned int ucb1x00_ts_read_yres(struct ucb1x00_ts *ts) in ucb1x00_ts_read_yres()
192 static inline int ucb1x00_ts_pen_down(struct ucb1x00_ts *ts) in ucb1x00_ts_pen_down()
209 struct ucb1x00_ts *ts = _ts; in ucb1x00_thread() local
[all …]
/drivers/gpio/
Dgpio-max730x.c53 struct max7301 *ts = gpiochip_get_data(chip); in max7301_direction_input() local
81 static int __max7301_set(struct max7301 *ts, unsigned offset, int value) in __max7301_set()
95 struct max7301 *ts = gpiochip_get_data(chip); in max7301_direction_output() local
123 struct max7301 *ts = gpiochip_get_data(chip); in max7301_get() local
151 struct max7301 *ts = gpiochip_get_data(chip); in max7301_set() local
163 int __max730x_probe(struct max7301 *ts) in __max730x_probe()
230 struct max7301 *ts = dev_get_drvdata(dev); in __max730x_remove() local
/drivers/thermal/tegra/
Dsoctherm.c211 struct tegra_soctherm *ts; member
251 static inline void clk_writel(struct tegra_soctherm *ts, u32 value, u32 reg) in clk_writel()
263 static inline u32 clk_readl(struct tegra_soctherm *ts, u32 reg) in clk_readl()
276 static inline void ccroc_writel(struct tegra_soctherm *ts, u32 value, u32 reg) in ccroc_writel()
288 static inline u32 ccroc_readl(struct tegra_soctherm *ts, u32 reg) in ccroc_readl()
357 struct tegra_soctherm *ts = zone->ts; in tegra_thermctl_set_trip_temp() local
441 struct tegra_soctherm *ts = dev_get_drvdata(dev); in thermtrip_program() local
481 struct tegra_soctherm *ts = dev_get_drvdata(dev); in throttrip_program() local
519 find_throttle_cfg_by_name(struct tegra_soctherm *ts, const char *name) in find_throttle_cfg_by_name()
580 struct tegra_soctherm *ts = dev_get_drvdata(dev); in tegra_soctherm_set_hwtrips() local
[all …]

123456789