Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/input/touchscreen/
Dcyttsp_spi.c50 u8 *rd_buf = &xfer_buf[CY_SPI_DATA_BUF_SIZE]; in cyttsp_spi_xfer() local
61 memset(rd_buf, 0, CY_SPI_DATA_BUF_SIZE); in cyttsp_spi_xfer()
78 xfer[0].rx_buf = rd_buf; in cyttsp_spi_xfer()
111 if (rd_buf[CY_SPI_SYNC_BYTE] != CY_SPI_SYNC_ACK1 || in cyttsp_spi_xfer()
112 rd_buf[CY_SPI_SYNC_BYTE + 1] != CY_SPI_SYNC_ACK2) { in cyttsp_spi_xfer()
117 __func__, i, rd_buf[i]); in cyttsp_spi_xfer()
Dcyttsp4_spi.c53 u8 rd_buf[CY_SPI_CMD_BYTES]; in cyttsp_spi_xfer() local
64 memset(rd_buf, 0, CY_SPI_CMD_BYTES); 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_ACK) { in cyttsp_spi_xfer()
119 __func__, i, rd_buf[i]); in cyttsp_spi_xfer()
Dsurface3_spi.c39 u8 rd_buf[SURFACE3_PACKET_SIZE] ____cacheline_aligned; member
66 memset(ts_data->rd_buf, 0, sizeof(ts_data->rd_buf)); in surface3_spi_read()
67 return spi_read(spi, ts_data->rd_buf, sizeof(ts_data->rd_buf)); in surface3_spi_read()
179 u8 *data = ts_data->rd_buf; in surface3_spi_process()
209 __func__, SURFACE3_PACKET_SIZE, data->rd_buf); in surface3_spi_irq_handler()
Dedt-ft5x06.c124 u16 rd_len, u8 *rd_buf) in edt_ft5x06_ts_readwrite() argument
141 wrmsg[i].buf = rd_buf; in edt_ft5x06_ts_readwrite()
/Linux-v4.19/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c79 char *rd_buf = NULL; in dp_link_settings_read() local
89 rd_buf = kcalloc(rd_buf_size, sizeof(char), GFP_KERNEL); in dp_link_settings_read()
90 if (!rd_buf) in dp_link_settings_read()
93 rd_buf_ptr = rd_buf; in dp_link_settings_read()
126 r = put_user(*(rd_buf + result), buf); in dp_link_settings_read()
136 kfree(rd_buf); in dp_link_settings_read()
282 char *rd_buf = NULL; in dp_phy_settings_read() local
290 rd_buf = kcalloc(rd_buf_size, sizeof(char), GFP_KERNEL); in dp_phy_settings_read()
291 if (!rd_buf) in dp_phy_settings_read()
294 snprintf(rd_buf, rd_buf_size, " %d %d %d ", in dp_phy_settings_read()
[all …]
/Linux-v4.19/drivers/media/pci/solo6x10/
Dsolo6x10-p2m.c216 u32 *rd_buf; in solo_p2m_test() local
225 rd_buf = (u32 *)__get_free_pages(GFP_KERNEL, order); in solo_p2m_test()
226 if (rd_buf == NULL) { in solo_p2m_test()
237 memset(rd_buf, 0x55, size); in solo_p2m_test()
242 if (solo_p2m_dma(solo_dev, 0, rd_buf, base, size, 0, 0)) in solo_p2m_test()
246 if (*(wr_buf + i) != *(rd_buf + i)) in solo_p2m_test()
254 free_pages((unsigned long)rd_buf, order); in solo_p2m_test()