/drivers/target/iscsi/ |
H A D | iscsi_target_tq.c | 33 static void iscsi_add_ts_to_active_list(struct iscsi_thread_set *ts) argument 36 list_add_tail(&ts->ts_list, &active_ts_list); 41 static void iscsi_add_ts_to_inactive_list(struct iscsi_thread_set *ts) argument 44 list_add_tail(&ts->ts_list, &inactive_ts_list); 49 static void iscsi_del_ts_from_active_list(struct iscsi_thread_set *ts) argument 52 list_del(&ts->ts_list); 59 struct iscsi_thread_set *ts; local 67 ts = list_first_entry(&inactive_ts_list, struct iscsi_thread_set, ts_list); 69 list_del(&ts->ts_list); 73 return ts; 79 struct iscsi_thread_set *ts = NULL; local 139 iscsi_deallocate_thread_one(struct iscsi_thread_set *ts) argument 170 struct iscsi_thread_set *ts = NULL; local 187 struct iscsi_thread_set *ts = NULL; local 205 iscsi_activate_thread_set(struct iscsi_conn *conn, struct iscsi_thread_set *ts) argument 223 struct iscsi_thread_set *ts; local 244 struct iscsi_thread_set *ts = NULL; local 266 struct iscsi_thread_set *ts = NULL; local 282 struct iscsi_thread_set *ts = NULL; local 336 struct iscsi_thread_set *ts; local 372 iscsi_signal_thread_pre_handler(struct iscsi_thread_set *ts) argument 385 iscsi_rx_thread_pre_handler(struct iscsi_thread_set *ts) argument 440 iscsi_tx_thread_pre_handler(struct iscsi_thread_set *ts) argument [all...] |
/drivers/mfd/ |
H A D | ucb1x00-ts.c | 57 static inline void ucb1x00_ts_evt_add(struct ucb1x00_ts *ts, u16 pressure, u16 x, u16 y) argument 59 struct input_dev *idev = ts->idev; 68 static inline void ucb1x00_ts_event_release(struct ucb1x00_ts *ts) argument 70 struct input_dev *idev = ts->idev; 80 static inline void ucb1x00_ts_mode_int(struct ucb1x00_ts *ts) argument 82 ucb1x00_reg_write(ts->ucb, UCB_TS_CR, 92 static inline unsigned int ucb1x00_ts_read_pressure(struct ucb1x00_ts *ts) argument 95 ucb1x00_io_write(ts->ucb, COLLIE_TC35143_GPIO_TBL_CHK, 0); 96 ucb1x00_reg_write(ts->ucb, UCB_TS_CR, 102 return ucb1x00_adc_read(ts 119 ucb1x00_ts_read_xpos(struct ucb1x00_ts *ts) argument 146 ucb1x00_ts_read_ypos(struct ucb1x00_ts *ts) argument 172 ucb1x00_ts_read_xres(struct ucb1x00_ts *ts) argument 184 ucb1x00_ts_read_yres(struct ucb1x00_ts *ts) argument 192 ucb1x00_ts_pen_down(struct ucb1x00_ts *ts) argument 209 struct ucb1x00_ts *ts = _ts; local 293 struct ucb1x00_ts *ts = id; local 306 struct ucb1x00_ts *ts = input_get_drvdata(idev); local 352 struct ucb1x00_ts *ts = input_get_drvdata(idev); local 369 struct ucb1x00_ts *ts; local 421 struct ucb1x00_ts *ts = dev->priv; local [all...] |
/drivers/input/touchscreen/ |
H A D | tsc2005.c | 161 static int tsc2005_cmd(struct tsc2005 *ts, u8 cmd) argument 175 error = spi_sync(ts->spi, &msg); 177 dev_err(&ts->spi->dev, "%s: failed, command: %x, error: %d\n", 185 static int tsc2005_write(struct tsc2005 *ts, u8 reg, u16 value) argument 199 error = spi_sync(ts->spi, &msg); 201 dev_err(&ts->spi->dev, 222 static int tsc2005_read(struct tsc2005 *ts, u8 reg, u16 *value) argument 233 error = spi_sync(ts->spi, &msg); 241 static void tsc2005_update_pen_state(struct tsc2005 *ts, argument 245 input_report_abs(ts 266 struct tsc2005 *ts = _ts; local 331 struct tsc2005 *ts = (struct tsc2005 *)data; local 339 tsc2005_start_scan(struct tsc2005 *ts) argument 347 tsc2005_stop_scan(struct tsc2005 *ts) argument 352 tsc2005_set_reset(struct tsc2005 *ts, bool enable) argument 361 __tsc2005_disable(struct tsc2005 *ts) argument 374 __tsc2005_enable(struct tsc2005 *ts) argument 392 struct tsc2005 *ts = spi_get_drvdata(spi); local 478 struct tsc2005 *ts = spi_get_drvdata(spi); local 496 struct tsc2005 *ts = container_of(work, struct tsc2005, esd_work.work); local 550 struct tsc2005 *ts = input_get_drvdata(input); local 566 struct tsc2005 *ts = input_get_drvdata(input); local 578 tsc2005_setup_spi_xfer(struct tsc2005 *ts) argument 597 struct tsc2005 *ts; local 766 struct tsc2005 *ts = spi_get_drvdata(spi); local 780 struct tsc2005 *ts = spi_get_drvdata(spi); local 797 struct tsc2005 *ts = spi_get_drvdata(spi); local [all...] |
H A D | ad7879.c | 138 static int ad7879_read(struct ad7879 *ts, u8 reg) argument 140 return ts->bops->read(ts->dev, reg); 143 static int ad7879_multi_read(struct ad7879 *ts, u8 first_reg, u8 count, u16 *buf) argument 145 return ts->bops->multi_read(ts->dev, first_reg, count, buf); 148 static int ad7879_write(struct ad7879 *ts, u8 reg, u16 val) argument 150 return ts->bops->write(ts->dev, reg, val); 153 static int ad7879_report(struct ad7879 *ts) argument 217 ad7879_ts_event_release(struct ad7879 *ts) argument 228 struct ad7879 *ts = (void *)handle; local 235 struct ad7879 *ts = handle; local 245 __ad7879_enable(struct ad7879 *ts) argument 254 __ad7879_disable(struct ad7879 *ts) argument 269 struct ad7879 *ts = input_get_drvdata(input); local 280 struct ad7879 *ts = input_get_drvdata(input); local 290 struct ad7879 *ts = dev_get_drvdata(dev); local 306 struct ad7879 *ts = dev_get_drvdata(dev); local 324 ad7879_toggle(struct ad7879 *ts, bool disable) argument 347 struct ad7879 *ts = dev_get_drvdata(dev); local 356 struct ad7879 *ts = dev_get_drvdata(dev); local 384 struct ad7879 *ts = container_of(chip, struct ad7879, gc); local 398 struct ad7879 *ts = container_of(chip, struct ad7879, gc); local 417 struct ad7879 *ts = container_of(chip, struct ad7879, gc); local 430 struct ad7879 *ts = container_of(chip, struct ad7879, gc); local 442 ad7879_gpio_add(struct ad7879 *ts, const struct ad7879_platform_data *pdata) argument 470 ad7879_gpio_remove(struct ad7879 *ts) argument 479 ad7879_gpio_add(struct ad7879 *ts, const struct ad7879_platform_data *pdata) argument 485 ad7879_gpio_remove(struct ad7879 *ts) argument 494 struct ad7879 *ts; local 637 ad7879_remove(struct ad7879 *ts) argument [all...] |
H A D | s3c2410_ts.c | 89 static struct s3c2410ts ts; variable in typeref:struct:s3c2410ts 111 data0 = readl(ts.io + S3C2410_ADCDAT0); 112 data1 = readl(ts.io + S3C2410_ADCDAT1); 117 if (ts.count == (1 << ts.shift)) { 118 ts.xp >>= ts.shift; 119 ts.yp >>= ts.shift; 121 dev_dbg(ts [all...] |
H A D | ipaq-micro-ts.c | 32 struct touchscreen_data *ts = data; local 35 input_report_abs(ts->input, ABS_X, 37 input_report_abs(ts->input, ABS_Y, 39 input_report_key(ts->input, BTN_TOUCH, 1); 40 input_sync(ts->input); 42 input_report_abs(ts->input, ABS_X, 0); 43 input_report_abs(ts->input, ABS_Y, 0); 44 input_report_key(ts->input, BTN_TOUCH, 0); 45 input_sync(ts->input); 49 static void micro_ts_toggle_receive(struct touchscreen_data *ts, boo argument 68 struct touchscreen_data *ts = input_get_drvdata(input); local 77 struct touchscreen_data *ts = input_get_drvdata(input); local 85 struct touchscreen_data *ts; local 128 struct touchscreen_data *ts = dev_get_drvdata(dev); local 137 struct touchscreen_data *ts = dev_get_drvdata(dev); local [all...] |
H A D | cyttsp_core.c | 80 static int ttsp_read_block_data(struct cyttsp *ts, u8 command, argument 87 error = ts->bus_ops->read(ts->dev, ts->xfer_buf, command, 98 static int ttsp_write_block_data(struct cyttsp *ts, u8 command, argument 105 error = ts->bus_ops->write(ts->dev, ts->xfer_buf, command, 116 static int ttsp_send_command(struct cyttsp *ts, u8 cmd) argument 118 return ttsp_write_block_data(ts, CY_REG_BAS 121 cyttsp_handshake(struct cyttsp *ts) argument 130 cyttsp_load_bl_regs(struct cyttsp *ts) argument 139 cyttsp_exit_bl_mode(struct cyttsp *ts) argument 167 cyttsp_set_operational_mode(struct cyttsp *ts) argument 188 cyttsp_set_sysinfo_mode(struct cyttsp *ts) argument 216 cyttsp_set_sysinfo_regs(struct cyttsp *ts) argument 239 cyttsp_soft_reset(struct cyttsp *ts) argument 264 cyttsp_act_dist_setup(struct cyttsp *ts) argument 298 cyttsp_report_tchdata(struct cyttsp *ts) argument 351 struct cyttsp *ts = handle; local 393 cyttsp_power_on(struct cyttsp *ts) argument 439 cyttsp_enable(struct cyttsp *ts) argument 462 cyttsp_disable(struct cyttsp *ts) argument 478 struct cyttsp *ts = dev_get_drvdata(dev); local 496 struct cyttsp *ts = dev_get_drvdata(dev); local 517 struct cyttsp *ts = input_get_drvdata(dev); local 528 struct cyttsp *ts = input_get_drvdata(dev); local 538 struct cyttsp *ts; local 629 cyttsp_remove(struct cyttsp *ts) argument [all...] |
H A D | sun4i-ts.c | 21 * The sun4i-ts controller is capable of detecting a second touch, but when a 116 static void sun4i_ts_irq_handle_input(struct sun4i_ts_data *ts, u32 reg_val) argument 121 x = readl(ts->base + TP_DATA); 122 y = readl(ts->base + TP_DATA); 124 if (!ts->ignore_fifo_data) { 125 input_report_abs(ts->input, ABS_X, x); 126 input_report_abs(ts->input, ABS_Y, y); 132 input_report_key(ts->input, BTN_TOUCH, 1); 133 input_sync(ts->input); 135 ts 148 struct sun4i_ts_data *ts = dev_id; local 166 struct sun4i_ts_data *ts = input_get_drvdata(dev); local 177 struct sun4i_ts_data *ts = input_get_drvdata(dev); local 186 struct sun4i_ts_data *ts = dev_get_drvdata(dev); local 213 struct sun4i_ts_data *ts; local 307 struct sun4i_ts_data *ts = platform_get_drvdata(pdev); local [all...] |
H A D | cy8ctmg110_ts.c | 68 static void cy8ctmg110_power(struct cy8ctmg110 *ts, bool poweron) argument 70 if (ts->reset_pin) 71 gpio_direction_output(ts->reset_pin, 1 - poweron); 152 static int cy8ctmg110_set_sleepmode(struct cy8ctmg110 *ts, bool sleep) argument 166 return cy8ctmg110_write_regs(ts, CY8CTMG110_TOUCH_WAKEUP_TIME, 3, reg_p); 182 struct cy8ctmg110 *ts; local 196 ts = kzalloc(sizeof(struct cy8ctmg110), GFP_KERNEL); 198 if (!ts || !input_dev) { 203 ts->client = client; 204 ts 298 struct cy8ctmg110 *ts = i2c_get_clientdata(client); local 312 struct cy8ctmg110 *ts = i2c_get_clientdata(client); local 328 struct cy8ctmg110 *ts = i2c_get_clientdata(client); local [all...] |
H A D | ads7846.c | 202 /* Must be called with ts->lock held */ 203 static void ads7846_stop(struct ads7846 *ts) argument 205 if (!ts->disabled && !ts->suspended) { 207 ts->stopped = true; 209 wake_up(&ts->wait); 210 disable_irq(ts->spi->irq); 214 /* Must be called with ts->lock held */ 215 static void ads7846_restart(struct ads7846 *ts) argument 217 if (!ts 226 __ads7846_disable(struct ads7846 *ts) argument 238 __ads7846_enable(struct ads7846 *ts) argument 249 ads7846_disable(struct ads7846 *ts) argument 264 ads7846_enable(struct ads7846 *ts) argument 315 struct ads7846 *ts = dev_get_drvdata(dev); local 389 struct ads7846 *ts = dev_get_drvdata(dev); local 442 null_adjust(struct ads7846 *ts, ssize_t v) argument 455 vaux_adjust(struct ads7846 *ts, ssize_t v) argument 466 vbatt_adjust(struct ads7846 *ts, ssize_t v) argument 484 struct ads7846 *ts = dev_get_drvdata(dev); local 508 ads784x_hwmon_register(struct spi_device *spi, struct ads7846 *ts) argument 538 ads784x_hwmon_unregister(struct spi_device *spi, struct ads7846 *ts) argument 546 ads784x_hwmon_register(struct spi_device *spi, struct ads7846 *ts) argument 552 ads784x_hwmon_unregister(struct spi_device *spi, struct ads7846 *ts) argument 561 struct ads7846 *ts = dev_get_drvdata(dev); local 571 struct ads7846 *ts = dev_get_drvdata(dev); local 580 struct ads7846 *ts = dev_get_drvdata(dev); local 610 get_pendown_state(struct ads7846 *ts) argument 624 struct ads7846 *ts = ads; local 669 ads7846_get_value(struct ads7846 *ts, struct spi_message *m) argument 693 ads7846_read_state(struct ads7846 *ts) argument 747 ads7846_report_state(struct ads7846 *ts) argument 847 struct ads7846 *ts = handle; local 855 struct ads7846 *ts = handle; local 889 struct ads7846 *ts = dev_get_drvdata(dev); local 911 struct ads7846 *ts = dev_get_drvdata(dev); local 934 ads7846_setup_pendown(struct spi_device *spi, struct ads7846 *ts, const struct ads7846_platform_data *pdata) argument 976 ads7846_setup_spi_msg(struct ads7846 *ts, const struct ads7846_platform_data *pdata) argument 1256 struct ads7846 *ts; local 1462 struct ads7846 *ts = spi_get_drvdata(spi); local [all...] |
H A D | tsc2007.c | 151 static bool tsc2007_is_pen_down(struct tsc2007 *ts) argument 167 if (!ts->get_pendown_state) 170 return ts->get_pendown_state(&ts->client->dev); 175 struct tsc2007 *ts = handle; local 176 struct input_dev *input = ts->input; 180 while (!ts->stopped && tsc2007_is_pen_down(ts)) { 183 tsc2007_read_values(ts, &tc); 185 rt = tsc2007_calculate_pressure(ts, 235 struct tsc2007 *ts = handle; local 246 tsc2007_stop(struct tsc2007 *ts) argument 257 struct tsc2007 *ts = input_get_drvdata(input_dev); local 277 struct tsc2007 *ts = input_get_drvdata(input_dev); local 286 struct tsc2007 *ts = i2c_get_clientdata(client); local 291 tsc2007_probe_dt(struct i2c_client *client, struct tsc2007 *ts) argument 339 tsc2007_probe_dt(struct i2c_client *client, struct tsc2007 *ts) argument 346 tsc2007_probe_pdev(struct i2c_client *client, struct tsc2007 *ts, const struct tsc2007_platform_data *pdata, const struct i2c_device_id *id) argument 380 struct tsc2007 *ts; local [all...] |
H A D | cyttsp_i2c.c | 42 struct cyttsp *ts; local 49 ts = cyttsp_probe(&cyttsp_i2c_bus_ops, &client->dev, client->irq, 52 if (IS_ERR(ts)) 53 return PTR_ERR(ts); 55 i2c_set_clientdata(client, ts); 61 struct cyttsp *ts = i2c_get_clientdata(client); local 63 cyttsp_remove(ts);
|
H A D | stmpe-ts.c | 63 #define STMPE_TS_NAME "stmpe-ts" 100 struct stmpe_touch *ts = local 103 int_sta = stmpe_reg_read(ts->stmpe, STMPE_REG_INT_STA); 114 int_sta = stmpe_reg_read(ts->stmpe, STMPE_REG_INT_STA); 119 __stmpe_reset_fifo(ts->stmpe); 121 input_report_abs(ts->idev, ABS_PRESSURE, 0); 122 input_report_key(ts->idev, BTN_TOUCH, 0); 123 input_sync(ts->idev); 130 struct stmpe_touch *ts = data; local 136 cancel_delayed_work_sync(&ts 172 stmpe_init_hw(struct stmpe_touch *ts) argument 246 struct stmpe_touch *ts = input_get_drvdata(dev); local 259 struct stmpe_touch *ts = input_get_drvdata(dev); local 267 stmpe_ts_get_platform_info(struct platform_device *pdev, struct stmpe_touch *ts) argument 314 struct stmpe_touch *ts; local 377 struct stmpe_touch *ts = platform_get_drvdata(pdev); local [all...] |
H A D | st1232.c | 34 #define ST1232_TS_NAME "st1232-ts" 58 static int st1232_ts_read_data(struct st1232_ts_data *ts) argument 60 struct st1232_ts_finger *finger = ts->finger; 61 struct i2c_client *client = ts->client; 74 msg[1].addr = ts->client->addr; 105 struct st1232_ts_data *ts = dev_id; local 106 struct st1232_ts_finger *finger = ts->finger; 107 struct input_dev *input_dev = ts->input_dev; 111 ret = st1232_ts_read_data(ts); 130 if (ts 148 st1232_ts_power(struct st1232_ts_data *ts, bool poweron) argument 157 struct st1232_ts_data *ts; local 238 struct st1232_ts_data *ts = i2c_get_clientdata(client); local 250 struct st1232_ts_data *ts = i2c_get_clientdata(client); local 265 struct st1232_ts_data *ts = i2c_get_clientdata(client); local [all...] |
H A D | cyttsp4_i2c.c | 43 struct cyttsp4 *ts; local 50 ts = cyttsp4_probe(&cyttsp4_i2c_bus_ops, &client->dev, client->irq, 53 if (IS_ERR(ts)) 54 return PTR_ERR(ts); 61 struct cyttsp4 *ts = i2c_get_clientdata(client); local 63 cyttsp4_remove(ts);
|
H A D | ad7877.c | 270 struct ad7877 *ts = spi_get_drvdata(spi); local 284 AD7877_POL(ts->stopacq_polarity) | 286 AD7877_ACQ(ts->acquisition_time) | AD7877_FCD(0); 298 req->xfer[1].delay_usecs = ts->vref_delay_usecs; 303 req->xfer[2].delay_usecs = ts->vref_delay_usecs; 310 req->xfer[4].tx_buf = &ts->cmd_crtl2; /*REF OFF*/ 314 req->xfer[5].tx_buf = &ts->cmd_crtl1; /*DEFAULT*/ 331 static int ad7877_process_data(struct ad7877 *ts) argument 333 struct input_dev *input_dev = ts->input; 337 x = ts 379 ad7877_ts_event_release(struct ad7877 *ts) argument 390 struct ad7877 *ts = (void *)handle; local 400 struct ad7877 *ts = handle; local 420 ad7877_disable(struct ad7877 *ts) argument 440 ad7877_enable(struct ad7877 *ts) argument 475 struct ad7877 *ts = dev_get_drvdata(dev); local 484 struct ad7877 *ts = dev_get_drvdata(dev); local 505 struct ad7877 *ts = dev_get_drvdata(dev); local 514 struct ad7877 *ts = dev_get_drvdata(dev); local 535 struct ad7877 *ts = dev_get_drvdata(dev); local 544 struct ad7877 *ts = dev_get_drvdata(dev); local 566 struct ad7877 *ts = dev_get_drvdata(dev); local 575 struct ad7877 *ts = dev_get_drvdata(dev); local 630 ad7877_setup_ts_def_msg(struct spi_device *spi, struct ad7877 *ts) argument 681 struct ad7877 *ts; local 808 struct ad7877 *ts = spi_get_drvdata(spi); local 826 struct ad7877 *ts = dev_get_drvdata(dev); local 835 struct ad7877 *ts = dev_get_drvdata(dev); local [all...] |
H A D | zforce_ts.c | 142 static int zforce_command(struct zforce_ts *ts, u8 cmd) argument 144 struct i2c_client *client = ts->client; 154 mutex_lock(&ts->access_mutex); 156 mutex_unlock(&ts->access_mutex); 165 static int zforce_send_wait(struct zforce_ts *ts, const char *buf, int len) argument 167 struct i2c_client *client = ts->client; 170 ret = mutex_trylock(&ts->command_mutex); 179 ts->command_waiting = buf[2]; 181 mutex_lock(&ts->access_mutex); 183 mutex_unlock(&ts 203 zforce_command_wait(struct zforce_ts *ts, u8 cmd) argument 224 zforce_resolution(struct zforce_ts *ts, u16 x, u16 y) argument 236 zforce_scan_frequency(struct zforce_ts *ts, u16 idle, u16 finger, u16 stylus) argument 252 zforce_setconfig(struct zforce_ts *ts, char b1) argument 263 zforce_start(struct zforce_ts *ts) argument 316 zforce_stop(struct zforce_ts *ts) argument 334 zforce_touch_event(struct zforce_ts *ts, u8 *payload) argument 413 zforce_read_packet(struct zforce_ts *ts, u8 *buf) argument 455 zforce_complete(struct zforce_ts *ts, int cmd, int result) argument 470 struct zforce_ts *ts = dev_id; local 481 struct zforce_ts *ts = dev_id; local 582 struct zforce_ts *ts = input_get_drvdata(dev); local 594 struct zforce_ts *ts = input_get_drvdata(dev); local 609 struct zforce_ts *ts = i2c_get_clientdata(client); local 654 struct zforce_ts *ts = i2c_get_clientdata(client); local 694 struct zforce_ts *ts = data; local 747 struct zforce_ts *ts; local [all...] |
H A D | auo-pixcir-ts.c | 33 #include <linux/input/auo-pixcir-ts.h> 134 static int auo_pixcir_collect_data(struct auo_pixcir_ts *ts, argument 137 struct i2c_client *client = ts->client; 138 const struct auo_pixcir_ts_platdata *pdata = ts->pdata; 183 struct auo_pixcir_ts *ts = dev_id; local 184 const struct auo_pixcir_ts_platdata *pdata = ts->pdata; 191 while (!ts->stopped) { 194 if (ts->touch_ind_mode) { 196 input_mt_sync(ts->input); 197 input_report_key(ts 266 auo_pixcir_power_mode(struct auo_pixcir_ts *ts, int mode) argument 291 auo_pixcir_int_config(struct auo_pixcir_ts *ts, int int_setting) argument 323 auo_pixcir_int_toggle(struct auo_pixcir_ts *ts, bool enable) argument 351 auo_pixcir_start(struct auo_pixcir_ts *ts) argument 378 auo_pixcir_stop(struct auo_pixcir_ts *ts) argument 401 struct auo_pixcir_ts *ts = input_get_drvdata(dev); local 413 struct auo_pixcir_ts *ts = input_get_drvdata(dev); local 424 struct auo_pixcir_ts *ts = i2c_get_clientdata(client); local 456 struct auo_pixcir_ts *ts = i2c_get_clientdata(client); local 538 struct auo_pixcir_ts *ts = data; local 547 struct auo_pixcir_ts *ts; local [all...] |
/drivers/gpio/ |
H A D | gpio-max730x.c | 53 struct max7301 *ts = container_of(chip, struct max7301, chip); local 62 config = &ts->port_config[offset >> 2]; 64 if (ts->input_pullup_active & BIT(offset)) 69 mutex_lock(&ts->lock); 74 ret = ts->write(ts->dev, 0x08 + (offset >> 2), *config); 76 mutex_unlock(&ts->lock); 81 static int __max7301_set(struct max7301 *ts, unsigned offset, int value) argument 84 ts->out_level |= 1 << offset; 85 return ts 95 struct max7301 *ts = container_of(chip, struct max7301, chip); local 123 struct max7301 *ts = container_of(chip, struct max7301, chip); local 151 struct max7301 *ts = container_of(chip, struct max7301, chip); local 163 __max730x_probe(struct max7301 *ts) argument 230 struct max7301 *ts = dev_get_drvdata(dev); local [all...] |
H A D | gpio-max7300.c | 37 struct max7301 *ts; local 44 ts = devm_kzalloc(&client->dev, sizeof(struct max7301), GFP_KERNEL); 45 if (!ts) 48 ts->read = max7300_i2c_read; 49 ts->write = max7300_i2c_write; 50 ts->dev = &client->dev; 52 ret = __max730x_probe(ts);
|
/drivers/staging/cptm1217/ |
H A D | clearpad_tm1217.c | 136 static int cp_tm1217_read(struct cp_tm1217_device *ts, argument 142 retval = i2c_master_send(ts->client, &req[0], 1); 144 dev_err(ts->dev, "cp_tm1217: I2C send failed\n"); 149 retval = i2c_master_recv(ts->client, &req[1], size); 154 dev_dbg(ts->dev, "cp_tm1217: Retry count is %d\n", i); 157 dev_err(ts->dev, "cp_tm1217: Read from device failed\n"); 162 static int cp_tm1217_write(struct cp_tm1217_device *ts, argument 168 retval = i2c_master_send(ts->client, &req[0], size + 1); 170 dev_err(ts->dev, "cp_tm1217: I2C write failed: %d\n", retval); 179 static int cp_tm1217_mask_interrupt(struct cp_tm1217_device *ts) argument 193 cp_tm1217_unmask_interrupt(struct cp_tm1217_device *ts) argument 207 process_touch(struct cp_tm1217_device *ts, int index) argument 236 cp_tm1217_get_data(struct cp_tm1217_device *ts) argument 281 struct cp_tm1217_device *ts = (struct cp_tm1217_device *) handle; local 321 cp_tm1217_init_data(struct cp_tm1217_device *ts) argument 375 cp_tm1217_setup_gpio_irq(struct cp_tm1217_device *ts) argument 411 struct cp_tm1217_device *ts; local 564 struct cp_tm1217_device *ts = i2c_get_clientdata(client); local 587 struct cp_tm1217_device *ts = i2c_get_clientdata(client); local 631 struct cp_tm1217_device *ts = i2c_get_clientdata(client); local [all...] |
/drivers/misc/ |
H A D | kgdbts.c | 187 static struct test_state ts; variable in typeref:struct:test_state 368 ts.idx -= 2; 373 ts.idx -= 4; 402 ts.idx++; 404 ts.idx -= go_back; 405 fill_get_buf(ts.tst[ts.idx].get); 429 ts.idx--; 439 ts.idx = -1; 527 ts [all...] |
/drivers/pps/ |
H A D | kc.h | 33 struct pps_event_time *ts, int event); 42 struct pps_event_time *ts, int event) {} 41 pps_kc_event(struct pps_device *pps, struct pps_event_time *ts, int event) argument
|
H A D | kapi.c | 41 static void pps_add_offset(struct pps_ktime *ts, struct pps_ktime *offset) argument 43 ts->nsec += offset->nsec; 44 while (ts->nsec >= NSEC_PER_SEC) { 45 ts->nsec -= NSEC_PER_SEC; 46 ts->sec++; 48 while (ts->nsec < 0) { 49 ts->nsec += NSEC_PER_SEC; 50 ts->sec--; 52 ts->sec += offset->sec; 161 * @ts 172 pps_event(struct pps_device *pps, struct pps_event_time *ts, int event, void *data) argument [all...] |
/drivers/net/wireless/ath/ |
H A D | dfs_pri_detector.c | 31 * @ts: time stamp in usecs 35 u64 ts; member in struct:pulse_elem 193 if (p->ts >= min_valid_ts) 199 static bool pulse_queue_enqueue(struct pri_detector *pde, u64 ts) argument 212 p->ts = ts; 215 pde->last_ts = ts; 223 u64 ts, u32 min_count) 231 u32 delta_ts = ts - p->ts; 222 pseq_handler_create_sequences(struct pri_detector *pde, u64 ts, u32 min_count) argument 301 pseq_handler_add_to_existing_seqs(struct pri_detector *pde, u64 ts) argument 355 pri_detector_reset(struct pri_detector *pde, u64 ts) argument 383 u64 ts = event->ts; local [all...] |