Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/watchdog/
Dmei_wdt.c169 const size_t req_len = sizeof(req); in mei_wdt_ping() local
172 memset(&req, 0, req_len); in mei_wdt_ping()
174 req.hdr.bytecount = req_len - offsetof(struct mei_mc_hdr, subcommand); in mei_wdt_ping()
179 ret = mei_cldev_send(wdt->cldev, (u8 *)&req, req_len); in mei_wdt_ping()
197 const size_t req_len = sizeof(req); in mei_wdt_stop() local
200 memset(&req, 0, req_len); in mei_wdt_stop()
202 req.hdr.bytecount = req_len - offsetof(struct mei_mc_hdr, subcommand); in mei_wdt_stop()
206 ret = mei_cldev_send(wdt->cldev, (u8 *)&req, req_len); in mei_wdt_stop()
/Linux-v5.4/fs/nfs/
Ddirect.c479 unsigned int req_len = min_t(size_t, bytes, PAGE_SIZE - pgbase); in nfs_direct_read_schedule_iovec() local
482 pgbase, req_len); in nfs_direct_read_schedule_iovec()
495 bytes -= req_len; in nfs_direct_read_schedule_iovec()
496 requested_bytes += req_len; in nfs_direct_read_schedule_iovec()
497 pos += req_len; in nfs_direct_read_schedule_iovec()
498 dreq->bytes_left -= req_len; in nfs_direct_read_schedule_iovec()
884 unsigned int req_len = min_t(size_t, bytes, PAGE_SIZE - pgbase); in nfs_direct_write_schedule_iovec() local
887 pgbase, req_len); in nfs_direct_write_schedule_iovec()
908 bytes -= req_len; in nfs_direct_write_schedule_iovec()
909 requested_bytes += req_len; in nfs_direct_write_schedule_iovec()
[all …]
/Linux-v5.4/drivers/char/tpm/
Dtpm_vtpm_proxy.c43 size_t req_len; /* length of queued TPM request */ member
80 proxy_dev->req_len != 0 || in vtpm_proxy_fops_read()
92 len = proxy_dev->req_len; in vtpm_proxy_fops_read()
103 proxy_dev->req_len = 0; in vtpm_proxy_fops_read()
147 proxy_dev->req_len = 0; in vtpm_proxy_fops_write()
182 if (proxy_dev->req_len) in vtpm_proxy_fops_poll()
354 proxy_dev->req_len = count; in vtpm_proxy_tpm_op_send()
/Linux-v5.4/drivers/dma/
Dbcm-sba-raid.c739 size_t req_len; in sba_prep_dma_memcpy() local
746 req_len = (len < sba->hw_buf_size) ? len : sba->hw_buf_size; in sba_prep_dma_memcpy()
749 req_len, flags); in sba_prep_dma_memcpy()
761 off += req_len; in sba_prep_dma_memcpy()
762 len -= req_len; in sba_prep_dma_memcpy()
878 size_t req_len; in sba_prep_dma_xor() local
889 req_len = (len < sba->hw_buf_size) ? len : sba->hw_buf_size; in sba_prep_dma_xor()
892 req_len, flags); in sba_prep_dma_xor()
904 off += req_len; in sba_prep_dma_xor()
905 len -= req_len; in sba_prep_dma_xor()
[all …]
Dtegra20-apb-dma.c150 unsigned int req_len; member
539 return sg_req->req_len - (status & TEGRA_APBDMA_STATUS_COUNT_MASK) - 4; in get_current_xferred_count()
605 dma_desc->bytes_transferred += sgreq->req_len; in handle_once_dma_done()
636 (dma_desc->bytes_transferred + sgreq->req_len) % in handle_cont_sngl_cycle_dma_done()
822 return sg_req->req_len; in tegra_dma_sg_bytes_xferred()
842 wcount = sg_req->req_len - 4; in tegra_dma_sg_bytes_xferred()
856 wcount = sg_req->req_len - 4; in tegra_dma_sg_bytes_xferred()
1101 sg_req->req_len = len; in tegra_dma_prep_slave_sg()
1235 sg_req->req_len = len; in tegra_dma_prep_dma_cyclic()
/Linux-v5.4/drivers/usb/gadget/function/
Du_audio.c374 int req_len, i; in u_audio_start_capture() local
379 req_len = prm->max_psize; in u_audio_start_capture()
395 req->length = req_len; in u_audio_start_capture()
427 int req_len, i; in u_audio_start_playback() local
454 req_len = uac->p_pktsize; in u_audio_start_playback()
471 req->length = req_len; in u_audio_start_playback()
/Linux-v5.4/include/linux/
Dfsi-occ.h22 int fsi_occ_submit(struct device *dev, const void *request, size_t req_len,
/Linux-v5.4/drivers/net/wireless/zydas/zd1211rw/
Dzd_usb.c1700 int r, i, req_len, actual_req_len, try_count = 0; in zd_usb_ioread16v() local
1733 req_len = sizeof(struct usb_req_read_regs) + count * sizeof(__le16); in zd_usb_ioread16v()
1744 r = zd_ep_regs_out_msg(udev, req, req_len, &actual_req_len, 50 /*ms*/); in zd_usb_ioread16v()
1750 if (req_len != actual_req_len) { in zd_usb_ioread16v()
1753 req_len, actual_req_len); in zd_usb_ioread16v()
1872 int i, req_len; in zd_usb_iowrite16v_async() local
1903 req_len = struct_size(req, reg_writes, count); in zd_usb_iowrite16v_async()
1904 req = kmalloc(req_len, GFP_KERNEL); in zd_usb_iowrite16v_async()
1922 req, req_len, iowrite16v_urb_complete, usb, in zd_usb_iowrite16v_async()
1926 req, req_len, iowrite16v_urb_complete, usb); in zd_usb_iowrite16v_async()
[all …]
/Linux-v5.4/drivers/scsi/ufs/
Dufs_bsg.c86 unsigned int req_len = job->request_len; in ufs_bsg_request() local
95 ret = ufs_bsg_verify_query_size(hba, req_len, reply_len); in ufs_bsg_request()
/Linux-v5.4/drivers/scsi/snic/
Dsnic_io.c255 rqi->req_len = sizeof(struct snic_host_req); in snic_req_init()
263 rqi->req_len += (sg_cnt * sizeof(struct snic_sg_desc)); in snic_req_init()
272 memset(rqi->req, 0, rqi->req_len); in snic_req_init()
375 rqi->req_len, in snic_req_free()
Dsnic_io.h81 u16 req_len; /* buf len passing to fw (req + sgl)*/ member
/Linux-v5.4/drivers/usb/gadget/udc/bdc/
Dbdc_ep.c387 u32 req_len; in setup_first_bd_ep0() local
390 req_len = req->usb_req.length; in setup_first_bd_ep0()
399 if ((wValue > req_len) && in setup_first_bd_ep0()
400 (req_len % bdc->gadget.ep0->maxpacket == 0)) { in setup_first_bd_ep0()
402 wValue, req_len, in setup_first_bd_ep0()
434 u32 req_len; in setup_bd_list_xfr() local
442 req_len = req->usb_req.length; in setup_bd_list_xfr()
447 __func__, ep->name, num_bds, tfs, req_len, bd); in setup_bd_list_xfr()
465 if (req_len > BD_MAX_BUFF_SIZE) { in setup_bd_list_xfr()
467 req_len -= BD_MAX_BUFF_SIZE; in setup_bd_list_xfr()
[all …]
/Linux-v5.4/drivers/vfio/pci/
Dvfio_pci_nvlink2.c334 unsigned long req_len = vma->vm_end - vma->vm_start; in vfio_pci_npu2_mmap() local
336 if (req_len != PAGE_SIZE) in vfio_pci_npu2_mmap()
343 req_len, vma->vm_page_prot); in vfio_pci_npu2_mmap()
/Linux-v5.4/drivers/iio/accel/
Dmma9551_core.c116 u8 req_len, err_code; in mma9551_transfer() local
124 req_len = 1 + MMA9551_MAILBOX_CTRL_REGS + num_inbytes; in mma9551_transfer()
139 out.len = req_len; in mma9551_transfer()
/Linux-v5.4/drivers/vfio/platform/
Dvfio_platform_common.c560 u64 req_len, pgoff, req_start; in vfio_platform_mmap_mmio() local
562 req_len = vma->vm_end - vma->vm_start; in vfio_platform_mmap_mmio()
567 if (region.size < PAGE_SIZE || req_start + req_len > region.size) in vfio_platform_mmap_mmio()
574 req_len, vma->vm_page_prot); in vfio_platform_mmap_mmio()
/Linux-v5.4/drivers/s390/crypto/
Dzcrypt_msgtype6.c526 if (CEIL4(xcRB->req_len) < xcRB->req_len) in xcrb_msg_to_type6_ep11cprb_msgx()
530 ap_msg->length = sizeof(struct type6_hdr) + xcRB->req_len; in xcrb_msg_to_type6_ep11cprb_msgx()
531 if (CEIL4(xcRB->req_len) > MSGTYPE06_MAX_MSG_SIZE - in xcrb_msg_to_type6_ep11cprb_msgx()
544 msg->hdr.ToCardLen1 = xcRB->req_len; in xcrb_msg_to_type6_ep11cprb_msgx()
549 (char __force __user *)xcRB->req, xcRB->req_len)) { in xcrb_msg_to_type6_ep11cprb_msgx()
/Linux-v5.4/drivers/scsi/isci/
Dsas.h203 u8 req_len; /* byte 3 */ member
/Linux-v5.4/drivers/scsi/mvsas/
Dmv_sas.c311 u32 req_len, resp_len, tag = tei->tag; in mvs_task_prep_smp() local
326 req_len = sg_dma_len(sg_req); in mvs_task_prep_smp()
337 if ((req_len & 0x3) || (resp_len & 0x3)) { in mvs_task_prep_smp()
385 hdr->lens = cpu_to_le32(((resp_len / 4) << 16) | ((req_len - 4) / 4)); in mvs_task_prep_smp()
443 u32 i, req_len, resp_len; in mvs_task_prep_ata() local
521 req_len = sizeof(struct host_to_dev_fis); in mvs_task_prep_ata()
527 hdr->lens = cpu_to_le32(((resp_len / 4) << 16) | (req_len / 4)); in mvs_task_prep_ata()
571 u32 resp_len, req_len, i, tag = tei->tag; in mvs_task_prep_ssp() local
640 req_len = sizeof(struct ssp_frame_hdr) + 28; in mvs_task_prep_ssp()
643 hdr->lens = cpu_to_le32(((resp_len / 4) << 16) | (req_len / 4)); in mvs_task_prep_ssp()
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dusb.c536 u8 req_val, u8 *req_buf, u32 req_len, in ath10k_usb_ctrl_msg_exchange() argument
544 req_buf, req_len); in ath10k_usb_ctrl_msg_exchange()
624 void *req, u32 req_len, in ath10k_usb_bmi_exchange_msg() argument
632 0, 0, req, req_len); in ath10k_usb_bmi_exchange_msg()
Dpci.h221 int ath10k_pci_hif_exchange_bmi_msg(struct ath10k *ar, void *req, u32 req_len,
/Linux-v5.4/arch/s390/include/uapi/asm/
Dzcrypt.h203 __u64 req_len; member
/Linux-v5.4/drivers/net/wan/
Dhdlc_ppp.c373 unsigned int req_len, const u8 *data) in ppp_cp_parse_cr() argument
378 unsigned int len = req_len, nak_len = 0, rej_len = 0; in ppp_cp_parse_cr()
424 ppp_cp_event(dev, pid, RCR_GOOD, CP_CONF_ACK, id, req_len, data); in ppp_cp_parse_cr()
/Linux-v5.4/arch/sparc/kernel/
Dds.c990 int req_len; member
1009 int req_len = qp->req_len; in process_ds_work() local
1020 cp->data(dp, cp, dpkt, req_len); in process_ds_work()
/Linux-v5.4/drivers/fsi/
Dfsi-occ.c407 int fsi_occ_submit(struct device *dev, const void *request, size_t req_len, in fsi_occ_submit() argument
432 rc = occ_putsram(occ, OCC_SRAM_CMD_ADDR, request, req_len); in fsi_occ_submit()
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.h202 __le32 req_len; member

123