Lines Matching refs:res_ioport
1329 #define r_reg(reg,ppc) (bus_read_1((ppc)->res_ioport, reg)) in ppc_exec_microseq()
1330 #define w_reg(reg, ppc, byte) (bus_write_1((ppc)->res_ioport, reg, byte)) in ppc_exec_microseq()
1698 ppc->res_ioport = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, in ppc_probe()
1703 if (ppc->res_ioport != 0) { in ppc_probe()
1708 ppc->res_ioport = bus_alloc_resource_anywhere(dev, in ppc_probe()
1713 if (ppc->res_ioport != 0) { in ppc_probe()
1723 ppc->ppc_base = rman_get_start(ppc->res_ioport); in ppc_probe()
1762 if (ppc->res_ioport != 0) { in ppc_probe()
1764 ppc->res_ioport); in ppc_probe()
1834 if (ppc->res_ioport != 0) { in ppc_detach()
1836 ppc->res_ioport); in ppc_detach()
1856 bus_write_multi_1(ppc->res_ioport, PPC_EPP_DATA, addr, cnt); in ppc_io()
1859 bus_write_multi_2(ppc->res_ioport, PPC_EPP_DATA, (u_int16_t *)addr, cnt); in ppc_io()
1862 bus_write_multi_4(ppc->res_ioport, PPC_EPP_DATA, (u_int32_t *)addr, cnt); in ppc_io()
1865 bus_read_multi_1(ppc->res_ioport, PPC_EPP_DATA, addr, cnt); in ppc_io()
1868 bus_read_multi_2(ppc->res_ioport, PPC_EPP_DATA, (u_int16_t *)addr, cnt); in ppc_io()
1871 bus_read_multi_4(ppc->res_ioport, PPC_EPP_DATA, (u_int32_t *)addr, cnt); in ppc_io()