Home
last modified time | relevance | path

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

/freebsd/sys/dev/ofw/
H A Dofw_bus_subr.c461 pcell_t *map, mask, msi_base, rid_base, rid_length; in ofw_bus_msimap() local
486 rid_base = map[i + 0]; in ofw_bus_msimap()
489 if (masked_rid < rid_base || in ofw_bus_msimap()
490 masked_rid >= (rid_base + rid_length)) in ofw_bus_msimap()
498 *msi_rid = masked_rid - rid_base + msi_base; in ofw_bus_msimap()
512 pcell_t *map, mask, iommu_base, rid_base, rid_length; in ofw_bus_iommu_map() local
528 rid_base = map[i + 0]; in ofw_bus_iommu_map()
531 if (masked_rid < rid_base || in ofw_bus_iommu_map()
532 masked_rid >= (rid_base + rid_length)) in ofw_bus_iommu_map()
540 *iommu_rid = masked_rid - rid_base + iommu_base; in ofw_bus_iommu_map()