Searched refs:rd_buf (Results 1 – 3 of 3) sorted by relevance
/drivers/input/touchscreen/ |
D | cyttsp_spi.c | 53 u8 *rd_buf = &ts->xfer_buf[CY_SPI_DATA_BUF_SIZE]; in cyttsp_spi_xfer() local 64 memset(rd_buf, 0, CY_SPI_DATA_BUF_SIZE); in cyttsp_spi_xfer() 81 xfer[0].rx_buf = rd_buf; in cyttsp_spi_xfer() 114 if (rd_buf[CY_SPI_SYNC_BYTE] != CY_SPI_SYNC_ACK1 || in cyttsp_spi_xfer() 115 rd_buf[CY_SPI_SYNC_BYTE + 1] != CY_SPI_SYNC_ACK2) { in cyttsp_spi_xfer() 121 __func__, i, rd_buf[i]); in cyttsp_spi_xfer()
|
/drivers/staging/media/solo6x10/ |
D | p2m.c | 193 u8 *rd_buf; in p2m_test() local 203 rd_buf = kmalloc(size, GFP_KERNEL); in p2m_test() 204 if (!rd_buf) { in p2m_test() 211 memset(rd_buf, P2M_TEST_CHAR + 1, size); in p2m_test() 214 solo_p2m_dma(solo_dev, id, 0, rd_buf, base, size); in p2m_test() 217 if (wr_buf[i] != rd_buf[i]) in p2m_test() 221 kfree(rd_buf); in p2m_test()
|
/drivers/staging/ozwpan/ |
D | ozcdev.c | 38 u8 rd_buf[OZ_RD_BUF_SZ]; member 122 if (copy_to_user(buf, &ctx->rd_buf[ix], n)) { in oz_cdev_read() 130 if (copy_to_user(&buf[n], ctx->rd_buf, count-n)) { in oz_cdev_read() 502 memcpy(&ctx->rd_buf[ix], data, copy_sz); in oz_cdev_rx() 508 memcpy(ctx->rd_buf, data+copy_sz, len); in oz_cdev_rx()
|