Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/tpm/
H A Dtpm_atmel_twi.c72 const uint8_t *sendbuf, size_t send_size, in tpm_atmel_twi_xfer() argument
80 printf("send to TPM (%d bytes, recv_len=%d):\n", send_size, *recv_len); in tpm_atmel_twi_xfer()
81 print_buffer(0, (void *)sendbuf, 1, send_size, 0); in tpm_atmel_twi_xfer()
85 res = i2c_write(0x29, 0, 0, (uchar *)sendbuf, send_size); in tpm_atmel_twi_xfer()
87 res = dm_i2c_write(dev, 0, sendbuf, send_size); in tpm_atmel_twi_xfer()
H A Dtpm-uclass.c68 int tpm_xfer(struct udevice *dev, const uint8_t *sendbuf, size_t send_size, in tpm_xfer() argument
78 return ops->xfer(dev, sendbuf, send_size, recvbuf, recv_size); in tpm_xfer()
91 if (count > send_size) { in tpm_xfer()
92 debug("invalid count value %x %zx\n", count, send_size); in tpm_xfer()
97 ret = ops->send(dev, sendbuf, send_size); in tpm_xfer()
H A Dtpm_tis_sandbox.c141 size_t send_size, uint8_t *recvbuf, in sandbox_tpm_xfer() argument
151 printf("tpm: %zd bytes, recv_len %zd, cmd = %x\n", send_size, in sandbox_tpm_xfer()
153 print_buffer(0, sendbuf, 1, send_size, 0); in sandbox_tpm_xfer()
/OK3568_Linux_fs/kernel/drivers/staging/greybus/
H A Duart.c230 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 …]
/OK3568_Linux_fs/u-boot/include/
H A Dtpm.h310 size_t send_size);
353 size_t send_size, uint8_t *recvbuf, size_t *recv_size);
407 int tpm_xfer(struct udevice *dev, const uint8_t *sendbuf, size_t send_size,
/OK3568_Linux_fs/kernel/drivers/hv/
H A Dchannel.c165 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()
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dtas571x.c151 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()
/OK3568_Linux_fs/kernel/drivers/infiniband/ulp/srpt/
H A Dib_dm_mad.h117 __be32 send_size; member
H A Dib_srpt.c359 iocp->send_size = cpu_to_be32(srp_max_req_size); in srpt_get_ioc()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/qedr/
H A Dqedr_roce_cm.c391 int send_size = 0; in qedr_gsi_build_header() local
407 send_size = 0; in qedr_gsi_build_header()
409 send_size += swr->sg_list[i].length; in qedr_gsi_build_header()
429 rc = ib_ud_header_init(send_size, false, true, has_vlan, in qedr_gsi_build_header()
/OK3568_Linux_fs/external/rk_pcba_test/
H A Decho_pcbatest_server.c683 static int tcp_command_creat(char *send_buf, int send_size, PCBA_SINGLE_PARA *send_paras) in tcp_command_creat() argument
708 if (strlen(out) > send_size) { in tcp_command_creat()
709 log_err("send command size is %d exceed %d \n", strlen(out), send_size); in tcp_command_creat()
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dsend.c82 u32 send_size; member
575 int left = sctx->send_max_size - sctx->send_size; in tlv_put()
580 hdr = (struct btrfs_tlv_header *) (sctx->send_buf + sctx->send_size); in tlv_put()
584 sctx->send_size += total_len; in tlv_put()
688 BUG_ON(sctx->send_size); in begin_cmd()
690 sctx->send_size += sizeof(*hdr); in begin_cmd()
704 put_unaligned_le32(sctx->send_size - sizeof(*hdr), &hdr->len); in send_cmd()
707 crc = btrfs_crc32c(0, (unsigned char *)sctx->send_buf, sctx->send_size); in send_cmd()
710 ret = write_buf(sctx->send_filp, sctx->send_buf, sctx->send_size, in send_cmd()
713 sctx->total_send_size += sctx->send_size; in send_cmd()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/
H A Dhip04_eth.c177 u16 send_size; member
185 u32 send_size;
530 desc->send_size = (__force u32)cpu_to_be32(skb->len); in hip04_mac_start_xmit()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx4/
H A Dqp.c2832 int send_size; in build_sriov_qp0_header() local
2841 send_size = 0; in build_sriov_qp0_header()
2844 send_size += wr->wr.sg_list[i].length; in build_sriov_qp0_header()
2849 send_size += sizeof (struct mlx4_ib_tunnel_header); in build_sriov_qp0_header()
2851 ib_ud_header_init(send_size, 1, 0, 0, 0, 0, 0, 0, &sqp->ud_header); in build_sriov_qp0_header()
2985 int send_size; in build_mlx_header() local
2997 send_size = 0; in build_mlx_header()
2999 send_size += wr->wr.sg_list[i].length; in build_mlx_header()
3036 err = ib_ud_header_init(send_size, !is_eth, is_eth, is_vlan, is_grh, in build_mlx_header()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.h226 __le16 send_size; member
H A Dhns3_debugfs.c213 le16_to_cpu(tx_desc->tx.send_size)); in hns3_dbg_bd_info()
H A Dhns3_enet.c1125 desc->tx.send_size = cpu_to_le16(size); in hns3_fill_desc()
1142 desc->tx.send_size = cpu_to_le16((k == frag_buf_num - 1) ? in hns3_fill_desc()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns/
H A Dhnae.h177 __le16 send_size; member
H A Dhns_enet.c61 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dhyperv.h1115 u32 send_size, u32 recv_size);
/OK3568_Linux_fs/kernel/sound/pci/hda/
H A Dpatch_ca0132.c2231 unsigned int ret_bytes, send_size, ret_size; in dspio_scp() local
2259 send_size = sizeof(unsigned int) + len; in dspio_scp()
2261 send_size, (unsigned char *)&scp_reply, in dspio_scp()