Home
last modified time | relevance | path

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

/netbsd-src/sys/arch/evbppc/walnut/dev/
H A Dpbus.c139 bus_space_tag_t iot_fpga = &pbus_tag; in pbus_attach() local
167 if (bus_space_map(iot_fpga, FPGA_BASE, FPGA_SIZE, 0, &ioh_fpga)) { in pbus_attach()
172 fpga_reg = bus_space_read_1(iot_fpga, ioh_fpga, FPGA_BRDC); in pbus_attach()
174 bus_space_write_1(iot_fpga, ioh_fpga, FPGA_BRDC, fpga_reg); in pbus_attach()
177 fpga_reg = bus_space_read_1(iot_fpga, ioh_fpga, FPGA_INT_POL); in pbus_attach()
179 bus_space_write_1(iot_fpga, ioh_fpga, FPGA_INT_POL, fpga_reg); in pbus_attach()
182 fpga_reg = bus_space_read_1(iot_fpga, ioh_fpga, FPGA_INT_TRIG); in pbus_attach()
184 bus_space_write_1(iot_fpga, ioh_fpga, FPGA_INT_TRIG, fpga_reg); in pbus_attach()
187 fpga_reg = bus_space_read_1(iot_fpga, ioh_fpga, FPGA_INT_ENABLE); in pbus_attach()
189 bus_space_write_1(iot_fpga, ioh_fpga, FPGA_INT_ENABLE, fpga_reg); in pbus_attach()
[all …]