Home
last modified time | relevance | path

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

/freebsd/sys/dev/vnic/
H A Dthunder_mdio_fdt.c195 cell_t *base_ranges; in mdionexus_ofw_fill_ranges() local
215 base_ranges = malloc(nbase_ranges, M_THUNDER_MDIO, M_WAITOK); in mdionexus_ofw_fill_ranges()
216 OF_getencprop(node, "ranges", base_ranges, nbase_ranges); in mdionexus_ofw_fill_ranges()
222 sc->ranges[i].bus |= base_ranges[j++]; in mdionexus_ofw_fill_ranges()
227 sc->ranges[i].host |= base_ranges[j++]; in mdionexus_ofw_fill_ranges()
232 sc->ranges[i].size |= base_ranges[j++]; in mdionexus_ofw_fill_ranges()
236 free(base_ranges, M_THUNDER_MDIO); in mdionexus_ofw_fill_ranges()
H A Dmrml_bridge.c187 cell_t *base_ranges; in mrmlb_ofw_fill_ranges() local
207 base_ranges = malloc(nbase_ranges, M_MRMLB, M_WAITOK); in mrmlb_ofw_fill_ranges()
208 OF_getencprop(node, "ranges", base_ranges, nbase_ranges); in mrmlb_ofw_fill_ranges()
214 sc->ranges[i].bus |= base_ranges[j++]; in mrmlb_ofw_fill_ranges()
219 sc->ranges[i].host |= base_ranges[j++]; in mrmlb_ofw_fill_ranges()
224 sc->ranges[i].size |= base_ranges[j++]; in mrmlb_ofw_fill_ranges()
228 free(base_ranges, M_MRMLB); in mrmlb_ofw_fill_ranges()
/freebsd/sys/arm/arm/
H A Dgic_fdt.c214 cell_t *base_ranges; in arm_gic_fill_ranges() local
238 base_ranges = malloc(nbase_ranges, M_DEVBUF, M_WAITOK); in arm_gic_fill_ranges()
239 OF_getencprop(node, "ranges", base_ranges, nbase_ranges); in arm_gic_fill_ranges()
245 sc->base.ranges[i].bus |= base_ranges[j++]; in arm_gic_fill_ranges()
250 sc->base.ranges[i].host |= base_ranges[j++]; in arm_gic_fill_ranges()
255 sc->base.ranges[i].size |= base_ranges[j++]; in arm_gic_fill_ranges()
259 free(base_ranges, M_DEVBUF); in arm_gic_fill_ranges()
/freebsd/sys/arm64/arm64/
H A Dgic_v3_fdt.c230 cell_t *base_ranges; in gic_v3_ofw_fill_ranges() local
258 base_ranges = malloc(nbase_ranges, M_DEVBUF, M_WAITOK); in gic_v3_ofw_fill_ranges()
259 OF_getencprop(parent, "ranges", base_ranges, nbase_ranges); in gic_v3_ofw_fill_ranges()
265 sc->ranges[i].bus |= base_ranges[j++]; in gic_v3_ofw_fill_ranges()
270 sc->ranges[i].host |= base_ranges[j++]; in gic_v3_ofw_fill_ranges()
275 sc->ranges[i].size |= base_ranges[j++]; in gic_v3_ofw_fill_ranges()
279 free(base_ranges, M_DEVBUF); in gic_v3_ofw_fill_ranges()
/freebsd/sys/arm/mv/
H A Dmv_pci_ctrl.c293 cell_t *base_ranges; in mv_pcib_ctrl_fill_ranges() local
313 base_ranges = malloc(nbase_ranges, M_DEVBUF, M_WAITOK); in mv_pcib_ctrl_fill_ranges()
314 OF_getencprop(node, "ranges", base_ranges, nbase_ranges); in mv_pcib_ctrl_fill_ranges()
320 sc->ranges[i].bus |= base_ranges[j++]; in mv_pcib_ctrl_fill_ranges()
325 sc->ranges[i].host |= base_ranges[j++]; in mv_pcib_ctrl_fill_ranges()
330 sc->ranges[i].size |= base_ranges[j++]; in mv_pcib_ctrl_fill_ranges()
334 free(base_ranges, M_DEVBUF); in mv_pcib_ctrl_fill_ranges()
/freebsd/sys/dev/pci/
H A Dpci_host_generic_fdt.c183 cell_t *base_ranges; in parse_pci_mem_ranges() local
206 base_ranges = malloc(nbase_ranges, M_DEVBUF, M_WAITOK); in parse_pci_mem_ranges()
207 OF_getencprop(node, "ranges", base_ranges, nbase_ranges); in parse_pci_mem_ranges()
210 attributes = (base_ranges[j++] >> SPACE_CODE_SHIFT) & \ in parse_pci_mem_ranges()
222 sc->ranges[i].pci_base |= base_ranges[j++]; in parse_pci_mem_ranges()
227 sc->ranges[i].phys_base |= base_ranges[j++]; in parse_pci_mem_ranges()
232 sc->ranges[i].size |= base_ranges[j++]; in parse_pci_mem_ranges()
243 free(base_ranges, M_DEVBUF); in parse_pci_mem_ranges()
/freebsd/sys/dev/fdt/
H A Dsimplebus.c230 cell_t *base_ranges; in simplebus_fill_ranges() local
250 base_ranges = malloc(nbase_ranges, M_DEVBUF, M_WAITOK); in simplebus_fill_ranges()
251 OF_getencprop(node, "ranges", base_ranges, nbase_ranges); in simplebus_fill_ranges()
257 sc->ranges[i].bus |= base_ranges[j++]; in simplebus_fill_ranges()
262 sc->ranges[i].host |= base_ranges[j++]; in simplebus_fill_ranges()
267 sc->ranges[i].size |= base_ranges[j++]; in simplebus_fill_ranges()
271 free(base_ranges, M_DEVBUF); in simplebus_fill_ranges()
/freebsd/sys/dev/dpaa/
H A Dfman.c216 cell_t *base_ranges; in fman_fill_ranges() local
236 base_ranges = malloc(nbase_ranges, M_DEVBUF, M_WAITOK); in fman_fill_ranges()
237 OF_getencprop(node, "ranges", base_ranges, nbase_ranges); in fman_fill_ranges()
243 sc->ranges[i].bus |= base_ranges[j++]; in fman_fill_ranges()
248 sc->ranges[i].host |= base_ranges[j++]; in fman_fill_ranges()
253 sc->ranges[i].size |= base_ranges[j++]; in fman_fill_ranges()
257 free(base_ranges, M_DEVBUF); in fman_fill_ranges()
/freebsd/sys/dev/ofw/
H A Dofw_pcib.c664 cell_t *base_ranges; in ofw_pcib_fill_ranges() local
681 base_ranges = malloc(nbase_ranges, M_DEVBUF, M_WAITOK); in ofw_pcib_fill_ranges()
682 OF_getencprop(node, "ranges", base_ranges, nbase_ranges); in ofw_pcib_fill_ranges()
685 ranges[i].pci_hi = base_ranges[j++]; in ofw_pcib_fill_ranges()
689 ranges[i].pci |= base_ranges[j++]; in ofw_pcib_fill_ranges()
694 ranges[i].host |= base_ranges[j++]; in ofw_pcib_fill_ranges()
699 ranges[i].size |= base_ranges[j++]; in ofw_pcib_fill_ranges()
703 free(base_ranges, M_DEVBUF); in ofw_pcib_fill_ranges()
/freebsd/sys/dev/vt/hw/ofwfb/
H A Dofwfb.c331 cell_t base_ranges[64]; in decode_pci_ranges_host_addr()
360 OF_getencprop(pcinode, "ranges", base_ranges, nbase_ranges); in decode_pci_ranges_host_addr()
365 ranges[i].bus |= base_ranges[j++]; in decode_pci_ranges_host_addr()
371 ranges[i].host |= base_ranges[j++]; in decode_pci_ranges_host_addr()
376 ranges[i].size |= base_ranges[j++]; in find_pci_host_address()
319 cell_t base_ranges[64]; decode_pci_ranges_host_addr() local