Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/nfs/
Ddirect.c379 unsigned int req_len = min_t(size_t, bytes, PAGE_SIZE - pgbase); in nfs_direct_read_schedule_iovec() local
382 pgbase, req_len); in nfs_direct_read_schedule_iovec()
395 bytes -= req_len; in nfs_direct_read_schedule_iovec()
396 requested_bytes += req_len; in nfs_direct_read_schedule_iovec()
397 pos += req_len; in nfs_direct_read_schedule_iovec()
398 dreq->bytes_left -= req_len; in nfs_direct_read_schedule_iovec()
827 unsigned int req_len = min_t(size_t, bytes, PAGE_SIZE - pgbase); in nfs_direct_write_schedule_iovec() local
830 pgbase, req_len); in nfs_direct_write_schedule_iovec()
851 bytes -= req_len; in nfs_direct_write_schedule_iovec()
852 requested_bytes += req_len; in nfs_direct_write_schedule_iovec()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c151 unsigned int req_len; member
529 return sg_req->req_len - (status & TEGRA_APBDMA_STATUS_COUNT_MASK) - 4; in get_current_xferred_count()
591 dma_desc->bytes_transferred += sgreq->req_len; in handle_once_dma_done()
627 (dma_desc->bytes_transferred + sgreq->req_len) % in handle_cont_sngl_cycle_dma_done()
856 return sg_req->req_len; in tegra_dma_sg_bytes_xferred()
876 wcount = sg_req->req_len - 4; in tegra_dma_sg_bytes_xferred()
890 wcount = sg_req->req_len - 4; in tegra_dma_sg_bytes_xferred()
1146 sg_req->req_len = len; in tegra_dma_prep_slave_sg()
1281 sg_req->req_len = len; in tegra_dma_prep_dma_cyclic()
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Du_audio.c369 int req_len, i; in u_audio_start_capture() local
374 req_len = ep->maxpacket; in u_audio_start_capture()
390 req->length = req_len; in u_audio_start_capture()
422 int req_len, i; in u_audio_start_playback() local
451 req_len = uac->p_pktsize; in u_audio_start_playback()
468 req->length = req_len; in u_audio_start_playback()
/kernel/linux/linux-5.10/include/linux/
Dfsi-occ.h22 int fsi_occ_submit(struct device *dev, const void *request, size_t req_len,
/kernel/linux/linux-5.10/drivers/net/wireless/zydas/zd1211rw/
Dzd_usb.c1698 int r, i, req_len, actual_req_len, try_count = 0; in zd_usb_ioread16v() local
1731 req_len = sizeof(struct usb_req_read_regs) + count * sizeof(__le16); in zd_usb_ioread16v()
1742 r = zd_ep_regs_out_msg(udev, req, req_len, &actual_req_len, 50 /*ms*/); in zd_usb_ioread16v()
1748 if (req_len != actual_req_len) { in zd_usb_ioread16v()
1751 req_len, actual_req_len); in zd_usb_ioread16v()
1870 int i, req_len; in zd_usb_iowrite16v_async() local
1901 req_len = struct_size(req, reg_writes, count); in zd_usb_iowrite16v_async()
1902 req = kmalloc(req_len, GFP_KERNEL); in zd_usb_iowrite16v_async()
1920 req, req_len, iowrite16v_urb_complete, usb, in zd_usb_iowrite16v_async()
1924 req, req_len, iowrite16v_urb_complete, usb); in zd_usb_iowrite16v_async()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/ufs/
Dufs_bsg.c85 unsigned int req_len = job->request_len; in ufs_bsg_request() local
94 ret = ufs_bsg_verify_query_size(hba, req_len, reply_len); in ufs_bsg_request()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/vfio/pci/
Dvfio_pci_nvlink2.c336 unsigned long req_len = vma->vm_end - vma->vm_start; in vfio_pci_npu2_mmap() local
338 if (req_len != PAGE_SIZE) in vfio_pci_npu2_mmap()
345 req_len, vma->vm_page_prot); in vfio_pci_npu2_mmap()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/vfio/platform/
Dvfio_platform_common.c558 u64 req_len, pgoff, req_start; in vfio_platform_mmap_mmio() local
560 req_len = vma->vm_end - vma->vm_start; in vfio_platform_mmap_mmio()
565 if (region.size < PAGE_SIZE || req_start + req_len > region.size) in vfio_platform_mmap_mmio()
572 req_len, vma->vm_page_prot); in vfio_platform_mmap_mmio()
/kernel/linux/linux-5.10/drivers/s390/crypto/
Dzcrypt_msgtype6.c529 if (CEIL4(xcRB->req_len) < xcRB->req_len) in xcrb_msg_to_type6_ep11cprb_msgx()
533 ap_msg->len = sizeof(struct type6_hdr) + xcRB->req_len; in xcrb_msg_to_type6_ep11cprb_msgx()
534 if (CEIL4(xcRB->req_len) > MSGTYPE06_MAX_MSG_SIZE - in xcrb_msg_to_type6_ep11cprb_msgx()
547 msg->hdr.ToCardLen1 = xcRB->req_len; in xcrb_msg_to_type6_ep11cprb_msgx()
552 (char __force __user *)xcRB->req, xcRB->req_len)) { in xcrb_msg_to_type6_ep11cprb_msgx()
/kernel/linux/linux-5.10/drivers/scsi/isci/
Dsas.h203 u8 req_len; /* byte 3 */ member
/kernel/linux/linux-5.10/fs/hmdfs/comm/
Dconnection.c276 __u32 req_len; in hs_proc_msg_data() local
291 req_len = le32_to_cpu(hs_req->len); in hs_proc_msg_data()
292 if (req_len > (data_len - sizeof(struct connection_handshake_req))) { in hs_proc_msg_data()
295 req_len, data_len, conn_impl->node->device_id); in hs_proc_msg_data()
299 data_len - sizeof(struct connection_handshake_req) - req_len; in hs_proc_msg_data()
301 sizeof(struct connection_handshake_req) + req_len; in hs_proc_msg_data()
/kernel/linux/linux-5.10/drivers/scsi/mvsas/
Dmv_sas.c309 u32 req_len, resp_len, tag = tei->tag; in mvs_task_prep_smp() local
324 req_len = sg_dma_len(sg_req); in mvs_task_prep_smp()
335 if ((req_len & 0x3) || (resp_len & 0x3)) { in mvs_task_prep_smp()
383 hdr->lens = cpu_to_le32(((resp_len / 4) << 16) | ((req_len - 4) / 4)); in mvs_task_prep_smp()
441 u32 i, req_len, resp_len; in mvs_task_prep_ata() local
519 req_len = sizeof(struct host_to_dev_fis); in mvs_task_prep_ata()
525 hdr->lens = cpu_to_le32(((resp_len / 4) << 16) | (req_len / 4)); in mvs_task_prep_ata()
569 u32 resp_len, req_len, i, tag = tei->tag; in mvs_task_prep_ssp() local
638 req_len = sizeof(struct ssp_frame_hdr) + 28; in mvs_task_prep_ssp()
641 hdr->lens = cpu_to_le32(((resp_len / 4) << 16) | (req_len / 4)); in mvs_task_prep_ssp()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dusb.c545 u8 req_val, u8 *req_buf, u32 req_len, in ath10k_usb_ctrl_msg_exchange() argument
553 req_buf, req_len); in ath10k_usb_ctrl_msg_exchange()
633 void *req, u32 req_len, in ath10k_usb_bmi_exchange_msg() argument
641 0, 0, req, req_len); in ath10k_usb_bmi_exchange_msg()
Dpci.h226 int ath10k_pci_hif_exchange_bmi_msg(struct ath10k *ar, void *req, u32 req_len,
/kernel/linux/linux-5.10/drivers/net/wan/
Dhdlc_ppp.c374 unsigned int req_len, const u8 *data) in ppp_cp_parse_cr() argument
379 unsigned int len = req_len, nak_len = 0, rej_len = 0; in ppp_cp_parse_cr()
426 ppp_cp_event(dev, pid, RCR_GOOD, CP_CONF_ACK, id, req_len, data); in ppp_cp_parse_cr()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/
Dzcrypt.h203 __u64 req_len; member
/kernel/linux/linux-5.10/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()

123