Home
last modified time | relevance | path

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

12

/drivers/usb/gadget/function/
Duvc_video.c95 int len = video->req_size; in uvc_video_encode_bulk()
113 req->length = video->req_size - len; in uvc_video_encode_bulk()
139 unsigned int len = video->req_size; in uvc_video_encode_isoc_sg()
149 video->req_size); in uvc_video_encode_isoc_sg()
157 len + header_len : video->req_size; in uvc_video_encode_isoc_sg()
205 int len = video->req_size; in uvc_video_encode_isoc()
217 req->length = video->req_size - len; in uvc_video_encode_isoc()
497 video->req_size = 0; in uvc_video_free_requests()
505 unsigned int req_size; in uvc_video_alloc_requests() local
509 BUG_ON(video->req_size); in uvc_video_alloc_requests()
[all …]
Duvc_queue.c47 unsigned int req_size; in uvc_queue_setup() local
57 req_size = video->ep->maxpacket in uvc_queue_setup()
64 nreq = DIV_ROUND_UP(DIV_ROUND_UP(sizes[0], 2), req_size); in uvc_queue_setup()
Duvc.h106 unsigned int req_size; member
/drivers/net/wireless/marvell/libertas/
Dif_sdio.c502 u16 req_size; in if_sdio_prog_helper() local
504 req_size = sdio_readb(card->func, IF_SDIO_RD_BASE, &ret); in if_sdio_prog_helper()
508 req_size |= sdio_readb(card->func, IF_SDIO_RD_BASE + 1, &ret) << 8; in if_sdio_prog_helper()
512 if (req_size != 0) in if_sdio_prog_helper()
544 size_t size, req_size; in if_sdio_prog_real() local
568 req_size = sdio_readb(card->func, IF_SDIO_RD_BASE, in if_sdio_prog_real()
573 req_size |= sdio_readb(card->func, IF_SDIO_RD_BASE + 1, in if_sdio_prog_real()
585 if ((size != fw->size) || (req_size > 2)) in if_sdio_prog_real()
597 if (req_size == 0) { in if_sdio_prog_real()
603 if (req_size & 0x01) { in if_sdio_prog_real()
[all …]
/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c463 u32 req_size; in pqi_build_csmi_smp_passthru_buffer() local
470 req_size = job->request_payload.payload_len; in pqi_build_csmi_smp_passthru_buffer()
488 if (req_size > SMP_CRC_FIELD_LENGTH) in pqi_build_csmi_smp_passthru_buffer()
489 req_size -= SMP_CRC_FIELD_LENGTH; in pqi_build_csmi_smp_passthru_buffer()
491 put_unaligned_le32(req_size, &parameters->request_length); in pqi_build_csmi_smp_passthru_buffer()
496 req_size); in pqi_build_csmi_smp_passthru_buffer()
/drivers/virt/gunyah/
Drsc_mgr_rpc.c571 size_t req_size; in gunyah_rm_vm_set_demand_paging() local
573 req_size = struct_size(req, ranges, count); in gunyah_rm_vm_set_demand_paging()
574 if (req_size == SIZE_MAX) in gunyah_rm_vm_set_demand_paging()
577 req = kzalloc(req_size, GFP_KERNEL); in gunyah_rm_vm_set_demand_paging()
586 req_size, NULL, NULL); in gunyah_rm_vm_set_demand_paging()
/drivers/scsi/
Dvirtio_scsi.c427 size_t req_size, size_t resp_size) in __virtscsi_add_cmd() argument
444 sg_init_one(&req, &cmd->req, req_size); in __virtscsi_add_cmd()
493 size_t req_size, size_t resp_size, in virtscsi_add_cmd() argument
501 err = __virtscsi_add_cmd(vq->vq, cmd, req_size, resp_size); in virtscsi_add_cmd()
569 int req_size; in virtscsi_queuecommand() local
588 req_size = sizeof(cmd->req.cmd_pi); in virtscsi_queuecommand()
594 req_size = sizeof(cmd->req.cmd); in virtscsi_queuecommand()
598 ret = virtscsi_add_cmd(req_vq, cmd, req_size, sizeof(cmd->resp.cmd), kick); in virtscsi_queuecommand()
Dhptiop.c1281 u32 offset, i, req_size; in hptiop_probe() local
1397 req_size = struct_size_t(struct hpt_iop_request_scsi_command, in hptiop_probe()
1399 if ((req_size & 0x1f) != 0) in hptiop_probe()
1400 req_size = (req_size + 0x1f) & ~0x1f; in hptiop_probe()
1405 set_config.max_host_request_size = cpu_to_le16(req_size); in hptiop_probe()
1424 dprintk("req_size=%d, max_requests=%d\n", req_size, hba->max_requests); in hptiop_probe()
1426 hba->req_size = req_size; in hptiop_probe()
1431 hba->req_size + 0x20, in hptiop_probe()
1475 hba->req_size + 0x20, in hptiop_probe()
1562 hba->req_size + 0x20, in hptiop_remove()
/drivers/staging/greybus/
Dcamera.c531 size_t req_size; in gb_camera_configure_streams() local
538 req_size = sizeof(*req) + nstreams * sizeof(req->config[0]); in gb_camera_configure_streams()
541 req = kmalloc(req_size, GFP_KERNEL); in gb_camera_configure_streams()
576 req, req_size, in gb_camera_configure_streams()
659 size_t req_size; in gb_camera_capture() local
665 req_size = sizeof(*req) + settings_size; in gb_camera_capture()
666 req = kmalloc(req_size, GFP_KERNEL); in gb_camera_capture()
684 req, req_size, NULL, 0); in gb_camera_capture()
/drivers/scsi/qla2xxx/
Dqla_gs.c47 ms_pkt->req_bytecount = cpu_to_le32(arg->req_size); in qla2x00_prep_ms_iocb()
83 ct_pkt->cmd_byte_count = cpu_to_le32(arg->req_size); in qla24xx_prep_ms_iocb()
216 arg.req_size = GA_NXT_REQ_SIZE; in qla2x00_ga_nxt()
308 arg.req_size = GID_PT_REQ_SIZE; in qla2x00_gid_pt()
386 arg.req_size = GPN_ID_REQ_SIZE; in qla2x00_gpn_id()
453 arg.req_size = GNN_ID_REQ_SIZE; in qla2x00_gnn_id()
639 sp->u.iocb_cmd.u.ctarg.req_size = RFT_ID_REQ_SIZE; in qla_async_rftid()
733 sp->u.iocb_cmd.u.ctarg.req_size = RFF_ID_REQ_SIZE; in qla_async_rffid()
824 sp->u.iocb_cmd.u.ctarg.req_size = RNN_ID_REQ_SIZE; in qla_async_rnnid()
937 sp->u.iocb_cmd.u.ctarg.req_size = 24 + 1 + ct_req->req.rsnn_nn.name_len; in qla_async_rsnn_nn()
[all …]
/drivers/infiniband/hw/bnxt_re/
Dqplib_rcfw.c259 crsqe->req_size = __get_cmdq_base_cmd_size(msg->req, msg->req_sz); in __send_message_no_waiter()
330 crsqe->req_size = __get_cmdq_base_cmd_size(msg->req, msg->req_sz); in __send_message()
626 u32 qp_id, tbl_indx, req_size; in bnxt_qplib_process_qp_event() local
695 req_size = crsqe->req_size; in bnxt_qplib_process_qp_event()
698 crsqe->req_size = 0; in bnxt_qplib_process_qp_event()
704 hwq->cons += req_size; in bnxt_qplib_process_qp_event()
Dqplib_sp.c909 int req_size; in bnxt_qplib_modify_cc() local
916 req_size = sizeof(*req); in bnxt_qplib_modify_cc()
943 req_size = sizeof(tlv_req); in bnxt_qplib_modify_cc()
957 bnxt_qplib_fill_cmdqmsg(&msg, cmd, &resp, NULL, req_size, in bnxt_qplib_modify_cc()
Dqplib_rcfw.h154 u32 req_size; member
/drivers/char/hw_random/
Doptee-rng.c74 void *buf, size_t req_size) in get_optee_rng_data() argument
93 param[0].u.memref.size = req_size; in get_optee_rng_data()
/drivers/vhost/
Dscsi.c230 size_t req_size, rsp_size; member
998 } else if (unlikely(vc->out_size < vc->req_size)) { in vhost_scsi_chk_size()
1001 vc->req_size, vc->out_size); in vhost_scsi_chk_size()
1014 if (unlikely(!copy_from_iter_full(vc->req, vc->req_size, in vhost_scsi_get_req()
1085 vc.req_size = sizeof(v_req_pi); in vhost_scsi_handle_vq()
1090 vc.req_size = sizeof(v_req); in vhost_scsi_handle_vq()
1127 if (vc.out_size > vc.req_size) { in vhost_scsi_handle_vq()
1129 exp_data_len = vc.out_size - vc.req_size; in vhost_scsi_handle_vq()
1426 vc.req_size = sizeof(struct virtio_scsi_ctrl_tmf_req); in vhost_scsi_ctl_handle_vq()
1434 vc.req_size = sizeof(struct virtio_scsi_ctrl_an_req); in vhost_scsi_ctl_handle_vq()
[all …]
/drivers/gpu/drm/
Ddrm_buddy.c335 u64 req_size = mm->chunk_size << order; in alloc_range_bias() local
375 if (round_down(adjusted_end + 1, req_size) <= in alloc_range_bias()
376 round_up(adjusted_start, req_size)) in alloc_range_bias()
/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_rep.c56 void *req, int req_size, in lio_vf_rep_send_soft_command() argument
66 octeon_alloc_soft_command(oct, req_size, in lio_vf_rep_send_soft_command()
75 memcpy(sc_req, req, req_size); in lio_vf_rep_send_soft_command()
/drivers/net/ethernet/netronome/nfp/
Dccm.h120 nfp_ccm_mbox_msg_alloc(struct nfp_net *nn, unsigned int req_size,
Dccm_mbox.c690 nfp_ccm_mbox_msg_alloc(struct nfp_net *nn, unsigned int req_size, in nfp_ccm_mbox_msg_alloc() argument
699 max_size = max(req_size, reply_size); in nfp_ccm_mbox_msg_alloc()
706 skb_put(skb, req_size); in nfp_ccm_mbox_msg_alloc()
/drivers/infiniband/core/
Drdma_core.h105 u8 req_size; member
Duverbs_main.c521 if (hdr->in_words * 8 < method_elm->req_size) in verify_hdr()
549 if (count < method_elm->req_size + sizeof(*hdr)) { in verify_hdr()
624 in_len - method_elm->req_size; in ib_uverbs_write()
625 in_len = method_elm->req_size; in ib_uverbs_write()
/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.h188 int req_value, void *req_addr, int req_size);
/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-hdcp.c54 u16 req_size) in cdns_mhdp_secure_mailbox_recv_header() argument
72 (opcode != HDCP_TRAN_IS_REC_ID_VALID && req_size != mbox_size)) { in cdns_mhdp_secure_mailbox_recv_header()
/drivers/infiniband/hw/erdma/
Derdma_cmdq.c410 int erdma_post_cmd_wait(struct erdma_cmdq *cmdq, void *req, u32 req_size, in erdma_post_cmd_wait() argument
430 push_cmdq_sqe(cmdq, req, req_size, comp_wait); in erdma_post_cmd_wait()
/drivers/net/wireless/intel/iwlwifi/fw/api/
Ddbg-tlv.h199 __le32 req_size; member

12