/Linux-v5.4/drivers/input/touchscreen/ |
D | cyttsp_spi.c | 39 u8 *wr_buf = &xfer_buf[0]; in cyttsp_spi_xfer() local 50 memset(wr_buf, 0, CY_SPI_DATA_BUF_SIZE); in cyttsp_spi_xfer() 53 wr_buf[0] = 0x00; /* header byte 0 */ in cyttsp_spi_xfer() 54 wr_buf[1] = 0xFF; /* header byte 1 */ in cyttsp_spi_xfer() 55 wr_buf[2] = reg; /* reg index */ in cyttsp_spi_xfer() 56 wr_buf[3] = op; /* r/~w */ in cyttsp_spi_xfer() 58 memcpy(wr_buf + CY_SPI_CMD_BYTES, buf, length); in cyttsp_spi_xfer() 67 xfer[0].tx_buf = wr_buf; in cyttsp_spi_xfer()
|
D | cyttsp4_spi.c | 42 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()
|
D | edt-ft5x06.c | 122 u16 wr_len, u8 *wr_buf, in edt_ft5x06_ts_readwrite() argument 133 wrmsg[i].buf = wr_buf; in edt_ft5x06_ts_readwrite()
|
/Linux-v5.4/net/smc/ |
D | smc_llc.c | 164 struct smc_wr_buf **wr_buf, in smc_llc_add_pending_send() argument 169 rc = smc_wr_tx_get_free_slot(link, smc_llc_tx_handler, wr_buf, NULL, in smc_llc_add_pending_send() 192 struct smc_wr_buf *wr_buf; in smc_llc_send_confirm_link() local 195 rc = smc_llc_add_pending_send(link, &wr_buf, &pend); in smc_llc_send_confirm_link() 198 confllc = (struct smc_llc_msg_confirm_link *)wr_buf; in smc_llc_send_confirm_link() 223 struct smc_wr_buf *wr_buf; in smc_llc_send_confirm_rkey() local 226 rc = smc_llc_add_pending_send(link, &wr_buf, &pend); in smc_llc_send_confirm_rkey() 229 rkeyllc = (struct smc_llc_msg_confirm_rkey *)wr_buf; in smc_llc_send_confirm_rkey() 248 struct smc_wr_buf *wr_buf; in smc_llc_send_delete_rkey() local 251 rc = smc_llc_add_pending_send(link, &wr_buf, &pend); in smc_llc_send_delete_rkey() [all …]
|
D | smc_cdc.c | 56 struct smc_wr_buf **wr_buf, in smc_cdc_get_free_slot() argument 63 rc = smc_wr_tx_get_free_slot(link, smc_cdc_tx_handler, wr_buf, in smc_cdc_get_free_slot() 91 struct smc_wr_buf *wr_buf, in smc_cdc_msg_send() argument 104 smc_host_msg_to_cdc((struct smc_cdc_msg *)wr_buf, conn, &cfed); in smc_cdc_msg_send() 117 struct smc_wr_buf *wr_buf; in smcr_cdc_get_slot_and_msg_send() local 120 rc = smc_cdc_get_free_slot(conn, &wr_buf, NULL, &pend); in smcr_cdc_get_slot_and_msg_send() 125 rc = smc_cdc_msg_send(conn, wr_buf, pend); in smcr_cdc_get_slot_and_msg_send()
|
D | smc_wr.h | 87 struct smc_wr_buf **wr_buf,
|
D | smc_cdc.h | 307 struct smc_wr_buf **wr_buf, 311 int smc_cdc_msg_send(struct smc_connection *conn, struct smc_wr_buf *wr_buf,
|
D | smc_tx.c | 487 struct smc_wr_buf *wr_buf; in smcr_tx_sndbuf_nonempty() local 490 rc = smc_cdc_get_free_slot(conn, &wr_buf, &wr_rdma_buf, &pend); in smcr_tx_sndbuf_nonempty() 516 rc = smc_cdc_msg_send(conn, wr_buf, pend); in smcr_tx_sndbuf_nonempty()
|
D | smc_wr.c | 170 struct smc_wr_buf **wr_buf, in smc_wr_tx_get_free_slot() argument 180 *wr_buf = NULL; in smc_wr_tx_get_free_slot() 208 *wr_buf = &link->wr_tx_bufs[idx]; in smc_wr_tx_get_free_slot()
|
/Linux-v5.4/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_debugfs.c | 150 char *wr_buf = NULL; in dp_link_settings_write() local 165 wr_buf = kcalloc(wr_buf_size, sizeof(char), GFP_KERNEL); in dp_link_settings_write() 166 if (!wr_buf) in dp_link_settings_write() 168 wr_buf_ptr = wr_buf; in dp_link_settings_write() 174 kfree(wr_buf); in dp_link_settings_write() 221 kfree(wr_buf); in dp_link_settings_write() 235 kfree(wr_buf); in dp_link_settings_write() 326 char *wr_buf = NULL; in dp_phy_settings_write() local 341 wr_buf = kcalloc(wr_buf_size, sizeof(char), GFP_KERNEL); in dp_phy_settings_write() 342 if (!wr_buf) in dp_phy_settings_write() [all …]
|
/Linux-v5.4/drivers/media/pci/solo6x10/ |
D | solo6x10-p2m.c | 206 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()
|
/Linux-v5.4/drivers/usb/typec/ucsi/ |
D | ucsi_ccg.c | 837 u8 *wr_buf; in do_flash() local 894 wr_buf = kzalloc(CCG4_ROW_SIZE + 4, GFP_KERNEL); in do_flash() 895 if (!wr_buf) { in do_flash() 935 if (hex2bin(wr_buf, p + 3, CCG4_ROW_SIZE + 4)) { in do_flash() 940 row = get_unaligned_be16(wr_buf); in do_flash() 941 len = get_unaligned_be16(&wr_buf[2]); in do_flash() 948 err = ccg_cmd_write_flash_row(uc, row, wr_buf + 4, in do_flash() 981 kfree(wr_buf); in do_flash()
|