Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c72 static int parse_write_buffer_into_params(char *wr_buf, uint32_t wr_buf_size, in parse_write_buffer_into_params() argument
86 wr_buf_ptr = wr_buf; in parse_write_buffer_into_params()
120 wr_buf_ptr = wr_buf; /* reset buf pointer */ in parse_write_buffer_into_params()
260 char *wr_buf = NULL; in dp_link_settings_write() local
271 wr_buf = kcalloc(wr_buf_size, sizeof(char), GFP_KERNEL); in dp_link_settings_write()
272 if (!wr_buf) in dp_link_settings_write()
275 if (parse_write_buffer_into_params(wr_buf, wr_buf_size, in dp_link_settings_write()
279 kfree(wr_buf); in dp_link_settings_write()
284 kfree(wr_buf); in dp_link_settings_write()
315 kfree(wr_buf); in dp_link_settings_write()
[all …]
/drivers/input/touchscreen/
Dcyttsp_spi.c41 u8 *wr_buf = &xfer_buf[0]; in cyttsp_spi_xfer() local
52 memset(wr_buf, 0, CY_SPI_DATA_BUF_SIZE); in cyttsp_spi_xfer()
55 wr_buf[0] = 0x00; /* header byte 0 */ in cyttsp_spi_xfer()
56 wr_buf[1] = 0xFF; /* header byte 1 */ in cyttsp_spi_xfer()
57 wr_buf[2] = reg; /* reg index */ in cyttsp_spi_xfer()
58 wr_buf[3] = op; /* r/~w */ in cyttsp_spi_xfer()
60 memcpy(wr_buf + CY_SPI_CMD_BYTES, buf, length); in cyttsp_spi_xfer()
69 xfer[0].tx_buf = wr_buf; in cyttsp_spi_xfer()
Dcyttsp4_spi.c42 u8 *wr_buf = &xfer_buf[0]; in cyttsp_spi_xfer() local
53 memset(wr_buf, 0, CY_SPI_DATA_BUF_SIZE); in cyttsp_spi_xfer()
56 wr_buf[0] = op + (((reg >> 8) & 0x1) ? CY_SPI_A8_BIT : 0); in cyttsp_spi_xfer()
58 wr_buf[1] = reg & 0xFF; in cyttsp_spi_xfer()
60 memcpy(wr_buf + CY_SPI_CMD_BYTES, buf, length); in cyttsp_spi_xfer()
70 xfer[0].tx_buf = wr_buf; in cyttsp_spi_xfer()
/drivers/media/pci/solo6x10/
Dsolo6x10-p2m.c206 u32 *wr_buf; in solo_p2m_test() local
212 wr_buf = (u32 *)__get_free_pages(GFP_KERNEL, order); in solo_p2m_test()
213 if (wr_buf == NULL) in solo_p2m_test()
218 free_pages((unsigned long)wr_buf, order); in solo_p2m_test()
223 *(wr_buf + i) = (i << 16) | (i + 1); in solo_p2m_test()
226 *(wr_buf + i) = ~((i << 16) | (i + 1)); in solo_p2m_test()
230 if (solo_p2m_dma(solo_dev, 1, wr_buf, base, size, 0, 0)) in solo_p2m_test()
237 if (*(wr_buf + i) != *(rd_buf + i)) in solo_p2m_test()
244 free_pages((unsigned long)wr_buf, order); in solo_p2m_test()
/drivers/usb/typec/ucsi/
Ducsi_ccg.c1090 u8 *wr_buf; in do_flash() local
1147 wr_buf = kzalloc(CCG4_ROW_SIZE + 4, GFP_KERNEL); in do_flash()
1148 if (!wr_buf) { in do_flash()
1188 if (hex2bin(wr_buf, p + 3, CCG4_ROW_SIZE + 4)) { in do_flash()
1193 row = get_unaligned_be16(wr_buf); in do_flash()
1194 len = get_unaligned_be16(&wr_buf[2]); in do_flash()
1201 err = ccg_cmd_write_flash_row(uc, row, wr_buf + 4, in do_flash()
1234 kfree(wr_buf); in do_flash()
/drivers/i2c/busses/
Di2c-npcm7xx.c310 u8 *wr_buf; member
776 npcm_i2c_wr_byte(bus, bus->wr_buf[bus->wr_ind++]); in npcm_i2c_write_to_fifo_master()
1400 npcm_i2c_wr_byte(bus, bus->wr_buf[bus->wr_ind++]); in npcm_i2c_irq_master_handler_write()
2048 bus->wr_buf = write_data; in npcm_i2c_master_start_xmit()