Searched refs:send_size (Results 1 – 12 of 12) sorted by relevance
/drivers/staging/greybus/ |
D | uart.c | 230 unsigned int send_size; in gb_uart_tx_write_work() local 241 send_size = gb_tty->buffer_payload_max; in gb_uart_tx_write_work() 242 if (send_size > gb_tty->credits) in gb_uart_tx_write_work() 243 send_size = gb_tty->credits; in gb_uart_tx_write_work() 245 send_size = kfifo_out_peek(&gb_tty->write_fifo, in gb_uart_tx_write_work() 247 send_size); in gb_uart_tx_write_work() 248 if (!send_size) { in gb_uart_tx_write_work() 253 gb_tty->credits -= send_size; in gb_uart_tx_write_work() 256 request->size = cpu_to_le16(send_size); in gb_uart_tx_write_work() 259 request, sizeof(*request) + send_size, in gb_uart_tx_write_work() [all …]
|
/drivers/infiniband/ulp/srpt/ |
D | ib_dm_mad.h | 117 __be32 send_size; member
|
D | ib_srpt.c | 365 iocp->send_size = cpu_to_be32(srp_max_req_size); in srpt_get_ioc()
|
/drivers/hv/ |
D | channel.c | 165 u32 send_size, u32 recv_size) in vmbus_alloc_ring() argument 170 if (send_size % PAGE_SIZE || recv_size % PAGE_SIZE) in vmbus_alloc_ring() 174 order = get_order(send_size + recv_size); in vmbus_alloc_ring() 185 newchannel->ringbuffer_pagecount = (send_size + recv_size) >> PAGE_SHIFT; in vmbus_alloc_ring() 186 newchannel->ringbuffer_send_offset = send_size >> PAGE_SHIFT; in vmbus_alloc_ring()
|
/drivers/infiniband/hw/qedr/ |
D | qedr_roce_cm.c | 390 int send_size = 0; in qedr_gsi_build_header() local 406 send_size = 0; in qedr_gsi_build_header() 408 send_size += swr->sg_list[i].length; in qedr_gsi_build_header() 428 rc = ib_ud_header_init(send_size, false, true, has_vlan, in qedr_gsi_build_header()
|
/drivers/net/ethernet/hisilicon/ |
D | hip04_eth.c | 177 u16 send_size; member 185 u32 send_size; 530 desc->send_size = (__force u32)cpu_to_be32(skb->len); in hip04_mac_start_xmit()
|
/drivers/infiniband/hw/mlx4/ |
D | qp.c | 2837 int send_size; in build_sriov_qp0_header() local 2846 send_size = 0; in build_sriov_qp0_header() 2849 send_size += wr->wr.sg_list[i].length; in build_sriov_qp0_header() 2854 send_size += sizeof (struct mlx4_ib_tunnel_header); in build_sriov_qp0_header() 2856 ib_ud_header_init(send_size, 1, 0, 0, 0, 0, 0, 0, &sqp->ud_header); in build_sriov_qp0_header() 2990 int send_size; in build_mlx_header() local 3002 send_size = 0; in build_mlx_header() 3004 send_size += wr->wr.sg_list[i].length; in build_mlx_header() 3041 err = ib_ud_header_init(send_size, !is_eth, is_eth, is_vlan, is_grh, in build_mlx_header()
|
/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.h | 257 __le16 send_size; member
|
D | hns3_debugfs.c | 814 sprintf(result[j++], "%5u", le16_to_cpu(desc->tx.send_size)); in hns3_dump_tx_bd_info()
|
D | hns3_enet.c | 1632 desc->tx.send_size = cpu_to_le16(size); in hns3_fill_desc() 1649 desc->tx.send_size = cpu_to_le16((k == frag_buf_num - 1) ? in hns3_fill_desc()
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hnae.h | 177 __le16 send_size; member
|
D | hns_enet.c | 61 desc->tx.send_size = cpu_to_le16((u16)send_sz); in fill_v2_desc_hw() 163 desc->tx.send_size = cpu_to_le16((u16)size); in fill_desc()
|