Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c185 char *rd_buf = NULL; in dp_link_settings_read() local
195 rd_buf = kcalloc(rd_buf_size, sizeof(char), GFP_KERNEL); in dp_link_settings_read()
196 if (!rd_buf) in dp_link_settings_read()
199 rd_buf_ptr = rd_buf; in dp_link_settings_read()
232 r = put_user(*(rd_buf + result), buf); in dp_link_settings_read()
234 kfree(rd_buf); in dp_link_settings_read()
244 kfree(rd_buf); in dp_link_settings_read()
379 char *rd_buf = NULL; in dp_phy_settings_read() local
387 rd_buf = kcalloc(rd_buf_size, sizeof(char), GFP_KERNEL); in dp_phy_settings_read()
388 if (!rd_buf) in dp_phy_settings_read()
[all …]
/linux-6.1.9/drivers/input/touchscreen/
Dcyttsp_spi.c42 u8 *rd_buf = &xfer_buf[CY_SPI_DATA_BUF_SIZE]; in cyttsp_spi_xfer() local
53 memset(rd_buf, 0, CY_SPI_DATA_BUF_SIZE); in cyttsp_spi_xfer()
70 xfer[0].rx_buf = rd_buf; in cyttsp_spi_xfer()
103 if (rd_buf[CY_SPI_SYNC_BYTE] != CY_SPI_SYNC_ACK1 || in cyttsp_spi_xfer()
104 rd_buf[CY_SPI_SYNC_BYTE + 1] != CY_SPI_SYNC_ACK2) { in cyttsp_spi_xfer()
109 __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()
173 u8 *data = ts_data->rd_buf; in surface3_spi_process()
203 __func__, SURFACE3_PACKET_SIZE, data->rd_buf); in surface3_spi_irq_handler()
Dedt-ft5x06.c147 u16 rd_len, u8 *rd_buf) in edt_ft5x06_ts_readwrite() argument
164 wrmsg[i].buf = rd_buf; in edt_ft5x06_ts_readwrite()
/linux-6.1.9/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-6.1.9/drivers/i2c/busses/
Di2c-npcm7xx.c309 u8 *rd_buf; member
844 bus->rd_buf[bus->rd_ind++] = data; in npcm_i2c_read_fifo()
1433 bus->rd_buf[bus->rd_ind++] = data; in npcm_i2c_irq_master_handler_read()
2056 bus->rd_buf = read_data; in npcm_i2c_master_start_xmit()