Searched refs:ts (Results 1 - 25 of 795) sorted by relevance

1234567891011>>

/linux-master/arch/parisc/include/asm/
H A Dcurrent.h10 struct task_struct *ts; local
13 asm( "mfctl %%cr30,%0" : "=r" (ts) );
14 return ts;
/linux-master/drivers/mfd/
H A Ducb1x00-ts.c54 static inline void ucb1x00_ts_evt_add(struct ucb1x00_ts *ts, u16 pressure, u16 x, u16 y) argument
56 struct input_dev *idev = ts->idev;
65 static inline void ucb1x00_ts_event_release(struct ucb1x00_ts *ts) argument
67 struct input_dev *idev = ts->idev;
77 static inline void ucb1x00_ts_mode_int(struct ucb1x00_ts *ts) argument
79 ucb1x00_reg_write(ts->ucb, UCB_TS_CR,
89 static inline unsigned int ucb1x00_ts_read_pressure(struct ucb1x00_ts *ts) argument
92 ucb1x00_io_write(ts->ucb, COLLIE_TC35143_GPIO_TBL_CHK, 0);
93 ucb1x00_reg_write(ts->ucb, UCB_TS_CR,
99 return ucb1x00_adc_read(ts
116 ucb1x00_ts_read_xpos(struct ucb1x00_ts *ts) argument
143 ucb1x00_ts_read_ypos(struct ucb1x00_ts *ts) argument
169 ucb1x00_ts_read_xres(struct ucb1x00_ts *ts) argument
181 ucb1x00_ts_read_yres(struct ucb1x00_ts *ts) argument
189 ucb1x00_ts_pen_down(struct ucb1x00_ts *ts) argument
206 struct ucb1x00_ts *ts = _ts; local
290 struct ucb1x00_ts *ts = id; local
303 struct ucb1x00_ts *ts = input_get_drvdata(idev); local
349 struct ucb1x00_ts *ts = input_get_drvdata(idev); local
366 struct ucb1x00_ts *ts; local
418 struct ucb1x00_ts *ts = dev->priv; local
[all...]
/linux-master/drivers/input/touchscreen/
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) argument
259 * ts->contact_size * max(1, touch_num) bytes of coordinates
262 const int header_contact_keycode_size = 1 + ts->contact_size + 1;
271 error = goodix_i2c_read(ts->client, addr, data,
278 if (touch_num > ts->max_touch_num)
284 error = goodix_i2c_read(ts
310 goodix_create_pen_input(struct goodix_ts_data *ts) argument
348 goodix_ts_report_pen_down(struct goodix_ts_data *ts, u8 *data) argument
389 goodix_ts_report_pen_up(struct goodix_ts_data *ts) argument
402 goodix_ts_report_touch_8b(struct goodix_ts_data *ts, u8 *coor_data) argument
417 goodix_ts_report_touch_9b(struct goodix_ts_data *ts, u8 *coor_data) argument
432 goodix_ts_release_keys(struct goodix_ts_data *ts) argument
440 goodix_ts_report_key(struct goodix_ts_data *ts, u8 *data) argument
466 goodix_process_events(struct goodix_ts_data *ts) argument
508 struct goodix_ts_data *ts = dev_id; local
516 goodix_free_irq(struct goodix_ts_data *ts) argument
521 goodix_request_irq(struct goodix_ts_data *ts) argument
528 goodix_check_cfg_8(struct goodix_ts_data *ts, const u8 *cfg, int len) argument
551 goodix_calc_cfg_checksum_8(struct goodix_ts_data *ts) argument
564 goodix_check_cfg_16(struct goodix_ts_data *ts, const u8 *cfg, int len) argument
588 goodix_calc_cfg_checksum_16(struct goodix_ts_data *ts) argument
608 goodix_check_cfg(struct goodix_ts_data *ts, const u8 *cfg, int len) argument
627 goodix_send_cfg(struct goodix_ts_data *ts, const u8 *cfg, int len) argument
648 goodix_pin_acpi_direction_input(struct goodix_ts_data *ts) argument
657 goodix_pin_acpi_output_method(struct goodix_ts_data *ts, int value) argument
666 goodix_pin_acpi_direction_input(struct goodix_ts_data *ts) argument
673 goodix_pin_acpi_output_method(struct goodix_ts_data *ts, int value) argument
681 goodix_irq_direction_output(struct goodix_ts_data *ts, int value) argument
704 goodix_irq_direction_input(struct goodix_ts_data *ts) argument
723 goodix_int_sync(struct goodix_ts_data *ts) argument
749 goodix_reset_no_int_sync(struct goodix_ts_data *ts) argument
796 goodix_reset(struct goodix_ts_data *ts) argument
830 struct goodix_ts_data *ts = data; local
855 goodix_add_acpi_gpio_mappings(struct goodix_ts_data *ts) argument
945 goodix_add_acpi_gpio_mappings(struct goodix_ts_data *ts) argument
956 goodix_get_gpio_config(struct goodix_ts_data *ts) argument
1038 goodix_read_config(struct goodix_ts_data *ts) argument
1076 goodix_read_version(struct goodix_ts_data *ts) argument
1130 goodix_configure_dev(struct goodix_ts_data *ts) argument
1261 struct goodix_ts_data *ts = ctx; local
1289 struct goodix_ts_data *ts = arg; local
1297 struct goodix_ts_data *ts; local
1408 struct goodix_ts_data *ts = i2c_get_clientdata(client); local
1417 struct goodix_ts_data *ts = i2c_get_clientdata(client); local
1464 struct goodix_ts_data *ts = i2c_get_clientdata(client); local
[all...]
H A Dcyttsp_core.c78 static int ttsp_read_block_data(struct cyttsp *ts, u8 command, argument
85 error = ts->bus_ops->read(ts->dev, ts->xfer_buf, command,
96 static int ttsp_write_block_data(struct cyttsp *ts, u8 command, argument
103 error = ts->bus_ops->write(ts->dev, ts->xfer_buf, command,
114 static int ttsp_send_command(struct cyttsp *ts, u8 cmd) argument
116 return ttsp_write_block_data(ts, CY_REG_BAS
119 cyttsp_handshake(struct cyttsp *ts) argument
128 cyttsp_load_bl_regs(struct cyttsp *ts) argument
137 cyttsp_exit_bl_mode(struct cyttsp *ts) argument
165 cyttsp_set_operational_mode(struct cyttsp *ts) argument
186 cyttsp_set_sysinfo_mode(struct cyttsp *ts) argument
214 cyttsp_set_sysinfo_regs(struct cyttsp *ts) argument
237 cyttsp_hard_reset(struct cyttsp *ts) argument
253 cyttsp_soft_reset(struct cyttsp *ts) argument
281 cyttsp_act_dist_setup(struct cyttsp *ts) argument
315 cyttsp_report_tchdata(struct cyttsp *ts) argument
368 struct cyttsp *ts = handle; local
410 cyttsp_power_on(struct cyttsp *ts) argument
458 cyttsp_enable(struct cyttsp *ts) argument
481 cyttsp_disable(struct cyttsp *ts) argument
496 struct cyttsp *ts = dev_get_drvdata(dev); local
514 struct cyttsp *ts = dev_get_drvdata(dev); local
532 struct cyttsp *ts = input_get_drvdata(dev); local
543 struct cyttsp *ts = input_get_drvdata(dev); local
549 cyttsp_parse_properties(struct cyttsp *ts) argument
620 struct cyttsp *ts = _ts; local
629 struct cyttsp *ts; local
[all...]
H A Dipaq-micro-ts.c29 struct touchscreen_data *ts = data; local
32 input_report_abs(ts->input, ABS_X,
34 input_report_abs(ts->input, ABS_Y,
36 input_report_key(ts->input, BTN_TOUCH, 1);
37 input_sync(ts->input);
39 input_report_abs(ts->input, ABS_X, 0);
40 input_report_abs(ts->input, ABS_Y, 0);
41 input_report_key(ts->input, BTN_TOUCH, 0);
42 input_sync(ts->input);
46 static void micro_ts_toggle_receive(struct touchscreen_data *ts, boo argument
65 struct touchscreen_data *ts = input_get_drvdata(input); local
74 struct touchscreen_data *ts = input_get_drvdata(input); local
82 struct touchscreen_data *ts; local
124 struct touchscreen_data *ts = dev_get_drvdata(dev); local
133 struct touchscreen_data *ts = dev_get_drvdata(dev); local
[all...]
H A Dmxs-lradc-ts.c91 static bool mxs_lradc_check_touch_event(struct mxs_lradc_ts *ts) argument
93 return !!(readl(ts->base + LRADC_STATUS) &
97 static void mxs_lradc_map_ts_channel(struct mxs_lradc_ts *ts, unsigned int vch, argument
101 ts->base + LRADC_CTRL4 + STMP_OFFSET_REG_CLR);
103 ts->base + LRADC_CTRL4 + STMP_OFFSET_REG_SET);
106 static void mxs_lradc_setup_ts_channel(struct mxs_lradc_ts *ts, unsigned int ch) argument
117 LRADC_CH_NUM_SAMPLES(ts->over_sample_cnt - 1),
118 ts->base + LRADC_CH(ch));
125 ts->base + LRADC_CH(ch) + STMP_OFFSET_REG_CLR);
136 LRADC_DELAY_LOOP(ts
160 mxs_lradc_setup_ts_pressure(struct mxs_lradc_ts *ts, unsigned int ch1, unsigned int ch2) argument
208 mxs_lradc_ts_read_raw_channel(struct mxs_lradc_ts *ts, unsigned int channel) argument
224 mxs_lradc_read_ts_pressure(struct mxs_lradc_ts *ts, unsigned int ch1, unsigned int ch2) argument
272 mxs_lradc_setup_touch_detection(struct mxs_lradc_ts *ts) argument
300 mxs_lradc_prepare_x_pos(struct mxs_lradc_ts *ts) argument
326 mxs_lradc_prepare_y_pos(struct mxs_lradc_ts *ts) argument
352 mxs_lradc_prepare_pressure(struct mxs_lradc_ts *ts) argument
368 mxs_lradc_enable_touch_detection(struct mxs_lradc_ts *ts) argument
379 mxs_lradc_start_touch_event(struct mxs_lradc_ts *ts) argument
392 mxs_lradc_report_ts_event(struct mxs_lradc_ts *ts) argument
401 mxs_lradc_complete_touch_event(struct mxs_lradc_ts *ts) argument
422 mxs_lradc_finish_touch_event(struct mxs_lradc_ts *ts, bool valid) argument
456 mxs_lradc_handle_touch(struct mxs_lradc_ts *ts) argument
495 struct mxs_lradc_ts *ts = data; local
524 struct mxs_lradc_ts *ts = input_get_drvdata(dev); local
532 mxs_lradc_ts_stop(struct mxs_lradc_ts *ts) argument
556 struct mxs_lradc_ts *ts = input_get_drvdata(dev); local
561 mxs_lradc_ts_hw_init(struct mxs_lradc_ts *ts) argument
576 mxs_lradc_ts_register(struct mxs_lradc_ts *ts) argument
608 struct mxs_lradc_ts *ts; local
[all...]
H A Dad7879.c135 static int ad7879_read(struct ad7879 *ts, u8 reg) argument
140 error = regmap_read(ts->regmap, reg, &val);
142 dev_err(ts->dev, "failed to read register %#02x: %d\n",
150 static int ad7879_write(struct ad7879 *ts, u8 reg, u16 val) argument
154 error = regmap_write(ts->regmap, reg, val);
156 dev_err(ts->dev,
165 static int ad7879_report(struct ad7879 *ts) argument
167 struct input_dev *input_dev = ts->input;
171 x = ts->conversion_data[AD7879_SEQ_XPOS] & MAX_12BIT;
172 y = ts
229 ad7879_ts_event_release(struct ad7879 *ts) argument
240 struct ad7879 *ts = from_timer(ts, t, timer); local
247 struct ad7879 *ts = handle; local
261 __ad7879_enable(struct ad7879 *ts) argument
270 __ad7879_disable(struct ad7879 *ts) argument
285 struct ad7879 *ts = input_get_drvdata(input); local
296 struct ad7879 *ts = input_get_drvdata(input); local
305 struct ad7879 *ts = dev_get_drvdata(dev); local
321 struct ad7879 *ts = dev_get_drvdata(dev); local
338 ad7879_toggle(struct ad7879 *ts, bool disable) argument
361 struct ad7879 *ts = dev_get_drvdata(dev); local
370 struct ad7879 *ts = dev_get_drvdata(dev); local
404 struct ad7879 *ts = gpiochip_get_data(chip); local
418 struct ad7879 *ts = gpiochip_get_data(chip); local
437 struct ad7879 *ts = gpiochip_get_data(chip); local
450 struct ad7879 *ts = gpiochip_get_data(chip); local
462 ad7879_gpio_add(struct ad7879 *ts) argument
491 ad7879_gpio_add(struct ad7879 *ts) argument
497 ad7879_parse_dt(struct device *dev, struct ad7879 *ts) argument
526 struct ad7879 *ts; local
[all...]
H A Dtsc2007_core.c89 bool tsc2007_is_pen_down(struct tsc2007 *ts) argument
105 if (!ts->get_pendown_state)
108 return ts->get_pendown_state(&ts->client->dev);
113 struct tsc2007 *ts = handle; local
114 struct input_dev *input = ts->input;
118 while (!ts->stopped && tsc2007_is_pen_down(ts)) {
122 mutex_lock(&ts->mlock);
123 tsc2007_read_values(ts,
175 tsc2007_stop(struct tsc2007 *ts) argument
186 struct tsc2007 *ts = input_get_drvdata(input_dev); local
206 struct tsc2007 *ts = input_get_drvdata(input_dev); local
214 struct tsc2007 *ts = i2c_get_clientdata(client); local
219 tsc2007_probe_properties(struct device *dev, struct tsc2007 *ts) argument
262 tsc2007_probe_pdev(struct device *dev, struct tsc2007 *ts, const struct tsc2007_platform_data *pdata, const struct i2c_device_id *id) argument
297 struct tsc2007 *ts; local
[all...]
H A Dsun4i-ts.c12 * The sun4i-ts controller is capable of detecting a second touch, but when a
117 static void sun4i_ts_irq_handle_input(struct sun4i_ts_data *ts, u32 reg_val) argument
122 x = readl(ts->base + TP_DATA);
123 y = readl(ts->base + TP_DATA);
125 if (!ts->ignore_fifo_data) {
126 input_report_abs(ts->input, ABS_X, x);
127 input_report_abs(ts->input, ABS_Y, y);
133 input_report_key(ts->input, BTN_TOUCH, 1);
134 input_sync(ts->input);
136 ts
149 struct sun4i_ts_data *ts = dev_id; local
167 struct sun4i_ts_data *ts = input_get_drvdata(dev); local
178 struct sun4i_ts_data *ts = input_get_drvdata(dev); local
184 sun4i_get_temp(const struct sun4i_ts_data *ts, int *temp) argument
207 struct sun4i_ts_data *ts = dev_get_drvdata(dev); local
236 struct sun4i_ts_data *ts; local
380 struct sun4i_ts_data *ts = platform_get_drvdata(pdev); local
[all...]
H A Dmelfas_mip4.c179 static int mip4_i2c_xfer(struct mip4_ts *ts, argument
185 .addr = ts->client->addr,
190 .addr = ts->client->addr,
201 res = i2c_transfer(ts->client->adapter, msg, ARRAY_SIZE(msg));
206 dev_err(&ts->client->dev,
225 static int mip4_get_fw_version(struct mip4_ts *ts) argument
228 u8 buf[sizeof(ts->fw_version)];
231 error = mip4_i2c_xfer(ts, cmd, sizeof(cmd), buf, sizeof(buf));
233 memset(&ts->fw_version, 0xff, sizeof(ts
245 mip4_query_device(struct mip4_ts *ts) argument
366 mip4_power_on(struct mip4_ts *ts) argument
378 mip4_power_off(struct mip4_ts *ts) argument
387 mip4_clear_input(struct mip4_ts *ts) argument
404 mip4_enable(struct mip4_ts *ts) argument
417 mip4_disable(struct mip4_ts *ts) argument
430 mip4_report_keys(struct mip4_ts *ts, u8 *packet) argument
465 mip4_report_touch(struct mip4_ts *ts, u8 *packet) argument
543 mip4_handle_packet(struct mip4_ts *ts, u8 *packet) argument
584 struct mip4_ts *ts = dev_id; local
640 struct mip4_ts *ts = input_get_drvdata(dev); local
647 struct mip4_ts *ts = input_get_drvdata(dev); local
706 mip4_bl_read_status(struct mip4_ts *ts) argument
768 mip4_bl_change_mode(struct mip4_ts *ts, u8 mode) argument
831 mip4_bl_enter(struct mip4_ts *ts) argument
839 mip4_bl_exit(struct mip4_ts *ts) argument
844 mip4_bl_get_address(struct mip4_ts *ts, u16 *buf_addr) argument
880 mip4_bl_program_page(struct mip4_ts *ts, int offset, const u8 *data, int length, u16 buf_addr) argument
966 mip4_bl_verify_page(struct mip4_ts *ts, int offset, const u8 *data, int length, int buf_addr) argument
1079 mip4_flash_fw(struct mip4_ts *ts, const u8 *fw_data, u32 fw_size, u32 fw_offset) argument
1155 mip4_parse_firmware(struct mip4_ts *ts, const struct firmware *fw, u32 *fw_offset_start, u32 *fw_size, const struct mip4_bin_tail **pfw_info) argument
1246 mip4_execute_fw_update(struct mip4_ts *ts, const struct firmware *fw) argument
1292 struct mip4_ts *ts = i2c_get_clientdata(client); local
1333 struct mip4_ts *ts = i2c_get_clientdata(client); local
1355 struct mip4_ts *ts = i2c_get_clientdata(client); local
1380 struct mip4_ts *ts = i2c_get_clientdata(client); local
1399 struct mip4_ts *ts = i2c_get_clientdata(client); local
1426 struct mip4_ts *ts; local
1520 struct mip4_ts *ts = i2c_get_clientdata(client); local
1538 struct mip4_ts *ts = i2c_get_clientdata(client); local
[all...]
H A Dads7846.c218 static int get_pendown_state(struct ads7846 *ts) argument
220 if (ts->get_pendown_state)
221 return ts->get_pendown_state();
223 return gpiod_get_value(ts->gpio_pendown);
226 static void ads7846_report_pen_up(struct ads7846 *ts) argument
228 struct input_dev *input = ts->input;
234 ts->pendown = false;
235 dev_vdbg(&ts->spi->dev, "UP\n");
238 /* Must be called with ts->lock held */
239 static void ads7846_stop(struct ads7846 *ts) argument
251 ads7846_restart(struct ads7846 *ts) argument
266 __ads7846_disable(struct ads7846 *ts) argument
278 __ads7846_enable(struct ads7846 *ts) argument
289 ads7846_disable(struct ads7846 *ts) argument
304 ads7846_enable(struct ads7846 *ts) argument
355 struct ads7846 *ts = dev_get_drvdata(dev); local
430 struct ads7846 *ts = dev_get_drvdata(dev); local
483 null_adjust(struct ads7846 *ts, ssize_t v) argument
496 vaux_adjust(struct ads7846 *ts, ssize_t v) argument
507 vbatt_adjust(struct ads7846 *ts, ssize_t v) argument
525 struct ads7846 *ts = dev_get_drvdata(dev); local
549 ads784x_hwmon_register(struct spi_device *spi, struct ads7846 *ts) argument
581 ads784x_hwmon_register(struct spi_device *spi, struct ads7846 *ts) argument
591 struct ads7846 *ts = dev_get_drvdata(dev); local
601 struct ads7846 *ts = dev_get_drvdata(dev); local
610 struct ads7846 *ts = dev_get_drvdata(dev); local
643 struct ads7846 *ts = ads; local
698 ads7846_set_cmd_val(struct ads7846 *ts, enum ads7846_cmds cmd_idx, u16 val) argument
760 ads7846_filter(struct ads7846 *ts) argument
793 ads7846_read_state(struct ads7846 *ts) argument
821 ads7846_report_state(struct ads7846 *ts) argument
905 struct ads7846 *ts = handle; local
913 struct ads7846 *ts = handle; local
938 struct ads7846 *ts = dev_get_drvdata(dev); local
960 struct ads7846 *ts = dev_get_drvdata(dev); local
982 ads7846_setup_pendown(struct spi_device *spi, struct ads7846 *ts, const struct ads7846_platform_data *pdata) argument
1012 ads7846_setup_spi_msg(struct ads7846 *ts, const struct ads7846_platform_data *pdata) argument
1177 struct ads7846 *ts; local
1375 struct ads7846 *ts = spi_get_drvdata(spi); local
[all...]
H A Dtsc200x-core.c114 static void tsc200x_update_pen_state(struct tsc200x *ts, argument
118 touchscreen_report_pos(ts->idev, &ts->prop, x, y, false);
119 input_report_abs(ts->idev, ABS_PRESSURE, pressure);
120 if (!ts->pen_down) {
121 input_report_key(ts->idev, BTN_TOUCH, !!pressure);
122 ts->pen_down = true;
125 input_report_abs(ts->idev, ABS_PRESSURE, 0);
126 if (ts->pen_down) {
127 input_report_key(ts
138 struct tsc200x *ts = _ts; local
200 struct tsc200x *ts = from_timer(ts, t, penup_timer); local
208 tsc200x_start_scan(struct tsc200x *ts) argument
216 tsc200x_stop_scan(struct tsc200x *ts) argument
221 tsc200x_reset(struct tsc200x *ts) argument
231 __tsc200x_disable(struct tsc200x *ts) argument
244 __tsc200x_enable(struct tsc200x *ts) argument
260 struct tsc200x *ts = dev_get_drvdata(dev); local
343 struct tsc200x *ts = dev_get_drvdata(dev); local
367 struct tsc200x *ts = container_of(work, struct tsc200x, esd_work.work); local
419 struct tsc200x *ts = input_get_drvdata(input); local
435 struct tsc200x *ts = input_get_drvdata(input); local
451 struct tsc200x *ts; local
581 struct tsc200x *ts = dev_get_drvdata(dev); local
589 struct tsc200x *ts = dev_get_drvdata(dev); local
605 struct tsc200x *ts = dev_get_drvdata(dev); local
[all...]
H A Dcy8ctma140.c55 static void cy8ctma140_report(struct cy8ctma140 *ts, u8 *data, int n_fingers) argument
74 slot = input_mt_get_slot_by_key(ts->input, id);
82 dev_dbg(ts->dev, "finger %d: ID %02x (%d, %d) w: %d\n",
85 input_mt_slot(ts->input, slot);
86 input_mt_report_slot_state(ts->input, MT_TOOL_FINGER, true);
87 touchscreen_report_pos(ts->input, &ts->props, x, y, true);
88 input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, w);
91 input_mt_sync_frame(ts->input);
92 input_sync(ts
97 struct cy8ctma140 *ts = d; local
143 cy8ctma140_init(struct cy8ctma140 *ts) argument
171 cy8ctma140_power_up(struct cy8ctma140 *ts) argument
187 cy8ctma140_power_down(struct cy8ctma140 *ts) argument
196 struct cy8ctma140 *ts = d; local
203 struct cy8ctma140 *ts; local
298 struct cy8ctma140 *ts = i2c_get_clientdata(client); local
309 struct cy8ctma140 *ts = i2c_get_clientdata(client); local
[all...]
H A Dhideep.c179 static int hideep_pgm_w_mem(struct hideep_ts *ts, u32 addr, argument
182 struct pgm_packet *packet = (void *)ts->xfer_buf;
185 .addr = ts->client->addr,
199 ret = i2c_transfer(ts->client->adapter, &msg, 1);
206 static int hideep_pgm_r_mem(struct hideep_ts *ts, u32 addr, argument
209 struct pgm_packet *packet = (void *)ts->xfer_buf;
213 .addr = ts->client->addr,
219 .addr = ts->client->addr,
233 ret = i2c_transfer(ts->client->adapter, msg, ARRAY_SIZE(msg));
240 static int hideep_pgm_r_reg(struct hideep_ts *ts, u3 argument
257 hideep_pgm_w_reg(struct hideep_ts *ts, u32 addr, u32 val) argument
302 hideep_pgm_set(struct hideep_ts *ts) argument
313 hideep_pgm_get_pattern(struct hideep_ts *ts, u32 *pattern) argument
341 hideep_enter_pgm(struct hideep_ts *ts) argument
370 hideep_nvm_unlock(struct hideep_ts *ts) argument
400 hideep_check_status(struct hideep_ts *ts) argument
417 hideep_program_page(struct hideep_ts *ts, u32 addr, const __be32 *ucode, size_t xfer_count) argument
466 hideep_program_nvm(struct hideep_ts *ts, const __be32 *ucode, size_t ucode_len) argument
515 hideep_verify_nvm(struct hideep_ts *ts, const __be32 *ucode, size_t ucode_len) argument
562 hideep_load_dwz(struct hideep_ts *ts) argument
611 hideep_flash_firmware(struct hideep_ts *ts, const __be32 *ucode, size_t ucode_len) argument
629 hideep_update_firmware(struct hideep_ts *ts, const __be32 *ucode, size_t ucode_len) argument
659 hideep_power_on(struct hideep_ts *ts) argument
694 struct hideep_ts *ts = data; local
723 hideep_parse_and_report(struct hideep_ts *ts) argument
756 struct hideep_ts *ts = handle; local
774 hideep_get_axis_info(struct hideep_ts *ts) argument
792 hideep_init_input(struct hideep_ts *ts) argument
871 struct hideep_ts *ts = i2c_get_clientdata(client); local
927 struct hideep_ts *ts = i2c_get_clientdata(client); local
941 struct hideep_ts *ts = i2c_get_clientdata(client); local
963 hideep_set_work_mode(struct hideep_ts *ts) argument
981 struct hideep_ts *ts = i2c_get_clientdata(client); local
992 struct hideep_ts *ts = i2c_get_clientdata(client); local
1020 struct hideep_ts *ts; local
[all...]
H A Dimagis.c58 static int imagis_i2c_read_reg(struct imagis_ts *ts, argument
65 .addr = ts->client->addr,
70 .addr = ts->client->addr,
81 ret = i2c_transfer(ts->client->adapter, msg, ARRAY_SIZE(msg));
88 dev_err(&ts->client->dev,
98 struct imagis_ts *ts = dev_id; local
104 error = imagis_i2c_read_reg(ts, ts->tdata->interrupt_msg_cmd, &intr_message);
106 dev_err(&ts->client->dev,
113 dev_err(&ts
162 struct imagis_ts *ts = _ts; local
167 imagis_power_on(struct imagis_ts *ts) argument
180 imagis_start(struct imagis_ts *ts) argument
193 imagis_stop(struct imagis_ts *ts) argument
204 struct imagis_ts *ts = input_get_drvdata(dev); local
211 struct imagis_ts *ts = input_get_drvdata(dev); local
216 imagis_init_input_dev(struct imagis_ts *ts) argument
282 imagis_init_regulators(struct imagis_ts *ts) argument
296 struct imagis_ts *ts; local
360 struct imagis_ts *ts = i2c_get_clientdata(client); local
376 struct imagis_ts *ts = i2c_get_clientdata(client); local
[all...]
H A Dzet6223.c39 struct zet6223_ts *ts = input_get_drvdata(dev); local
41 enable_irq(ts->client->irq);
48 struct zet6223_ts *ts = input_get_drvdata(dev); local
50 disable_irq(ts->client->irq);
55 struct zet6223_ts *ts = dev_id; local
62 u8 bufsize = 3 + 4 * ts->fingernum;
68 ret = i2c_master_recv(ts->client, buf, bufsize);
71 dev_err_ratelimited(&ts->client->dev,
80 for (i = 0; i < ts->fingernum; i++) {
84 input_mt_slot(ts
100 struct zet6223_ts *ts = _ts; local
105 zet6223_power_on(struct zet6223_ts *ts) argument
133 zet6223_query_device(struct zet6223_ts *ts) argument
173 struct zet6223_ts *ts; local
[all...]
H A Dgoodix_fwupload.c189 static int goodix_firmware_upload(struct goodix_ts_data *ts) argument
196 snprintf(fw_name, sizeof(fw_name), "goodix/%s", ts->firmware_name);
198 error = request_firmware(&fw, fw_name, &ts->client->dev);
200 dev_err(&ts->client->dev, "Firmware request error %d\n", error);
204 error = goodix_firmware_verify(&ts->client->dev, fw);
208 error = goodix_reset_no_int_sync(ts);
212 error = goodix_enter_upload_mode(ts->client);
217 error = goodix_i2c_write_u8(ts->client,
223 error = goodix_i2c_write(ts->client, GOODIX_FW_UPLOAD_ADDRESS,
229 error = goodix_i2c_write_u8(ts
262 goodix_prepare_bak_ref(struct goodix_ts_data *ts) argument
309 goodix_send_main_clock(struct goodix_ts_data *ts) argument
330 goodix_firmware_check(struct goodix_ts_data *ts) argument
348 goodix_handle_fw_request(struct goodix_ts_data *ts) argument
406 goodix_save_bak_ref(struct goodix_ts_data *ts) argument
[all...]
H A Dhimax_hx83112b.c66 static int himax_read_config(struct himax_ts_data *ts, u32 address, u32 *dst) argument
70 error = regmap_write(ts->regmap, HIMAX_REG_CFG_SET_ADDR, address);
74 error = regmap_write(ts->regmap, HIMAX_REG_CFG_INIT_READ, 0x0);
78 error = regmap_read(ts->regmap, HIMAX_REG_CFG_READ_VALUE, dst);
85 static void himax_reset(struct himax_ts_data *ts) argument
87 gpiod_set_value_cansleep(ts->gpiod_rst, 1);
91 gpiod_set_value_cansleep(ts->gpiod_rst, 0);
100 static int himax_read_product_id(struct himax_ts_data *ts, u32 *product_id) argument
104 error = himax_read_config(ts, HIMAX_CFG_PRODUCT_ID, product_id);
112 static int himax_check_product_id(struct himax_ts_data *ts) argument
134 himax_input_register(struct himax_ts_data *ts) argument
179 himax_process_event_point(struct himax_ts_data *ts, const struct himax_event *event, int point_index) argument
199 himax_process_event(struct himax_ts_data *ts, const struct himax_event *event) argument
214 himax_verify_checksum(struct himax_ts_data *ts, const struct himax_event *event) argument
233 himax_handle_input(struct himax_ts_data *ts) argument
259 struct himax_ts_data *ts = dev_id; local
272 struct himax_ts_data *ts; local
321 struct himax_ts_data *ts = dev_get_drvdata(dev); local
329 struct himax_ts_data *ts = dev_get_drvdata(dev); local
[all...]
/linux-master/arch/s390/kernel/vdso64/
H A Dvdso64_generic.c11 int __s390_vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) argument
13 return __cvdso_clock_gettime(clock, ts);
16 int __s390_vdso_clock_getres(clockid_t clock, struct __kernel_timespec *ts) argument
18 return __cvdso_clock_getres(clock, ts);
/linux-master/drivers/gpio/
H A Dgpio-max730x.c50 struct max7301 *ts = container_of(chip, struct max7301, chip); local
59 config = &ts->port_config[offset >> 2];
61 if (ts->input_pullup_active & BIT(offset))
66 mutex_lock(&ts->lock);
71 ret = ts->write(ts->dev, 0x08 + (offset >> 2), *config);
73 mutex_unlock(&ts->lock);
78 static int __max7301_set(struct max7301 *ts, unsigned offset, int value) argument
81 ts->out_level |= 1 << offset;
82 return ts
92 struct max7301 *ts = container_of(chip, struct max7301, chip); local
120 struct max7301 *ts = gpiochip_get_data(chip); local
148 struct max7301 *ts = gpiochip_get_data(chip); local
160 __max730x_probe(struct max7301 *ts) argument
225 struct max7301 *ts = dev_get_drvdata(dev); local
[all...]
/linux-master/fs/hfs/
H A Dsysdep.c31 struct timespec64 ts = inode_get_ctime(inode); local
33 inode_set_ctime(inode, ts.tv_sec + diff, ts.tv_nsec);
34 ts = inode_get_atime(inode);
35 inode_set_atime(inode, ts.tv_sec + diff, ts.tv_nsec);
36 ts = inode_get_mtime(inode);
37 inode_set_mtime(inode, ts.tv_sec + diff, ts.tv_nsec);
/linux-master/kernel/time/
H A Dtick-sched.c184 static inline int tick_sched_flag_test(struct tick_sched *ts, argument
187 return !!(ts->flags & flag);
190 static inline void tick_sched_flag_set(struct tick_sched *ts, argument
194 ts->flags |= flag;
197 static inline void tick_sched_flag_clear(struct tick_sched *ts, argument
201 ts->flags &= ~flag;
206 static void tick_sched_do_timer(struct tick_sched *ts, ktime_t now) argument
238 if (ts->last_tick_jiffies != jiffies) {
239 ts->stalled_jiffies = 0;
240 ts
253 tick_sched_handle(struct tick_sched *ts, struct pt_regs *regs) argument
286 struct tick_sched *ts = container_of(timer, struct tick_sched, sched_timer); local
314 tick_sched_timer_cancel(struct tick_sched *ts) argument
366 can_stop_full_tick(int cpu, struct tick_sched *ts) argument
510 struct tick_sched *ts; local
532 struct tick_sched *ts = per_cpu_ptr(&tick_cpu_sched, cpu); local
587 struct tick_sched *ts; local
689 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
696 struct tick_sched *ts = per_cpu_ptr(&tick_cpu_sched, cpu); local
725 tick_nohz_stop_idle(struct tick_sched *ts, ktime_t now) argument
747 tick_nohz_start_idle(struct tick_sched *ts) argument
757 get_cpu_sleep_time_us(struct tick_sched *ts, ktime_t *sleeptime, bool compute_delta, u64 *last_update_time) argument
805 struct tick_sched *ts = &per_cpu(tick_cpu_sched, cpu); local
831 struct tick_sched *ts = &per_cpu(tick_cpu_sched, cpu); local
838 tick_nohz_restart(struct tick_sched *ts, ktime_t now) argument
893 tick_nohz_next_event(struct tick_sched *ts, int cpu) argument
971 tick_nohz_stop_tick(struct tick_sched *ts, int cpu) argument
1071 tick_nohz_retain_tick(struct tick_sched *ts) argument
1077 tick_nohz_full_stop_tick(struct tick_sched *ts, int cpu) argument
1086 tick_nohz_restart_sched_tick(struct tick_sched *ts, ktime_t now) argument
1105 __tick_nohz_full_update_tick(struct tick_sched *ts, ktime_t now) argument
1118 tick_nohz_full_update_tick(struct tick_sched *ts) argument
1168 can_stop_idle_tick(int cpu, struct tick_sched *ts) argument
1206 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1252 struct tick_sched *ts; local
1289 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1304 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1342 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1383 struct tick_sched *ts = tick_get_tick_sched(cpu); local
1397 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1402 tick_nohz_account_idle_time(struct tick_sched *ts, ktime_t now) argument
1426 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1435 tick_nohz_idle_update_tick(struct tick_sched *ts, ktime_t now) argument
1463 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1496 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1504 tick_nohz_activate(struct tick_sched *ts) argument
1534 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1557 tick_nohz_activate(struct tick_sched *ts) argument
1586 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1622 struct tick_sched *ts = &per_cpu(tick_cpu_sched, cpu); local
1664 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1679 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
[all...]
/linux-master/tools/perf/util/
H A Dthread-stack.c118 static int thread_stack__grow(struct thread_stack *ts) argument
123 new_sz = ts->sz + STACK_GROWTH;
126 new_stack = realloc(ts->stack, sz);
130 ts->stack = new_stack;
131 ts->sz = new_sz;
136 static int thread_stack__init(struct thread_stack *ts, struct thread *thread, argument
143 err = thread_stack__grow(ts);
152 ts->br_stack_rb = zalloc(sz);
153 if (!ts->br_stack_rb)
155 ts
178 struct thread_stack *ts = thread__ts(thread), *new_ts; local
210 struct thread_stack *ts = thread__ts(thread); local
238 thread_stack__push(struct thread_stack *ts, u64 ret_addr, bool trace_end) argument
257 thread_stack__pop(struct thread_stack *ts, u64 ret_addr) argument
278 thread_stack__pop_trace_end(struct thread_stack *ts) argument
290 thread_stack__in_kernel(struct thread_stack *ts) argument
298 thread_stack__call_return(struct thread *thread, struct thread_stack *ts, size_t idx, u64 timestamp, u64 ref, bool no_return) argument
338 __thread_stack__flush(struct thread *thread, struct thread_stack *ts) argument
366 struct thread_stack *ts = thread__ts(thread); local
382 thread_stack__update_br_stack(struct thread_stack *ts, u32 flags, u64 from_ip, u64 to_ip) argument
410 struct thread_stack *ts = thread__stack(thread, cpu); local
475 struct thread_stack *ts = thread__stack(thread, cpu); local
487 __thread_stack__free(struct thread *thread, struct thread_stack *ts) argument
494 thread_stack__reset(struct thread *thread, struct thread_stack *ts) argument
505 struct thread_stack *ts = thread__ts(thread); local
525 struct thread_stack *ts = thread__stack(thread, cpu); local
568 struct thread_stack *ts = thread__stack(thread, cpu); local
620 struct thread_stack *ts = thread__stack(thread, cpu); local
682 struct thread_stack *ts = thread__stack(thread, cpu); local
782 thread_stack__push_cp(struct thread_stack *ts, u64 ret_addr, u64 timestamp, u64 ref, struct call_path *cp, bool no_call, bool trace_end) argument
814 thread_stack__pop_cp(struct thread *thread, struct thread_stack *ts, u64 ret_addr, u64 timestamp, u64 ref, struct symbol *sym) argument
859 thread_stack__bottom(struct thread_stack *ts, struct perf_sample *sample, struct addr_location *from_al, struct addr_location *to_al, u64 ref) argument
886 thread_stack__pop_ks(struct thread *thread, struct thread_stack *ts, struct perf_sample *sample, u64 ref) argument
903 thread_stack__no_call_return(struct thread *thread, struct thread_stack *ts, struct perf_sample *sample, struct addr_location *from_al, struct addr_location *to_al, u64 ref) argument
997 thread_stack__trace_begin(struct thread *thread, struct thread_stack *ts, u64 timestamp, u64 ref) argument
1019 thread_stack__trace_end(struct thread_stack *ts, struct perf_sample *sample, u64 ref) argument
1049 thread_stack__x86_retpoline(struct thread_stack *ts, struct perf_sample *sample, struct addr_location *to_al) argument
1107 struct thread_stack *ts = thread__stack(thread, sample->cpu); local
1234 struct thread_stack *ts = thread__stack(thread, cpu); local
[all...]
/linux-master/drivers/iio/common/inv_sensors/
H A Dinv_sensors_timestamp.c41 void inv_sensors_timestamp_init(struct inv_sensors_timestamp *ts, argument
44 memset(ts, 0, sizeof(*ts));
47 ts->chip = *chip;
48 ts->min_period = INV_SENSORS_TIMESTAMP_MIN(chip->clock_period, chip->jitter);
49 ts->max_period = INV_SENSORS_TIMESTAMP_MAX(chip->clock_period, chip->jitter);
52 ts->mult = chip->init_period / chip->clock_period;
53 ts->period = chip->init_period;
56 inv_update_acc(&ts->chip_period, chip->clock_period);
60 int inv_sensors_timestamp_update_odr(struct inv_sensors_timestamp *ts, argument
73 inv_validate_period(struct inv_sensors_timestamp *ts, uint32_t period, uint32_t mult) argument
86 inv_update_chip_period(struct inv_sensors_timestamp *ts, uint32_t mult, uint32_t period) argument
102 inv_align_timestamp_it(struct inv_sensors_timestamp *ts) argument
122 inv_sensors_timestamp_interrupt(struct inv_sensors_timestamp *ts, uint32_t fifo_period, size_t fifo_nb, size_t sensor_nb, int64_t timestamp) argument
160 inv_sensors_timestamp_apply_odr(struct inv_sensors_timestamp *ts, uint32_t fifo_period, size_t fifo_nb, unsigned int fifo_no) argument
[all...]
/linux-master/arch/arm64/kernel/vdso32/
H A Dvgettimeofday.c12 struct old_timespec32 *ts)
14 return __cvdso_clock_gettime32(clock, ts);
18 struct __kernel_timespec *ts)
20 return __cvdso_clock_gettime(clock, ts);
11 __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts) argument
17 __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts) argument

Completed in 511 milliseconds

1234567891011>>