Lines Matching refs:paa
91 struct pbus_attach_args *paa = aux;
97 if (strcmp(paa->pb_name, cf->cf_name) != 0)
100 if (bus_space_map(paa->pb_bt, paa->pb_addr, DS_SIZE, 0, &h)) {
101 printf("%s: can't map i/o space\n", paa->pb_name);
106 x = bus_space_read_1(paa->pb_bt, h, DS_SCRATCH_ADDR);
107 bus_space_write_1(paa->pb_bt, h, DS_SCRATCH_ADDR, 0xAA);
108 if (bus_space_read_1(paa->pb_bt, h, DS_SCRATCH_ADDR) != 0xAA) {
113 bus_space_write_1(paa->pb_bt, h, DS_SCRATCH_ADDR, 0x55);
114 if (bus_space_read_1(paa->pb_bt, h, DS_SCRATCH_ADDR) != 0x55) {
120 bus_space_write_1(paa->pb_bt, h, DS_SCRATCH_ADDR, x);
122 bus_space_unmap(paa->pb_bt, h, DS_SIZE);
137 struct pbus_attach_args *paa = aux;
142 sc->sc_iot = paa->pb_bt;
143 if (bus_space_map(sc->sc_iot, paa->pb_addr, DS_SIZE, 0, &sc->sc_ioh)) {