/openbmc/u-boot/drivers/tee/optee/ |
H A D | rpmb.c | 117 ulong req_size, void *rsp, ulong rsp_size) in rpmb_process_request() argument 122 if (req_size < sizeof(*sreq)) in rpmb_process_request() 131 req_size - sizeof(struct rpmb_req), in rpmb_process_request() 137 if (req_size != sizeof(struct rpmb_req) || in rpmb_process_request() 156 ulong req_size; in optee_suppl_cmd_rpmb() local 168 req_size = arg->params[0].u.rmem.size; in optee_suppl_cmd_rpmb() 174 arg->ret = rpmb_process_request(dev_get_priv(dev), req_buf, req_size, in optee_suppl_cmd_rpmb()
|
/openbmc/linux/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-bootmem.c | 217 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 …]
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | uvc_video.c | 95 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() 321 video->req_size = 0; in uvc_video_free_requests() 328 unsigned int req_size; in uvc_video_alloc_requests() local 332 BUG_ON(video->req_size); in uvc_video_alloc_requests() 334 req_size = video->ep->maxpacket in uvc_video_alloc_requests() [all …]
|
H A D | uvc_queue.c | 47 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()
|
/openbmc/linux/mm/ |
H A D | readahead.c | 436 unsigned long req_size, in try_context_readahead() argument 447 if (size <= req_size) in try_context_readahead() 458 ra->size = min(size + req_size, max); in try_context_readahead() 552 struct folio *folio, unsigned long req_size) in ondemand_readahead() argument 566 if (req_size > max_pages && bdi->io_pages > max_pages) in ondemand_readahead() 567 max_pages = min(req_size, bdi->io_pages); in ondemand_readahead() 607 ra->size += req_size; in ondemand_readahead() 616 if (req_size > max_pages) in ondemand_readahead() 640 do_page_cache_ra(ractl, req_size, 0); in ondemand_readahead() 645 ra->size = get_init_ra_size(req_size, max_pages); in ondemand_readahead() [all …]
|
/openbmc/qemu/audio/ |
H A D | dsoundaudio.c | 457 size_t req_size; in dsound_get_buffer_out() local 461 req_size = MIN(*size, hw->size_emul - hw->pos_emul); in dsound_get_buffer_out() 462 assert(req_size > 0); in dsound_get_buffer_out() 464 err = dsound_lock_out(dsb, &hw->info, hw->pos_emul, req_size, &ret, NULL, in dsound_get_buffer_out() 543 size_t req_size; in dsound_get_buffer_in() local 559 req_size = audio_ring_dist(rpos, hw->pos_emul, hw->size_emul); in dsound_get_buffer_in() 560 req_size = MIN(*size, MIN(req_size, hw->size_emul - hw->pos_emul)); in dsound_get_buffer_in() 562 if (req_size == 0) { in dsound_get_buffer_in() 567 err = dsound_lock_in(dscb, &hw->info, hw->pos_emul, req_size, &ret, NULL, in dsound_get_buffer_in()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | nvram_64.c | 52 .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 …]
|
/openbmc/linux/drivers/net/wireless/marvell/libertas/ |
H A D | if_sdio.c | 502 u16 req_size; in if_sdio_prog_helper() local 512 if (req_size != 0) in if_sdio_prog_helper() 544 size_t size, req_size; in if_sdio_prog_real() local 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() 609 if (req_size > size) in if_sdio_prog_real() 610 req_size = size; in if_sdio_prog_real() 612 while (req_size) { in if_sdio_prog_real() 613 chunk_size = min_t(size_t, req_size, 512); in if_sdio_prog_real() [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | tpm-util.h | 24 const unsigned char *req, size_t req_size, 28 const unsigned char *req, size_t req_size,
|
H A D | tpm-tis-util.h | 24 const unsigned char *req, size_t req_size,
|
H A D | tpm-util.c | 24 const unsigned char *req, size_t req_size, in tpm_util_crb_transfer() argument 32 qtest_memwrite(s, caddr, req, req_size); in tpm_util_crb_transfer()
|
H A D | tpm-tis-util.c | 454 const unsigned char *req, size_t req_size, in tpm_tis_transfer() argument 467 g_assert_cmpint(bcount, >=, req_size); in tpm_tis_transfer() 470 for (i = 0; i < req_size; i++) { in tpm_tis_transfer()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | nvram.h | 27 int req_size; /* desired size, in bytes */ member 64 int req_size, int min_size);
|
/openbmc/linux/drivers/scsi/smartpqi/ |
H A D | smartpqi_sas_transport.c | 463 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, ¶meters->request_length); in pqi_build_csmi_smp_passthru_buffer() 496 req_size); in pqi_build_csmi_smp_passthru_buffer()
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | mirror-change-copy-mode | 137 req_size = image_size // reqs 174 req_size = image_size // 2 // reqs
|
/openbmc/linux/drivers/scsi/ |
H A D | virtio_scsi.c | 427 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()
|
H A D | hptiop.c | 1281 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()
|
/openbmc/linux/sound/soc/sh/rcar/ |
H A D | adg.c | 497 int i, req_size; in rsnd_adg_get_clkout() local 520 req_size = prop->length / sizeof(u32); in rsnd_adg_get_clkout() 521 if (req_size > ADG_HZ_SIZE) { in rsnd_adg_get_clkout() 526 of_property_read_u32_array(np, "clock-frequency", req_rate, req_size); in rsnd_adg_get_clkout() 529 for (i = 0; i < req_size; i++) { in rsnd_adg_get_clkout()
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | camera.c | 531 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()
|
/openbmc/linux/drivers/char/hw_random/ |
H A D | optee-rng.c | 74 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()
|
/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_gs.c | 47 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() 1417 ms_pkt->req_bytecount = cpu_to_le32(req_size); in qla2x00_prep_ms_fdmi_iocb() 1453 ct_pkt->cmd_byte_count = cpu_to_le32(req_size); in qla24xx_prep_ms_fdmi_iocb() 2544 arg.req_size = GFPN_ID_REQ_SIZE; in qla2x00_gfpn_id() 2658 arg.req_size = GPSC_REQ_SIZE; in qla2x00_gpsc() [all …]
|
/openbmc/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_rcfw.c | 259 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()
|
/openbmc/linux/arch/um/drivers/ |
H A D | vector_kern.h | 99 int req_size; /* different from max packet - used for TSO */ member
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-bootmem.h | 273 int64_t cvmx_bootmem_phy_alloc(uint64_t req_size, uint64_t address_min,
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | ccm.h | 120 nfp_ccm_mbox_msg_alloc(struct nfp_net *nn, unsigned int req_size,
|