Searched refs:devfunc (Results 1 – 2 of 2) sorted by relevance
193 int16_t devfunc = immu_devi->imd_devfunc; in bdf_domain_lookup() local194 uintptr_t bdf = (seg << 16 | bus << 8 | devfunc); in bdf_domain_lookup()196 if (seg < 0 || bus < 0 || devfunc < 0) { in bdf_domain_lookup()216 int16_t devfunc = immu_devi->imd_devfunc; in bdf_domain_insert() local217 uintptr_t bdf = (seg << 16 | bus << 8 | devfunc); in bdf_domain_insert()219 if (seg < 0 || bus < 0 || devfunc < 0) { in bdf_domain_insert()1451 int bus, int devfunc) in context_set() argument1477 hw_cent = (hw_rce_t *)(context->hwpg_vaddr) + devfunc; in context_set()1505 hw_cent = (hw_rce_t *)(context->hwpg_vaddr) + devfunc; in context_set()1512 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