Home
last modified time | relevance | path

Searched refs:rd_buf (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/input/touchscreen/
Dcyttsp_spi.c40 u8 *rd_buf = &xfer_buf[CY_SPI_DATA_BUF_SIZE]; in cyttsp_spi_xfer() local
51 memset(rd_buf, 0, CY_SPI_DATA_BUF_SIZE); in cyttsp_spi_xfer()
68 xfer[0].rx_buf = rd_buf; in cyttsp_spi_xfer()
101 if (rd_buf[CY_SPI_SYNC_BYTE] != CY_SPI_SYNC_ACK1 || in cyttsp_spi_xfer()
102 rd_buf[CY_SPI_SYNC_BYTE + 1] != CY_SPI_SYNC_ACK2) { in cyttsp_spi_xfer()
107 __func__, i, rd_buf[i]); in cyttsp_spi_xfer()
Dcyttsp4_spi.c43 u8 rd_buf[CY_SPI_CMD_BYTES]; in cyttsp_spi_xfer() local
54 memset(rd_buf, 0, CY_SPI_CMD_BYTES); in cyttsp_spi_xfer()
71 xfer[0].rx_buf = rd_buf; in cyttsp_spi_xfer()
104 if (rd_buf[CY_SPI_SYNC_BYTE] != CY_SPI_SYNC_ACK) { in cyttsp_spi_xfer()
109 __func__, i, rd_buf[i]); in cyttsp_spi_xfer()
Dsurface3_spi.c35 u8 rd_buf[SURFACE3_PACKET_SIZE] ____cacheline_aligned; member
62 memset(ts_data->rd_buf, 0, sizeof(ts_data->rd_buf)); in surface3_spi_read()
63 return spi_read(spi, ts_data->rd_buf, sizeof(ts_data->rd_buf)); in surface3_spi_read()
175 u8 *data = ts_data->rd_buf; in surface3_spi_process()
205 __func__, SURFACE3_PACKET_SIZE, data->rd_buf); in surface3_spi_irq_handler()
Dedt-ft5x06.c123 u16 rd_len, u8 *rd_buf) in edt_ft5x06_ts_readwrite() argument
140 wrmsg[i].buf = rd_buf; in edt_ft5x06_ts_readwrite()
/Linux-v5.4/drivers/media/pci/solo6x10/
Dsolo6x10-p2m.c207 u32 *rd_buf; in solo_p2m_test() local
216 rd_buf = (u32 *)__get_free_pages(GFP_KERNEL, order); in solo_p2m_test()
217 if (rd_buf == NULL) { in solo_p2m_test()
228 memset(rd_buf, 0x55, size); in solo_p2m_test()
233 if (solo_p2m_dma(solo_dev, 0, rd_buf, base, size, 0, 0)) in solo_p2m_test()
237 if (*(wr_buf + i) != *(rd_buf + i)) in solo_p2m_test()
245 free_pages((unsigned long)rd_buf, order); in solo_p2m_test()
/Linux-v5.4/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c82 char *rd_buf = NULL; in dp_link_settings_read() local
92 rd_buf = kcalloc(rd_buf_size, sizeof(char), GFP_KERNEL); in dp_link_settings_read()
93 if (!rd_buf) in dp_link_settings_read()
96 rd_buf_ptr = rd_buf; in dp_link_settings_read()
129 r = put_user(*(rd_buf + result), buf); in dp_link_settings_read()
139 kfree(rd_buf); in dp_link_settings_read()
285 char *rd_buf = NULL; in dp_phy_settings_read() local
293 rd_buf = kcalloc(rd_buf_size, sizeof(char), GFP_KERNEL); in dp_phy_settings_read()
294 if (!rd_buf) in dp_phy_settings_read()
297 snprintf(rd_buf, rd_buf_size, " %d %d %d ", in dp_phy_settings_read()
[all …]