Lines Matching refs:axi_mem_res
190 struct resource *axi_mem_res; member
473 ret = bus_peek_1(sc->axi_mem_res, addr, &d8); in rk_pcie_read_config()
477 ret = bus_peek_2(sc->axi_mem_res, addr, &d16); in rk_pcie_read_config()
481 ret = bus_peek_4(sc->axi_mem_res, addr, &d32); in rk_pcie_read_config()
513 bus_poke_1(sc->axi_mem_res, addr, (uint8_t)val); in rk_pcie_write_config()
516 bus_poke_2(sc->axi_mem_res, addr, (uint16_t)val); in rk_pcie_write_config()
519 bus_poke_4(sc->axi_mem_res, addr, val); in rk_pcie_write_config()
1194 sc->axi_mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in rk_pcie_attach()
1196 if (sc->axi_mem_res == NULL) { in rk_pcie_attach()
1204 rv = bus_map_resource(dev, SYS_RES_MEMORY, sc->axi_mem_res, &req, in rk_pcie_attach()
1211 rman_set_mapping(sc->axi_mem_res, &map); in rk_pcie_attach()
1371 bus_free_resource(dev, SYS_RES_MEMORY, sc->axi_mem_res); in rk_pcie_attach()