Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_debugfs.c74 static int parse_write_buffer_into_params(char *wr_buf, uint32_t wr_buf_size, in parse_write_buffer_into_params() argument
88 wr_buf_ptr = wr_buf; in parse_write_buffer_into_params()
122 wr_buf_ptr = wr_buf; /* reset buf pointer */ in parse_write_buffer_into_params()
262 char *wr_buf = NULL; in dp_link_settings_write() local
273 wr_buf = kcalloc(wr_buf_size, sizeof(char), GFP_KERNEL); in dp_link_settings_write()
274 if (!wr_buf) in dp_link_settings_write()
277 if (parse_write_buffer_into_params(wr_buf, wr_buf_size, in dp_link_settings_write()
281 kfree(wr_buf); in dp_link_settings_write()
286 kfree(wr_buf); in dp_link_settings_write()
317 kfree(wr_buf); in dp_link_settings_write()
[all …]
/linux/drivers/input/touchscreen/
H A 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()
/linux/drivers/media/pci/solo6x10/
H A 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()
/linux/net/smc/
H A Dsmc_llc.c401 struct smc_wr_buf **wr_buf, in smc_llc_add_pending_send() argument
406 rc = smc_wr_tx_get_free_slot(link, smc_llc_tx_handler, wr_buf, NULL, in smc_llc_add_pending_send()
423 struct smc_wr_v2_buf **wr_buf, in smc_llc_add_pending_send_v2() argument
428 rc = smc_wr_tx_get_v2_slot(link, smc_llc_tx_handler, wr_buf, pend); in smc_llc_add_pending_send_v2()
452 struct smc_wr_buf *wr_buf; in smc_llc_send_confirm_link() local
457 rc = smc_llc_add_pending_send(link, &wr_buf, &pend); in smc_llc_send_confirm_link()
460 confllc = (struct smc_llc_msg_confirm_link *)wr_buf; in smc_llc_send_confirm_link()
492 struct smc_wr_buf *wr_buf; in smc_llc_send_confirm_rkey() local
498 rc = smc_llc_add_pending_send(send_link, &wr_buf, &pend); in smc_llc_send_confirm_rkey()
501 rkeyllc = (struct smc_llc_msg_confirm_rkey *)wr_buf; in smc_llc_send_confirm_rkey()
[all …]
H A Dsmc_cdc.c75 struct smc_wr_buf **wr_buf, in smc_cdc_get_free_slot() argument
81 rc = smc_wr_tx_get_free_slot(link, smc_cdc_tx_handler, wr_buf, in smc_cdc_get_free_slot()
113 struct smc_wr_buf *wr_buf, in smc_cdc_msg_send() argument
124 smc_host_msg_to_cdc((struct smc_cdc_msg *)wr_buf, conn, &cfed); in smc_cdc_msg_send()
145 struct smc_wr_buf *wr_buf) in smcr_cdc_msg_send_validation() argument
152 peer = (struct smc_cdc_msg *)wr_buf; in smcr_cdc_msg_send_validation()
177 struct smc_wr_buf *wr_buf; in smcr_cdc_get_slot_and_msg_send() local
186 rc = smc_cdc_get_free_slot(conn, link, &wr_buf, NULL, &pend); in smcr_cdc_get_slot_and_msg_send()
202 rc = smc_cdc_msg_send(conn, wr_buf, pend); in smcr_cdc_get_slot_and_msg_send()
H A Dsmc_wr.h116 struct smc_wr_buf **wr_buf,
121 struct smc_wr_v2_buf **wr_buf,
H A Dsmc_cdc.h291 struct smc_wr_buf **wr_buf,
295 int smc_cdc_msg_send(struct smc_connection *conn, struct smc_wr_buf *wr_buf,
301 struct smc_wr_buf *wr_buf);
H A Dsmc_wr.c197 struct smc_wr_buf **wr_buf, in smc_wr_tx_get_free_slot() argument
208 *wr_buf = NULL; in smc_wr_tx_get_free_slot()
237 *wr_buf = &link->wr_tx_bufs[idx]; in smc_wr_tx_get_free_slot()
246 struct smc_wr_v2_buf **wr_buf, in smc_wr_tx_get_v2_slot() argument
256 *wr_buf = NULL; in smc_wr_tx_get_v2_slot()
266 *wr_buf = link->lgr->wr_tx_buf_v2; in smc_wr_tx_get_v2_slot()
H A Dsmc_tx.c553 struct smc_wr_buf *wr_buf; in smcr_tx_sndbuf_nonempty() local
558 rc = smc_cdc_get_free_slot(conn, link, &wr_buf, &wr_rdma_buf, &pend); in smcr_tx_sndbuf_nonempty()
593 rc = smc_cdc_msg_send(conn, wr_buf, pend); in smcr_tx_sndbuf_nonempty()
H A Dsmc_core.c1015 struct smc_wr_buf *wr_buf) in smc_switch_cursor() argument
1052 rc = smcr_cdc_msg_send_validation(conn, pend, wr_buf); in smc_switch_cursor()
1082 struct smc_wr_buf *wr_buf; in smc_switch_conns() local
1131 rc = smc_cdc_get_free_slot(conn, to_lnk, &wr_buf, NULL, &pend); in smc_switch_conns()
1137 rc = smc_switch_cursor(smc, pend, wr_buf); in smc_switch_conns()
/linux/drivers/usb/typec/ucsi/
H A Ducsi_ccg.c1154 u8 *wr_buf; in do_flash() local
1211 wr_buf = kzalloc(CCG4_ROW_SIZE + 4, GFP_KERNEL); in do_flash()
1212 if (!wr_buf) { in do_flash()
1252 if (hex2bin(wr_buf, p + 3, CCG4_ROW_SIZE + 4)) { in do_flash()
1257 row = get_unaligned_be16(wr_buf); in do_flash()
1258 len = get_unaligned_be16(&wr_buf[2]); in do_flash()
1265 err = ccg_cmd_write_flash_row(uc, row, wr_buf + 4, in do_flash()
1298 kfree(wr_buf); in do_flash()
/linux/drivers/usb/misc/
H A Donboard_usb_dev.c324 char wr_buf[7] = {USB5744_CREG_MEM_ADDR, 5, in onboard_dev_5744_i2c_init() local
330 ret = i2c_smbus_write_block_data(client, 0, sizeof(wr_buf), wr_buf); in onboard_dev_5744_i2c_init()
/linux/drivers/i2c/busses/
H A Di2c-npcm7xx.c312 u8 *wr_buf; member
777 npcm_i2c_wr_byte(bus, bus->wr_buf[bus->wr_ind++]); in npcm_i2c_write_to_fifo_master()
1398 npcm_i2c_wr_byte(bus, bus->wr_buf[bus->wr_ind++]); in npcm_i2c_irq_master_handler_write()
2046 bus->wr_buf = write_data; in npcm_i2c_master_start_xmit()