Home | History | Annotate | Download | only in xscale

Lines Matching refs:ps

175     struct pciconf_state *ps)
183 i80312_pci_decompose_tag(sc, tag, &ps->ps_b, &ps->ps_d, &ps->ps_f);
194 if (ps->ps_b == pbus) {
195 ps->ps_addr_reg = I80312_ATU_POCCA;
196 ps->ps_data_reg = I80312_ATU_POCCD;
197 ps->ps_csr_reg = PCI_COMMAND_STATUS_REG;
199 ps->ps_addr_reg = I80312_ATU_SOCCA;
200 ps->ps_data_reg = I80312_ATU_SOCCD;
201 ps->ps_csr_reg = I80312_ATU_SACS;
211 if (ps->ps_b == pbus || ps->ps_b == sbus) {
212 if (ps->ps_d > (31 - 11))
214 ps->ps_addr_val = (1U << (ps->ps_d + 11)) | (ps->ps_f << 8) |
218 ps->ps_addr_val = tag | offset | 1;
228 struct pciconf_state ps;
233 if (i80312_pci_conf_setup(sc, tag, offset, &ps))
238 bus_space_write_4(sc->sc_st, sc->sc_atu_sh, ps.ps_addr_reg,
239 ps.ps_addr_val);
242 if (badaddr_read((void *) (va + ps.ps_data_reg), sizeof(rv), &rv)) {
248 ps.ps_csr_reg);
251 ps.ps_b, ps.ps_d, ps.ps_f);
265 struct pciconf_state ps;
268 if (i80312_pci_conf_setup(sc, tag, offset, &ps))
273 bus_space_write_4(sc->sc_st, sc->sc_atu_sh, ps.ps_addr_reg,
274 ps.ps_addr_val);
275 bus_space_write_4(sc->sc_st, sc->sc_atu_sh, ps.ps_data_reg, val);