/Linux-v5.4/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-v5.4/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-v5.4/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-v5.4/tools/lib/bpf/ |
D | xsk.c | 117 cfg->tx_size = XSK_RING_PROD__DEFAULT_NUM_DESCS; in xsk_set_xdp_socket_config() 128 cfg->tx_size = usr_cfg->tx_size; in xsk_set_xdp_socket_config() 545 &xsk->config.tx_size, in xsk_socket__create() 546 sizeof(xsk->config.tx_size)); in xsk_socket__create() 581 xsk->config.tx_size * sizeof(struct xdp_desc), in xsk_socket__create() 589 tx->mask = xsk->config.tx_size - 1; in xsk_socket__create() 590 tx->size = xsk->config.tx_size; in xsk_socket__create() 595 tx->cached_cons = xsk->config.tx_size; in xsk_socket__create() 624 xsk->config.tx_size * sizeof(struct xdp_desc)); in xsk_socket__create() 688 off.tx.desc + xsk->config.tx_size * desc_sz); in xsk_socket__delete()
|
/Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mbox.c | 58 mbox->tx_size = MBOX_DOWN_TX_SIZE; in otx2_mbox_init() 65 mbox->tx_size = MBOX_DOWN_RX_SIZE; in otx2_mbox_init() 72 mbox->tx_size = MBOX_UP_TX_SIZE; in otx2_mbox_init() 79 mbox->tx_size = MBOX_UP_RX_SIZE; in otx2_mbox_init() 206 if ((mdev->msg_size + size) > mbox->tx_size - msgs_offset) in otx2_mbox_alloc_msg_rsp()
|
/Linux-v5.4/drivers/input/rmi4/ |
D | rmi_i2c.c | 81 size_t tx_size = len + 1; in rmi_i2c_write_block() local 86 if (!rmi_i2c->tx_buf || rmi_i2c->tx_buf_size < tx_size) { in rmi_i2c_write_block() 89 rmi_i2c->tx_buf_size = tx_size + BUFFER_SIZE_INCREMENT; in rmi_i2c_write_block() 109 retval = i2c_master_send(client, rmi_i2c->tx_buf, tx_size); in rmi_i2c_write_block() 110 if (retval == tx_size) in rmi_i2c_write_block()
|
/Linux-v5.4/drivers/tty/serial/8250/ |
D | 8250_dma.c | 29 xmit->tail += dma->tx_size; in __dma_tx_complete() 31 p->port.icount.tx += dma->tx_size; in __dma_tx_complete() 78 dma->tx_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in serial8250_tx_dma() 82 dma->tx_size, DMA_MEM_TO_DEV, in serial8250_tx_dma()
|
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_dp.c | 133 size_t tx_size; in amdgpu_atombios_dp_aux_transfer() local 151 tx_size = HEADER_SIZE + msg->size; in amdgpu_atombios_dp_aux_transfer() 155 tx_buf[3] |= tx_size << 4; in amdgpu_atombios_dp_aux_transfer() 158 tx_buf, tx_size, NULL, 0, delay, &ack); in amdgpu_atombios_dp_aux_transfer() 168 tx_size = HEADER_SIZE; in amdgpu_atombios_dp_aux_transfer() 172 tx_buf[3] |= tx_size << 4; in amdgpu_atombios_dp_aux_transfer() 174 tx_buf, tx_size, msg->buffer, msg->size, delay, &ack); in amdgpu_atombios_dp_aux_transfer()
|
/Linux-v5.4/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-v5.4/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-v5.4/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()
|
D | skl-sst-ipc.h | 168 size_t tx_size);
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | sdk.h | 102 unsigned int tx_size; member
|
/Linux-v5.4/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-v5.4/drivers/firmware/arm_scmi/ |
D | common.h | 105 size_t tx_size, size_t rx_size, struct scmi_xfer **p);
|
D | driver.c | 529 size_t tx_size, size_t rx_size, struct scmi_xfer **p) in scmi_xfer_get_init() argument 539 tx_size > info->desc->max_msg_size) in scmi_xfer_get_init() 549 xfer->tx.len = tx_size; in scmi_xfer_get_init()
|
/Linux-v5.4/drivers/target/iscsi/ |
D | iscsi_target_util.c | 1064 int tx_sent, tx_size; in iscsit_send_tx_data() local 1069 tx_size = cmd->tx_size; in iscsit_send_tx_data() 1079 tx_sent = tx_data(conn, &iov[0], iov_count, tx_size); in iscsit_send_tx_data() 1080 if (tx_size != tx_sent) { in iscsit_send_tx_data() 1087 cmd->tx_size = 0; in iscsit_send_tx_data() 1119 data_len = cmd->tx_size - tx_hdr_size - cmd->padding; in iscsit_fe_sendpage_sg()
|
/Linux-v5.4/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-v5.4/drivers/net/ethernet/ibm/emac/ |
D | core.c | 473 static u32 __emac_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_size) in __emac_calc_base_mr1() argument 479 switch(tx_size) { in __emac_calc_base_mr1() 485 dev->ndev->name, tx_size); in __emac_calc_base_mr1() 503 static u32 __emac4_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_size) in __emac4_calc_base_mr1() argument 510 switch(tx_size) { in __emac4_calc_base_mr1() 525 dev->ndev->name, tx_size); in __emac4_calc_base_mr1() 549 static u32 emac_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_size) in emac_calc_base_mr1() argument 552 __emac4_calc_base_mr1(dev, tx_size, rx_size) : in emac_calc_base_mr1() 553 __emac_calc_base_mr1(dev, tx_size, rx_size); in emac_calc_base_mr1() 577 int tx_size, rx_size, link = netif_carrier_ok(dev->ndev); in emac_configure() local [all …]
|
/Linux-v5.4/drivers/net/ethernet/atheros/ |
D | ag71xx.c | 1135 int ring_size, tx_size; in ag71xx_rings_init() local 1138 tx_size = BIT(tx->order); in ag71xx_rings_init() 1153 rx->buf = &tx->buf[tx_size]; in ag71xx_rings_init() 1154 rx->descs_cpu = ((void *)tx->descs_cpu) + tx_size * AG71XX_DESC_SIZE; in ag71xx_rings_init() 1155 rx->descs_dma = tx->descs_dma + tx_size * AG71XX_DESC_SIZE; in ag71xx_rings_init() 1639 int tx_size, err, i; in ag71xx_probe() local 1711 tx_size = AG71XX_TX_RING_SIZE_DEFAULT; in ag71xx_probe() 1723 tx_size *= AG71XX_TX_RING_DS_PER_PKT; in ag71xx_probe() 1725 ag->tx_ring.order = ag71xx_ring_size_order(tx_size); in ag71xx_probe()
|
/Linux-v5.4/drivers/gpu/drm/i915/display/ |
D | intel_gmbus.c | 521 unsigned int tx_size = msg->len; in gmbus_xfer_write() local 526 len = min(tx_size, gmbus_max_xfer_size(dev_priv)); in gmbus_xfer_write() 534 tx_size -= len; in gmbus_xfer_write() 535 } while (tx_size != 0); in gmbus_xfer_write()
|
/Linux-v5.4/drivers/tty/serial/ |
D | samsung.h | 64 size_t tx_size; member
|
/Linux-v5.4/drivers/net/ethernet/tehuti/ |
D | tehuti.c | 2248 static inline int bdx_tx_fifo_size_to_packets(int tx_size) in bdx_tx_fifo_size_to_packets() argument 2250 return (FIFO_SIZE * (1 << tx_size)) / BDX_TXF_DESC_SZ; in bdx_tx_fifo_size_to_packets() 2280 int tx_size = 0; in bdx_set_ringparam() local 2289 for (; tx_size < 4; tx_size++) { in bdx_set_ringparam() 2290 if (bdx_tx_fifo_size_to_packets(tx_size) >= ring->tx_pending) in bdx_set_ringparam() 2293 if (tx_size == 4) in bdx_set_ringparam() 2294 tx_size = 3; in bdx_set_ringparam() 2298 (tx_size == priv->txd_size)) in bdx_set_ringparam() 2307 priv->txf_size = priv->txd_size = tx_size; in bdx_set_ringparam()
|