/linux/drivers/i2c/busses/ |
A D | i2c-virtio.c | 58 struct virtio_i2c_req *reqs, in virtio_i2c_prepare_reqs() argument 67 init_completion(&reqs[i].completion); in virtio_i2c_prepare_reqs() 81 sg_init_one(&out_hdr, &reqs[i].out_hdr, sizeof(reqs[i].out_hdr)); in virtio_i2c_prepare_reqs() 86 if (!reqs[i].buf) in virtio_i2c_prepare_reqs() 97 sg_init_one(&in_hdr, &reqs[i].in_hdr, sizeof(reqs[i].in_hdr)); in virtio_i2c_prepare_reqs() 110 struct virtio_i2c_req *reqs, in virtio_i2c_complete_reqs() argument 117 struct virtio_i2c_req *req = &reqs[i]; in virtio_i2c_complete_reqs() 138 struct virtio_i2c_req *reqs; in virtio_i2c_xfer() local 141 reqs = kcalloc(num, sizeof(*reqs), GFP_KERNEL); in virtio_i2c_xfer() 142 if (!reqs) in virtio_i2c_xfer() [all …]
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
A D | dpu_rm.c | 283 struct dpu_rm_requirements *reqs) in _dpu_rm_check_lm_and_get_connected_blks() argument 308 if (!reqs->topology.num_dspp) in _dpu_rm_check_lm_and_get_connected_blks() 338 if (!reqs->topology.num_lm) { in _dpu_rm_reserve_lms() 354 &dspp_idx[lm_count], reqs)) { in _dpu_rm_reserve_lms() 375 reqs)) { in _dpu_rm_reserve_lms() 518 &reqs->topology); in _dpu_rm_make_reservation() 525 &reqs->hw_res); in _dpu_rm_make_reservation() 539 reqs->topology = req_topology; in _dpu_rm_populate_requirements() 542 reqs->topology.num_lm, reqs->topology.num_enc, in _dpu_rm_populate_requirements() 543 reqs->topology.num_intf); in _dpu_rm_populate_requirements() [all …]
|
/linux/drivers/virt/acrn/ |
A D | ioreq.c | 288 (req->reqs.pio_request.address == 0xcf8)); in is_cfg_addr() 294 ((req->reqs.pio_request.address >= 0xcfc) && in is_cfg_data() 324 WARN_ON(req->reqs.pio_request.size != 4); in handle_cf8cfc() 332 if (req->reqs.pio_request.direction == in handle_cf8cfc() 334 req->reqs.pio_request.value = 0xffffffff; in handle_cf8cfc() 341 req->reqs.pci_request.bus = in handle_cf8cfc() 343 req->reqs.pci_request.dev = in handle_cf8cfc() 345 req->reqs.pci_request.func = in handle_cf8cfc() 349 req->reqs.pci_request.reg = pci_reg + offset; in handle_cf8cfc() 368 (req->reqs.mmio_request.address + in in_range() [all …]
|
A D | ioeventfd.c | 204 if (req->reqs.mmio_request.direction == ACRN_IOREQ_DIR_READ) { in acrn_ioeventfd_handler() 206 req->reqs.mmio_request.value = 0; in acrn_ioeventfd_handler() 209 addr = req->reqs.mmio_request.address; in acrn_ioeventfd_handler() 210 size = req->reqs.mmio_request.size; in acrn_ioeventfd_handler() 211 val = req->reqs.mmio_request.value; in acrn_ioeventfd_handler() 213 if (req->reqs.pio_request.direction == ACRN_IOREQ_DIR_READ) { in acrn_ioeventfd_handler() 215 req->reqs.pio_request.value = 0; in acrn_ioeventfd_handler() 218 addr = req->reqs.pio_request.address; in acrn_ioeventfd_handler() 219 size = req->reqs.pio_request.size; in acrn_ioeventfd_handler() 220 val = req->reqs.pio_request.value; in acrn_ioeventfd_handler()
|
/linux/Documentation/filesystems/caching/ |
A D | fscache.rst | 244 | |nul=N |Number of acq reqs given a NULL parent | 246 | |noc=N |Number of acq reqs rejected due to no cache available | 248 | |ok=N |Number of acq reqs succeeded | 250 | |nbf=N |Number of acq reqs rejected due to error | 252 | |oom=N |Number of acq reqs failed on ENOMEM | 266 | |nul=N |Number of upd reqs given a NULL parent | 268 | |run=N |Number of upd reqs granted CPU time | 272 | |nul=N |Number of rlq reqs given a NULL parent | 274 | |wcr=N |Number of rlq reqs waited on completion of creation | 288 | |ok=N |Number of successful alloc reqs | [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
A D | pno.c | 49 pi->reqs[pi->n_reqs++] = req; in brcmf_pno_store_request() 66 if (pi->reqs[i]->reqid == reqid) in brcmf_pno_remove_request() 84 pi->reqs[i] = pi->reqs[i + 1]; in brcmf_pno_remove_request() 165 mac_addr = pi->reqs[i]->mac_addr; in brcmf_pno_set_random() 166 mac_mask = pi->reqs[i]->mac_addr_mask; in brcmf_pno_set_random() 188 pi->reqs[i]->reqid, pfn_mac.mac); in brcmf_pno_set_random() 315 sr = pi->reqs[i]; in brcmf_pno_prep_fwconfig() 330 sr = pi->reqs[i]; in brcmf_pno_prep_fwconfig() 372 r = pi->reqs[i]; in brcmf_pno_config_networks() 559 reqid = pi->reqs[bucket]->reqid; in brcmf_pno_find_reqid_by_bucket() [all …]
|
/linux/drivers/interconnect/ |
A D | core.c | 167 path->reqs[i].node = node; in path_init() 168 path->reqs[i].dev = dev; in path_init() 169 path->reqs[i].enabled = true; in path_init() 291 next = path->reqs[i].node; in apply_constraints() 583 path->reqs[i].tag = tag; in icc_set_tag() 637 old_avg = path->reqs[0].avg_bw; in icc_set_bw() 641 node = path->reqs[i].node; in icc_set_bw() 644 path->reqs[i].avg_bw = avg_bw; in icc_set_bw() 659 node = path->reqs[i].node; in icc_set_bw() 693 path->reqs[0].peak_bw); in __icc_enable() [all …]
|
A D | trace.h | 26 __string(dev, dev_name(p->reqs[i].dev)) 36 __assign_str(dev, dev_name(p->reqs[i].dev)); 62 __string(dev, dev_name(p->reqs[0].dev)) 68 __assign_str(dev, dev_name(p->reqs[0].dev));
|
A D | internal.h | 41 struct icc_req reqs[]; member
|
/linux/lib/ |
A D | test_firmware.c | 109 struct test_batched_req *reqs; member 141 if (!test_fw_config->reqs) in __test_release_all_firmware() 150 vfree(test_fw_config->reqs); in __test_release_all_firmware() 151 test_fw_config->reqs = NULL; in __test_release_all_firmware() 200 test_fw_config->reqs = NULL; in __test_firmware_config_init() 402 if (test_fw_config->reqs) { in config_num_requests_store() 449 if (test_fw_config->reqs) { in config_buf_size_store() 479 if (test_fw_config->reqs) { in config_file_offset_store() 832 test_fw_config->reqs = in trigger_batched_requests_store() 835 if (!test_fw_config->reqs) { in trigger_batched_requests_store() [all …]
|
/linux/drivers/pci/ |
A D | ats.c | 196 int pci_enable_pri(struct pci_dev *pdev, u32 reqs) in pci_enable_pri() argument 224 reqs = min(max_requests, reqs); in pci_enable_pri() 225 pdev->pri_reqs_alloc = reqs; in pci_enable_pri() 226 pci_write_config_dword(pdev, pri + PCI_PRI_ALLOC_REQ, reqs); in pci_enable_pri() 272 u32 reqs = pdev->pri_reqs_alloc; in pci_restore_pri_state() local 284 pci_write_config_dword(pdev, pri + PCI_PRI_ALLOC_REQ, reqs); in pci_restore_pri_state()
|
/linux/drivers/usb/gadget/function/ |
A D | u_audio.c | 52 struct usb_request **reqs; member 453 if (prm->reqs[i]) { in free_ep() 462 prm->reqs[i] = NULL; in free_ep() 513 if (!prm->reqs[i]) { in u_audio_start_capture() 518 prm->reqs[i] = req; in u_audio_start_capture() 629 if (!prm->reqs[i]) { in u_audio_start_playback() 634 prm->reqs[i] = req; in u_audio_start_playback() 1010 if (!prm->reqs) { in g_audio_setup() 1034 if (!prm->reqs) { in g_audio_setup() 1204 kfree(uac->p_prm.reqs); in g_audio_setup() [all …]
|
/linux/drivers/net/wireless/zydas/zd1211rw/ |
A D | zd_chip.c | 371 reqs[0].value = (mac_addr[3] << 24) in zd_write_mac_addr_common() 375 reqs[1].value = (mac_addr[5] << 8) in zd_write_mac_addr_common() 383 r = zd_iowrite32a_locked(chip, reqs, ARRAY_SIZE(reqs)); in zd_write_mac_addr_common() 393 static const struct zd_ioreq32 reqs[2] = { in zd_write_mac_addr() local 860 struct zd_ioreq32 reqs[3]; in set_aw_pt_bi() local 870 reqs[0].addr = CR_ATIM_WND_PERIOD; in set_aw_pt_bi() 871 reqs[0].value = s->atim_wnd_period; in set_aw_pt_bi() 872 reqs[1].addr = CR_PRE_TBTT; in set_aw_pt_bi() 873 reqs[1].value = s->pre_tbtt; in set_aw_pt_bi() 874 reqs[2].addr = CR_BCN_INTERVAL; in set_aw_pt_bi() [all …]
|
/linux/drivers/tee/optee/ |
A D | supp.c | 28 INIT_LIST_HEAD(&supp->reqs); in optee_supp_init() 54 list_for_each_entry_safe(req, req_tmp, &supp->reqs, link) { in optee_supp_release() 104 list_add_tail(&req->link, &supp->reqs); in optee_supp_thrd_req() 165 if (list_empty(&supp->reqs)) in supp_pop_entry() 168 req = list_first_entry(&supp->reqs, struct optee_supp_req, link); in supp_pop_entry()
|
/linux/samples/acrn/ |
A D | vm-sample.c | 119 port = io_req->reqs.pio_request.address; in main() 120 bytes = io_req->reqs.pio_request.size; in main() 121 in = (io_req->reqs.pio_request.direction == ACRN_IOREQ_DIR_READ); in main()
|
/linux/fs/nfs/ |
A D | direct.c | 541 LIST_HEAD(reqs); in nfs_direct_write_reschedule() 546 nfs_direct_write_scan_commit_list(dreq->inode, &reqs, &cinfo); in nfs_direct_write_reschedule() 548 nfs_direct_join_group(&reqs, dreq->inode); in nfs_direct_write_reschedule() 552 list_for_each_entry(req, &reqs, wb_list) in nfs_direct_write_reschedule() 561 list_for_each_entry_safe(req, tmp, &reqs, wb_list) { in nfs_direct_write_reschedule() 661 LIST_HEAD(reqs); in nfs_direct_write_clear_reqs() 664 nfs_direct_write_scan_commit_list(dreq->inode, &reqs, &cinfo); in nfs_direct_write_clear_reqs() 666 while (!list_empty(&reqs)) { in nfs_direct_write_clear_reqs() 667 req = nfs_list_entry(reqs.next); in nfs_direct_write_clear_reqs()
|
/linux/tools/testing/selftests/tc-testing/ |
A D | tdc.py | 71 reqs = [] 76 reqs.extend(t['plugins']['requires']) 78 reqs.append(t['plugins']['requires']) 81 reqs = get_unique_item(reqs) 82 return reqs 84 def load_required_plugins(self, reqs, parser, args, remaining): argument 92 for r in reqs:
|
/linux/drivers/mtd/nand/ |
A D | ecc.c | 463 const struct nand_ecc_props *reqs = nanddev_get_ecc_requirements(nand); in nand_ecc_is_strong_enough() local 468 if (conf->step_size == 0 || reqs->step_size == 0) in nand_ecc_is_strong_enough() 477 ds_corr = (mtd->writesize * reqs->strength) / reqs->step_size; in nand_ecc_is_strong_enough() 479 return corr >= ds_corr && conf->strength >= reqs->strength; in nand_ecc_is_strong_enough()
|
/linux/net/sunrpc/xprtrdma/ |
A D | backchannel.c | 29 int xprt_rdma_bc_setup(struct rpc_xprt *xprt, unsigned int reqs) in xprt_rdma_bc_setup() argument 34 trace_xprtrdma_cb_setup(r_xprt, reqs); in xprt_rdma_bc_setup() 135 void xprt_rdma_bc_destroy(struct rpc_xprt *xprt, unsigned int reqs) in xprt_rdma_bc_destroy() argument
|
/linux/drivers/net/ethernet/intel/ixgbevf/ |
A D | mbx.c | 157 hw->mbx.stats.reqs++; in ixgbevf_check_for_msg_vf() 308 mbx->stats.reqs = 0; in ixgbevf_init_mbx_params_vf()
|
/linux/drivers/scsi/ |
A D | hptiop.c | 191 req = hba->reqs[tag >> 8].req_virt; in hptiop_request_callback_mv() 242 req = hba->reqs[(_tag >> 4) & 0xff].req_virt; in hptiop_request_callback_mvfrey() 729 scp = hba->reqs[tag].scp; in hptiop_finish_scsi_req() 773 free_req(hba, &hba->reqs[tag]); in hptiop_finish_scsi_req() 783 req = hba->reqs[tag].req_virt; in hptiop_host_request_callback_itl() 788 req = hba->reqs[tag].req_virt; in hptiop_host_request_callback_itl() 1451 hba->reqs[i].next = NULL; in hptiop_probe() 1452 hba->reqs[i].req_virt = start_virt; in hptiop_probe() 1453 hba->reqs[i].req_shifted_phy = start_phy >> 5; in hptiop_probe() 1454 hba->reqs[i].index = i; in hptiop_probe() [all …]
|
/linux/drivers/net/ethernet/intel/igbvf/ |
A D | mbx.c | 162 hw->mbx.stats.reqs++; in e1000_check_for_msg_vf() 331 mbx->stats.reqs = 0; in e1000_init_mbx_params_vf()
|
/linux/drivers/net/ethernet/microsoft/mana/ |
A D | hw_channel.c | 202 rx_req = &hwc_rxq->msg_buf->reqs[rx_req_idx]; in mana_hwc_rx_event_handler() 398 dma_buf = kzalloc(struct_size(dma_buf, reqs, q_depth), GFP_KERNEL); in mana_hwc_alloc_dma_buf() 417 hwc_wr = &dma_buf->reqs[i]; in mana_hwc_alloc_dma_buf() 571 req = &hwc_rxq->msg_buf->reqs[i]; in mana_hwc_test_channel() 785 tx_wr = &txq->msg_buf->reqs[msg_id]; in mana_hwc_send_request()
|
/linux/sound/pci/hda/ |
A D | patch_ca0132.c | 194 .reqs = {0, 1}, 202 .reqs = {7, 8}, 210 .reqs = {2, 3}, 218 .reqs = {4, 5, 6}, 226 .reqs = {24, 23, 25}, 245 .reqs = {0, 1, 2, 3}, 253 .reqs = {6, 7, 8, 9}, 261 .reqs = {44, 45}, 269 .reqs = {4, 5}, 721 .reqs = {3, 4, 2} [all …]
|
/linux/fs/ |
A D | aio.c | 99 struct percpu_ref reqs; member 590 percpu_ref_exit(&ctx->reqs); in free_ioctx() 597 struct kioctx *ctx = container_of(ref, struct kioctx, reqs); in free_ioctx_reqs() 629 percpu_ref_kill(&ctx->reqs); in free_ioctx_users() 630 percpu_ref_put(&ctx->reqs); in free_ioctx_users() 752 if (percpu_ref_init(&ctx->reqs, free_ioctx_reqs, 0, GFP_KERNEL)) in ioctx_alloc() 780 percpu_ref_get(&ctx->reqs); /* free_ioctx_users() will drop this */ in ioctx_alloc() 803 percpu_ref_exit(&ctx->reqs); in ioctx_alloc() 1038 percpu_ref_get(&ctx->reqs); in aio_get_req() 1080 percpu_ref_put(&iocb->ki_ctx->reqs); in iocb_destroy()
|