Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/media/pci/bt8xx/
A 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()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ids.c215 fences = kmalloc_array(id_mgr->num_ids, sizeof(void *), GFP_KERNEL); in amdgpu_vmid_grab_idle()
547 for (j = 1; j < id_mgr->num_ids; ++j) in amdgpu_vmid_reset_all()
572 id_mgr->num_ids = adev->vm_manager.first_kfd_vmid; in amdgpu_vmid_mgr_init()
575 for (j = 1; j < id_mgr->num_ids; ++j) { in amdgpu_vmid_mgr_init()
A Damdgpu_ids.h67 unsigned num_ids; member
A Dgfx_v7_0.c1935 for (i = 0; i < adev->vm_manager.id_mgr[0].num_ids; i++) { in gfx_v7_0_constants_init()
A Dgfx_v8_0.c3756 for (i = 0; i < adev->vm_manager.id_mgr[0].num_ids; i++) { in gfx_v8_0_constants_init()
A Dgfx_v9_0.c2382 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB_0].num_ids; i++) { in gfx_v9_0_constants_init()
A Dgfx_v11_0.c1670 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB_0].num_ids; i++) { in gfx_v11_0_constants_init()
A Dgfx_v10_0.c4979 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB_0].num_ids; i++) { in gfx_v10_0_constants_init()
/linux-6.3-rc2/drivers/iommu/arm/arm-smmu/
A Dqcom_iommu.c130 for (i = 0; i < fwspec->num_ids; i++) { in qcom_iommu_tlb_sync()
149 for (i = 0; i < fwspec->num_ids; i++) { in qcom_iommu_tlb_inv_context()
166 for (i = 0; i < fwspec->num_ids; i++) { in qcom_iommu_tlb_inv_range_nosync()
264 for (i = 0; i < fwspec->num_ids; i++) { in qcom_iommu_init_domain()
A Darm-smmu.h450 (i >= fw->num_ids ? INVALID_SMENDX : cfg->smendx[i])
452 for (i = 0; idx = cfg_smendx(cfg, fw, i), i < fw->num_ids; ++i)
A Darm-smmu-qcom.c111 for (i = 0; i < fwspec->num_ids; i++) { in qcom_adreno_smmu_is_gpu_device()
A Darm-smmu.c1368 for (i = 0; i < fwspec->num_ids; i++) { in arm_smmu_probe_device()
/linux-6.3-rc2/include/linux/
A Diommu.h653 unsigned int num_ids; member
671 int iommu_fwspec_add_ids(struct device *dev, u32 *ids, int num_ids);
1008 int num_ids) in iommu_fwspec_add_ids() argument
1166 if (fwspec && fwspec->num_ids == 1) { in tegra_dev_iommu_get_stream_id()
/linux-6.3-rc2/drivers/misc/vmw_vmci/
A Dvmci_context.c821 u32 num_ids = buf_size / sizeof(u32); in vmci_ctx_set_chkpt_state() local
823 if (cpt_type == VMCI_WELLKNOWN_CPT_STATE && num_ids > 0) { in vmci_ctx_set_chkpt_state()
837 for (i = 0; i < num_ids && result == VMCI_SUCCESS; i++) { in vmci_ctx_set_chkpt_state()
/linux-6.3-rc2/drivers/net/phy/
A Dphy_device.c526 const int num_ids = ARRAY_SIZE(phydev->c45_ids.device_ids); in phy_bus_match() local
536 for (i = 1; i < num_ids; i++) { in phy_bus_match()
692 const int num_ids = ARRAY_SIZE(c45_ids->device_ids); in phy_device_create() local
695 for (i = 1; i < num_ids; i++) { in phy_device_create()
784 const int num_ids = ARRAY_SIZE(c45_ids->device_ids); in get_phy_c45_ids() local
827 for (i = 1; i < num_ids; i++) { in get_phy_c45_ids()
/linux-6.3-rc2/drivers/iommu/
A Dmtk_iommu_v1.c240 for (i = 0; i < fwspec->num_ids; ++i) { in mtk_iommu_v1_config()
491 for (idx = 1; idx < fwspec->num_ids; idx++) { in mtk_iommu_v1_probe_device()
A Diommu.c2761 int iommu_fwspec_add_ids(struct device *dev, u32 *ids, int num_ids) in iommu_fwspec_add_ids() argument
2769 new_num = fwspec->num_ids + num_ids; in iommu_fwspec_add_ids()
2779 for (i = 0; i < num_ids; i++) in iommu_fwspec_add_ids()
2780 fwspec->ids[fwspec->num_ids + i] = ids[i]; in iommu_fwspec_add_ids()
2782 fwspec->num_ids = new_num; in iommu_fwspec_add_ids()
A Dvirtio-iommu.c525 if (!fwspec->num_ids) in viommu_probe_endpoint()
767 for (i = 0; i < fwspec->num_ids; i++) { in viommu_attach_dev()
A Dmtk_iommu.c493 for (i = 0; i < fwspec->num_ids; i++) in mtk_iommu_get_bank_id()
548 for (i = 0; i < fwspec->num_ids; ++i) { in mtk_iommu_config()
801 for (i = 1; i < fwspec->num_ids; i++) { in mtk_iommu_probe_device()
A Dtegra-smmu.c492 for (index = 0; index < fwspec->num_ids; index++) { in tegra_smmu_attach_dev()
525 for (index = 0; index < fwspec->num_ids; index++) { in tegra_smmu_set_platform_dma()
A Dipmmu-vmsa.c628 for (i = 0; i < fwspec->num_ids; ++i) in ipmmu_attach_device()
/linux-6.3-rc2/sound/soc/intel/avs/
A Dmessages.c824 size_t num_ids) in avs_ipc_probe_disconnect_points() argument
830 array_size(sizeof(*ids), num_ids)); in avs_ipc_probe_disconnect_points()
A Dmessages.h889 size_t num_ids);
/linux-6.3-rc2/drivers/acpi/arm64/
A Diort.c967 for (i = 0; i < fwspec->num_ids; i++) { in iort_rmr_has_dev()
1131 for (i = 0; i < fwspec->num_ids; i++) { in iort_iommu_msi_get_resv_regions()
/linux-6.3-rc2/drivers/iommu/arm/arm-smmu-v3/
A Darm-smmu-v3.c2566 master->streams = kcalloc(fwspec->num_ids, sizeof(*master->streams), in arm_smmu_insert_master()
2570 master->num_streams = fwspec->num_ids; in arm_smmu_insert_master()
2573 for (i = 0; i < fwspec->num_ids; i++) { in arm_smmu_insert_master()
2629 for (i = 0; i < fwspec->num_ids; i++) in arm_smmu_remove_master()

Completed in 143 milliseconds