| /linux/drivers/staging/greybus/ |
| H A 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 …]
|
| /linux/drivers/accel/amdxdna/ |
| H A D | amdxdna_mailbox.c | 397 pkg_size = sizeof(*header) + msg->send_size; in xdna_mailbox_send_msg() 403 if (unlikely(!IS_ALIGNED(msg->send_size, 4))) { in xdna_mailbox_send_msg() 432 header->total_size = msg->send_size; in xdna_mailbox_send_msg() 433 header->sz_ver = FIELD_PREP(MSG_BODY_SZ, msg->send_size) | in xdna_mailbox_send_msg() 436 memcpy(mb_msg->pkg.payload, msg->send_data, msg->send_size); in xdna_mailbox_send_msg()
|
| /linux/drivers/infiniband/ulp/srpt/ |
| H A D | ib_dm_mad.h | 117 __be32 send_size; member
|
| H A D | ib_srpt.c | 425 iocp->send_size = cpu_to_be32(srp_max_req_size); in srpt_get_ioc()
|
| /linux/drivers/hv/ |
| H A D | channel.c | 169 u32 send_size, u32 recv_size) in vmbus_alloc_ring() argument 174 if (send_size % PAGE_SIZE || recv_size % PAGE_SIZE) in vmbus_alloc_ring() 178 order = get_order(send_size + recv_size); in vmbus_alloc_ring() 189 newchannel->ringbuffer_pagecount = (send_size + recv_size) >> PAGE_SHIFT; in vmbus_alloc_ring() 190 newchannel->ringbuffer_send_offset = send_size >> PAGE_SHIFT; in vmbus_alloc_ring()
|
| /linux/sound/soc/codecs/ |
| H A D | tas571x.c | 151 size_t send_size = 1 + len * sizeof(uint32_t); in tas571x_reg_write_multiword() local 153 buf = kzalloc(send_size, GFP_KERNEL | GFP_DMA); in tas571x_reg_write_multiword() 161 ret = i2c_master_send(client, buf, send_size); in tas571x_reg_write_multiword() 165 if (ret == send_size) in tas571x_reg_write_multiword()
|
| /linux/drivers/infiniband/hw/qedr/ |
| H A D | qedr_roce_cm.c | 387 int send_size = 0; in qedr_gsi_build_header() local 403 send_size = 0; in qedr_gsi_build_header() 405 send_size += swr->sg_list[i].length; in qedr_gsi_build_header() 425 rc = ib_ud_header_init(send_size, false, true, has_vlan, in qedr_gsi_build_header()
|
| /linux/fs/btrfs/ |
| H A D | send.c | 141 u32 send_size; member 664 int left = sctx->send_max_size - sctx->send_size; in tlv_put() 672 hdr = (struct btrfs_tlv_header *) (sctx->send_buf + sctx->send_size); in tlv_put() 676 sctx->send_size += total_len; in tlv_put() 781 if (unlikely(sctx->send_size != 0)) { in begin_cmd() 788 sctx->send_size += sizeof(*hdr); in begin_cmd() 802 put_unaligned_le32(sctx->send_size - sizeof(*hdr), &hdr->len); in send_cmd() 805 crc = crc32c(0, (unsigned char *)sctx->send_buf, sctx->send_size); in send_cmd() 808 ret = write_buf(sctx->send_filp, sctx->send_buf, sctx->send_size, in send_cmd() 811 sctx->send_size = 0; in send_cmd() [all …]
|
| /linux/drivers/infiniband/hw/mlx4/ |
| H A D | qp.c | 2879 int send_size; in build_sriov_qp0_header() local 2888 send_size = 0; in build_sriov_qp0_header() 2891 send_size += wr->wr.sg_list[i].length; in build_sriov_qp0_header() 2896 send_size += sizeof (struct mlx4_ib_tunnel_header); in build_sriov_qp0_header() 2898 ib_ud_header_init(send_size, 1, 0, 0, 0, 0, 0, 0, &sqp->ud_header); in build_sriov_qp0_header() 3032 int send_size; in build_mlx_header() local 3044 send_size = 0; in build_mlx_header() 3046 send_size += wr->wr.sg_list[i].length; in build_mlx_header() 3083 err = ib_ud_header_init(send_size, !is_eth, is_eth, is_vlan, is_grh, in build_mlx_header()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_enet.h | 267 __le16 send_size; member
|
| H A D | hns3_enet.c | 1710 desc->tx.send_size = cpu_to_le16(size); in hns3_fill_desc() 1727 desc->tx.send_size = cpu_to_le16((k == frag_buf_num - 1) ? in hns3_fill_desc()
|
| /linux/include/linux/ |
| H A D | hyperv.h | 1164 u32 send_size, u32 recv_size);
|
| /linux/drivers/net/ethernet/hisilicon/hns/ |
| H A D | hns_enet.c | 59 desc->tx.send_size = cpu_to_le16((u16)send_sz); in fill_v2_desc_hw() 162 desc->tx.send_size = cpu_to_le16((u16)size); in fill_desc()
|
| /linux/sound/hda/codecs/ |
| H A D | ca0132.c | 2350 unsigned int ret_bytes, send_size, ret_size; in dspio_scp() local 2378 send_size = sizeof(unsigned int) + len; in dspio_scp() 2380 send_size, (unsigned char *)&scp_reply, in dspio_scp()
|