/linux-6.1.9/drivers/i2c/busses/ ! |
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() 73 reqs[i].out_hdr.addr = cpu_to_le16(msgs[i].addr << 1); in virtio_i2c_prepare_reqs() 76 reqs[i].out_hdr.flags |= cpu_to_le32(VIRTIO_I2C_FLAGS_M_RD); in virtio_i2c_prepare_reqs() 79 reqs[i].out_hdr.flags |= cpu_to_le32(VIRTIO_I2C_FLAGS_FAIL_NEXT); 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() 85 reqs[i].buf = i2c_get_dma_safe_msg_buf(&msgs[i], 1); in virtio_i2c_prepare_reqs() 86 if (!reqs[i].buf) in virtio_i2c_prepare_reqs() 89 sg_init_one(&msg_buf, reqs[i].buf, msgs[i].len); 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() [all …]
|
/linux-6.1.9/drivers/virt/acrn/ ! |
D | ioreq.c | 283 (req->reqs.pio_request.address == 0xcf8)); in is_cfg_addr() 289 ((req->reqs.pio_request.address >= 0xcfc) && in is_cfg_data() 290 (req->reqs.pio_request.address < (0xcfc + 4)))); in is_cfg_data() 319 WARN_ON(req->reqs.pio_request.size != 4); in handle_cf8cfc() 320 if (req->reqs.pio_request.direction == ACRN_IOREQ_DIR_WRITE) in handle_cf8cfc() 321 vm->pci_conf_addr = req->reqs.pio_request.value; in handle_cf8cfc() 323 req->reqs.pio_request.value = vm->pci_conf_addr; in handle_cf8cfc() 327 if (req->reqs.pio_request.direction == in handle_cf8cfc() 329 req->reqs.pio_request.value = 0xffffffff; in handle_cf8cfc() 332 offset = req->reqs.pio_request.address - 0xcfc; in handle_cf8cfc() [all …]
|
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-6.1.9/drivers/gpu/drm/msm/disp/dpu1/ ! |
D | dpu_rm.c | 317 struct dpu_rm_requirements *reqs) in _dpu_rm_check_lm_and_get_connected_blks() argument 342 if (!reqs->topology.num_dspp) in _dpu_rm_check_lm_and_get_connected_blks() 364 struct dpu_rm_requirements *reqs) in _dpu_rm_reserve_lms() argument 372 if (!reqs->topology.num_lm) { in _dpu_rm_reserve_lms() 373 DPU_ERROR("invalid number of lm: %d\n", reqs->topology.num_lm); in _dpu_rm_reserve_lms() 379 lm_count < reqs->topology.num_lm; i++) { in _dpu_rm_reserve_lms() 388 &dspp_idx[lm_count], reqs)) { in _dpu_rm_reserve_lms() 396 lm_count < reqs->topology.num_lm; j++) { in _dpu_rm_reserve_lms() 409 reqs)) { in _dpu_rm_reserve_lms() 418 if (lm_count != reqs->topology.num_lm) { in _dpu_rm_reserve_lms() [all …]
|
/linux-6.1.9/fs/cachefiles/ ! |
D | ondemand.c | 14 XA_STATE(xas, &cache->reqs, 0); in cachefiles_ondemand_fd_release() 16 xa_lock(&cache->reqs); in cachefiles_ondemand_fd_release() 31 xa_unlock(&cache->reqs); in cachefiles_ondemand_fd_release() 95 req = xa_erase(&cache->reqs, id); in cachefiles_ondemand_fd_ioctl() 148 req = xa_erase(&cache->reqs, id); in cachefiles_ondemand_copen() 245 XA_STATE(xas, &cache->reqs, cache->req_id_next); in cachefiles_ondemand_daemon_read() 252 xa_lock(&cache->reqs); in cachefiles_ondemand_daemon_read() 259 xa_unlock(&cache->reqs); in cachefiles_ondemand_daemon_read() 267 xa_unlock(&cache->reqs); in cachefiles_ondemand_daemon_read() 273 xa_unlock(&cache->reqs); in cachefiles_ondemand_daemon_read() [all …]
|
D | daemon.c | 115 xa_init_flags(&cache->reqs, XA_FLAGS_ALLOC); in cachefiles_daemon_open() 137 struct xarray *xa = &cache->reqs; in cachefiles_flush_reqs() 164 xa_destroy(&cache->reqs); in cachefiles_flush_reqs() 364 if (!xa_empty(&cache->reqs)) in cachefiles_daemon_poll()
|
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ ! |
D | pno.c | 34 struct cfg80211_sched_scan_request *reqs[BRCMF_PNO_MAX_BUCKETS]; member 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() 164 if (pi->reqs[ri]->flags & NL80211_SCAN_FLAG_RANDOM_ADDR) { in brcmf_pno_set_random() 165 mac_addr = pi->reqs[ri]->mac_addr; in brcmf_pno_set_random() 166 mac_mask = pi->reqs[ri]->mac_addr_mask; in brcmf_pno_set_random() 188 pi->reqs[ri]->reqid, pfn_mac.mac); in brcmf_pno_set_random() 313 *scan_freq = pi->reqs[0]->scan_plans[0].interval; in brcmf_pno_prep_fwconfig() 315 sr = pi->reqs[i]; in brcmf_pno_prep_fwconfig() [all …]
|
/linux-6.1.9/drivers/interconnect/ ! |
D | core.c | 158 path = kzalloc(struct_size(path, reqs, num_nodes), GFP_KERNEL); in path_init() 166 hlist_add_head(&path->reqs[i].req_node, &node->req_list); in path_init() 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() 638 old_peak = path->reqs[0].peak_bw; in icc_set_bw() 641 node = path->reqs[i].node; in icc_set_bw() [all …]
|
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));
|
D | internal.h | 41 struct icc_req reqs[]; member
|
/linux-6.1.9/drivers/pci/ ! |
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-6.1.9/lib/ ! |
D | test_firmware.c | 114 struct test_batched_req *reqs; member 172 if (!test_fw_config->reqs) in __test_release_all_firmware() 176 req = &test_fw_config->reqs[i]; in __test_release_all_firmware() 181 vfree(test_fw_config->reqs); in __test_release_all_firmware() 182 test_fw_config->reqs = NULL; in __test_release_all_firmware() 231 test_fw_config->reqs = NULL; in __test_firmware_config_init() 467 if (test_fw_config->reqs) { in config_num_requests_store() 514 if (test_fw_config->reqs) { in config_buf_size_store() 544 if (test_fw_config->reqs) { in config_file_offset_store() 897 test_fw_config->reqs = in trigger_batched_requests_store() [all …]
|
/linux-6.1.9/drivers/usb/gadget/function/ ! |
D | u_audio.c | 53 struct usb_request **reqs; member 454 if (prm->reqs[i]) { in free_ep() 455 if (usb_ep_dequeue(ep, prm->reqs[i])) in free_ep() 456 usb_ep_free_request(ep, prm->reqs[i]); in free_ep() 463 prm->reqs[i] = NULL; in free_ep() 608 if (!prm->reqs[i]) { in u_audio_start_capture() 613 prm->reqs[i] = req; in u_audio_start_capture() 622 if (usb_ep_queue(ep, prm->reqs[i], GFP_ATOMIC)) in u_audio_start_capture() 727 if (!prm->reqs[i]) { in u_audio_start_playback() 732 prm->reqs[i] = req; in u_audio_start_playback() [all …]
|
/linux-6.1.9/samples/acrn/ ! |
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-6.1.9/drivers/tee/optee/ ! |
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-6.1.9/drivers/net/wireless/zydas/zd1211rw/ ! |
D | zd_chip.c | 368 struct zd_ioreq32 reqs[2] = {in_reqs[0], in_reqs[1]}; in zd_write_mac_addr_common() local 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 398 return zd_write_mac_addr_common(chip, mac_addr, reqs, "mac"); in zd_write_mac_addr() 403 static const struct zd_ioreq32 reqs[2] = { in zd_write_bssid() local 408 return zd_write_mac_addr_common(chip, bssid, reqs, "bssid"); in zd_write_bssid() 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() [all …]
|
/linux-6.1.9/fs/nfs/ ! |
D | direct.c | 510 LIST_HEAD(reqs); in nfs_direct_write_reschedule() 515 nfs_direct_write_scan_commit_list(dreq->inode, &reqs, &cinfo); in nfs_direct_write_reschedule() 517 nfs_direct_join_group(&reqs, dreq->inode); in nfs_direct_write_reschedule() 521 list_for_each_entry(req, &reqs, wb_list) in nfs_direct_write_reschedule() 530 list_for_each_entry_safe(req, tmp, &reqs, wb_list) { in nfs_direct_write_reschedule() 635 LIST_HEAD(reqs); in nfs_direct_write_clear_reqs() 638 nfs_direct_write_scan_commit_list(dreq->inode, &reqs, &cinfo); in nfs_direct_write_clear_reqs() 640 while (!list_empty(&reqs)) { in nfs_direct_write_clear_reqs() 641 req = nfs_list_entry(reqs.next); in nfs_direct_write_clear_reqs()
|
/linux-6.1.9/tools/testing/selftests/tc-testing/ ! |
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-6.1.9/net/sunrpc/xprtrdma/ ! |
D | backchannel.c | 25 int xprt_rdma_bc_setup(struct rpc_xprt *xprt, unsigned int reqs) in xprt_rdma_bc_setup() argument 30 trace_xprtrdma_cb_setup(r_xprt, reqs); in xprt_rdma_bc_setup() 131 void xprt_rdma_bc_destroy(struct rpc_xprt *xprt, unsigned int reqs) in xprt_rdma_bc_destroy() argument
|
/linux-6.1.9/drivers/mtd/nand/ ! |
D | ecc.c | 469 const struct nand_ecc_props *reqs = nanddev_get_ecc_requirements(nand); in nand_ecc_is_strong_enough() local 474 if (conf->step_size == 0 || reqs->step_size == 0) in nand_ecc_is_strong_enough() 483 ds_corr = (mtd->writesize * reqs->strength) / reqs->step_size; in nand_ecc_is_strong_enough() 485 return corr >= ds_corr && conf->strength >= reqs->strength; in nand_ecc_is_strong_enough()
|
D | ecc-mxic.c | 223 struct nand_ecc_props *reqs = &nand->ecc.requirements; in mxic_ecc_init_ctx() local 255 } else if (reqs->step_size && reqs->strength) { in mxic_ecc_init_ctx() 256 step_size = reqs->step_size; in mxic_ecc_init_ctx() 257 strength = reqs->strength; in mxic_ecc_init_ctx()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbevf/ ! |
D | mbx.c | 79 hw->mbx.stats.reqs++; in ixgbevf_clear_msg_vf() 149 hw->mbx.stats.reqs++; in ixgbevf_check_for_msg_vf() 424 mbx->stats.reqs = 0; in ixgbevf_init_mbx_params_vf()
|
/linux-6.1.9/drivers/net/ethernet/intel/igbvf/ ! |
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-6.1.9/include/linux/ ! |
D | pci-ats.h | 27 int pci_enable_pri(struct pci_dev *pdev, u32 reqs);
|
/linux-6.1.9/drivers/scsi/ ! |
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() 1449 hba->reqs[i].next = NULL; in hptiop_probe() 1450 hba->reqs[i].req_virt = start_virt; in hptiop_probe() 1451 hba->reqs[i].req_shifted_phy = start_phy >> 5; in hptiop_probe() 1452 hba->reqs[i].index = i; in hptiop_probe() [all …]
|