Home
last modified time | relevance | path

Searched refs:rdbuf (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/input/touchscreen/
Dedt-ft5x06.c303 u8 rdbuf[63]; in edt_ft5x06_ts_isr() local
307 memset(rdbuf, 0, sizeof(rdbuf)); in edt_ft5x06_ts_isr()
308 error = regmap_bulk_read(tsdata->regmap, tsdata->tdata_cmd, rdbuf, in edt_ft5x06_ts_isr()
317 u8 *buf = &rdbuf[i * tsdata->point_len + tsdata->tdata_offset]; in edt_ft5x06_ts_isr()
749 u8 *rdbuf; in edt_ft5x06_debugfs_raw_data_read() local
789 rdbuf = tsdata->raw_buffer; in edt_ft5x06_debugfs_raw_data_read()
793 rdbuf[0] = i; /* column index */ in edt_ft5x06_debugfs_raw_data_read()
794 error = regmap_bulk_read(tsdata->regmap, 0xf5, rdbuf, colbytes); in edt_ft5x06_debugfs_raw_data_read()
798 rdbuf += colbytes; in edt_ft5x06_debugfs_raw_data_read()
859 u8 rdbuf[EDT_NAME_LEN]; in edt_ft5x06_ts_identify() local
[all …]
Dpixcir_i2c_ts.c96 u8 rdbuf[2 + PIXCIR_MAX_SLOTS * 5]; in pixcir_ts_parse() local
108 if (readsize > sizeof(rdbuf)) in pixcir_ts_parse()
109 readsize = sizeof(rdbuf); in pixcir_ts_parse()
119 ret = i2c_master_recv(tsdata->client, rdbuf, readsize); in pixcir_ts_parse()
127 touch = rdbuf[0] & 0x7; in pixcir_ts_parse()
132 bufptr = &rdbuf[2]; in pixcir_ts_parse()
Dhycon-hy46xx.c104 u8 rdbuf[HY46XX_REPORT_PKT_LEN]; in hycon_hy46xx_isr() local
108 memset(rdbuf, 0, sizeof(rdbuf)); in hycon_hy46xx_isr()
110 error = regmap_bulk_read(tsdata->regmap, 0, rdbuf, sizeof(rdbuf)); in hycon_hy46xx_isr()
117 if (!hycon_hy46xx_check_checksum(tsdata, rdbuf)) in hycon_hy46xx_isr()
121 u8 *buf = &rdbuf[3 + (HY46XX_TPLEN * i)]; in hycon_hy46xx_isr()
/linux-6.12.1/drivers/s390/char/
Dfs3270.c42 struct idal_buffer *rdbuf; /* full-screen-deactivate buffer */ member
127 raw3270_request_set_idal(fp->init, fp->rdbuf); in fs3270_activate()
129 cp = dma64_to_virt(fp->rdbuf->data[0]); in fs3270_activate()
167 fp->rdbuf->data[0] = dma64_add(fp->rdbuf->data[0], -5); in fs3270_save_callback()
168 fp->rdbuf->size += 5; in fs3270_save_callback()
181 fp->rdbuf_size = fp->rdbuf->size - rq->rescnt; in fs3270_save_callback()
205 fp->rdbuf->data[0] = dma64_add(fp->rdbuf->data[0], 5); in fs3270_deactivate()
206 fp->rdbuf->size -= 5; in fs3270_deactivate()
207 raw3270_request_set_idal(fp->init, fp->rdbuf); in fs3270_deactivate()
393 if (fp->rdbuf) in fs3270_free_view()
[all …]
/linux-6.12.1/drivers/w1/slaves/
Dw1_ds2805.c148 u8 rdbuf[W1_F0D_SCRATCH_SIZE]; in w1_f0d_write() local
170 w1_read_block(sl->master, rdbuf, sizeof(rdbuf)); in w1_f0d_write()
172 if ((rdbuf[0] != data[0]) || (rdbuf[1] != data[1])) { in w1_f0d_write()
181 __func__, rdbuf[0], rdbuf[1], data[0], data[1]); in w1_f0d_write()
Dw1_ds2431.c149 u8 rdbuf[W1_F2D_SCRATCH_SIZE + 3]; in w1_f2d_write() local
170 w1_read_block(sl->master, rdbuf, len + 3); in w1_f2d_write()
173 if ((rdbuf[0] != wrbuf[1]) || (rdbuf[1] != wrbuf[2]) || in w1_f2d_write()
174 (rdbuf[2] != es) || (memcmp(data, &rdbuf[3], len) != 0)) { in w1_f2d_write()
Dw1_ds28e04.c164 u8 rdbuf[W1_PAGE_SIZE + 3]; in w1_f1C_write() local
186 w1_read_block(sl->master, rdbuf, len + 3); in w1_f1C_write()
189 if ((rdbuf[0] != wrbuf[1]) || (rdbuf[1] != wrbuf[2]) || in w1_f1C_write()
190 (rdbuf[2] != es) || (memcmp(data, &rdbuf[3], len) != 0)) in w1_f1C_write()
Dw1_ds2433.c181 u8 rdbuf[W1_PAGE_SIZE + 3]; in w1_f23_write() local
200 w1_read_block(sl->master, rdbuf, len + 3); in w1_f23_write()
203 if ((rdbuf[0] != wrbuf[1]) || (rdbuf[1] != wrbuf[2]) || in w1_f23_write()
204 (rdbuf[2] != es) || (memcmp(data, &rdbuf[3], len) != 0)) in w1_f23_write()
Dw1_ds2430.c149 u8 rdbuf[W1_F14_SCRATCH_SIZE + 3]; in w1_f14_write() local
168 w1_read_block(sl->master, rdbuf, len + 2); in w1_f14_write()
175 if ((memcmp(data, &rdbuf[2], len) != 0)) { in w1_f14_write()
/linux-6.12.1/drivers/mtd/parsers/
Dscpart.c109 uint8_t rdbuf[PART_MAGIC_LEN]; in scpart_find_partmap() local
114 res2 = mtd_read(master, offs, PART_MAGIC_LEN, &retlen, rdbuf); in scpart_find_partmap()
119 if (!memcmp(rdbuf, sc_part_magic, PART_MAGIC_LEN)) { in scpart_find_partmap()
/linux-6.12.1/drivers/media/i2c/
Dthp7312.c1521 #define thp7312_flash_reg_read(thp7312, wrbuf, rdbuf) \ argument
1523 rdbuf, sizeof(rdbuf))