/linux-6.1.9/drivers/media/i2c/s5c73m3/ |
D | s5c73m3-spi.c | 63 const unsigned int len, const unsigned int tx_size) in s5c73m3_spi_write() argument 66 u32 count = len / tx_size; in s5c73m3_spi_write() 67 u32 extra = len % tx_size; in s5c73m3_spi_write() 75 r = spi_xmit(spi_dev, (void *)addr + j, tx_size, SPI_DIR_TX); in s5c73m3_spi_write() 78 j += tx_size; in s5c73m3_spi_write() 91 const unsigned int len, const unsigned int tx_size) in s5c73m3_spi_read() argument 94 u32 count = len / tx_size; in s5c73m3_spi_read() 95 u32 extra = len % tx_size; in s5c73m3_spi_read() 100 r = spi_xmit(spi_dev, addr + j, tx_size, SPI_DIR_RX); in s5c73m3_spi_read() 103 j += tx_size; in s5c73m3_spi_read()
|
D | s5c73m3.h | 431 const unsigned int len, const unsigned int tx_size); 433 const unsigned int len, const unsigned int tx_size);
|
/linux-6.1.9/drivers/staging/greybus/ |
D | spilib.c | 50 static int tx_header_fit_operation(u32 tx_size, u32 count, size_t data_max) in tx_header_fit_operation() argument 57 return tx_size + headers_size > data_max ? 0 : 1; in tx_header_fit_operation() 81 static size_t calc_tx_xfer_size(u32 tx_size, u32 count, size_t len, in calc_tx_xfer_size() argument 89 if (tx_size + headers_size + len > data_max) in calc_tx_xfer_size() 90 return data_max - (tx_size + sizeof(struct gb_spi_transfer)); in calc_tx_xfer_size() 170 u32 tx_size = 0, rx_size = 0, count = 0, xfer_len = 0, request_size; in gb_spi_operation_create() local 198 if (!tx_header_fit_operation(tx_size, count, data_max)) in gb_spi_operation_create() 200 tx_xfer_size = calc_tx_xfer_size(tx_size, count, in gb_spi_operation_create() 212 tx_size += tx_xfer_size; in gb_spi_operation_create() 229 request_size += tx_size; in gb_spi_operation_create()
|
/linux-6.1.9/drivers/media/dvb-frontends/cxd2880/ |
D | cxd2880_spi_device.c | 43 u32 tx_size, in cxd2880_spi_device_write_read() argument 51 !tx_size || !rx_data || !rx_size) in cxd2880_spi_device_write_read() 57 tx_size, rx_data, rx_size); in cxd2880_spi_device_write_read()
|
D | cxd2880_spi.h | 28 const u8 *tx_data, u32 tx_size,
|
/linux-6.1.9/drivers/input/rmi4/ |
D | rmi_i2c.c | 85 size_t tx_size = len + 1; in rmi_i2c_write_block() local 90 if (!rmi_i2c->tx_buf || rmi_i2c->tx_buf_size < tx_size) { in rmi_i2c_write_block() 93 rmi_i2c->tx_buf_size = tx_size + BUFFER_SIZE_INCREMENT; in rmi_i2c_write_block() 113 retval = i2c_master_send(client, rmi_i2c->tx_buf, tx_size); in rmi_i2c_write_block() 114 if (retval == tx_size) in rmi_i2c_write_block()
|
/linux-6.1.9/sound/soc/intel/avs/ |
D | messages.c | 336 size_t remaining, tx_size; in avs_ipc_set_large_config() local 341 tx_size = min_t(size_t, AVS_MAILBOX_SIZE, remaining); in avs_ipc_set_large_config() 342 final = (tx_size == remaining); in avs_ipc_set_large_config() 346 param_id, 1, final, request, tx_size, in avs_ipc_set_large_config() 351 remaining -= tx_size; in avs_ipc_set_large_config() 358 tx_size = min_t(size_t, AVS_MAILBOX_SIZE, remaining); in avs_ipc_set_large_config() 359 final = (tx_size == remaining); in avs_ipc_set_large_config() 363 request + offset, tx_size, in avs_ipc_set_large_config() 368 remaining -= tx_size; in avs_ipc_set_large_config()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_dp.c | 134 size_t tx_size; in amdgpu_atombios_dp_aux_transfer() local 152 tx_size = HEADER_SIZE + msg->size; in amdgpu_atombios_dp_aux_transfer() 156 tx_buf[3] |= tx_size << 4; in amdgpu_atombios_dp_aux_transfer() 159 tx_buf, tx_size, NULL, 0, delay, &ack); in amdgpu_atombios_dp_aux_transfer() 169 tx_size = HEADER_SIZE; in amdgpu_atombios_dp_aux_transfer() 173 tx_buf[3] |= tx_size << 4; in amdgpu_atombios_dp_aux_transfer() 175 tx_buf, tx_size, msg->buffer, msg->size, delay, &ack); in amdgpu_atombios_dp_aux_transfer()
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mbox.c | 64 mbox->tx_size = MBOX_DOWN_TX_SIZE; in otx2_mbox_setup() 71 mbox->tx_size = MBOX_DOWN_RX_SIZE; in otx2_mbox_setup() 78 mbox->tx_size = MBOX_UP_TX_SIZE; in otx2_mbox_setup() 85 mbox->tx_size = MBOX_UP_RX_SIZE; in otx2_mbox_setup() 272 if ((mdev->msg_size + size) > mbox->tx_size - msgs_offset) in otx2_mbox_alloc_msg_rsp()
|
/linux-6.1.9/drivers/tty/serial/8250/ |
D | 8250_bcm7271.c | 226 size_t tx_size; member 418 u32 tx_size; in brcmuart_tx_dma() local 424 tx_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in brcmuart_tx_dma() 427 memcpy(priv->tx_buf, &xmit->buf[xmit->tail], tx_size); in brcmuart_tx_dma() 428 xmit->tail += tx_size; in brcmuart_tx_dma() 430 p->port.icount.tx += tx_size; in brcmuart_tx_dma() 435 udma_writel(priv, REGS_DMA_TX, UDMA_TX_TRANSFER_LEN, tx_size); in brcmuart_tx_dma() 436 udma_writel(priv, REGS_DMA_TX, UDMA_TX_BUF0_DATA_LEN, tx_size); in brcmuart_tx_dma() 880 dma_free_coherent(dev, priv->tx_size, priv->tx_buf, in brcmuart_free_bufs() 1081 priv->tx_size = UART_XMIT_SIZE; in brcmuart_probe() [all …]
|
D | 8250_dma.c | 29 uart_xmit_advance(&p->port, dma->tx_size); in __dma_tx_complete() 84 dma->tx_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in serial8250_tx_dma() 90 dma->tx_size, DMA_MEM_TO_DEV, in serial8250_tx_dma()
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | atombios_dp.c | 165 size_t tx_size; in radeon_dp_aux_transfer_atom() local 191 tx_size = HEADER_SIZE + msg->size; in radeon_dp_aux_transfer_atom() 195 tx_buf[3] |= tx_size << 4; in radeon_dp_aux_transfer_atom() 198 tx_buf, tx_size, NULL, 0, delay, &ack); in radeon_dp_aux_transfer_atom() 208 tx_size = HEADER_SIZE; in radeon_dp_aux_transfer_atom() 212 tx_buf[3] |= tx_size << 4; in radeon_dp_aux_transfer_atom() 214 tx_buf, tx_size, msg->buffer, msg->size, delay, &ack); in radeon_dp_aux_transfer_atom()
|
/linux-6.1.9/drivers/net/wireless/st/cw1200/ |
D | fwio.c | 181 size_t tx_size; in cw1200_load_firmware_cw1200() local 208 tx_size = block_size = min_t(size_t, firmware->size - put, in cw1200_load_firmware_cw1200() 215 tx_size = DOWNLOAD_BLOCK_SIZE; in cw1200_load_firmware_cw1200() 222 buf, tx_size); in cw1200_load_firmware_cw1200()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | xsk.c | 154 cfg->tx_size = XSK_RING_PROD__DEFAULT_NUM_DESCS; in xsk_set_xdp_socket_config() 165 cfg->tx_size = usr_cfg->tx_size; in xsk_set_xdp_socket_config() 1082 &xsk->config.tx_size, in xsk_socket__create_shared() 1083 sizeof(xsk->config.tx_size)); in xsk_socket__create_shared() 1121 xsk->config.tx_size * sizeof(struct xdp_desc), in xsk_socket__create_shared() 1129 tx->mask = xsk->config.tx_size - 1; in xsk_socket__create_shared() 1130 tx->size = xsk->config.tx_size; in xsk_socket__create_shared() 1139 tx->cached_cons = *tx->consumer + xsk->config.tx_size; in xsk_socket__create_shared() 1173 xsk->config.tx_size * sizeof(struct xdp_desc)); in xsk_socket__create_shared() 1257 off.tx.desc + xsk->config.tx_size * desc_sz); in xsk_socket__delete()
|
/linux-6.1.9/sound/soc/intel/skylake/ |
D | skl-sst-ipc.c | 281 size_t tx_size) in skl_ipc_tx_data_copy() argument 283 if (tx_size) in skl_ipc_tx_data_copy() 284 memcpy(msg->tx.data, tx_data, tx_size); in skl_ipc_tx_data_copy() 921 size_t sz_remaining, tx_size, data_offset; in skl_ipc_set_large_config() local 937 tx_size = sz_remaining > SKL_ADSP_W1_SZ in skl_ipc_set_large_config() 939 if (tx_size == sz_remaining) in skl_ipc_set_large_config() 945 (unsigned)data_offset, (unsigned)tx_size); in skl_ipc_set_large_config() 949 request.size = tx_size; in skl_ipc_set_large_config() 956 sz_remaining -= tx_size; in skl_ipc_set_large_config()
|
/linux-6.1.9/drivers/firmware/arm_scmi/ |
D | protocols.h | 256 size_t tx_size, void *priv); 283 size_t tx_size, size_t rx_size,
|
/linux-6.1.9/drivers/media/dvb-frontends/ |
D | tda1004x.c | 312 int tx_size; in tda1004x_do_upload() local 323 tx_size = len - pos; in tda1004x_do_upload() 324 if (tx_size > 0x10) in tda1004x_do_upload() 325 tx_size = 0x10; in tda1004x_do_upload() 328 memcpy(buf + 1, mem + pos, tx_size); in tda1004x_do_upload() 329 fw_msg.len = tx_size + 1; in tda1004x_do_upload() 335 pos += tx_size; in tda1004x_do_upload()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | sdk.h | 103 unsigned int tx_size; member
|
/linux-6.1.9/sound/soc/sof/ |
D | ipc4.c | 429 size_t tx_size, rx_size; in sof_ipc4_set_get_data() local 449 tx_size = chunk_size; in sof_ipc4_set_get_data() 457 tx_size = 0; in sof_ipc4_set_get_data() 462 ret = ipc4_tx_msg_unlocked(sdev->ipc, &tx, tx_size, &rx, rx_size); in sof_ipc4_set_get_data()
|
/linux-6.1.9/drivers/spi/ |
D | spi-mt65xx.c | 945 u32 reg_val, nio, tx_size; in mtk_spi_mem_exec_op() local 1005 tx_size = 1 + op->addr.nbytes + op->dummy.nbytes; in mtk_spi_mem_exec_op() 1007 tx_size += op->data.nbytes; in mtk_spi_mem_exec_op() 1009 tx_size = max_t(u32, tx_size, 32); in mtk_spi_mem_exec_op() 1011 tx_tmp_buf = kzalloc(tx_size, GFP_KERNEL | GFP_DMA); in mtk_spi_mem_exec_op() 1038 tx_size, DMA_TO_DEVICE); in mtk_spi_mem_exec_op() 1101 tx_size, DMA_TO_DEVICE); in mtk_spi_mem_exec_op()
|
/linux-6.1.9/drivers/target/iscsi/ |
D | iscsi_target_util.c | 1048 int tx_sent, tx_size; in iscsit_send_tx_data() local 1053 tx_size = cmd->tx_size; in iscsit_send_tx_data() 1063 tx_sent = tx_data(conn, &iov[0], iov_count, tx_size); in iscsit_send_tx_data() 1064 if (tx_size != tx_sent) { in iscsit_send_tx_data() 1071 cmd->tx_size = 0; in iscsit_send_tx_data() 1103 data_len = cmd->tx_size - tx_hdr_size - cmd->padding; in iscsit_fe_sendpage_sg()
|
/linux-6.1.9/drivers/net/fjes/ |
D | fjes_trace.h | 101 __field(size_t, tx_size) 112 __entry->tx_size = buf_pair->tx.size; 120 __entry->length, __entry->epid, __entry->tx, __entry->tx_size,
|
/linux-6.1.9/drivers/net/ethernet/ibm/emac/ |
D | core.c | 474 static u32 __emac_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_size) in __emac_calc_base_mr1() argument 480 switch(tx_size) { in __emac_calc_base_mr1() 486 dev->ndev->name, tx_size); in __emac_calc_base_mr1() 504 static u32 __emac4_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_size) in __emac4_calc_base_mr1() argument 511 switch(tx_size) { in __emac4_calc_base_mr1() 526 dev->ndev->name, tx_size); in __emac4_calc_base_mr1() 550 static u32 emac_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_size) in emac_calc_base_mr1() argument 553 __emac4_calc_base_mr1(dev, tx_size, rx_size) : in emac_calc_base_mr1() 554 __emac_calc_base_mr1(dev, tx_size, rx_size); in emac_calc_base_mr1() 578 int tx_size, rx_size, link = netif_carrier_ok(dev->ndev); in emac_configure() local [all …]
|
/linux-6.1.9/drivers/net/ethernet/tehuti/ |
D | tehuti.c | 2231 static inline int bdx_tx_fifo_size_to_packets(int tx_size) in bdx_tx_fifo_size_to_packets() argument 2233 return (FIFO_SIZE * (1 << tx_size)) / BDX_TXF_DESC_SZ; in bdx_tx_fifo_size_to_packets() 2271 int tx_size = 0; in bdx_set_ringparam() local 2280 for (; tx_size < 4; tx_size++) { in bdx_set_ringparam() 2281 if (bdx_tx_fifo_size_to_packets(tx_size) >= ring->tx_pending) in bdx_set_ringparam() 2284 if (tx_size == 4) in bdx_set_ringparam() 2285 tx_size = 3; in bdx_set_ringparam() 2289 (tx_size == priv->txd_size)) in bdx_set_ringparam() 2298 priv->txf_size = priv->txd_size = tx_size; in bdx_set_ringparam()
|
/linux-6.1.9/drivers/net/ethernet/atheros/ |
D | ag71xx.c | 1319 int ring_size, tx_size; in ag71xx_rings_init() local 1322 tx_size = BIT(tx->order); in ag71xx_rings_init() 1337 rx->buf = &tx->buf[tx_size]; in ag71xx_rings_init() 1338 rx->descs_cpu = ((void *)tx->descs_cpu) + tx_size * AG71XX_DESC_SIZE; in ag71xx_rings_init() 1339 rx->descs_dma = tx->descs_dma + tx_size * AG71XX_DESC_SIZE; in ag71xx_rings_init() 1819 int tx_size, err, i; in ag71xx_probe() local 1888 tx_size = AG71XX_TX_RING_SIZE_DEFAULT; in ag71xx_probe() 1900 tx_size *= AG71XX_TX_RING_DS_PER_PKT; in ag71xx_probe() 1902 ag->tx_ring.order = ag71xx_ring_size_order(tx_size); in ag71xx_probe()
|