Home
last modified time | relevance | path

Searched refs:num_ids (Results 1 – 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/arch/c6x/platforms/
Ddscr.c66 u8 num_ids; /* number of devices in this range */ member
85 u8 num_ids; /* number of devices in this range */ member
484 r->num_ids = be32_to_cpup(p++); in dscr_parse_devstate_ctl_regs()
494 j < (r->start_id + r->num_ids); in dscr_parse_devstate_ctl_regs()
540 r->num_ids = be32_to_cpup(p++); in dscr_parse_devstate_stat_regs()
548 j < (r->start_id + r->num_ids); in dscr_parse_devstate_stat_regs()
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
Ddst_ca.c168 int srcPtr, dstPtr, i, num_ids; in ca_get_ca_info() local
187 num_ids = state->messages[in_num_ids_pos]; in ca_get_ca_info()
188 if (num_ids >= 100) { in ca_get_ca_info()
189 num_ids = 100; in ca_get_ca_info()
192 put_command_and_length(&state->messages[0], CA_INFO, num_ids * 2); in ca_get_ca_info()
197 for(i = 0; i < num_ids; i++) { in ca_get_ca_info()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/c6x/
Ddscr.txt68 start_id num_ids reg enable disable start_bit nbits
72 num_ids is the number of device controls in the range
85 start_id num_ids reg enable disable start_bit nbits
89 num_ids is the number of devices covered by the range
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ids.c211 fences = kmalloc_array(sizeof(void *), id_mgr->num_ids, GFP_KERNEL); in amdgpu_vmid_grab_idle()
556 for (j = 1; j < id_mgr->num_ids; ++j) in amdgpu_vmid_reset_all()
581 id_mgr->num_ids = adev->vm_manager.first_kfd_vmid; in amdgpu_vmid_mgr_init()
584 for (j = 1; j < id_mgr->num_ids; ++j) { in amdgpu_vmid_mgr_init()
Damdgpu_ids.h67 unsigned num_ids; member
Dgfx_v7_0.c1971 for (i = 0; i < adev->vm_manager.id_mgr[0].num_ids; i++) { in gfx_v7_0_constants_init()
Dgfx_v8_0.c3791 for (i = 0; i < adev->vm_manager.id_mgr[0].num_ids; i++) { in gfx_v8_0_constants_init()
Dgfx_v9_0.c2581 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB_0].num_ids; i++) { in gfx_v9_0_constants_init()
Dgfx_v10_0.c4809 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB_0].num_ids; i++) { in gfx_v10_0_constants_init()
/kernel/linux/linux-5.10/drivers/iommu/arm/arm-smmu/
Dqcom_iommu.c132 for (i = 0; i < fwspec->num_ids; i++) { in qcom_iommu_tlb_sync()
151 for (i = 0; i < fwspec->num_ids; i++) { in qcom_iommu_tlb_inv_context()
168 for (i = 0; i < fwspec->num_ids; i++) { in qcom_iommu_tlb_inv_range_nosync()
274 for (i = 0; i < fwspec->num_ids; i++) { in qcom_iommu_init_domain()
424 for (i = 0; i < fwspec->num_ids; i++) { in qcom_iommu_detach_dev()
Darm-smmu.h444 (i >= fw->num_ids ? INVALID_SMENDX : cfg->smendx[i])
446 for (i = 0; idx = cfg_smendx(cfg, fw, i), i < fw->num_ids; ++i)
Darm-smmu.c1395 for (i = 0; i < fwspec->num_ids; i++) { in arm_smmu_probe_device()
/kernel/linux/linux-5.10/include/linux/
Diommu.h581 unsigned int num_ids; member
598 int iommu_fwspec_add_ids(struct device *dev, u32 *ids, int num_ids);
974 int num_ids) in iommu_fwspec_add_ids() argument
/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/
Dvmci_context.c824 u32 num_ids = buf_size / sizeof(u32); in vmci_ctx_set_chkpt_state() local
826 if (cpt_type == VMCI_WELLKNOWN_CPT_STATE && num_ids > 0) { in vmci_ctx_set_chkpt_state()
840 for (i = 0; i < num_ids && result == VMCI_SUCCESS; i++) { in vmci_ctx_set_chkpt_state()
/kernel/linux/linux-5.10/drivers/net/phy/
Dphy_device.c455 const int num_ids = ARRAY_SIZE(phydev->c45_ids.device_ids); in phy_bus_match() local
465 for (i = 1; i < num_ids; i++) { in phy_bus_match()
609 const int num_ids = ARRAY_SIZE(c45_ids->device_ids); in phy_device_create() local
612 for (i = 1; i < num_ids; i++) { in phy_device_create()
701 const int num_ids = ARRAY_SIZE(c45_ids->device_ids); in get_phy_c45_ids() local
744 for (i = 1; i < num_ids; i++) { in get_phy_c45_ids()
/kernel/linux/linux-5.10/drivers/iommu/
Diommu.c2841 int iommu_fwspec_add_ids(struct device *dev, u32 *ids, int num_ids) in iommu_fwspec_add_ids() argument
2849 new_num = fwspec->num_ids + num_ids; in iommu_fwspec_add_ids()
2859 for (i = 0; i < num_ids; i++) in iommu_fwspec_add_ids()
2860 fwspec->ids[fwspec->num_ids + i] = ids[i]; in iommu_fwspec_add_ids()
2862 fwspec->num_ids = new_num; in iommu_fwspec_add_ids()
Dipmmu-vmsa.c660 for (i = 0; i < fwspec->num_ids; ++i) in ipmmu_attach_device()
673 for (i = 0; i < fwspec->num_ids; ++i) in ipmmu_detach_device()
Dvirtio-iommu.c471 if (!fwspec->num_ids) in viommu_probe_endpoint()
702 for (i = 0; i < fwspec->num_ids; i++) { in viommu_attach_dev()
Dmtk_iommu_v1.c206 for (i = 0; i < fwspec->num_ids; ++i) { in mtk_iommu_config()
Dmtk_iommu.c304 for (i = 0; i < fwspec->num_ids; ++i) { in mtk_iommu_config()
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
Dvic.c118 if (spec->num_ids > 0) { in vic_boot()
/kernel/linux/linux-5.10/drivers/acpi/arm64/
Diort.c857 for (i = 0; i < fwspec->num_ids; i++) { in iort_iommu_msi_get_resv_regions()
/kernel/linux/linux-5.10/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c2336 master->num_sids = fwspec->num_ids; in arm_smmu_probe_device()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0020_linux_drivers_gpu.patch1309 +inline void cdns_hdcp_swap_list(u8 *list_in, u8 *list_out, int num_ids)
1313 + for (i = 0; i < num_ids; i++)