/openbmc/linux/drivers/char/tpm/ |
H A D | tpm_tis_spi_main.c | 87 u8 transfer_len; in tpm_tis_spi_transfer_half() local 113 out += transfer_len; in tpm_tis_spi_transfer_half() 121 spi_xfer[2].len = transfer_len; in tpm_tis_spi_transfer_half() 132 in += transfer_len; in tpm_tis_spi_transfer_half() 135 len -= transfer_len; in tpm_tis_spi_transfer_half() 148 u8 transfer_len; in tpm_tis_spi_transfer_full() local 179 spi_xfer.len = transfer_len; in tpm_tis_spi_transfer_full() 187 out += transfer_len; in tpm_tis_spi_transfer_full() 198 memcpy(in, phy->iobuf, transfer_len); in tpm_tis_spi_transfer_full() 199 in += transfer_len; in tpm_tis_spi_transfer_full() [all …]
|
/openbmc/linux/drivers/usb/musb/ |
H A D | tusb6010_omap.c | 46 u32 transfer_len; member 122 if (unlikely(remaining > chdat->transfer_len)) { in tusb_omap_dma_cb() 141 chdat->transfer_len, in tusb_omap_dma_cb() 146 chdat->transfer_len, in tusb_omap_dma_cb() 164 if ((chdat->transfer_len < chdat->packet_sz) in tusb_omap_dma_cb() 165 || (chdat->transfer_len % chdat->packet_sz != 0)) { in tusb_omap_dma_cb() 231 chdat->transfer_len = len & ~0x1f; in tusb_omap_dma_program() 234 chdat->transfer_packet_sz = chdat->transfer_len; in tusb_omap_dma_program() 304 chdat->transfer_len, dma_dir, in tusb_omap_dma_program() 352 TUSB_EP_CONFIG_XFR_SIZE(chdat->transfer_len)); in tusb_omap_dma_program() [all …]
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | r8a66597-hcd.c | 383 if (dev->act_len >= transfer_len) in send_bulk_packet() 393 void *buffer, int transfer_len) in receive_bulk_packet() argument 411 (transfer_len + maxpacket - 1) / maxpacket, in receive_bulk_packet() 449 void *buffer, int transfer_len) in receive_control_packet() argument 594 int leni = transfer_len; in r8a66597_submit_rh_msg() 758 int transfer_len) in submit_bulk_msg() argument 765 pipe, buffer, transfer_len, dev->devnum); in submit_bulk_msg() 778 transfer_len); in submit_bulk_msg() 781 transfer_len); in submit_bulk_msg() 813 transfer_len) < 0) in submit_control_msg() [all …]
|
H A D | ohci-hcd.c | 290 transfer_len, dev->status); in pkt_print() 301 if (transfer_len > 0 && buffer) { in pkt_print() 304 transfer_len); in pkt_print() 544 size = (transfer_len == 0)? 2: in sohci_submit_job() 545 (transfer_len - 1) / 4096 + 3; in sohci_submit_job() 954 int data_len = transfer_len; in td_submit_job() 1246 int leni = transfer_len; in ohci_submit_rh_msg() 1697 int transfer_len) in submit_bulk_msg() argument 1705 int transfer_len, int interval) in submit_int_msg() argument 1753 transfer_len, setup); in _ohci_submit_control_msg() [all …]
|
H A D | xhci-ring.c | 497 BUG_ON(GET_COMP_CODE(le32_to_cpu(event->trans_event.transfer_len in abort_td() 520 (int)EVENT_TRB_LEN(le32_to_cpu(event->trans_event.transfer_len))); in record_transfer_result() 522 switch (GET_COMP_CODE(le32_to_cpu(event->trans_event.transfer_len))) { in record_transfer_result() 926 if (GET_COMP_CODE(le32_to_cpu(event->trans_event.transfer_len)) in xhci_ctrl_tx()
|
/openbmc/u-boot/drivers/usb/emul/ |
H A D | sandbox_flash.c | 56 int transfer_len; member 94 u16 transfer_len; member 227 ulong transfer_len) in handle_read() argument 229 debug("%s: lba=%lx, transfer_len=%lx\n", __func__, lba, transfer_len); in handle_read() 232 priv->read_len = transfer_len; in handle_read() 234 transfer_len * SANDBOX_FLASH_BLOCK_LEN); in handle_read() 284 be16_to_cpu(req->transfer_len)); in handle_ufi_command() 292 priv->phase = priv->transfer_len ? PHASE_DATA : PHASE_STATUS; in handle_ufi_command() 320 priv->transfer_len = cbw->dCBWDataTransferLength; in sandbox_flash_bulk()
|
/openbmc/u-boot/drivers/tpm/ |
H A D | tpm2_tis_spi.c | 76 int transfer_len, ret; in tpm_tis_spi_xfer() local 94 transfer_len = min_t(u16, len, MAX_SPI_FRAMESIZE); in tpm_tis_spi_xfer() 95 tx_buf[0] = (in ? BIT(7) : 0) | (transfer_len - 1); in tpm_tis_spi_xfer() 135 memcpy(tx_buf, out, transfer_len); in tpm_tis_spi_xfer() 136 out += transfer_len; in tpm_tis_spi_xfer() 139 ret = spi_xfer(slave, transfer_len * 8, in tpm_tis_spi_xfer() 151 memcpy(in, rx_buf, transfer_len); in tpm_tis_spi_xfer() 152 in += transfer_len; in tpm_tis_spi_xfer() 155 len -= transfer_len; in tpm_tis_spi_xfer()
|
/openbmc/linux/include/trace/events/ |
H A D | ufs.h | 271 unsigned int tag, u32 doorbell, u32 hwq_id, int transfer_len, 274 TP_ARGS(dev_name, str_t, tag, doorbell, hwq_id, transfer_len, 285 __field(int, transfer_len) 298 __entry->transfer_len = transfer_len; 306 __entry->tag, __entry->doorbell, __entry->transfer_len, __entry->intr,
|
/openbmc/linux/drivers/spi/ |
H A D | spi-pci1xxxx.c | 153 int mode, len, loop_iter, transfer_len; in pci1xxxx_spi_transfer_one() local 168 transfer_len = xfer->len; in pci1xxxx_spi_transfer_one() 175 loop_count = transfer_len / SPI_MAX_DATA_LEN; in pci1xxxx_spi_transfer_one() 176 if (transfer_len % SPI_MAX_DATA_LEN != 0) in pci1xxxx_spi_transfer_one() 181 if ((transfer_len % SPI_MAX_DATA_LEN != 0) && in pci1xxxx_spi_transfer_one() 183 len = transfer_len % SPI_MAX_DATA_LEN; in pci1xxxx_spi_transfer_one()
|
H A D | spi-zynqmp-gqspi.c | 673 u32 transfer_len = 0; in zynqmp_qspi_fillgenfifo() local 679 transfer_len = xqspi->bytes_to_transfer; in zynqmp_qspi_fillgenfifo() 685 transfer_len = xqspi->dma_rx_bytes; in zynqmp_qspi_fillgenfifo() 687 transfer_len = xqspi->bytes_to_receive; in zynqmp_qspi_fillgenfifo() 692 transfer_len = xqspi->bytes_to_transfer; in zynqmp_qspi_fillgenfifo() 697 if ((transfer_len) < GQSPI_GENFIFO_IMM_DATA_MASK) { in zynqmp_qspi_fillgenfifo() 699 genfifoentry |= transfer_len; in zynqmp_qspi_fillgenfifo() 702 int tempcount = transfer_len; in zynqmp_qspi_fillgenfifo()
|
/openbmc/qemu/include/hw/ssi/ |
H A D | pnv_spi.h | 42 uint8_t transfer_len; member
|
/openbmc/u-boot/include/ |
H A D | usb.h | 183 void *buffer, int transfer_len); 185 int transfer_len, struct devrequest *setup); 187 int transfer_len, int interval); 265 void *buffer, int transfer_len, int interval);
|
/openbmc/qemu/hw/dma/ |
H A D | xlnx_dpdma.c | 760 int64_t transfer_len = xlnx_dpdma_desc_get_transfer_size(&desc); in xlnx_dpdma_start_operation() local 765 while (transfer_len != 0) { in xlnx_dpdma_start_operation() 777 transfer_len -= line_size; in xlnx_dpdma_start_operation() 791 while ((transfer_len < 0) && (frag < 5)) { in xlnx_dpdma_start_operation() 806 transfer_len -= fragment_len; in xlnx_dpdma_start_operation()
|
/openbmc/linux/drivers/nvme/target/ |
H A D | io-cmd-file.c | 115 if (unlikely(ret != req->transfer_len)) in nvmet_file_io_done() 135 if (unlikely(pos + req->transfer_len > req->ns->size)) { in nvmet_file_execute_io() 163 if (WARN_ON_ONCE(total_len != req->transfer_len)) { in nvmet_file_execute_io()
|
H A D | tcp.c | 211 cmd->rbytes_done < cmd->req.transfer_len; in nvmet_tcp_has_data_in() 222 cmd->req.transfer_len > 0 && in nvmet_tcp_need_data_out() 401 cmd->req.transfer_len += len; in nvmet_tcp_map_data() 425 (void *)&cmd->exp_ddgst, cmd->req.transfer_len); in nvmet_tcp_calc_ddgst() 446 cmd->req.transfer_len + ddgst); in nvmet_setup_c2h_data_pdu() 448 pdu->data_length = cpu_to_le32(cmd->req.transfer_len); in nvmet_setup_c2h_data_pdu() 479 pdu->r2t_length = cpu_to_le32(cmd->req.transfer_len - cmd->rbytes_done); in nvmet_setup_r2t_pdu() 621 cmd->wbytes_done + left < cmd->req.transfer_len || in nvmet_try_send_data() 1198 if (cmd->rbytes_done == cmd->req.transfer_len) in nvmet_tcp_try_recv_data() 1237 if (cmd->rbytes_done == cmd->req.transfer_len) in nvmet_tcp_try_recv_ddgst()
|
H A D | fc.c | 2096 sg = sgl_alloc(fod->req.transfer_len, GFP_KERNEL, &nent); in nvmet_fc_alloc_tgt_pgs() 2157 xfr_length = fod->req.transfer_len; in nvmet_fc_prep_fcp_rsp() 2183 xfr_length != fod->req.transfer_len || in nvmet_fc_prep_fcp_rsp() 2253 u32 remaininglen = fod->req.transfer_len - fod->offset; in nvmet_fc_transfer_fcp_data() 2299 ((fod->offset + fcpreq->transfer_length) == fod->req.transfer_len) && in nvmet_fc_transfer_fcp_data() 2379 if (fod->offset != fod->req.transfer_len) { in nvmet_fc_fod_op_done() 2414 if (fod->offset != fod->req.transfer_len) { in nvmet_fc_fod_op_done() 2574 fod->req.transfer_len = xfrlen; in nvmet_fc_handle_fcp_rqst() 2579 if (fod->req.transfer_len) { in nvmet_fc_handle_fcp_rqst()
|
H A D | admin-cmd.c | 45 nvmet_req_complete(req, nvmet_zero_sgl(req, 0, req->transfer_len)); in nvmet_execute_get_log_page_noop() 139 if (req->transfer_len != sizeof(*log)) in nvmet_execute_get_log_page_smart() 235 if (req->transfer_len != NVME_MAX_CHANGED_NAMESPACES * sizeof(__le32)) in nvmet_execute_get_log_changed_ns() 245 status = nvmet_zero_sgl(req, len, req->transfer_len - len); in nvmet_execute_get_log_changed_ns()
|
H A D | rdma.c | 197 rsp->req.transfer_len && in nvmet_rdma_need_data_in() 204 rsp->req.transfer_len && in nvmet_rdma_need_data_out() 608 req->transfer_len += req->metadata_len; in nvmet_rdma_set_sig_attrs() 868 rsp->req.transfer_len += len; in nvmet_rdma_map_sgl_inline() 880 rsp->req.transfer_len = get_unaligned_le24(sgl->length); in nvmet_rdma_map_sgl_keyed() 883 if (!rsp->req.transfer_len) in nvmet_rdma_map_sgl_keyed() 906 rsp->req.transfer_len = 0; in nvmet_rdma_map_sgl_keyed()
|
/openbmc/linux/drivers/staging/rtl8712/ |
H A D | rtl8712_recv.c | 104 precvbuf->transfer_len = 0; in r8712_init_recvbuf() 976 u32 transfer_len; in recvbuf2recvframe() local 989 transfer_len = pskb->len; in recvbuf2recvframe() 994 if (transfer_len < pkt_len) { in recvbuf2recvframe() 1056 transfer_len -= pkt_offset; in recvbuf2recvframe() 1061 } while ((transfer_len > 0) && pkt_cnt > 0); in recvbuf2recvframe()
|
H A D | rtl8712_recv.h | 96 u32 transfer_len; member
|
H A D | recv_linux.c | 56 precvbuf->transfer_len = 0; in r8712_os_recvbuf_resource_alloc()
|
/openbmc/qemu/hw/ssi/ |
H A D | pnv_spi.c | 223 for (int offset = 0; offset < payload->len; offset += s->transfer_len) { in transfer() 225 for (int i = 0; i < s->transfer_len; i++) { in transfer() 233 for (int i = 0; i < s->transfer_len; i++) { in transfer() 238 (rx >> (8 * (s->transfer_len - 1) - i * 8)) & 0xFF; in transfer() 1200 DEFINE_PROP_UINT8("transfer_len", PnvSpi, transfer_len, 4),
|
/openbmc/linux/drivers/bluetooth/ |
H A D | hci_bcm4377.c | 1142 size_t i, left, transfer_len; in __bcm4378_send_calibration() local 1152 for (i = 0, left = data_size; i < blocks; ++i, left -= transfer_len) { in __bcm4378_send_calibration() 1153 transfer_len = in __bcm4378_send_calibration() 1158 transfer_len, blocks - i - 1); in __bcm4378_send_calibration() 1268 size_t i, left, transfer_len; in bcm4378_send_ptb() local 1271 for (i = 0, left = fw->size; i < chunks; ++i, left -= transfer_len) { in bcm4378_send_ptb() 1272 transfer_len = min_t(size_t, left, BCM4378_PTB_CHUNK_SIZE); in bcm4378_send_ptb() 1278 transfer_len, chunks - i - 1); in bcm4378_send_ptb()
|
/openbmc/linux/drivers/usb/cdns3/ |
H A D | cdnsp-ring.c | 927 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in cdnsp_finish_td() 1007 remaining = EVENT_TRB_LEN(le32_to_cpu(event->transfer_len)); in cdnsp_process_ctrl_td() 1057 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in cdnsp_process_isoc_td() 1058 remaining = EVENT_TRB_LEN(le32_to_cpu(event->transfer_len)); in cdnsp_process_isoc_td() 1142 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in cdnsp_process_bulk_intr_td() 1143 remaining = EVENT_TRB_LEN(le32_to_cpu(event->transfer_len)); in cdnsp_process_bulk_intr_td() 1245 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in cdnsp_handle_tx_event() 1430 le32_to_cpu(event->transfer_len), in cdnsp_handle_tx_event()
|
/openbmc/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | htc_pipe.c | 99 unsigned int transfer_len; in get_htc_packet_credit_based() local 116 transfer_len = packet->act_len + HTC_HDR_LENGTH; in get_htc_packet_credit_based() 118 if (transfer_len <= target->tgt_cred_sz) { in get_htc_packet_credit_based() 122 credits_required = transfer_len / target->tgt_cred_sz; in get_htc_packet_credit_based() 123 remainder = transfer_len % target->tgt_cred_sz; in get_htc_packet_credit_based()
|