Home
last modified time | relevance | path

Searched refs:tx_size (Results 1 – 23 of 23) sorted by relevance

/drivers/media/i2c/s5c73m3/
Ds5c73m3-spi.c70 const unsigned int len, const unsigned int tx_size) in s5c73m3_spi_write() argument
73 u32 count = len / tx_size; in s5c73m3_spi_write()
74 u32 extra = len % tx_size; in s5c73m3_spi_write()
82 r = spi_xmit(spi_dev, (void *)addr + j, tx_size, SPI_DIR_TX); in s5c73m3_spi_write()
85 j += tx_size; in s5c73m3_spi_write()
98 const unsigned int len, const unsigned int tx_size) in s5c73m3_spi_read() argument
101 u32 count = len / tx_size; in s5c73m3_spi_read()
102 u32 extra = len % tx_size; in s5c73m3_spi_read()
107 r = spi_xmit(spi_dev, addr + j, tx_size, SPI_DIR_RX); in s5c73m3_spi_read()
110 j += tx_size; in s5c73m3_spi_read()
Ds5c73m3.h439 const unsigned int len, const unsigned int tx_size);
441 const unsigned int len, const unsigned int tx_size);
/drivers/target/iscsi/
Discsi_target.c2527 cmd->tx_size = ISCSI_HDR_LEN; in iscsit_send_conn_drop_async_message()
2551 cmd->tx_size += ISCSI_CRC_LEN; in iscsit_send_conn_drop_async_message()
2557 cmd->iov_misc[0].iov_len = cmd->tx_size; in iscsit_send_conn_drop_async_message()
2627 u32 iov_count = 0, tx_size = 0; in iscsit_send_datain() local
2673 tx_size += ISCSI_HDR_LEN; in iscsit_send_datain()
2682 tx_size += ISCSI_CRC_LEN; in iscsit_send_datain()
2694 tx_size += datain.length; in iscsit_send_datain()
2700 tx_size += cmd->padding; in iscsit_send_datain()
2711 tx_size += ISCSI_CRC_LEN; in iscsit_send_datain()
2718 cmd->tx_size = tx_size; in iscsit_send_datain()
[all …]
Discsi_target_util.c1160 int tx_sent, tx_size; in iscsit_send_tx_data() local
1165 tx_size = cmd->tx_size; in iscsit_send_tx_data()
1175 tx_sent = tx_data(conn, &iov[0], iov_count, tx_size); in iscsit_send_tx_data()
1176 if (tx_size != tx_sent) { in iscsit_send_tx_data()
1183 cmd->tx_size = 0; in iscsit_send_tx_data()
1215 data_len = cmd->tx_size - tx_hdr_size - cmd->padding; in iscsit_fe_sendpage_sg()
Discsi_target_core.h434 u32 tx_size; member
/drivers/tty/serial/8250/
D8250_dma.c32 xmit->tail += dma->tx_size; in __dma_tx_complete()
34 p->port.icount.tx += dma->tx_size; in __dma_tx_complete()
77 dma->tx_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in serial8250_tx_dma()
81 dma->tx_size, DMA_MEM_TO_DEV, in serial8250_tx_dma()
D8250.h41 size_t tx_size; member
/drivers/net/wireless/cw1200/
Dfwio.c178 size_t tx_size; in cw1200_load_firmware_cw1200() local
205 tx_size = block_size = min_t(size_t, firmware->size - put, in cw1200_load_firmware_cw1200()
212 tx_size = DOWNLOAD_BLOCK_SIZE; in cw1200_load_firmware_cw1200()
219 buf, tx_size); in cw1200_load_firmware_cw1200()
/drivers/gpu/drm/radeon/
Datombios_dp.c167 size_t tx_size; in radeon_dp_aux_transfer() local
184 tx_size = HEADER_SIZE + msg->size; in radeon_dp_aux_transfer()
188 tx_buf[3] |= tx_size << 4; in radeon_dp_aux_transfer()
191 tx_buf, tx_size, NULL, 0, delay, &ack); in radeon_dp_aux_transfer()
201 tx_size = HEADER_SIZE; in radeon_dp_aux_transfer()
205 tx_buf[3] |= tx_size << 4; in radeon_dp_aux_transfer()
207 tx_buf, tx_size, msg->buffer, msg->size, delay, &ack); in radeon_dp_aux_transfer()
/drivers/media/dvb-frontends/
Dtda1004x.c325 int tx_size; in tda1004x_do_upload() local
336 tx_size = len - pos; in tda1004x_do_upload()
337 if (tx_size > 0x10) in tda1004x_do_upload()
338 tx_size = 0x10; in tda1004x_do_upload()
341 memcpy(buf + 1, mem + pos, tx_size); in tda1004x_do_upload()
342 fw_msg.len = tx_size + 1; in tda1004x_do_upload()
348 pos += tx_size; in tda1004x_do_upload()
/drivers/gpu/drm/i915/
Dintel_i2c.c371 unsigned int tx_size = msg->len; in gmbus_xfer_write() local
376 len = min(tx_size, GMBUS_BYTE_COUNT_MAX); in gmbus_xfer_write()
383 tx_size -= len; in gmbus_xfer_write()
384 } while (tx_size != 0); in gmbus_xfer_write()
/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c522 u32 rx_size, tx_size; in mlx4_en_set_ringparam() local
532 tx_size = roundup_pow_of_two(param->tx_pending); in mlx4_en_set_ringparam()
533 tx_size = max_t(u32, tx_size, MLX4_EN_MIN_TX_SIZE); in mlx4_en_set_ringparam()
534 tx_size = min_t(u32, tx_size, MLX4_EN_MAX_TX_SIZE); in mlx4_en_set_ringparam()
538 tx_size == priv->tx_ring[0]->size) in mlx4_en_set_ringparam()
549 priv->prof->tx_ring_size = tx_size; in mlx4_en_set_ringparam()
/drivers/net/ethernet/ibm/emac/
Dcore.c467 static u32 __emac_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_size) in __emac_calc_base_mr1() argument
473 switch(tx_size) { in __emac_calc_base_mr1()
479 dev->ndev->name, tx_size); in __emac_calc_base_mr1()
497 static u32 __emac4_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_size) in __emac4_calc_base_mr1() argument
504 switch(tx_size) { in __emac4_calc_base_mr1()
516 dev->ndev->name, tx_size); in __emac4_calc_base_mr1()
537 static u32 emac_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_size) in emac_calc_base_mr1() argument
540 __emac4_calc_base_mr1(dev, tx_size, rx_size) : in emac_calc_base_mr1()
541 __emac_calc_base_mr1(dev, tx_size, rx_size); in emac_calc_base_mr1()
565 int tx_size, rx_size, link = netif_carrier_ok(dev->ndev); in emac_configure() local
[all …]
/drivers/net/ethernet/tehuti/
Dtehuti.c2276 static inline int bdx_tx_fifo_size_to_packets(int tx_size) in bdx_tx_fifo_size_to_packets() argument
2278 return (FIFO_SIZE * (1 << tx_size)) / BDX_TXF_DESC_SZ; in bdx_tx_fifo_size_to_packets()
2308 int tx_size = 0; in bdx_set_ringparam() local
2317 for (; tx_size < 4; tx_size++) { in bdx_set_ringparam()
2318 if (bdx_tx_fifo_size_to_packets(tx_size) >= ring->tx_pending) in bdx_set_ringparam()
2321 if (tx_size == 4) in bdx_set_ringparam()
2322 tx_size = 3; in bdx_set_ringparam()
2326 (tx_size == priv->txd_size)) in bdx_set_ringparam()
2335 priv->txf_size = priv->txd_size = tx_size; in bdx_set_ringparam()
/drivers/ntb/
Dntb_transport.c857 unsigned int num_qps_mw, tx_size; in ntb_transport_init_queue() local
877 tx_size = (unsigned int) ntb_get_mw_size(qp->ndev, mw_num) / num_qps_mw; in ntb_transport_init_queue()
878 qp_offset = qp_num / mw_max * tx_size; in ntb_transport_init_queue()
887 tx_size -= sizeof(struct ntb_rx_info); in ntb_transport_init_queue()
888 qp->rx_info = qp->tx_mw + tx_size; in ntb_transport_init_queue()
891 qp->tx_max_frame = min(transport_mtu, tx_size / 2); in ntb_transport_init_queue()
892 qp->tx_max_entry = tx_size / qp->tx_max_frame; in ntb_transport_init_queue()
/drivers/tty/serial/
Ducc_uart.c995 unsigned int rx_size, tx_size; in qe_uart_request_port() local
1017 tx_size = L1_CACHE_ALIGN(qe_port->tx_nrfifos * qe_port->tx_fifosize); in qe_uart_request_port()
1019 bd_virt = dma_alloc_coherent(port->dev, rx_size + tx_size, &bd_dma_addr, in qe_uart_request_port()
1028 qe_port->bd_size = rx_size + tx_size; in qe_uart_request_port()
Dpch_uart.c577 const unsigned char *buf, int tx_size) in pch_uart_hal_write() argument
582 for (i = 0; i < tx_size;) { in pch_uart_hal_write()
905 int tx_size; in handle_tx() local
929 tx_size = pop_tx(priv, size); in handle_tx()
930 if (tx_size > 0) { in handle_tx()
931 port->icount.tx += tx_size; in handle_tx()
/drivers/infiniband/hw/amso1100/
Dc2.c592 size_t rx_size, tx_size; in c2_up() local
604 tx_size = c2_port->tx_ring.count * sizeof(struct c2_tx_desc); in c2_up()
606 c2_port->mem_size = tx_size + rx_size; in c2_up()
/drivers/net/wireless/orinoco/
Dorinoco_usb.c1196 int tx_size; in ezusb_xmit() local
1267 tx_size = ALIGN(buf - ctx->buf->data, 2); in ezusb_xmit()
1269 err = ezusb_access_ltv(upriv, ctx, tx_size, NULL, in ezusb_xmit()
/drivers/net/ethernet/adaptec/
Dstarfire.c882 size_t tx_size, rx_size; in netdev_open() local
1045 tx_size = fw_tx->size / 4; in netdev_open()
1050 for (i = 0; i < tx_size; i++) in netdev_open()
/drivers/net/ethernet/micrel/
Dksz884x.c1292 int tx_size; member
3999 hw->tx_size += length; in hw_alloc_pkt()
4002 if (hw->tx_size >= MAX_TX_HELD_SIZE) in hw_alloc_pkt()
4027 hw->tx_size = 0; in hw_send_pkt()
/drivers/net/usb/
Dhso.c2254 int rx_size, int tx_size) in hso_serial_common_create() argument
2308 serial->tx_data_length = tx_size; in hso_serial_common_create()
/drivers/net/ethernet/marvell/
Dskge.c2531 size_t rx_size, tx_size; in skge_up() local
2546 tx_size = skge->tx_ring.count * sizeof(struct skge_tx_desc); in skge_up()
2547 skge->mem_size = tx_size + rx_size; in skge_up()