Searched refs:ts (Results 1 - 25 of 708) 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/fs/ntfs/
H A Dtime.h20 * @ts: Linux UTC time to convert to NTFS time
22 * Convert the Linux UTC time @ts to its corresponding NTFS time and return
34 static inline sle64 utc2ntfs(const struct timespec64 ts) argument
40 return cpu_to_sle64((s64)ts.tv_sec * 10000000 + ts.tv_nsec / 100 +
52 struct timespec64 ts; local
54 ktime_get_coarse_real_ts64(&ts);
55 return utc2ntfs(ts);
76 struct timespec64 ts; local
84 ts
[all...]
/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 Ds3c2410_ts.c108 static struct s3c2410ts ts; variable in typeref:struct:s3c2410ts
130 data0 = readl(ts.io + S3C2410_ADCDAT0);
131 data1 = readl(ts.io + S3C2410_ADCDAT1);
136 if (ts.count == (1 << ts.shift)) {
137 ts.xp >>= ts.shift;
138 ts.yp >>= ts.shift;
140 dev_dbg(ts
[all...]
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);
242 static int goodix_ts_read_input_report(struct goodix_ts_data *ts, u8 *data) argument
250 * ts->contact_size * max(1, touch_num) bytes of coordinates
253 const int header_contact_keycode_size = 1 + ts->contact_size + 1;
262 error = goodix_i2c_read(ts->client, addr, data,
269 if (touch_num > ts->max_touch_num)
275 error = goodix_i2c_read(ts
301 goodix_create_pen_input(struct goodix_ts_data *ts) argument
339 goodix_ts_report_pen_down(struct goodix_ts_data *ts, u8 *data) argument
380 goodix_ts_report_pen_up(struct goodix_ts_data *ts) argument
393 goodix_ts_report_touch_8b(struct goodix_ts_data *ts, u8 *coor_data) argument
408 goodix_ts_report_touch_9b(struct goodix_ts_data *ts, u8 *coor_data) argument
423 goodix_ts_release_keys(struct goodix_ts_data *ts) argument
431 goodix_ts_report_key(struct goodix_ts_data *ts, u8 *data) argument
457 goodix_process_events(struct goodix_ts_data *ts) argument
499 struct goodix_ts_data *ts = dev_id; local
507 goodix_free_irq(struct goodix_ts_data *ts) argument
512 goodix_request_irq(struct goodix_ts_data *ts) argument
519 goodix_check_cfg_8(struct goodix_ts_data *ts, const u8 *cfg, int len) argument
542 goodix_calc_cfg_checksum_8(struct goodix_ts_data *ts) argument
555 goodix_check_cfg_16(struct goodix_ts_data *ts, const u8 *cfg, int len) argument
579 goodix_calc_cfg_checksum_16(struct goodix_ts_data *ts) argument
599 goodix_check_cfg(struct goodix_ts_data *ts, const u8 *cfg, int len) argument
618 goodix_send_cfg(struct goodix_ts_data *ts, const u8 *cfg, int len) argument
639 goodix_pin_acpi_direction_input(struct goodix_ts_data *ts) argument
648 goodix_pin_acpi_output_method(struct goodix_ts_data *ts, int value) argument
657 goodix_pin_acpi_direction_input(struct goodix_ts_data *ts) argument
664 goodix_pin_acpi_output_method(struct goodix_ts_data *ts, int value) argument
672 goodix_irq_direction_output(struct goodix_ts_data *ts, int value) argument
695 goodix_irq_direction_input(struct goodix_ts_data *ts) argument
714 goodix_int_sync(struct goodix_ts_data *ts) argument
740 goodix_reset_no_int_sync(struct goodix_ts_data *ts) argument
787 goodix_reset(struct goodix_ts_data *ts) argument
821 struct goodix_ts_data *ts = data; local
852 goodix_add_acpi_gpio_mappings(struct goodix_ts_data *ts) argument
917 goodix_add_acpi_gpio_mappings(struct goodix_ts_data *ts) argument
928 goodix_get_gpio_config(struct goodix_ts_data *ts) argument
1028 goodix_read_config(struct goodix_ts_data *ts) argument
1066 goodix_read_version(struct goodix_ts_data *ts) argument
1120 goodix_configure_dev(struct goodix_ts_data *ts) argument
1240 struct goodix_ts_data *ts = ctx; local
1268 struct goodix_ts_data *ts = arg; local
1277 struct goodix_ts_data *ts; local
1388 struct goodix_ts_data *ts = i2c_get_clientdata(client); local
1399 struct goodix_ts_data *ts = i2c_get_clientdata(client); local
1446 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
533 struct cyttsp *ts = input_get_drvdata(dev); local
544 struct cyttsp *ts = input_get_drvdata(dev); local
550 cyttsp_parse_properties(struct cyttsp *ts) argument
621 struct cyttsp *ts = _ts; local
630 struct cyttsp *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,
177 struct tsc2007 *ts = handle; local
188 tsc2007_stop(struct tsc2007 *ts) argument
199 struct tsc2007 *ts = input_get_drvdata(input_dev); local
219 struct tsc2007 *ts = input_get_drvdata(input_dev); local
227 struct tsc2007 *ts = i2c_get_clientdata(client); local
232 tsc2007_probe_properties(struct device *dev, struct tsc2007 *ts) argument
275 tsc2007_probe_pdev(struct device *dev, struct tsc2007 *ts, const struct tsc2007_platform_data *pdata, const struct i2c_device_id *id) argument
310 struct tsc2007 *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
398 struct ad7879 *ts = gpiochip_get_data(chip); local
412 struct ad7879 *ts = gpiochip_get_data(chip); local
431 struct ad7879 *ts = gpiochip_get_data(chip); local
444 struct ad7879 *ts = gpiochip_get_data(chip); local
456 ad7879_gpio_add(struct ad7879 *ts) argument
485 ad7879_gpio_add(struct ad7879 *ts) argument
491 ad7879_parse_dt(struct device *dev, struct ad7879 *ts) argument
520 struct ad7879 *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
1429 struct mip4_ts *ts; local
1534 struct mip4_ts *ts = i2c_get_clientdata(client); local
1552 struct mip4_ts *ts = i2c_get_clientdata(client); 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
361 struct tsc200x *ts = container_of(work, struct tsc200x, esd_work.work); local
413 struct tsc200x *ts = input_get_drvdata(input); local
429 struct tsc200x *ts = input_get_drvdata(input); local
445 struct tsc200x *ts; local
583 struct tsc200x *ts = dev_get_drvdata(dev); local
593 struct tsc200x *ts = dev_get_drvdata(dev); local
609 struct tsc200x *ts = dev_get_drvdata(dev); local
[all...]
H A Dimagis.c41 static int imagis_i2c_read_reg(struct imagis_ts *ts, argument
48 .addr = ts->client->addr,
53 .addr = ts->client->addr,
64 ret = i2c_transfer(ts->client->adapter, msg, ARRAY_SIZE(msg));
71 dev_err(&ts->client->dev,
81 struct imagis_ts *ts = dev_id; local
87 error = imagis_i2c_read_reg(ts, IST3038C_REG_INTR_MESSAGE,
90 dev_err(&ts->client->dev,
98 dev_err(&ts->client->dev,
107 error = imagis_i2c_read_reg(ts,
138 struct imagis_ts *ts = _ts; local
143 imagis_power_on(struct imagis_ts *ts) argument
156 imagis_start(struct imagis_ts *ts) argument
169 imagis_stop(struct imagis_ts *ts) argument
180 struct imagis_ts *ts = input_get_drvdata(dev); local
187 struct imagis_ts *ts = input_get_drvdata(dev); local
192 imagis_init_input_dev(struct imagis_ts *ts) argument
241 imagis_init_regulators(struct imagis_ts *ts) argument
255 struct imagis_ts *ts; local
315 struct imagis_ts *ts = i2c_get_clientdata(client); local
331 struct imagis_ts *ts = i2c_get_clientdata(client); local
[all...]
H A Dhideep.c178 static int hideep_pgm_w_mem(struct hideep_ts *ts, u32 addr, argument
181 struct pgm_packet *packet = (void *)ts->xfer_buf;
184 .addr = ts->client->addr,
198 ret = i2c_transfer(ts->client->adapter, &msg, 1);
205 static int hideep_pgm_r_mem(struct hideep_ts *ts, u32 addr, argument
208 struct pgm_packet *packet = (void *)ts->xfer_buf;
212 .addr = ts->client->addr,
218 .addr = ts->client->addr,
232 ret = i2c_transfer(ts->client->adapter, msg, ARRAY_SIZE(msg));
239 static int hideep_pgm_r_reg(struct hideep_ts *ts, u3 argument
256 hideep_pgm_w_reg(struct hideep_ts *ts, u32 addr, u32 val) argument
296 hideep_pgm_set(struct hideep_ts *ts) argument
307 hideep_pgm_get_pattern(struct hideep_ts *ts, u32 *pattern) argument
335 hideep_enter_pgm(struct hideep_ts *ts) argument
364 hideep_nvm_unlock(struct hideep_ts *ts) argument
394 hideep_check_status(struct hideep_ts *ts) argument
411 hideep_program_page(struct hideep_ts *ts, u32 addr, const __be32 *ucode, size_t xfer_count) argument
460 hideep_program_nvm(struct hideep_ts *ts, const __be32 *ucode, size_t ucode_len) argument
509 hideep_verify_nvm(struct hideep_ts *ts, const __be32 *ucode, size_t ucode_len) argument
556 hideep_load_dwz(struct hideep_ts *ts) argument
605 hideep_flash_firmware(struct hideep_ts *ts, const __be32 *ucode, size_t ucode_len) argument
623 hideep_update_firmware(struct hideep_ts *ts, const __be32 *ucode, size_t ucode_len) argument
653 hideep_power_on(struct hideep_ts *ts) argument
688 struct hideep_ts *ts = data; local
717 hideep_parse_and_report(struct hideep_ts *ts) argument
750 struct hideep_ts *ts = handle; local
768 hideep_get_axis_info(struct hideep_ts *ts) argument
786 hideep_init_input(struct hideep_ts *ts) argument
865 struct hideep_ts *ts = i2c_get_clientdata(client); local
921 struct hideep_ts *ts = i2c_get_clientdata(client); local
936 struct hideep_ts *ts = i2c_get_clientdata(client); local
965 struct hideep_ts *ts = i2c_get_clientdata(client); local
976 struct hideep_ts *ts = i2c_get_clientdata(client); local
1003 struct hideep_ts *ts; 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
174 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...]
/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/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_timestamp.c43 void inv_icm42600_timestamp_init(struct inv_icm42600_timestamp *ts, argument
50 ts->mult = default_period / INV_ICM42600_TIMESTAMP_PERIOD;
51 ts->period = default_period;
53 ts->new_mult = period / INV_ICM42600_TIMESTAMP_PERIOD;
56 inv_update_acc(&ts->chip_period, INV_ICM42600_TIMESTAMP_PERIOD);
70 int inv_icm42600_timestamp_update_odr(struct inv_icm42600_timestamp *ts, argument
74 if (fifo && ts->new_mult != 0)
77 ts->new_mult = period / INV_ICM42600_TIMESTAMP_PERIOD;
96 static bool inv_compute_chip_period(struct inv_icm42600_timestamp *ts, argument
106 inv_update_acc(&ts
111 inv_icm42600_timestamp_interrupt(struct inv_icm42600_timestamp *ts, uint32_t fifo_period, size_t fifo_nb, size_t sensor_nb, int64_t timestamp) argument
166 inv_icm42600_timestamp_apply_odr(struct inv_icm42600_timestamp *ts, uint32_t fifo_period, size_t fifo_nb, unsigned int fifo_no) argument
[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, *new_ts; local
210 struct thread_stack *ts = thread->ts; 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; 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; local
524 struct thread_stack *ts = thread__stack(thread, cpu); local
567 struct thread_stack *ts = thread__stack(thread, cpu); local
619 struct thread_stack *ts = thread__stack(thread, cpu); local
681 struct thread_stack *ts = thread__stack(thread, cpu); local
781 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
813 thread_stack__pop_cp(struct thread *thread, struct thread_stack *ts, u64 ret_addr, u64 timestamp, u64 ref, struct symbol *sym) argument
858 thread_stack__bottom(struct thread_stack *ts, struct perf_sample *sample, struct addr_location *from_al, struct addr_location *to_al, u64 ref) argument
885 thread_stack__pop_ks(struct thread *thread, struct thread_stack *ts, struct perf_sample *sample, u64 ref) argument
902 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
996 thread_stack__trace_begin(struct thread *thread, struct thread_stack *ts, u64 timestamp, u64 ref) argument
1018 thread_stack__trace_end(struct thread_stack *ts, struct perf_sample *sample, u64 ref) argument
1050 thread_stack__x86_retpoline(struct thread_stack *ts, struct perf_sample *sample, struct addr_location *to_al) argument
1108 struct thread_stack *ts = thread__stack(thread, sample->cpu); local
1235 struct thread_stack *ts = thread__stack(thread, cpu); local
[all...]
/linux-master/kernel/time/
H A Dtick-sched.c174 static void tick_sched_do_timer(struct tick_sched *ts, ktime_t now) argument
205 if (ts->last_tick_jiffies != jiffies) {
206 ts->stalled_jiffies = 0;
207 ts->last_tick_jiffies = READ_ONCE(jiffies);
209 if (++ts->stalled_jiffies == MAX_STALLED_JIFFIES) {
211 ts->stalled_jiffies = 0;
212 ts->last_tick_jiffies = READ_ONCE(jiffies);
216 if (ts->inidle)
217 ts->got_idle_tick = 1;
220 static void tick_sched_handle(struct tick_sched *ts, struc argument
287 can_stop_full_tick(int cpu, struct tick_sched *ts) argument
431 struct tick_sched *ts; local
453 struct tick_sched *ts = per_cpu_ptr(&tick_cpu_sched, cpu); local
508 struct tick_sched *ts; local
606 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
613 struct tick_sched *ts = per_cpu_ptr(&tick_cpu_sched, cpu); local
645 update_ts_time_stats(int cpu, struct tick_sched *ts, ktime_t now, u64 *last_update_time) argument
663 tick_nohz_stop_idle(struct tick_sched *ts, ktime_t now) argument
665 update_ts_time_stats(smp_processor_id(), ts, now, NULL); local
671 tick_nohz_start_idle(struct tick_sched *ts) argument
694 struct tick_sched *ts = &per_cpu(tick_cpu_sched, cpu); local
735 struct tick_sched *ts = &per_cpu(tick_cpu_sched, cpu); local
759 tick_nohz_restart(struct tick_sched *ts, ktime_t now) argument
786 tick_nohz_next_event(struct tick_sched *ts, int cpu) argument
869 tick_nohz_stop_tick(struct tick_sched *ts, int cpu) argument
945 tick_nohz_retain_tick(struct tick_sched *ts) argument
951 tick_nohz_stop_sched_tick(struct tick_sched *ts, int cpu) argument
960 tick_nohz_restart_sched_tick(struct tick_sched *ts, ktime_t now) argument
980 __tick_nohz_full_update_tick(struct tick_sched *ts, ktime_t now) argument
993 tick_nohz_full_update_tick(struct tick_sched *ts) argument
1043 can_stop_idle_tick(int cpu, struct tick_sched *ts) argument
1088 __tick_nohz_idle_stop_tick(struct tick_sched *ts) argument
1150 struct tick_sched *ts; local
1176 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1189 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1223 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1261 struct tick_sched *ts = tick_get_tick_sched(cpu); local
1273 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1278 tick_nohz_account_idle_time(struct tick_sched *ts, ktime_t now) argument
1302 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1311 tick_nohz_idle_update_tick(struct tick_sched *ts, ktime_t now) argument
1330 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1360 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1383 tick_nohz_activate(struct tick_sched *ts, int mode) argument
1398 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1423 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1446 tick_nohz_activate(struct tick_sched *ts, int mode) argument
1469 struct tick_sched *ts = local
1509 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1538 struct tick_sched *ts = &per_cpu(tick_cpu_sched, cpu); local
1565 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
1580 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); local
[all...]
/linux-master/arch/arm/vdso/
H A Dvgettimeofday.c11 struct old_timespec32 *ts)
13 return __cvdso_clock_gettime32(clock, ts);
17 struct __kernel_timespec *ts)
19 return __cvdso_clock_gettime(clock, ts);
10 __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts) argument
16 __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts) argument
/linux-master/arch/arm64/kernel/vdso32/
H A Dvgettimeofday.c10 struct old_timespec32 *ts)
12 return __cvdso_clock_gettime32(clock, ts);
16 struct __kernel_timespec *ts)
18 return __cvdso_clock_gettime(clock, ts);
9 __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts) argument
15 __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts) argument
/linux-master/arch/csky/kernel/vdso/
H A Dvgettimeofday.c7 struct old_timespec32 *ts)
9 return __cvdso_clock_gettime32(clock, ts);
13 struct __kernel_timespec *ts)
15 return __cvdso_clock_gettime(clock, ts);
6 __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts) argument
12 __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts) argument

Completed in 324 milliseconds

1234567891011>>