/linux-6.1.9/drivers/char/tpm/ |
D | tpm_tis_spi_main.c | 81 u8 transfer_len; in tpm_tis_spi_transfer() local 86 transfer_len = min_t(u16, len, MAX_SPI_FRAMESIZE); in tpm_tis_spi_transfer() 88 phy->iobuf[0] = (in ? 0x80 : 0) | (transfer_len - 1); in tpm_tis_spi_transfer() 112 spi_xfer.len = transfer_len; in tpm_tis_spi_transfer() 119 memcpy(phy->iobuf, out, transfer_len); in tpm_tis_spi_transfer() 120 out += transfer_len; in tpm_tis_spi_transfer() 131 memcpy(in, phy->iobuf, transfer_len); in tpm_tis_spi_transfer() 132 in += transfer_len; in tpm_tis_spi_transfer() 135 len -= transfer_len; in tpm_tis_spi_transfer()
|
/linux-6.1.9/drivers/usb/musb/ |
D | tusb6010_omap.c | 46 u32 transfer_len; member 122 if (unlikely(remaining > chdat->transfer_len)) { in tusb_omap_dma_cb() 128 channel->actual_len = chdat->transfer_len - remaining; in tusb_omap_dma_cb() 131 dev_dbg(musb->controller, "DMA remaining %lu/%u\n", remaining, chdat->transfer_len); in tusb_omap_dma_cb() 138 buf = phys_to_virt((u32)chdat->dma_addr) + 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() [all …]
|
/linux-6.1.9/include/trace/events/ |
D | ufs.h | 271 unsigned int tag, u32 doorbell, int transfer_len, u32 intr, 274 TP_ARGS(dev_name, str_t, tag, doorbell, transfer_len, 282 __field(int, transfer_len) 294 __entry->transfer_len = transfer_len; 304 __entry->tag, __entry->doorbell, __entry->transfer_len,
|
/linux-6.1.9/drivers/staging/r8188eu/hal/ |
D | usb_ops_linux.c | 212 s32 transfer_len; in recvbuf2recvframe() local 222 transfer_len = (s32)pskb->len; in recvbuf2recvframe() 253 if ((pattrib->pkt_len <= 0) || (pkt_offset > transfer_len)) { in recvbuf2recvframe() 333 transfer_len -= pkt_offset; in recvbuf2recvframe() 338 if (transfer_len > 0 && pkt_cnt == 0) in recvbuf2recvframe() 341 } while ((transfer_len > 0) && (pkt_cnt > 0)); in recvbuf2recvframe()
|
/linux-6.1.9/drivers/spi/ |
D | spi-zynqmp-gqspi.c | 572 u32 transfer_len = 0; in zynqmp_qspi_fillgenfifo() local 578 transfer_len = xqspi->bytes_to_transfer; in zynqmp_qspi_fillgenfifo() 584 transfer_len = xqspi->dma_rx_bytes; in zynqmp_qspi_fillgenfifo() 586 transfer_len = xqspi->bytes_to_receive; in zynqmp_qspi_fillgenfifo() 591 transfer_len = xqspi->bytes_to_transfer; in zynqmp_qspi_fillgenfifo() 596 if ((transfer_len) < GQSPI_GENFIFO_IMM_DATA_MASK) { in zynqmp_qspi_fillgenfifo() 598 genfifoentry |= transfer_len; in zynqmp_qspi_fillgenfifo() 601 int tempcount = transfer_len; in zynqmp_qspi_fillgenfifo()
|
/linux-6.1.9/drivers/nvme/target/ |
D | io-cmd-file.c | 122 if (unlikely(ret != req->transfer_len)) in nvmet_file_io_done() 142 if (unlikely(pos + req->transfer_len > req->ns->size)) { in nvmet_file_execute_io() 169 if (WARN_ON_ONCE(total_len != req->transfer_len)) { in nvmet_file_execute_io()
|
D | tcp.c | 183 cmd->rbytes_done < cmd->req.transfer_len; in nvmet_tcp_has_data_in() 194 cmd->req.transfer_len > 0 && in nvmet_tcp_need_data_out() 372 cmd->req.transfer_len += len; in nvmet_tcp_map_data() 396 (void *)&cmd->exp_ddgst, cmd->req.transfer_len); in nvmet_tcp_calc_ddgst() 417 cmd->req.transfer_len + ddgst); in nvmet_setup_c2h_data_pdu() 419 pdu->data_length = cpu_to_le32(cmd->req.transfer_len); in nvmet_setup_c2h_data_pdu() 450 pdu->r2t_length = cpu_to_le32(cmd->req.transfer_len - cmd->rbytes_done); in nvmet_setup_r2t_pdu() 585 cmd->wbytes_done + left < cmd->req.transfer_len || in nvmet_try_send_data() 1147 if (cmd->rbytes_done == cmd->req.transfer_len) in nvmet_tcp_try_recv_data() 1186 if (cmd->rbytes_done == cmd->req.transfer_len) in nvmet_tcp_try_recv_ddgst()
|
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() 233 if (req->transfer_len != NVME_MAX_CHANGED_NAMESPACES * sizeof(__le32)) in nvmet_execute_get_log_changed_ns() 243 status = nvmet_zero_sgl(req, len, req->transfer_len - len); in nvmet_execute_get_log_changed_ns()
|
D | fc.c | 2082 sg = sgl_alloc(fod->req.transfer_len, GFP_KERNEL, &nent); in nvmet_fc_alloc_tgt_pgs() 2143 xfr_length = fod->req.transfer_len; in nvmet_fc_prep_fcp_rsp() 2169 xfr_length != fod->req.transfer_len || in nvmet_fc_prep_fcp_rsp() 2239 u32 remaininglen = fod->req.transfer_len - fod->offset; in nvmet_fc_transfer_fcp_data() 2285 ((fod->offset + fcpreq->transfer_length) == fod->req.transfer_len) && in nvmet_fc_transfer_fcp_data() 2365 if (fod->offset != fod->req.transfer_len) { in nvmet_fc_fod_op_done() 2400 if (fod->offset != fod->req.transfer_len) { in nvmet_fc_fod_op_done() 2559 fod->req.transfer_len = xfrlen; in nvmet_fc_handle_fcp_rqst() 2564 if (fod->req.transfer_len) { in nvmet_fc_handle_fcp_rqst()
|
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() 616 req->transfer_len += req->metadata_len; in nvmet_rdma_set_sig_attrs() 876 rsp->req.transfer_len += len; in nvmet_rdma_map_sgl_inline() 888 rsp->req.transfer_len = get_unaligned_le24(sgl->length); in nvmet_rdma_map_sgl_keyed() 891 if (!rsp->req.transfer_len) in nvmet_rdma_map_sgl_keyed() 914 rsp->req.transfer_len = 0; in nvmet_rdma_map_sgl_keyed()
|
D | nvmet.h | 381 size_t transfer_len; member 683 return req->transfer_len <= NVMET_MAX_INLINE_DATA_LEN && in nvmet_use_inline_bvec()
|
D | core.c | 931 req->transfer_len = 0; in nvmet_req_init() 996 if (unlikely(len != req->transfer_len)) { in nvmet_check_transfer_len() 1008 if (unlikely(data_len > req->transfer_len)) { in nvmet_check_data_len_lte() 1019 return req->transfer_len - req->metadata_len; in nvmet_data_transfer_len()
|
D | loop.c | 166 iod->req.transfer_len = blk_rq_payload_bytes(req); in nvme_loop_queue_rq()
|
/linux-6.1.9/drivers/staging/rtl8712/ |
D | rtl8712_recv.c | 103 precvbuf->transfer_len = 0; in r8712_init_recvbuf() 975 u32 transfer_len; in recvbuf2recvframe() local 988 transfer_len = pskb->len; in recvbuf2recvframe() 993 if (transfer_len < pkt_len) { in recvbuf2recvframe() 1055 transfer_len -= pkt_offset; in recvbuf2recvframe() 1060 } while ((transfer_len > 0) && pkt_cnt > 0); in recvbuf2recvframe()
|
D | rtl8712_recv.h | 96 u32 transfer_len; member
|
D | recv_linux.c | 56 precvbuf->transfer_len = 0; in r8712_os_recvbuf_resource_alloc()
|
D | usb_ops_linux.c | 199 precvbuf->transfer_len = purb->actual_length; in r8712_usb_read_port_complete()
|
/linux-6.1.9/drivers/ufs/core/ |
D | ufshpb.c | 85 static bool ufshpb_is_supported_chunk(struct ufshpb_lu *hpb, int transfer_len) in ufshpb_is_supported_chunk() argument 87 return transfer_len <= hpb->pre_req_max_tr_len; in ufshpb_is_supported_chunk() 326 __be64 ppn, u8 transfer_len) in ufshpb_set_hpb_read_to_upiu() argument 337 cdb[14] = transfer_len; in ufshpb_set_hpb_read_to_upiu() 355 int transfer_len, rgn_idx, srgn_idx, srgn_offset; in ufshpb_prep() local 376 transfer_len = sectors_to_logical(cmd->device, in ufshpb_prep() 378 if (unlikely(!transfer_len)) in ufshpb_prep() 389 transfer_len, true); in ufshpb_prep() 393 if (!ufshpb_is_supported_chunk(hpb, transfer_len)) in ufshpb_prep() 402 transfer_len, false); in ufshpb_prep() [all …]
|
/linux-6.1.9/drivers/usb/cdns3/ |
D | cdnsp-ring.c | 925 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in cdnsp_finish_td() 1005 remaining = EVENT_TRB_LEN(le32_to_cpu(event->transfer_len)); in cdnsp_process_ctrl_td() 1055 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in cdnsp_process_isoc_td() 1056 remaining = EVENT_TRB_LEN(le32_to_cpu(event->transfer_len)); in cdnsp_process_isoc_td() 1140 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in cdnsp_process_bulk_intr_td() 1141 remaining = EVENT_TRB_LEN(le32_to_cpu(event->transfer_len)); in cdnsp_process_bulk_intr_td() 1243 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in cdnsp_handle_tx_event() 1421 le32_to_cpu(event->transfer_len), in cdnsp_handle_tx_event()
|
D | cdnsp-gadget.h | 861 __le32 transfer_len; member
|
/linux-6.1.9/drivers/net/wireless/ath/ath6kl/ |
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()
|
/linux-6.1.9/drivers/scsi/ |
D | script_asm.pl | 467 $transfer_len = $1; 475 &parse_value ($transfer_len, 0, 0, 3);
|
D | hpsa_cmd.h | 489 __le32 transfer_len; /* 0x1C - 0x1F */ member
|
D | ips.c | 3252 uint32_t transfer_len; in ips_map_status() local 3302 transfer_len = tapeDCDB->transfer_length; in ips_map_status() 3304 transfer_len = in ips_map_status() 3308 if ((scb->bus) && (transfer_len < scb->data_len)) { in ips_map_status()
|
/linux-6.1.9/drivers/usb/host/ |
D | xhci-ring.c | 2252 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_ctrl_td() 2254 remaining = EVENT_TRB_LEN(le32_to_cpu(event->transfer_len)); in process_ctrl_td() 2349 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_isoc_td() 2354 remaining = EVENT_TRB_LEN(le32_to_cpu(event->transfer_len)); in process_isoc_td() 2457 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_bulk_intr_td() 2458 remaining = EVENT_TRB_LEN(le32_to_cpu(event->transfer_len)); in process_bulk_intr_td() 2545 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in handle_tx_event() 2603 if (EVENT_TRB_LEN(le32_to_cpu(event->transfer_len)) == 0) in handle_tx_event() 2900 le32_to_cpu(event->transfer_len), in handle_tx_event()
|