Searched refs:rdbuf (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/drivers/input/touchscreen/
H A Dedt-ft5x06.c175 u8 rdbuf[63]; edt_ft5x06_ts_isr() local
199 memset(rdbuf, 0, sizeof(rdbuf)); edt_ft5x06_ts_isr()
204 datalen, rdbuf); edt_ft5x06_ts_isr()
213 if (rdbuf[0] != 0xaa || rdbuf[1] != 0xaa || edt_ft5x06_ts_isr()
214 rdbuf[2] != datalen) { edt_ft5x06_ts_isr()
217 rdbuf[0], rdbuf[1], rdbuf[2]); edt_ft5x06_ts_isr()
221 if (!edt_ft5x06_ts_check_crc(tsdata, rdbuf, datalen)) edt_ft5x06_ts_isr()
226 u8 *buf = &rdbuf[i * tplen + offset]; edt_ft5x06_ts_isr()
288 u8 wrbuf[2], rdbuf[2]; edt_ft5x06_register_read() local
298 rdbuf); edt_ft5x06_register_read()
302 if ((wrbuf[0] ^ wrbuf[1] ^ rdbuf[0]) != rdbuf[1]) { edt_ft5x06_register_read()
305 wrbuf[0] ^ wrbuf[1] ^ rdbuf[0], edt_ft5x06_register_read()
306 rdbuf[1]); edt_ft5x06_register_read()
314 wrbuf, 1, rdbuf); edt_ft5x06_register_read()
323 return rdbuf[0]; edt_ft5x06_register_read()
646 u8 *rdbuf; edt_ft5x06_debugfs_raw_data_read() local
686 rdbuf = tsdata->raw_buffer; edt_ft5x06_debugfs_raw_data_read()
695 colbytes, rdbuf); edt_ft5x06_debugfs_raw_data_read()
699 rdbuf += colbytes; edt_ft5x06_debugfs_raw_data_read()
762 u8 rdbuf[EDT_NAME_LEN]; edt_ft5x06_ts_identify() local
771 memset(rdbuf, 0, sizeof(rdbuf)); edt_ft5x06_ts_identify()
773 EDT_NAME_LEN - 1, rdbuf); edt_ft5x06_ts_identify()
780 if (!(strncasecmp(rdbuf + 1, "EP0", 3))) { edt_ft5x06_ts_identify()
784 rdbuf[EDT_NAME_LEN - 1] = '\0'; edt_ft5x06_ts_identify()
785 if (rdbuf[EDT_NAME_LEN - 2] == '$') edt_ft5x06_ts_identify()
786 rdbuf[EDT_NAME_LEN - 2] = '\0'; edt_ft5x06_ts_identify()
789 p = strchr(rdbuf, '*'); edt_ft5x06_ts_identify()
792 strlcpy(model_name, rdbuf + 1, EDT_NAME_LEN); edt_ft5x06_ts_identify()
799 2, rdbuf); edt_ft5x06_ts_identify()
803 strlcpy(fw_version, rdbuf, 2); edt_ft5x06_ts_identify()
806 1, rdbuf); edt_ft5x06_ts_identify()
811 rdbuf[0] >> 4, rdbuf[0] & 0x0F); edt_ft5x06_ts_identify()
H A Dpixcir_i2c_ts.c60 u8 rdbuf[2 + PIXCIR_MAX_SLOTS * 5]; pixcir_ts_parse() local
72 if (readsize > sizeof(rdbuf)) pixcir_ts_parse()
73 readsize = sizeof(rdbuf); pixcir_ts_parse()
83 ret = i2c_master_recv(tsdata->client, rdbuf, readsize); pixcir_ts_parse()
91 touch = rdbuf[0] & 0x7; pixcir_ts_parse()
96 bufptr = &rdbuf[2]; pixcir_ts_parse()
/linux-4.4.14/drivers/s390/char/
H A Dfs3270.c40 struct idal_buffer *rdbuf; /* full-screen-deactivate buffer */ member in struct:fs3270
137 raw3270_request_set_idal(fp->init, fp->rdbuf); fs3270_activate()
139 cp = fp->rdbuf->data[0]; fs3270_activate()
170 fp->rdbuf->data[0] -= 5; fs3270_save_callback()
171 fp->rdbuf->size += 5; fs3270_save_callback()
174 * If the rdbuf command failed or the idal buffer is fs3270_save_callback()
176 * rdbuf command, then we have no choice but to send fs3270_save_callback()
184 fp->rdbuf_size = fp->rdbuf->size - rq->rescnt; fs3270_save_callback()
208 fp->rdbuf->data[0] += 5; fs3270_deactivate()
209 fp->rdbuf->size -= 5; fs3270_deactivate()
210 raw3270_request_set_idal(fp->init, fp->rdbuf); fs3270_deactivate()
398 if (fp->rdbuf) fs3270_free_view()
399 idal_buffer_free(fp->rdbuf); fs3270_free_view()
480 fp->rdbuf = ib; fs3270_open()
/linux-4.4.14/drivers/w1/slaves/
H A Dw1_ds2431.c151 u8 rdbuf[W1_F2D_SCRATCH_SIZE + 3]; w1_f2d_write() local
172 w1_read_block(sl->master, rdbuf, len + 3); w1_f2d_write()
175 if ((rdbuf[0] != wrbuf[1]) || (rdbuf[1] != wrbuf[2]) || w1_f2d_write()
176 (rdbuf[2] != es) || (memcmp(data, &rdbuf[3], len) != 0)) { w1_f2d_write()
H A Dw1_ds2433.c165 u8 rdbuf[W1_PAGE_SIZE + 3]; w1_f23_write() local
184 w1_read_block(sl->master, rdbuf, len + 3); w1_f23_write()
187 if ((rdbuf[0] != wrbuf[1]) || (rdbuf[1] != wrbuf[2]) || w1_f23_write()
188 (rdbuf[2] != es) || (memcmp(data, &rdbuf[3], len) != 0)) w1_f23_write()
H A Dw1_ds28e04.c170 u8 rdbuf[W1_PAGE_SIZE + 3]; w1_f1C_write() local
192 w1_read_block(sl->master, rdbuf, len + 3); w1_f1C_write()
195 if ((rdbuf[0] != wrbuf[1]) || (rdbuf[1] != wrbuf[2]) || w1_f1C_write()
196 (rdbuf[2] != es) || (memcmp(data, &rdbuf[3], len) != 0)) w1_f1C_write()
/linux-4.4.14/drivers/net/ethernet/qualcomm/
H A Dqca_spi.c558 netdev_dbg(qca->net_dev, "===> rdbuf error!\n"); qcaspi_spi_thread()

Completed in 574 milliseconds