Home
last modified time | relevance | path

Searched refs:send_size (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/drivers/staging/greybus/
Duart.c238 unsigned int send_size; in gb_uart_tx_write_work() local
249 send_size = gb_tty->buffer_payload_max; in gb_uart_tx_write_work()
250 if (send_size > gb_tty->credits) in gb_uart_tx_write_work()
251 send_size = gb_tty->credits; in gb_uart_tx_write_work()
253 send_size = kfifo_out_peek(&gb_tty->write_fifo, in gb_uart_tx_write_work()
255 send_size); in gb_uart_tx_write_work()
256 if (!send_size) { in gb_uart_tx_write_work()
261 gb_tty->credits -= send_size; in gb_uart_tx_write_work()
264 request->size = cpu_to_le16(send_size); in gb_uart_tx_write_work()
267 request, sizeof(*request) + send_size, in gb_uart_tx_write_work()
[all …]
/Linux-v4.19/drivers/infiniband/ulp/srpt/
Dib_dm_mad.h117 __be32 send_size; member
Dib_srpt.c365 iocp->send_size = cpu_to_be32(srp_max_req_size); in srpt_get_ioc()
/Linux-v4.19/sound/soc/codecs/
Dtas571x.c155 size_t send_size = 1 + len * sizeof(uint32_t); in tas571x_reg_write_multiword() local
157 buf = kzalloc(send_size, GFP_KERNEL | GFP_DMA); in tas571x_reg_write_multiword()
165 ret = i2c_master_send(client, buf, send_size); in tas571x_reg_write_multiword()
169 if (ret == send_size) in tas571x_reg_write_multiword()
/Linux-v4.19/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c391 int send_size = 0; in qedr_gsi_build_header() local
400 send_size = 0; in qedr_gsi_build_header()
402 send_size += swr->sg_list[i].length; in qedr_gsi_build_header()
426 rc = ib_ud_header_init(send_size, false, true, has_vlan, in qedr_gsi_build_header()
/Linux-v4.19/fs/btrfs/
Dsend.c73 u32 send_size; member
557 int left = sctx->send_max_size - sctx->send_size; in tlv_put()
562 hdr = (struct btrfs_tlv_header *) (sctx->send_buf + sctx->send_size); in tlv_put()
566 sctx->send_size += total_len; in tlv_put()
670 BUG_ON(sctx->send_size); in begin_cmd()
672 sctx->send_size += sizeof(*hdr); in begin_cmd()
686 hdr->len = cpu_to_le32(sctx->send_size - sizeof(*hdr)); in send_cmd()
689 crc = crc32c(0, (unsigned char *)sctx->send_buf, sctx->send_size); in send_cmd()
692 ret = write_buf(sctx->send_filp, sctx->send_buf, sctx->send_size, in send_cmd()
695 sctx->total_send_size += sctx->send_size; in send_cmd()
[all …]
/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dqp.c2807 int send_size; in build_sriov_qp0_header() local
2815 send_size = 0; in build_sriov_qp0_header()
2818 send_size += wr->wr.sg_list[i].length; in build_sriov_qp0_header()
2823 send_size += sizeof (struct mlx4_ib_tunnel_header); in build_sriov_qp0_header()
2825 ib_ud_header_init(send_size, 1, 0, 0, 0, 0, 0, 0, &sqp->ud_header); in build_sriov_qp0_header()
2956 int send_size; in build_mlx_header() local
2968 send_size = 0; in build_mlx_header()
2970 send_size += wr->wr.sg_list[i].length; in build_mlx_header()
3007 err = ib_ud_header_init(send_size, !is_eth, is_eth, is_vlan, is_grh, in build_mlx_header()
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.h231 __le16 send_size; member
Dhns3_enet.c924 desc->tx.send_size = cpu_to_le16((u16)size); in hns3_fill_desc()
/Linux-v4.19/drivers/net/ethernet/hisilicon/
Dhip04_eth.c136 u32 send_size; member
449 desc->send_size = cpu_to_be32(skb->len); in hip04_mac_start_xmit()
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/
Dhnae.h181 __le16 send_size; member
Dhns_enet.c67 desc->tx.send_size = cpu_to_le16((u16)send_sz); in fill_v2_desc_hw()
169 desc->tx.send_size = cpu_to_le16((u16)size); in fill_desc()
/Linux-v4.19/sound/pci/hda/
Dpatch_ca0132.c1813 unsigned int ret_bytes, send_size, ret_size; in dspio_scp() local
1841 send_size = sizeof(unsigned int) + len; in dspio_scp()
1843 send_size, (unsigned char *)&scp_reply, in dspio_scp()