Home
last modified time | relevance | path

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

/drivers/target/iscsi/
Discsi_target.c2386 cmd->tx_size = ISCSI_HDR_LEN; in iscsit_send_conn_drop_async_message()
2411 cmd->tx_size += ISCSI_CRC_LEN; in iscsit_send_conn_drop_async_message()
2417 cmd->iov_misc[0].iov_len = cmd->tx_size; in iscsit_send_conn_drop_async_message()
2432 u32 iov_count = 0, tx_size = 0; in iscsit_send_data_in() local
2517 tx_size += ISCSI_HDR_LEN; in iscsit_send_data_in()
2527 tx_size += ISCSI_CRC_LEN; in iscsit_send_data_in()
2538 tx_size += datain.length; in iscsit_send_data_in()
2544 tx_size += cmd->padding; in iscsit_send_data_in()
2555 tx_size += ISCSI_CRC_LEN; in iscsit_send_data_in()
2562 cmd->tx_size = tx_size; in iscsit_send_data_in()
[all …]
Discsi_target_util.c1267 int tx_sent, tx_size; in iscsit_send_tx_data() local
1272 tx_size = cmd->tx_size; in iscsit_send_tx_data()
1282 tx_sent = tx_data(conn, &iov[0], iov_count, tx_size); in iscsit_send_tx_data()
1283 if (tx_size != tx_sent) { in iscsit_send_tx_data()
1290 cmd->tx_size = 0; in iscsit_send_tx_data()
1322 data_len = cmd->tx_size - tx_hdr_size - cmd->padding; in iscsit_fe_sendpage_sg()
Discsi_target_core.h419 u32 tx_size; member
/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c447 u32 rx_size, tx_size; in mlx4_en_set_ringparam() local
458 tx_size = roundup_pow_of_two(param->tx_pending); in mlx4_en_set_ringparam()
459 tx_size = max_t(u32, tx_size, MLX4_EN_MIN_TX_SIZE); in mlx4_en_set_ringparam()
460 tx_size = min_t(u32, tx_size, MLX4_EN_MAX_TX_SIZE); in mlx4_en_set_ringparam()
464 tx_size == priv->tx_ring[0].size) in mlx4_en_set_ringparam()
475 priv->prof->tx_ring_size = tx_size; in mlx4_en_set_ringparam()
/drivers/media/dvb/frontends/
Dtda1004x.c325 int tx_size; in tda1004x_do_upload() local
335 tx_size = len - pos; in tda1004x_do_upload()
336 if (tx_size > 0x10) in tda1004x_do_upload()
337 tx_size = 0x10; in tda1004x_do_upload()
340 memcpy(buf + 1, mem + pos, tx_size); in tda1004x_do_upload()
341 fw_msg.len = tx_size + 1; in tda1004x_do_upload()
346 pos += tx_size; in tda1004x_do_upload()
/drivers/net/ethernet/ibm/emac/
Dcore.c445 static u32 __emac_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_size) in __emac_calc_base_mr1() argument
451 switch(tx_size) { in __emac_calc_base_mr1()
457 dev->ndev->name, tx_size); in __emac_calc_base_mr1()
475 static u32 __emac4_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_size) in __emac4_calc_base_mr1() argument
482 switch(tx_size) { in __emac4_calc_base_mr1()
494 dev->ndev->name, tx_size); in __emac4_calc_base_mr1()
515 static u32 emac_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_size) in emac_calc_base_mr1() argument
518 __emac4_calc_base_mr1(dev, tx_size, rx_size) : in emac_calc_base_mr1()
519 __emac_calc_base_mr1(dev, tx_size, rx_size); in emac_calc_base_mr1()
543 int tx_size, rx_size, link = netif_carrier_ok(dev->ndev); in emac_configure() local
[all …]
/drivers/net/ethernet/tehuti/
Dtehuti.c2253 static inline int bdx_tx_fifo_size_to_packets(int tx_size) in bdx_tx_fifo_size_to_packets() argument
2255 return (FIFO_SIZE * (1 << tx_size)) / BDX_TXF_DESC_SZ; in bdx_tx_fifo_size_to_packets()
2285 int tx_size = 0; in bdx_set_ringparam() local
2294 for (; tx_size < 4; tx_size++) { in bdx_set_ringparam()
2295 if (bdx_tx_fifo_size_to_packets(tx_size) >= ring->tx_pending) in bdx_set_ringparam()
2298 if (tx_size == 4) in bdx_set_ringparam()
2299 tx_size = 3; in bdx_set_ringparam()
2303 (tx_size == priv->txd_size)) in bdx_set_ringparam()
2312 priv->txf_size = priv->txd_size = tx_size; in bdx_set_ringparam()
/drivers/tty/serial/
Ducc_uart.c1003 unsigned int rx_size, tx_size; in qe_uart_request_port() local
1025 tx_size = L1_CACHE_ALIGN(qe_port->tx_nrfifos * qe_port->tx_fifosize); in qe_uart_request_port()
1027 bd_virt = dma_alloc_coherent(port->dev, rx_size + tx_size, &bd_dma_addr, in qe_uart_request_port()
1036 qe_port->bd_size = rx_size + tx_size; in qe_uart_request_port()
Dpch_uart.c539 const unsigned char *buf, int tx_size) in pch_uart_hal_write() argument
544 for (i = 0; i < tx_size;) { in pch_uart_hal_write()
876 int tx_size; in handle_tx() local
900 tx_size = pop_tx(priv, size); in handle_tx()
901 if (tx_size > 0) { in handle_tx()
902 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.c1205 int tx_size; in ezusb_xmit() local
1276 tx_size = ALIGN(buf - ctx->buf->data, 2); in ezusb_xmit()
1278 err = ezusb_access_ltv(upriv, ctx, tx_size, NULL, in ezusb_xmit()
/drivers/net/ethernet/adaptec/
Dstarfire.c913 size_t tx_size, rx_size; in netdev_open() local
1076 tx_size = fw_tx->size / 4; in netdev_open()
1081 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.c2302 int rx_size, int tx_size) in hso_serial_common_create() argument
2356 serial->tx_data_length = tx_size; in hso_serial_common_create()
/drivers/net/ethernet/marvell/
Dskge.c2524 size_t rx_size, tx_size; in skge_up() local
2539 tx_size = skge->tx_ring.count * sizeof(struct skge_tx_desc); in skge_up()
2540 skge->mem_size = tx_size + rx_size; in skge_up()