Home
last modified time | relevance | path

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

123

/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-bootmem.c217 int64_t cvmx_bootmem_phy_alloc(uint64_t req_size, uint64_t address_min, in cvmx_bootmem_phy_alloc() argument
232 (unsigned long long)req_size, in cvmx_bootmem_phy_alloc()
256 if (!req_size) in cvmx_bootmem_phy_alloc()
260 req_size = (req_size + (CVMX_BOOTMEM_ALIGNMENT_SIZE - 1)) & in cvmx_bootmem_phy_alloc()
270 address_max = address_min + req_size; in cvmx_bootmem_phy_alloc()
295 if (req_size > address_max - address_min) in cvmx_bootmem_phy_alloc()
340 && req_size <= usable_max - usable_base)) in cvmx_bootmem_phy_alloc()
349 desired_min_addr = usable_max - req_size; in cvmx_bootmem_phy_alloc()
359 if (req_size < ent_size) { in cvmx_bootmem_phy_alloc()
364 new_ent_addr = ent_addr + req_size; in cvmx_bootmem_phy_alloc()
[all …]
/linux/drivers/firmware/qcom/
H A Dqcom_qseecom_uefisecapp.c307 size_t req_size; in qsee_uefi_get_variable() local
323 req_size = qcuefi_buf_align_fields( in qsee_uefi_get_variable()
335 __reqdata_offs(req_size, &req_offs) in qsee_uefi_get_variable()
352 req_data->length = req_size; in qsee_uefi_get_variable()
361 cmd_buf + req_offs, req_size, in qsee_uefi_get_variable()
437 size_t req_size; in qsee_uefi_set_variable() local
457 req_size = qcuefi_buf_align_fields( in qsee_uefi_set_variable()
465 __reqdata_offs(req_size, &req_offs) in qsee_uefi_set_variable()
484 req_data->length = req_size; in qsee_uefi_set_variable()
496 cmd_buf + req_offs, req_size, in qsee_uefi_set_variable()
[all …]
/linux/drivers/usb/gadget/function/
H A 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()
499 video->req_size = 0; in uvc_video_free_requests()
507 unsigned int req_size; in uvc_video_alloc_requests() local
511 BUG_ON(video->req_size); in uvc_video_alloc_requests()
[all …]
H A 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()
H A Duvc.h106 unsigned int req_size; member
/linux/drivers/net/wireless/marvell/libertas/
H A 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 …]
/linux/arch/powerpc/kernel/
H A Dnvram_64.c52 .req_size = 2079,
61 .req_size = 4000,
293 part->req_size, part->min_size); in nvram_init_os_partition()
301 part->req_size, part->min_size); in nvram_init_os_partition()
844 int req_size, int min_size) in nvram_create_partition() argument
857 req_size = ALIGN(req_size, NVRAM_BLOCK_LEN) / NVRAM_BLOCK_LEN; in nvram_create_partition()
864 min_size = req_size; in nvram_create_partition()
865 if (min_size > req_size) in nvram_create_partition()
869 req_size += 1; in nvram_create_partition()
878 if (part->header.length >= req_size) { in nvram_create_partition()
[all …]
/linux/include/linux/firmware/qcom/
H A Dqcom_qseecom.h48 void *req, size_t req_size, in qcom_qseecom_app_send() argument
51 return qcom_scm_qseecom_app_send(client->app_id, req, req_size, rsp, rsp_size); in qcom_qseecom_app_send()
H A Dqcom_scm.h150 int qcom_scm_qseecom_app_send(u32 app_id, void *req, size_t req_size,
161 void *req, size_t req_size, in qcom_scm_qseecom_app_send() argument
/linux/arch/powerpc/include/asm/
H A Dnvram.h27 int req_size; /* desired size, in bytes */ member
64 int req_size, int min_size);
/linux/drivers/scsi/smartpqi/
H A 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()
/linux/drivers/scsi/
H A Dvirtio_scsi.c431 size_t req_size, size_t resp_size) in __virtscsi_add_cmd() argument
448 sg_init_one(&req, &cmd->req, req_size); in __virtscsi_add_cmd()
497 size_t req_size, size_t resp_size, in virtscsi_add_cmd() argument
505 err = __virtscsi_add_cmd(vq->vq, cmd, req_size, resp_size); in virtscsi_add_cmd()
573 int req_size; in virtscsi_queuecommand() local
592 req_size = sizeof(cmd->req.cmd_pi); in virtscsi_queuecommand()
598 req_size = sizeof(cmd->req.cmd); in virtscsi_queuecommand()
602 ret = virtscsi_add_cmd(req_vq, cmd, req_size, sizeof(cmd->resp.cmd), kick); in virtscsi_queuecommand()
H A 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()
/linux/sound/soc/sh/rcar/
H A Dadg.c504 int i, req_size; in rsnd_adg_get_clkout() local
527 req_size = prop->length / sizeof(u32); in rsnd_adg_get_clkout()
528 if (req_size > ADG_HZ_SIZE) { in rsnd_adg_get_clkout()
533 of_property_read_u32_array(np, "clock-frequency", req_rate, req_size); in rsnd_adg_get_clkout()
536 for (i = 0; i < req_size; i++) { in rsnd_adg_get_clkout()
/linux/drivers/staging/greybus/
H A Dcamera.c526 size_t req_size; in gb_camera_configure_streams() local
533 req_size = sizeof(*req) + nstreams * sizeof(req->config[0]); in gb_camera_configure_streams()
536 req = kmalloc(req_size, GFP_KERNEL); in gb_camera_configure_streams()
571 req, req_size, in gb_camera_configure_streams()
654 size_t req_size; in gb_camera_capture() local
660 req_size = sizeof(*req) + settings_size; in gb_camera_capture()
661 req = kmalloc(req_size, GFP_KERNEL); in gb_camera_capture()
679 req, req_size, NULL, 0); in gb_camera_capture()
/linux/drivers/scsi/qla2xxx/
H A 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 …]
/linux/drivers/char/hw_random/
H A 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()
/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_rcfw.c259 crsqe->req_size = __get_cmdq_base_cmd_size(msg->req, msg->req_sz); in __send_message_no_waiter()
329 crsqe->req_size = __get_cmdq_base_cmd_size(msg->req, msg->req_sz); in __send_message()
624 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()
/linux/sound/soc/intel/avs/
H A Ddsp.c300 int avs_dsp_create_pipeline(struct avs_dev *adev, u16 req_size, u8 priority, in avs_dsp_create_pipeline() argument
310 ret = avs_ipc_create_pipeline(adev, req_size, priority, id, lp, attributes); in avs_dsp_create_pipeline()
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-bootmem.h273 int64_t cvmx_bootmem_phy_alloc(uint64_t req_size, uint64_t address_min,
/linux/mm/
H A Dreadahead.c524 unsigned long req_size) in ractl_max_pages() argument
533 if (req_size > max_pages && bdi->io_pages > max_pages) in ractl_max_pages()
534 max_pages = min(req_size, bdi->io_pages); in ractl_max_pages()
/linux/drivers/net/ethernet/netronome/nfp/
H A Dccm.h120 nfp_ccm_mbox_msg_alloc(struct nfp_net *nn, unsigned int req_size,
/linux/drivers/vhost/
H A Dscsi.c231 size_t req_size, rsp_size; member
1009 } else if (unlikely(vc->out_size < vc->req_size)) { in vhost_scsi_chk_size()
1012 vc->req_size, vc->out_size); in vhost_scsi_chk_size()
1025 if (unlikely(!copy_from_iter_full(vc->req, vc->req_size, in vhost_scsi_get_req()
1099 vc.req_size = sizeof(v_req_pi); in vhost_scsi_handle_vq()
1104 vc.req_size = sizeof(v_req); in vhost_scsi_handle_vq()
1141 if (vc.out_size > vc.req_size) { in vhost_scsi_handle_vq()
1143 exp_data_len = vc.out_size - vc.req_size; in vhost_scsi_handle_vq()
1440 vc.req_size = sizeof(struct virtio_scsi_ctrl_tmf_req); in vhost_scsi_ctl_handle_vq()
1448 vc.req_size = sizeof(struct virtio_scsi_ctrl_an_req); in vhost_scsi_ctl_handle_vq()
[all …]
/linux/net/tipc/
H A Dnetlink_compat.c59 int req_size; member
282 if (msg->req_type && (!msg->req_size || in tipc_nl_compat_dumpit()
389 if (msg->req_type && (!msg->req_size || in tipc_nl_compat_doit()
1314 msg.req_size = nlmsg_attrlen(req_nlh, GENL_HDRLEN + TIPC_GENL_HDRLEN); in tipc_nl_compat_recv()
1315 if (msg.req_size && !TLV_OK(msg.req, msg.req_size)) { in tipc_nl_compat_recv()
/linux/drivers/infiniband/core/
H A Drdma_core.h105 u8 req_size; member

123