Searched refs:axi_mem_res (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/arm64/rockchip/ |
H A D | rk_pcie.c | 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() [all …]
|