Home
last modified time | relevance | path

Searched refs:ts (Results 1 – 25 of 377) sorted by relevance

12345678910>>...16

/drivers/input/touchscreen/
Dgoodix.c60 static int goodix_check_cfg_8(struct goodix_ts_data *ts,
62 static int goodix_check_cfg_16(struct goodix_ts_data *ts,
64 static void goodix_calc_cfg_checksum_8(struct goodix_ts_data *ts);
65 static void goodix_calc_cfg_checksum_16(struct goodix_ts_data *ts);
237 static int goodix_ts_read_input_report(struct goodix_ts_data *ts, u8 *data) in goodix_ts_read_input_report() argument
248 const int header_contact_keycode_size = 1 + ts->contact_size + 1; in goodix_ts_read_input_report()
257 error = goodix_i2c_read(ts->client, addr, data, in goodix_ts_read_input_report()
260 dev_err(&ts->client->dev, "I2C transfer error: %d\n", in goodix_ts_read_input_report()
267 if (touch_num > ts->max_touch_num) in goodix_ts_read_input_report()
273 error = goodix_i2c_read(ts->client, in goodix_ts_read_input_report()
[all …]
Dcyttsp_core.c78 static int ttsp_read_block_data(struct cyttsp *ts, u8 command, in ttsp_read_block_data() argument
85 error = ts->bus_ops->read(ts->dev, ts->xfer_buf, command, in ttsp_read_block_data()
96 static int ttsp_write_block_data(struct cyttsp *ts, u8 command, in ttsp_write_block_data() argument
103 error = ts->bus_ops->write(ts->dev, ts->xfer_buf, command, in ttsp_write_block_data()
114 static int ttsp_send_command(struct cyttsp *ts, u8 cmd) in ttsp_send_command() argument
116 return ttsp_write_block_data(ts, CY_REG_BASE, sizeof(cmd), &cmd); in ttsp_send_command()
119 static int cyttsp_handshake(struct cyttsp *ts) in cyttsp_handshake() argument
121 if (ts->use_hndshk) in cyttsp_handshake()
122 return ttsp_send_command(ts, in cyttsp_handshake()
123 ts->xy_data.hst_mode ^ CY_HNDSHK_BIT); in cyttsp_handshake()
[all …]
Dmxs-lradc-ts.c91 static bool mxs_lradc_check_touch_event(struct mxs_lradc_ts *ts) in mxs_lradc_check_touch_event() argument
93 return !!(readl(ts->base + LRADC_STATUS) & in mxs_lradc_check_touch_event()
97 static void mxs_lradc_map_ts_channel(struct mxs_lradc_ts *ts, unsigned int vch, in mxs_lradc_map_ts_channel() argument
101 ts->base + LRADC_CTRL4 + STMP_OFFSET_REG_CLR); in mxs_lradc_map_ts_channel()
103 ts->base + LRADC_CTRL4 + STMP_OFFSET_REG_SET); in mxs_lradc_map_ts_channel()
106 static void mxs_lradc_setup_ts_channel(struct mxs_lradc_ts *ts, unsigned int ch) in mxs_lradc_setup_ts_channel() argument
117 LRADC_CH_NUM_SAMPLES(ts->over_sample_cnt - 1), in mxs_lradc_setup_ts_channel()
118 ts->base + LRADC_CH(ch)); in mxs_lradc_setup_ts_channel()
125 ts->base + LRADC_CH(ch) + STMP_OFFSET_REG_CLR); in mxs_lradc_setup_ts_channel()
136 LRADC_DELAY_LOOP(ts->over_sample_cnt - 1) | in mxs_lradc_setup_ts_channel()
[all …]
Dad7879.c135 static int ad7879_read(struct ad7879 *ts, u8 reg) in ad7879_read() argument
140 error = regmap_read(ts->regmap, reg, &val); in ad7879_read()
142 dev_err(ts->dev, "failed to read register %#02x: %d\n", in ad7879_read()
150 static int ad7879_write(struct ad7879 *ts, u8 reg, u16 val) in ad7879_write() argument
154 error = regmap_write(ts->regmap, reg, val); in ad7879_write()
156 dev_err(ts->dev, in ad7879_write()
165 static int ad7879_report(struct ad7879 *ts) in ad7879_report() argument
167 struct input_dev *input_dev = ts->input; in ad7879_report()
171 x = ts->conversion_data[AD7879_SEQ_XPOS] & MAX_12BIT; in ad7879_report()
172 y = ts->conversion_data[AD7879_SEQ_YPOS] & MAX_12BIT; in ad7879_report()
[all …]
Dtsc200x-core.c112 static void tsc200x_update_pen_state(struct tsc200x *ts, in tsc200x_update_pen_state() argument
116 input_report_abs(ts->idev, ABS_X, x); in tsc200x_update_pen_state()
117 input_report_abs(ts->idev, ABS_Y, y); in tsc200x_update_pen_state()
118 input_report_abs(ts->idev, ABS_PRESSURE, pressure); in tsc200x_update_pen_state()
119 if (!ts->pen_down) { in tsc200x_update_pen_state()
120 input_report_key(ts->idev, BTN_TOUCH, !!pressure); in tsc200x_update_pen_state()
121 ts->pen_down = true; in tsc200x_update_pen_state()
124 input_report_abs(ts->idev, ABS_PRESSURE, 0); in tsc200x_update_pen_state()
125 if (ts->pen_down) { in tsc200x_update_pen_state()
126 input_report_key(ts->idev, BTN_TOUCH, 0); in tsc200x_update_pen_state()
[all …]
Dmelfas_mip4.c179 static int mip4_i2c_xfer(struct mip4_ts *ts, in mip4_i2c_xfer() argument
185 .addr = ts->client->addr, in mip4_i2c_xfer()
190 .addr = ts->client->addr, in mip4_i2c_xfer()
201 res = i2c_transfer(ts->client->adapter, msg, ARRAY_SIZE(msg)); in mip4_i2c_xfer()
206 dev_err(&ts->client->dev, in mip4_i2c_xfer()
225 static int mip4_get_fw_version(struct mip4_ts *ts) in mip4_get_fw_version() argument
228 u8 buf[sizeof(ts->fw_version)]; in mip4_get_fw_version()
231 error = mip4_i2c_xfer(ts, cmd, sizeof(cmd), buf, sizeof(buf)); in mip4_get_fw_version()
233 memset(&ts->fw_version, 0xff, sizeof(ts->fw_version)); in mip4_get_fw_version()
237 mip4_parse_fw_version(buf, &ts->fw_version); in mip4_get_fw_version()
[all …]
Ds3c2410_ts.c108 static struct s3c2410ts ts; variable
130 data0 = readl(ts.io + S3C2410_ADCDAT0); in touch_timer_fire()
131 data1 = readl(ts.io + S3C2410_ADCDAT1); in touch_timer_fire()
136 if (ts.count == (1 << ts.shift)) { in touch_timer_fire()
137 ts.xp >>= ts.shift; in touch_timer_fire()
138 ts.yp >>= ts.shift; in touch_timer_fire()
140 dev_dbg(ts.dev, "%s: X=%lu, Y=%lu, count=%d\n", in touch_timer_fire()
141 __func__, ts.xp, ts.yp, ts.count); in touch_timer_fire()
143 input_report_abs(ts.input, ABS_X, ts.xp); in touch_timer_fire()
144 input_report_abs(ts.input, ABS_Y, ts.yp); in touch_timer_fire()
[all …]
Dads7846.c219 static int get_pendown_state(struct ads7846 *ts) in get_pendown_state() argument
221 if (ts->get_pendown_state) in get_pendown_state()
222 return ts->get_pendown_state(); in get_pendown_state()
224 return !gpio_get_value(ts->gpio_pendown); in get_pendown_state()
227 static void ads7846_report_pen_up(struct ads7846 *ts) in ads7846_report_pen_up() argument
229 struct input_dev *input = ts->input; in ads7846_report_pen_up()
235 ts->pendown = false; in ads7846_report_pen_up()
236 dev_vdbg(&ts->spi->dev, "UP\n"); in ads7846_report_pen_up()
240 static void ads7846_stop(struct ads7846 *ts) in ads7846_stop() argument
242 if (!ts->disabled && !ts->suspended) { in ads7846_stop()
[all …]
Dhideep.c178 static int hideep_pgm_w_mem(struct hideep_ts *ts, u32 addr, in hideep_pgm_w_mem() argument
181 struct pgm_packet *packet = (void *)ts->xfer_buf; in hideep_pgm_w_mem()
184 .addr = ts->client->addr, in hideep_pgm_w_mem()
198 ret = i2c_transfer(ts->client->adapter, &msg, 1); in hideep_pgm_w_mem()
205 static int hideep_pgm_r_mem(struct hideep_ts *ts, u32 addr, in hideep_pgm_r_mem() argument
208 struct pgm_packet *packet = (void *)ts->xfer_buf; in hideep_pgm_r_mem()
212 .addr = ts->client->addr, in hideep_pgm_r_mem()
218 .addr = ts->client->addr, in hideep_pgm_r_mem()
232 ret = i2c_transfer(ts->client->adapter, msg, ARRAY_SIZE(msg)); in hideep_pgm_r_mem()
239 static int hideep_pgm_r_reg(struct hideep_ts *ts, u32 addr, u32 *val) in hideep_pgm_r_reg() argument
[all …]
Dtsc2007_core.c89 bool tsc2007_is_pen_down(struct tsc2007 *ts) in tsc2007_is_pen_down() argument
105 if (!ts->get_pendown_state) in tsc2007_is_pen_down()
108 return ts->get_pendown_state(&ts->client->dev); in tsc2007_is_pen_down()
113 struct tsc2007 *ts = handle; in tsc2007_soft_irq() local
114 struct input_dev *input = ts->input; in tsc2007_soft_irq()
118 while (!ts->stopped && tsc2007_is_pen_down(ts)) { in tsc2007_soft_irq()
122 mutex_lock(&ts->mlock); in tsc2007_soft_irq()
123 tsc2007_read_values(ts, &tc); in tsc2007_soft_irq()
124 mutex_unlock(&ts->mlock); in tsc2007_soft_irq()
126 rt = tsc2007_calculate_resistance(ts, &tc); in tsc2007_soft_irq()
[all …]
Dsun4i-ts.c117 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 …]
Dzforce_ts.c135 static int zforce_command(struct zforce_ts *ts, u8 cmd) in zforce_command() argument
137 struct i2c_client *client = ts->client; in zforce_command()
147 mutex_lock(&ts->access_mutex); in zforce_command()
149 mutex_unlock(&ts->access_mutex); in zforce_command()
158 static void zforce_reset_assert(struct zforce_ts *ts) in zforce_reset_assert() argument
160 gpiod_set_value_cansleep(ts->gpio_rst, 1); in zforce_reset_assert()
163 static void zforce_reset_deassert(struct zforce_ts *ts) in zforce_reset_deassert() argument
165 gpiod_set_value_cansleep(ts->gpio_rst, 0); in zforce_reset_deassert()
168 static int zforce_send_wait(struct zforce_ts *ts, const char *buf, int len) in zforce_send_wait() argument
170 struct i2c_client *client = ts->client; in zforce_send_wait()
[all …]
Dilitek_ts_i2c.c73 int (*func)(struct ilitek_ts_data *ts, u16 cmd, u8 *inbuf, u8 *outbuf);
92 static int ilitek_i2c_write_and_read(struct ilitek_ts_data *ts, in ilitek_i2c_write_and_read() argument
97 struct i2c_client *client = ts->client; in ilitek_i2c_write_and_read()
137 static void ilitek_touch_down(struct ilitek_ts_data *ts, unsigned int id, in ilitek_touch_down() argument
140 struct input_dev *input = ts->input_dev; in ilitek_touch_down()
145 touchscreen_report_pos(input, &ts->prop, x, y, true); in ilitek_touch_down()
148 static int ilitek_process_and_report_v6(struct ilitek_ts_data *ts) in ilitek_process_and_report_v6() argument
156 struct input_dev *input = ts->input_dev; in ilitek_process_and_report_v6()
157 struct device *dev = &ts->client->dev; in ilitek_process_and_report_v6()
160 error = ilitek_i2c_write_and_read(ts, NULL, 0, 0, buf, 64); in ilitek_process_and_report_v6()
[all …]
Dad7877.c256 struct ad7877 *ts = spi_get_drvdata(spi); in ad7877_read_adc() local
270 AD7877_POL(ts->stopacq_polarity) | in ad7877_read_adc()
272 AD7877_ACQ(ts->acquisition_time) | AD7877_FCD(0); in ad7877_read_adc()
284 req->xfer[1].delay.value = ts->vref_delay_usecs; in ad7877_read_adc()
290 req->xfer[2].delay.value = ts->vref_delay_usecs; in ad7877_read_adc()
298 req->xfer[4].tx_buf = &ts->cmd_crtl2; /*REF OFF*/ in ad7877_read_adc()
302 req->xfer[5].tx_buf = &ts->cmd_crtl1; /*DEFAULT*/ in ad7877_read_adc()
319 static int ad7877_process_data(struct ad7877 *ts) in ad7877_process_data() argument
321 struct input_dev *input_dev = ts->input; in ad7877_process_data()
325 x = ts->conversion_data[AD7877_SEQ_XPOS] & MAX_12BIT; in ad7877_process_data()
[all …]
Dipaq-micro-ts.c29 struct touchscreen_data *ts = data; in micro_ts_receive() local
32 input_report_abs(ts->input, ABS_X, in micro_ts_receive()
34 input_report_abs(ts->input, ABS_Y, in micro_ts_receive()
36 input_report_key(ts->input, BTN_TOUCH, 1); in micro_ts_receive()
37 input_sync(ts->input); in micro_ts_receive()
39 input_report_abs(ts->input, ABS_X, 0); in micro_ts_receive()
40 input_report_abs(ts->input, ABS_Y, 0); in micro_ts_receive()
41 input_report_key(ts->input, BTN_TOUCH, 0); in micro_ts_receive()
42 input_sync(ts->input); in micro_ts_receive()
46 static void micro_ts_toggle_receive(struct touchscreen_data *ts, bool enable) in micro_ts_toggle_receive() argument
[all …]
Dzet6223.c39 struct zet6223_ts *ts = input_get_drvdata(dev); in zet6223_start() local
41 enable_irq(ts->client->irq); in zet6223_start()
48 struct zet6223_ts *ts = input_get_drvdata(dev); in zet6223_stop() local
50 disable_irq(ts->client->irq); in zet6223_stop()
55 struct zet6223_ts *ts = dev_id; in zet6223_irq() local
62 u8 bufsize = 3 + 4 * ts->fingernum; in zet6223_irq()
68 ret = i2c_master_recv(ts->client, buf, bufsize); in zet6223_irq()
71 dev_err_ratelimited(&ts->client->dev, in zet6223_irq()
80 for (i = 0; i < ts->fingernum; i++) { in zet6223_irq()
84 input_mt_slot(ts->input, i); in zet6223_irq()
[all …]
Delants_i2c.c298 static int elants_i2c_calibrate(struct elants_data *ts) in elants_i2c_calibrate() argument
300 struct i2c_client *client = ts->client; in elants_i2c_calibrate()
308 ts->state = ELAN_WAIT_RECALIBRATION; in elants_i2c_calibrate()
309 reinit_completion(&ts->cmd_done); in elants_i2c_calibrate()
316 ret = wait_for_completion_interruptible_timeout(&ts->cmd_done, in elants_i2c_calibrate()
319 ts->state = ELAN_STATE_NORMAL; in elants_i2c_calibrate()
329 if (memcmp(rek_resp, ts->cmd_resp, sizeof(rek_resp))) { in elants_i2c_calibrate()
332 (int)sizeof(ts->cmd_resp), ts->cmd_resp); in elants_i2c_calibrate()
365 static int elants_i2c_query_hw_version(struct elants_data *ts) in elants_i2c_query_hw_version() argument
367 struct i2c_client *client = ts->client; in elants_i2c_query_hw_version()
[all …]
Dcy8ctma140.c55 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 …]
Draydium_i2c_ts.c295 static int raydium_i2c_query_ts_info(struct raydium_data *ts) in raydium_i2c_query_ts_info() argument
297 struct i2c_client *client = ts->client; in raydium_i2c_query_ts_info()
314 if (ts->report_data && ts->pkg_size != data_info.pkg_size) { in raydium_i2c_query_ts_info()
317 ts->pkg_size, data_info.pkg_size); in raydium_i2c_query_ts_info()
319 ts->pkg_size = data_info.pkg_size; in raydium_i2c_query_ts_info()
320 ts->report_size = ts->pkg_size - RM_PACKET_CRC_SIZE; in raydium_i2c_query_ts_info()
323 ts->contact_size = data_info.tp_info_size; in raydium_i2c_query_ts_info()
324 ts->data_bank_addr = le32_to_cpu(data_info.data_bank_addr); in raydium_i2c_query_ts_info()
328 ts->data_bank_addr, ts->report_size, ts->contact_size); in raydium_i2c_query_ts_info()
337 &ts->info, sizeof(ts->info)); in raydium_i2c_query_ts_info()
[all …]
Dstmpe-ts.c103 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 …]
Dst1232.c64 static int st1232_ts_read_data(struct st1232_ts_data *ts, u8 reg, in st1232_ts_read_data() argument
67 struct i2c_client *client = ts->client; in st1232_ts_read_data()
78 .buf = ts->read_buf, in st1232_ts_read_data()
90 static int st1232_ts_wait_ready(struct st1232_ts_data *ts) in st1232_ts_wait_ready() argument
96 error = st1232_ts_read_data(ts, REG_STATUS, 1); in st1232_ts_wait_ready()
98 switch (ts->read_buf[0]) { in st1232_ts_wait_ready()
111 static int st1232_ts_read_resolution(struct st1232_ts_data *ts, u16 *max_x, in st1232_ts_read_resolution() argument
118 error = st1232_ts_read_data(ts, REG_XY_RESOLUTION, 3); in st1232_ts_read_resolution()
122 buf = ts->read_buf; in st1232_ts_read_resolution()
130 static int st1232_ts_parse_and_report(struct st1232_ts_data *ts) in st1232_ts_parse_and_report() argument
[all …]
/drivers/mfd/
Ducb1x00-ts.c54 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 …]
/drivers/gpio/
Dgpio-max730x.c50 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 …]
/drivers/thermal/tegra/
Dtegra30-tsensor.c77 struct tegra_tsensor *ts; member
91 static int tegra_tsensor_hw_enable(const struct tegra_tsensor *ts) in tegra_tsensor_hw_enable() argument
96 err = reset_control_assert(ts->rst); in tegra_tsensor_hw_enable()
98 dev_err(ts->dev, "failed to assert hardware reset: %d\n", err); in tegra_tsensor_hw_enable()
102 err = clk_prepare_enable(ts->clk); in tegra_tsensor_hw_enable()
104 dev_err(ts->dev, "failed to enable clock: %d\n", err); in tegra_tsensor_hw_enable()
110 err = reset_control_deassert(ts->rst); in tegra_tsensor_hw_enable()
112 dev_err(ts->dev, "failed to deassert hardware reset: %d\n", err); in tegra_tsensor_hw_enable()
129 writel_relaxed(val, ts->regs + 0x40 + TSENSOR_SENSOR0_CONFIG0); in tegra_tsensor_hw_enable()
130 writel_relaxed(val, ts->regs + 0x80 + TSENSOR_SENSOR0_CONFIG0); in tegra_tsensor_hw_enable()
[all …]
/drivers/net/wireless/quantenna/qtnfmac/pcie/
Dtopaz_pcie.c103 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 …]

12345678910>>...16