Searched refs:devfunc (Results 1 – 2 of 2) sorted by relevance
191 int16_t devfunc = immu_devi->imd_devfunc; in bdf_domain_lookup() local192 uintptr_t bdf = (seg << 16 | bus << 8 | devfunc); in bdf_domain_lookup()194 if (seg < 0 || bus < 0 || devfunc < 0) { in bdf_domain_lookup()214 int16_t devfunc = immu_devi->imd_devfunc; in bdf_domain_insert() local215 uintptr_t bdf = (seg << 16 | bus << 8 | devfunc); in bdf_domain_insert()217 if (seg < 0 || bus < 0 || devfunc < 0) { in bdf_domain_insert()1450 int bus, int devfunc) in context_set() argument1476 hw_cent = (hw_rce_t *)(context->hwpg_vaddr) + devfunc; in context_set()1504 hw_cent = (hw_rce_t *)(context->hwpg_vaddr) + devfunc; in context_set()1511 sid = ((bus << 8) | devfunc); in context_set()[all …]
154 #define IMMU_PCI_DEV(devfunc) ((uint64_t)devfunc >> 3) /* from devfunc */ argument155 #define IMMU_PCI_FUNC(devfunc) (devfunc & 7) /* get func from devfunc */ argument