| /linux/drivers/mfd/ |
| H A D | ucb1x00-ts.c | 54 static inline void ucb1x00_ts_evt_add(struct ucb1x00_ts *ts, u16 pressure, u16 x, u16 y) in ucb1x00_ts_evt_add() argument 56 struct input_dev *idev = ts->idev; in ucb1x00_ts_evt_add() 65 static inline void ucb1x00_ts_event_release(struct ucb1x00_ts *ts) in ucb1x00_ts_event_release() argument 67 struct input_dev *idev = ts->idev; in ucb1x00_ts_event_release() 77 static inline void ucb1x00_ts_mode_int(struct ucb1x00_ts *ts) in ucb1x00_ts_mode_int() argument 79 ucb1x00_reg_write(ts->ucb, UCB_TS_CR, in ucb1x00_ts_mode_int() 89 static inline unsigned int ucb1x00_ts_read_pressure(struct ucb1x00_ts *ts) in ucb1x00_ts_read_pressure() argument 92 ucb1x00_io_write(ts->ucb, COLLIE_TC35143_GPIO_TBL_CHK, 0); in ucb1x00_ts_read_pressure() 93 ucb1x00_reg_write(ts->ucb, UCB_TS_CR, in ucb1x00_ts_read_pressure() 99 return ucb1x00_adc_read(ts->ucb, UCB_ADC_INP_AD2, ts->adcsync); in ucb1x00_ts_read_pressure() [all …]
|
| /linux/tools/perf/util/ |
| H A D | thread-stack.c | 118 static int thread_stack__grow(struct thread_stack *ts) in thread_stack__grow() argument 123 new_sz = ts->sz + STACK_GROWTH; in thread_stack__grow() 126 new_stack = realloc(ts->stack, sz); in thread_stack__grow() 130 ts->stack = new_stack; in thread_stack__grow() 131 ts->sz = new_sz; in thread_stack__grow() 136 static int thread_stack__init(struct thread_stack *ts, struct thread *thread, in thread_stack__init() argument 143 err = thread_stack__grow(ts); in thread_stack__init() 152 ts->br_stack_rb = zalloc(sz); in thread_stack__init() 153 if (!ts->br_stack_rb) in thread_stack__init() 155 ts->br_stack_sz = br_stack_sz; in thread_stack__init() [all …]
|
| /linux/kernel/time/ |
| H A D | tick-sched.c | 184 static inline int tick_sched_flag_test(struct tick_sched *ts, in tick_sched_flag_test() argument 187 return !!(ts->flags & flag); in tick_sched_flag_test() 190 static inline void tick_sched_flag_set(struct tick_sched *ts, in tick_sched_flag_set() argument 194 ts->flags |= flag; in tick_sched_flag_set() 197 static inline void tick_sched_flag_clear(struct tick_sched *ts, in tick_sched_flag_clear() argument 201 ts->flags &= ~flag; in tick_sched_flag_clear() 210 static bool tick_limited_update_jiffies64(struct tick_sched *ts, ktime_t now) in tick_limited_update_jiffies64() argument 219 if (ts->last_tick_jiffies == jiffies) in tick_limited_update_jiffies64() 227 static void tick_sched_do_timer(struct tick_sched *ts, ktime_t now) in tick_sched_do_timer() argument 259 if (ts->last_tick_jiffies != jiffies) { in tick_sched_do_timer() [all …]
|
| /linux/drivers/gpio/ |
| H A D | gpio-max730x.c | 50 struct max7301 *ts = container_of(chip, struct max7301, chip); in max7301_direction_input() local 59 config = &ts->port_config[offset >> 2]; in max7301_direction_input() 61 if (ts->input_pullup_active & BIT(offset)) in max7301_direction_input() 66 mutex_lock(&ts->lock); in max7301_direction_input() 71 ret = ts->write(ts->dev, 0x08 + (offset >> 2), *config); in max7301_direction_input() 73 mutex_unlock(&ts->lock); in max7301_direction_input() 78 static int __max7301_set(struct max7301 *ts, unsigned offset, int value) in __max7301_set() argument 81 ts->out_level |= 1 << offset; in __max7301_set() 82 return ts->write(ts->dev, 0x20 + offset, 0x01); in __max7301_set() 84 ts->out_level &= ~(1 << offset); in __max7301_set() [all …]
|
| /linux/drivers/input/touchscreen/ |
| H A D | sun4i-ts.c | 117 static void sun4i_ts_irq_handle_input(struct sun4i_ts_data *ts, u32 reg_val) in sun4i_ts_irq_handle_input() argument 122 x = readl(ts->base + TP_DATA); in sun4i_ts_irq_handle_input() 123 y = readl(ts->base + TP_DATA); in sun4i_ts_irq_handle_input() 125 if (!ts->ignore_fifo_data) { in sun4i_ts_irq_handle_input() 126 input_report_abs(ts->input, ABS_X, x); in sun4i_ts_irq_handle_input() 127 input_report_abs(ts->input, ABS_Y, y); in sun4i_ts_irq_handle_input() 133 input_report_key(ts->input, BTN_TOUCH, 1); in sun4i_ts_irq_handle_input() 134 input_sync(ts->input); in sun4i_ts_irq_handle_input() 136 ts->ignore_fifo_data = false; in sun4i_ts_irq_handle_input() 141 ts->ignore_fifo_data = true; in sun4i_ts_irq_handle_input() [all …]
|
| H A D | cyttsp5.c | 219 static int cyttsp5_read(struct cyttsp5 *ts, u8 *buf, u32 max) in cyttsp5_read() argument 226 error = regmap_bulk_read(ts->regmap, HID_INPUT_REG, temp, sizeof(temp)); in cyttsp5_read() 238 return regmap_bulk_read(ts->regmap, HID_INPUT_REG, buf, size); in cyttsp5_read() 241 static int cyttsp5_write(struct cyttsp5 *ts, unsigned int reg, u8 *data, in cyttsp5_write() argument 263 return regmap_bulk_write(ts->regmap, reg & 0xFF, cmd, size + 1); in cyttsp5_write() 277 static void cyttsp5_get_touch_record(struct cyttsp5 *ts, in cyttsp5_get_touch_record() argument 280 struct cyttsp5_sysinfo *si = &ts->sysinfo; in cyttsp5_get_touch_record() 291 static void cyttsp5_get_mt_touches(struct cyttsp5 *ts, in cyttsp5_get_mt_touches() argument 294 struct cyttsp5_sysinfo *si = &ts->sysinfo; in cyttsp5_get_mt_touches() 303 switch (ts->input_buf[2]) { in cyttsp5_get_mt_touches() [all …]
|
| H A D | zforce_ts.c | 128 static int zforce_command(struct zforce_ts *ts, u8 cmd) in zforce_command() argument 130 struct i2c_client *client = ts->client; in zforce_command() 149 static int zforce_send_wait(struct zforce_ts *ts, const char *buf, int len) in zforce_send_wait() argument 151 struct i2c_client *client = ts->client; in zforce_send_wait() 157 ts->command_waiting = buf[2]; in zforce_send_wait() 167 if (wait_for_completion_timeout(&ts->command_done, WAIT_TIMEOUT) == 0) in zforce_send_wait() 170 ret = ts->command_result; in zforce_send_wait() 174 static int zforce_command_wait(struct zforce_ts *ts, u8 cmd) in zforce_command_wait() argument 176 struct i2c_client *client = ts->client; in zforce_command_wait() 186 error = zforce_send_wait(ts, &buf[0], ARRAY_SIZE(buf)); in zforce_command_wait() [all …]
|
| H A D | himax_hx83112b.c | 64 int (*check_id)(struct himax_ts_data *ts); 65 int (*read_events)(struct himax_ts_data *ts, struct himax_event *event, 84 static int himax_bus_enable_burst(struct himax_ts_data *ts) in himax_bus_enable_burst() argument 88 error = regmap_write(ts->regmap, HIMAX_AHB_ADDR_CONTI, in himax_bus_enable_burst() 93 error = regmap_write(ts->regmap, HIMAX_AHB_ADDR_INCR4, in himax_bus_enable_burst() 101 static int himax_bus_read(struct himax_ts_data *ts, u32 address, void *dst, in himax_bus_read() argument 107 error = himax_bus_enable_burst(ts); in himax_bus_read() 112 error = regmap_write(ts->regmap, HIMAX_AHB_ADDR_BYTE_0, address); in himax_bus_read() 116 error = regmap_write(ts->regmap, HIMAX_AHB_ADDR_ACCESS_DIRECTION, in himax_bus_read() 122 error = regmap_noinc_read(ts->regmap, HIMAX_AHB_ADDR_RDATA_BYTE_0, in himax_bus_read() [all …]
|
| H A D | zet6223.c | 37 struct zet6223_ts *ts = input_get_drvdata(dev); in zet6223_start() local 39 enable_irq(ts->client->irq); in zet6223_start() 46 struct zet6223_ts *ts = input_get_drvdata(dev); in zet6223_stop() local 48 disable_irq(ts->client->irq); in zet6223_stop() 53 struct zet6223_ts *ts = dev_id; in zet6223_irq() local 60 u8 bufsize = 3 + 4 * ts->fingernum; in zet6223_irq() 66 ret = i2c_master_recv(ts->client, buf, bufsize); in zet6223_irq() 69 dev_err_ratelimited(&ts->client->dev, in zet6223_irq() 78 for (i = 0; i < ts->fingernum; i++) { in zet6223_irq() 82 input_mt_slot(ts->input, i); in zet6223_irq() [all …]
|
| H A D | cy8ctma140.c | 55 static void cy8ctma140_report(struct cy8ctma140 *ts, u8 *data, int n_fingers) in cy8ctma140_report() argument 74 slot = input_mt_get_slot_by_key(ts->input, id); in cy8ctma140_report() 82 dev_dbg(ts->dev, "finger %d: ID %02x (%d, %d) w: %d\n", in cy8ctma140_report() 85 input_mt_slot(ts->input, slot); in cy8ctma140_report() 86 input_mt_report_slot_state(ts->input, MT_TOOL_FINGER, true); in cy8ctma140_report() 87 touchscreen_report_pos(ts->input, &ts->props, x, y, true); in cy8ctma140_report() 88 input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, w); in cy8ctma140_report() 91 input_mt_sync_frame(ts->input); in cy8ctma140_report() 92 input_sync(ts->input); in cy8ctma140_report() 97 struct cy8ctma140 *ts = d; in cy8ctma140_irq_thread() local [all …]
|
| H A D | stmpe-ts.c | 103 struct stmpe_touch *ts = in stmpe_work() local 106 int_sta = stmpe_reg_read(ts->stmpe, STMPE_REG_INT_STA); in stmpe_work() 117 int_sta = stmpe_reg_read(ts->stmpe, STMPE_REG_INT_STA); in stmpe_work() 122 __stmpe_reset_fifo(ts->stmpe); in stmpe_work() 124 input_report_abs(ts->idev, ABS_PRESSURE, 0); in stmpe_work() 125 input_report_key(ts->idev, BTN_TOUCH, 0); in stmpe_work() 126 input_sync(ts->idev); in stmpe_work() 133 struct stmpe_touch *ts = data; in stmpe_ts_handler() local 139 cancel_delayed_work_sync(&ts->work); in stmpe_ts_handler() 147 stmpe_set_bits(ts->stmpe, STMPE_REG_TSC_CTRL, in stmpe_ts_handler() [all …]
|
| H A D | ts4800-ts.c | 50 struct ts4800_ts *ts = input_get_drvdata(input_dev); in ts4800_ts_open() local 53 ts->pendown = false; in ts4800_ts_open() 54 ts->debounce = DEBOUNCE_COUNT; in ts4800_ts_open() 56 error = regmap_update_bits(ts->regmap, ts->reg, ts->bit, ts->bit); in ts4800_ts_open() 58 dev_warn(ts->dev, "Failed to enable touchscreen: %d\n", error); in ts4800_ts_open() 67 struct ts4800_ts *ts = input_get_drvdata(input_dev); in ts4800_ts_close() local 70 ret = regmap_update_bits(ts->regmap, ts->reg, ts->bit, 0); in ts4800_ts_close() 72 dev_warn(ts->dev, "Failed to disable touchscreen\n"); in ts4800_ts_close() 78 struct ts4800_ts *ts = input_get_drvdata(input_dev); in ts4800_ts_poll() local 79 u16 last_x = readw(ts->base + X_OFFSET); in ts4800_ts_poll() [all …]
|
| H A D | bu21013_ts.c | 171 static int bu21013_read_block_data(struct bu21013_ts *ts, u8 *buf) in bu21013_read_block_data() argument 176 ret = i2c_smbus_read_i2c_block_data(ts->client, in bu21013_read_block_data() 186 static int bu21013_do_touch_report(struct bu21013_ts *ts) in bu21013_do_touch_report() argument 188 struct input_dev *input = ts->in_dev; in bu21013_do_touch_report() 196 if (bu21013_read_block_data(ts, buf) < 0) in bu21013_do_touch_report() 213 &ts->props, x, y); in bu21013_do_touch_report() 238 struct bu21013_ts *ts = device_data; in bu21013_gpio_irq() local 243 error = bu21013_do_touch_report(ts); in bu21013_gpio_irq() 245 dev_err(&ts->client->dev, "%s failed\n", __func__); in bu21013_gpio_irq() 249 if (unlikely(ts->touch_stopped)) in bu21013_gpio_irq() [all …]
|
| H A D | cy8ctmg110_ts.c | 55 static void cy8ctmg110_power(struct cy8ctmg110 *ts, bool poweron) in cy8ctmg110_power() argument 57 if (ts->reset_gpio) in cy8ctmg110_power() 58 gpiod_set_value_cansleep(ts->reset_gpio, !poweron); in cy8ctmg110_power() 137 static int cy8ctmg110_set_sleepmode(struct cy8ctmg110 *ts, bool sleep) in cy8ctmg110_set_sleepmode() argument 151 return cy8ctmg110_write_regs(ts, CY8CTMG110_TOUCH_WAKEUP_TIME, 3, reg_p); in cy8ctmg110_set_sleepmode() 165 struct cy8ctmg110 *ts = _ts; in cy8ctmg110_shut_off() local 167 cy8ctmg110_set_sleepmode(ts, true); in cy8ctmg110_shut_off() 168 cy8ctmg110_power(ts, false); in cy8ctmg110_shut_off() 173 struct cy8ctmg110 *ts; in cy8ctmg110_probe() local 181 ts = devm_kzalloc(&client->dev, sizeof(*ts), GFP_KERNEL); in cy8ctmg110_probe() [all …]
|
| H A D | sis_i2c.c | 172 static int sis_ts_report_contact(struct sis_ts_data *ts, const u8 *data, u8 id) in sis_ts_report_contact() argument 174 struct input_dev *input = ts->input; in sis_ts_report_contact() 182 dev_err(&ts->client->dev, "Unexpected touch status: %#02x\n", in sis_ts_report_contact() 223 static void sis_ts_handle_packet(struct sis_ts_data *ts) in sis_ts_handle_packet() argument 234 error = sis_read_packet(ts->client, ts->packet, in sis_ts_handle_packet() 242 dev_err(&ts->client->dev, in sis_ts_handle_packet() 248 report_id = ts->packet[SIS_PKT_REPORT_OFFSET]; in sis_ts_handle_packet() 249 contact = &ts->packet[SIS_PKT_CONTACT_OFFSET]; in sis_ts_handle_packet() 253 error = sis_ts_report_contact(ts, contact, report_id); in sis_ts_handle_packet() 272 input_mt_sync_frame(ts->input); in sis_ts_handle_packet() [all …]
|
| H A D | raspberrypi-ts.c | 61 struct rpi_ts *ts = input_get_drvdata(input); in rpi_ts_poll() local 70 memcpy_fromio(®s, ts->fw_regs_va, sizeof(regs)); in rpi_ts_poll() 78 ts->fw_regs_va + offsetof(struct rpi_ts_regs, num_points)); in rpi_ts_poll() 81 (regs.num_points == 0 && ts->known_ids == 0)) in rpi_ts_poll() 96 touchscreen_report_pos(input, &ts->prop, x, y, true); in rpi_ts_poll() 100 released_ids = ts->known_ids & ~modified_ids; in rpi_ts_poll() 106 ts->known_ids = modified_ids; in rpi_ts_poll() 114 struct rpi_ts *ts = data; in rpi_ts_dma_cleanup() local 115 struct device *dev = &ts->pdev->dev; in rpi_ts_dma_cleanup() 117 dma_free_coherent(dev, PAGE_SIZE, ts->fw_regs_va, ts->fw_regs_phys); in rpi_ts_dma_cleanup() [all …]
|
| /linux/drivers/iio/common/inv_sensors/ |
| H A D | inv_sensors_timestamp.c | 41 void inv_sensors_timestamp_init(struct inv_sensors_timestamp *ts, in inv_sensors_timestamp_init() argument 44 memset(ts, 0, sizeof(*ts)); in inv_sensors_timestamp_init() 47 ts->chip = *chip; in inv_sensors_timestamp_init() 48 ts->min_period = INV_SENSORS_TIMESTAMP_MIN(chip->clock_period, chip->jitter); in inv_sensors_timestamp_init() 49 ts->max_period = INV_SENSORS_TIMESTAMP_MAX(chip->clock_period, chip->jitter); in inv_sensors_timestamp_init() 52 ts->mult = chip->init_period / chip->clock_period; in inv_sensors_timestamp_init() 53 ts->period = chip->init_period; in inv_sensors_timestamp_init() 56 inv_update_acc(&ts->chip_period, chip->clock_period); in inv_sensors_timestamp_init() 60 int inv_sensors_timestamp_update_odr(struct inv_sensors_timestamp *ts, in inv_sensors_timestamp_update_odr() argument 66 if (fifo && ts->new_mult != 0) in inv_sensors_timestamp_update_odr() [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-goodix-spi.c | 112 static void *goodix_get_event_report(struct goodix_ts_data *ts, u32 addr, in goodix_get_event_report() argument 115 struct spi_device *spi = to_spi_device(&ts->spi->dev); in goodix_get_event_report() 133 dev_err(ts->dev, "spi transfer error: %d", error); in goodix_get_event_report() 140 static int goodix_spi_read(struct goodix_ts_data *ts, u32 addr, in goodix_spi_read() argument 143 struct spi_device *spi = to_spi_device(&ts->spi->dev); in goodix_spi_read() 148 if (GOODIX_SPI_READ_PREFIX_LEN + len > sizeof(ts->xfer_buf)) { in goodix_spi_read() 149 dev_err(ts->dev, "read data len exceed limit %zu", in goodix_spi_read() 150 sizeof(ts->xfer_buf) - GOODIX_SPI_READ_PREFIX_LEN); in goodix_spi_read() 155 ts->xfer_buf[0] = GOODIX_SPI_READ_FLAG; in goodix_spi_read() 156 put_unaligned_be32(addr, ts->xfer_buf + GOODIX_SPI_TRANS_PREFIX_LEN); in goodix_spi_read() [all …]
|
| H A D | hid-nvidia-shield.c | 301 static inline void thunderstrike_send_hostcmd_request(struct thunderstrike *ts) in thunderstrike_send_hostcmd_request() argument 303 struct thunderstrike_hostcmd_req_report *report = ts->req_report_dmabuf; in thunderstrike_send_hostcmd_request() 304 struct shield_device *shield_dev = &ts->base; in thunderstrike_send_hostcmd_request() 308 ts->req_report_dmabuf, in thunderstrike_send_hostcmd_request() 321 struct thunderstrike *ts = in thunderstrike_hostcmd_req_work_handler() local 326 report = ts->req_report_dmabuf; in thunderstrike_hostcmd_req_work_handler() 328 if (test_and_clear_bit(THUNDERSTRIKE_FW_VERSION_UPDATE, &ts->update_flags)) { in thunderstrike_hostcmd_req_work_handler() 331 thunderstrike_send_hostcmd_request(ts); in thunderstrike_hostcmd_req_work_handler() 334 if (test_and_clear_bit(THUNDERSTRIKE_LED_UPDATE, &ts->update_flags)) { in thunderstrike_hostcmd_req_work_handler() 337 report->led.state = ts->led_value; in thunderstrike_hostcmd_req_work_handler() [all …]
|
| /linux/drivers/thermal/tegra/ |
| H A D | tegra30-tsensor.c | 76 struct tegra_tsensor *ts; member 90 static int tegra_tsensor_hw_enable(const struct tegra_tsensor *ts) in tegra_tsensor_hw_enable() argument 95 err = reset_control_assert(ts->rst); in tegra_tsensor_hw_enable() 97 dev_err(ts->dev, "failed to assert hardware reset: %d\n", err); in tegra_tsensor_hw_enable() 101 err = clk_prepare_enable(ts->clk); in tegra_tsensor_hw_enable() 103 dev_err(ts->dev, "failed to enable clock: %d\n", err); in tegra_tsensor_hw_enable() 109 err = reset_control_deassert(ts->rst); in tegra_tsensor_hw_enable() 111 dev_err(ts->dev, "failed to deassert hardware reset: %d\n", err); in tegra_tsensor_hw_enable() 128 writel_relaxed(val, ts->regs + 0x40 + TSENSOR_SENSOR0_CONFIG0); in tegra_tsensor_hw_enable() 129 writel_relaxed(val, ts->regs + 0x80 + TSENSOR_SENSOR0_CONFIG0); in tegra_tsensor_hw_enable() [all …]
|
| /linux/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
| H A D | topaz_pcie.c | 103 static void qtnf_deassert_intx(struct qtnf_pcie_topaz_state *ts) in qtnf_deassert_intx() argument 105 void __iomem *reg = ts->base.sysctl_bar + TOPAZ_PCIE_CFG0_OFFSET; in qtnf_deassert_intx() 113 static inline int qtnf_topaz_intx_asserted(struct qtnf_pcie_topaz_state *ts) in qtnf_topaz_intx_asserted() argument 115 void __iomem *reg = ts->base.sysctl_bar + TOPAZ_PCIE_CFG0_OFFSET; in qtnf_topaz_intx_asserted() 121 static void qtnf_topaz_reset_ep(struct qtnf_pcie_topaz_state *ts) in qtnf_topaz_reset_ep() argument 124 TOPAZ_LH_IPC4_INT(ts->base.sysctl_bar)); in qtnf_topaz_reset_ep() 126 pci_restore_state(ts->base.pdev); in qtnf_topaz_reset_ep() 129 static void setup_rx_irqs(struct qtnf_pcie_topaz_state *ts) in setup_rx_irqs() argument 131 void __iomem *reg = PCIE_DMA_WR_DONE_IMWR_ADDR_LOW(ts->base.dmareg_bar); in setup_rx_irqs() 133 ts->dma_msi_imwr = readl(reg); in setup_rx_irqs() [all …]
|
| /linux/sound/soc/meson/ |
| H A D | axg-tdm-formatter.c | 30 struct axg_tdm_stream *ts, in axg_tdm_formatter_set_channel_masks() argument 33 unsigned int ch = ts->channels; in axg_tdm_formatter_set_channel_masks() 53 if ((BIT(i + k) & ts->mask[j]) && ch) { in axg_tdm_formatter_set_channel_masks() 82 struct axg_tdm_stream *ts = formatter->stream; in axg_tdm_formatter_enable() local 113 invert = axg_tdm_sclk_invert(ts->iface->fmt); in axg_tdm_formatter_enable() 157 struct axg_tdm_stream *ts = formatter->stream; in axg_tdm_formatter_attach() local 160 mutex_lock(&ts->lock); in axg_tdm_formatter_attach() 163 if (ts->ready) { in axg_tdm_formatter_attach() 171 list_add_tail(&formatter->list, &ts->formatter_list); in axg_tdm_formatter_attach() 173 mutex_unlock(&ts->lock); in axg_tdm_formatter_attach() [all …]
|
| /linux/drivers/gpu/drm/panel/ |
| H A D | panel-raspberrypi-touchscreen.c | 219 static int rpi_touchscreen_i2c_read(struct rpi_touchscreen *ts, u8 reg) in rpi_touchscreen_i2c_read() argument 221 return i2c_smbus_read_byte_data(ts->i2c, reg); in rpi_touchscreen_i2c_read() 224 static void rpi_touchscreen_i2c_write(struct rpi_touchscreen *ts, in rpi_touchscreen_i2c_write() argument 229 ret = i2c_smbus_write_byte_data(ts->i2c, reg, val); in rpi_touchscreen_i2c_write() 231 dev_err(&ts->i2c->dev, "I2C write failed: %d\n", ret); in rpi_touchscreen_i2c_write() 234 static int rpi_touchscreen_write(struct rpi_touchscreen *ts, u16 reg, u32 val) in rpi_touchscreen_write() argument 245 mipi_dsi_generic_write(ts->dsi, msg, sizeof(msg)); in rpi_touchscreen_write() 252 struct rpi_touchscreen *ts = panel_to_ts(panel); in rpi_touchscreen_disable() local 254 rpi_touchscreen_i2c_write(ts, REG_PWM, 0); in rpi_touchscreen_disable() 256 rpi_touchscreen_i2c_write(ts, REG_POWERON, 0); in rpi_touchscreen_disable() [all …]
|
| /linux/include/linux/ |
| H A D | timekeeping.h | 20 extern int do_settimeofday64(const struct timespec64 *ts); 42 extern void ktime_get_raw_ts64(struct timespec64 *ts); 43 extern void ktime_get_ts64(struct timespec64 *ts); 45 extern void ktime_get_coarse_ts64(struct timespec64 *ts); 46 extern void ktime_get_coarse_real_ts64(struct timespec64 *ts); 47 extern void ktime_get_clock_ts64(clockid_t id, struct timespec64 *ts); 50 extern void ktime_get_coarse_real_ts64_mg(struct timespec64 *ts); 51 extern void ktime_get_real_ts64_mg(struct timespec64 *ts); 54 void getboottime64(struct timespec64 *ts); 131 struct timespec64 ts; in ktime_get_coarse() local [all …]
|
| /linux/drivers/scsi/pm8001/ |
| H A D | pm8001_hwi.c | 1475 struct task_status_struct *ts; in pm8001_work_fn() local 1501 ts = &t->task_status; in pm8001_work_fn() 1502 ts->resp = SAS_TASK_COMPLETE; in pm8001_work_fn() 1504 ts->stat = SAS_QUEUE_FULL; in pm8001_work_fn() 1514 t, pw->handler, ts->resp, ts->stat); in pm8001_work_fn() 1630 struct task_status_struct *ts; in pm8001_work_fn() local 1638 ts = &task->task_status; in pm8001_work_fn() 1649 ts->resp = SAS_TASK_COMPLETE; in pm8001_work_fn() 1723 struct task_status_struct *ts; in mpi_ssp_completion() local 1744 ts = &t->task_status; in mpi_ssp_completion() [all …]
|