Searched refs:dev_cnt (Results 1 – 7 of 7) sorted by relevance
62 int dev_cnt; member
533 pd->dev_cnt++; in usnic_uiom_attach_dev_to_pd()566 pd->dev_cnt--; in usnic_uiom_detach_dev_from_pd()579 devs = kcalloc(pd->dev_cnt + 1, sizeof(*devs), GFP_ATOMIC); in usnic_uiom_get_dev_list()
611 int dev_cnt; in sensor_hub_probe() local643 dev_cnt = sensor_hub_get_physical_device_count(hdev); in sensor_hub_probe()644 if (dev_cnt > HID_MAX_PHY_DEVICES) { in sensor_hub_probe()650 dev_cnt, in sensor_hub_probe()
1237 u32 dev_cnt; in i40evf_write_profile() local1244 dev_cnt = profile->device_table_count; in i40evf_write_profile()1246 for (i = 0; i < dev_cnt; i++) { in i40evf_write_profile()1252 if (i == dev_cnt) { in i40evf_write_profile()1257 nvm = (u32 *)&profile->device_table[dev_cnt]; in i40evf_write_profile()
481 unsigned dev_cnt; /* devices assigned to this domain */ member
1913 domain->dev_cnt += 1; in do_attach()1933 dev_data->domain->dev_cnt -= 1; in do_detach()2926 if (domain->dev_cnt > 0) in amd_iommu_domain_free()2929 BUG_ON(domain->dev_cnt != 0); in amd_iommu_domain_free()3273 if (domain->dev_cnt > 0 || domain->flags & PD_IOMMUV2_MASK) in amd_iommu_domain_enable_v2()
5463 u32 dev_cnt; in i40e_write_profile() local5470 dev_cnt = profile->device_table_count; in i40e_write_profile()5472 for (i = 0; i < dev_cnt; i++) { in i40e_write_profile()5478 if (i == dev_cnt) { in i40e_write_profile()5483 nvm = (u32 *)&profile->device_table[dev_cnt]; in i40e_write_profile()