Home
last modified time | relevance | path

Searched refs:req_len (Results 1 – 25 of 46) sorted by relevance

12

/drivers/net/wireless/zd1211rw/
Dzd_usb.c1711 int r, i, req_len, actual_req_len, try_count = 0; in zd_usb_ioread16v() local
1744 req_len = sizeof(struct usb_req_read_regs) + count * sizeof(__le16); in zd_usb_ioread16v()
1755 r = zd_ep_regs_out_msg(udev, req, req_len, &actual_req_len, 50 /*ms*/); in zd_usb_ioread16v()
1761 if (req_len != actual_req_len) { in zd_usb_ioread16v()
1764 req_len, actual_req_len); in zd_usb_ioread16v()
1883 int i, req_len; in zd_usb_iowrite16v_async() local
1914 req_len = sizeof(struct usb_req_write_regs) + in zd_usb_iowrite16v_async()
1916 req = kmalloc(req_len, GFP_KERNEL); in zd_usb_iowrite16v_async()
1934 req, req_len, iowrite16v_urb_complete, usb, in zd_usb_iowrite16v_async()
1938 req, req_len, iowrite16v_urb_complete, usb); in zd_usb_iowrite16v_async()
[all …]
/drivers/usb/gadget/udc/bdc/
Dbdc_ep.c393 u32 req_len; in setup_first_bd_ep0() local
396 req_len = req->usb_req.length; in setup_first_bd_ep0()
405 if ((wValue > req_len) && in setup_first_bd_ep0()
406 (req_len % bdc->gadget.ep0->maxpacket == 0)) { in setup_first_bd_ep0()
408 wValue, req_len, in setup_first_bd_ep0()
440 u32 req_len; in setup_bd_list_xfr() local
448 req_len = req->usb_req.length; in setup_bd_list_xfr()
453 __func__, ep->name, num_bds, tfs, req_len, bd); in setup_bd_list_xfr()
471 if (req_len > BD_MAX_BUFF_SIZE) { in setup_bd_list_xfr()
473 req_len -= BD_MAX_BUFF_SIZE; in setup_bd_list_xfr()
[all …]
/drivers/s390/crypto/
Dzcrypt_msgtype6.c426 if (CEIL4(xcRB->req_len) < xcRB->req_len) in xcrb_msg_to_type6_ep11cprb_msgx()
430 ap_msg->length = sizeof(struct type6_hdr) + xcRB->req_len; in xcrb_msg_to_type6_ep11cprb_msgx()
431 if (CEIL4(xcRB->req_len) > MSGTYPE06_MAX_MSG_SIZE - in xcrb_msg_to_type6_ep11cprb_msgx()
444 msg->hdr.ToCardLen1 = xcRB->req_len; in xcrb_msg_to_type6_ep11cprb_msgx()
449 (char __force __user *)xcRB->req, xcRB->req_len)) { in xcrb_msg_to_type6_ep11cprb_msgx()
/drivers/vfio/platform/
Dvfio_platform_common.c480 u64 req_len, pgoff, req_start; in vfio_platform_mmap_mmio() local
482 req_len = vma->vm_end - vma->vm_start; in vfio_platform_mmap_mmio()
487 if (region.size < PAGE_SIZE || req_start + req_len > region.size) in vfio_platform_mmap_mmio()
494 req_len, vma->vm_page_prot); in vfio_platform_mmap_mmio()
/drivers/iio/accel/
Dmma9551_core.c124 u8 req_len, err_code; in mma9551_transfer() local
132 req_len = 1 + MMA9551_MAILBOX_CTRL_REGS + num_inbytes; in mma9551_transfer()
147 out.len = req_len; in mma9551_transfer()
/drivers/scsi/snic/
Dsnic_io.c224 rqi->req_len = sizeof(struct snic_host_req); in snic_req_init()
232 rqi->req_len += (sg_cnt * sizeof(struct snic_sg_desc)); in snic_req_init()
241 memset(rqi->req, 0, rqi->req_len); in snic_req_init()
Dsnic_io.h81 u16 req_len; /* buf len passing to fw (req + sgl)*/ member
/drivers/scsi/mvsas/
Dmv_sas.c327 u32 req_len, resp_len, tag = tei->tag; in mvs_task_prep_smp() local
342 req_len = sg_dma_len(sg_req); in mvs_task_prep_smp()
353 if ((req_len & 0x3) || (resp_len & 0x3)) { in mvs_task_prep_smp()
401 hdr->lens = cpu_to_le32(((resp_len / 4) << 16) | ((req_len - 4) / 4)); in mvs_task_prep_smp()
456 u32 i, req_len, resp_len; in mvs_task_prep_ata() local
534 req_len = sizeof(struct host_to_dev_fis); in mvs_task_prep_ata()
540 hdr->lens = cpu_to_le32(((resp_len / 4) << 16) | (req_len / 4)); in mvs_task_prep_ata()
584 u32 resp_len, req_len, i, tag = tei->tag; in mvs_task_prep_ssp() local
653 req_len = sizeof(struct ssp_frame_hdr) + 28; in mvs_task_prep_ssp()
656 hdr->lens = cpu_to_le32(((resp_len / 4) << 16) | (req_len / 4)); in mvs_task_prep_ssp()
/drivers/vfio/pci/
Dvfio_pci.c886 u64 phys_len, req_len, pgoff, req_start; in vfio_pci_mmap() local
901 req_len = vma->vm_end - vma->vm_start; in vfio_pci_mmap()
906 if (phys_len < PAGE_SIZE || req_start + req_len > phys_len) in vfio_pci_mmap()
921 req_start + req_len <= vdev->msix_offset)) in vfio_pci_mmap()
947 req_len, vma->vm_page_prot); in vfio_pci_mmap()
/drivers/scsi/isci/
Dsas.h203 u8 req_len; /* byte 3 */ member
Drequest.c3191 u8 req_len; in sci_io_request_construct_smp() local
3201 if (smp_req->req_len == 0) { in sci_io_request_construct_smp()
3207 smp_req->req_len = 2; in sci_io_request_construct_smp()
3212 smp_req->req_len = 9; in sci_io_request_construct_smp()
3217 req_len = smp_req->req_len; in sci_io_request_construct_smp()
3265 task_context->ssp_command_iu_length = req_len; in sci_io_request_construct_smp()
/drivers/dma/
Dtegra20-apb-dma.c155 int req_len; member
540 return sg_req->req_len - (status & TEGRA_APBDMA_STATUS_COUNT_MASK) - 4; in get_current_xferred_count()
606 dma_desc->bytes_transferred += sgreq->req_len; in handle_once_dma_done()
637 (dma_desc->bytes_transferred + sgreq->req_len) % in handle_cont_sngl_cycle_dma_done()
1025 sg_req->req_len = len; in tegra_dma_prep_slave_sg()
1152 sg_req->req_len = len; in tegra_dma_prep_dma_cyclic()
/drivers/net/wan/
Dhdlc_ppp.c377 unsigned int req_len, const u8 *data) in ppp_cp_parse_cr() argument
382 unsigned int len = req_len, nak_len = 0, rej_len = 0; in ppp_cp_parse_cr()
429 ppp_cp_event(dev, pid, RCR_GOOD, CP_CONF_ACK, id, req_len, data); in ppp_cp_parse_cr()
/drivers/crypto/
Dmv_cesa.c709 int is_last, unsigned int req_len, in mv_init_hash_req_ctx() argument
714 ctx->count = req_len; in mv_init_hash_req_ctx()
721 unsigned req_len) in mv_update_hash_req_ctx() argument
724 ctx->count += req_len; in mv_update_hash_req_ctx()
/drivers/net/fjes/
Dfjes_hw.h179 u32 req_len; member
/drivers/scsi/lpfc/
Dlpfc_bsg.c1887 uint32_t req_len, alloc_len; in lpfc_sli4_bsg_set_link_diag_state() local
1894 req_len = (sizeof(struct lpfc_mbx_set_link_diag_state) - in lpfc_sli4_bsg_set_link_diag_state()
1898 req_len, LPFC_SLI4_MBX_EMBED); in lpfc_sli4_bsg_set_link_diag_state()
1899 if (alloc_len != req_len) { in lpfc_sli4_bsg_set_link_diag_state()
1947 uint32_t req_len, alloc_len; in lpfc_sli4_bsg_set_internal_loopback() local
1954 req_len = (sizeof(struct lpfc_mbx_set_link_diag_loopback) - in lpfc_sli4_bsg_set_internal_loopback()
1958 req_len, LPFC_SLI4_MBX_EMBED); in lpfc_sli4_bsg_set_internal_loopback()
1959 if (alloc_len != req_len) { in lpfc_sli4_bsg_set_internal_loopback()
2288 uint32_t req_len, alloc_len; in lpfc_sli4_bsg_link_diag_test() local
2351 req_len = (sizeof(struct lpfc_mbx_set_link_diag_state) - in lpfc_sli4_bsg_link_diag_test()
[all …]
Dlpfc_mbox.c2020 uint32_t alloc_len, req_len; in lpfc_sli4_mbx_read_fcf_rec() local
2026 req_len = sizeof(struct fcf_record) + in lpfc_sli4_mbx_read_fcf_rec()
2031 LPFC_MBOX_OPCODE_FCOE_READ_FCF_TABLE, req_len, in lpfc_sli4_mbx_read_fcf_rec()
2034 if (alloc_len < req_len) { in lpfc_sli4_mbx_read_fcf_rec()
2038 "size (x%x)\n", alloc_len, req_len); in lpfc_sli4_mbx_read_fcf_rec()
/drivers/usb/gadget/function/
Df_uac2.c1178 int req_len, i; in afunc_set_alt() local
1200 req_len = prm->max_psize; in afunc_set_alt()
1233 req_len = uac2->p_pktsize; in afunc_set_alt()
1259 req->length = req_len; in afunc_set_alt()
/drivers/net/wireless/brcm80211/brcmfmac/
Dcfg80211.h214 __le32 req_len; member
/drivers/usb/gadget/udc/
Dm66592-udc.c845 int rcv_len, bufsize, req_len; in irq_packet_read() local
867 req_len = req->req.length - req->req.actual; in irq_packet_read()
869 size = min(rcv_len, req_len); in irq_packet_read()
871 size = min(bufsize, req_len); in irq_packet_read()
Dr8a66597-udc.c1045 int rcv_len, bufsize, req_len; in irq_packet_read() local
1067 req_len = req->req.length - req->req.actual; in irq_packet_read()
1069 size = min(rcv_len, req_len); in irq_packet_read()
1071 size = min(bufsize, req_len); in irq_packet_read()
/drivers/net/wireless/ath/ath10k/
Dpci.c1701 void *req, u32 req_len, in ath10k_pci_hif_exchange_bmi_msg() argument
1723 treq = kmemdup(req, req_len, GFP_KERNEL); in ath10k_pci_hif_exchange_bmi_msg()
1727 req_paddr = dma_map_single(ar->dev, treq, req_len, DMA_TO_DEVICE); in ath10k_pci_hif_exchange_bmi_msg()
1755 ret = ath10k_ce_send(ce_tx, &xfer, req_paddr, req_len, -1, 0); in ath10k_pci_hif_exchange_bmi_msg()
1781 dma_unmap_single(ar->dev, req_paddr, req_len, DMA_TO_DEVICE); in ath10k_pci_hif_exchange_bmi_msg()
/drivers/scsi/qla2xxx/
Dqla_mr.h419 __le16 req_len; member
/drivers/net/wireless/ath/ath6kl/
Dusb.c931 u8 req_val, u8 *req_buf, u32 req_len, in ath6kl_usb_ctrl_msg_exchange() argument
938 req_buf, req_len); in ath6kl_usb_ctrl_msg_exchange()
/drivers/scsi/bnx2fc/
Dbnx2fc_els.c726 mp_req->req_len = data_len; in bnx2fc_initiate_els()
727 els_req->data_xfer_len = mp_req->req_len; in bnx2fc_initiate_els()

12