Lines Matching defs:phsc
180 struct pcihost_softc * const phsc = v;
182 if (bus >= phsc->sc_bus_min || bus <= phsc->sc_bus_max)
190 // struct pcihost_softc * const phsc = v;
204 // struct pcihost_softc * const phsc = v;
229 struct pcihost_softc * const phsc = v;
231 container_of(phsc, struct jh7110_pcie_softc, sc_phsc);
237 jh7110_pcie_decompose_tag(phsc, tag, &bus, &dev, &fn);
254 struct pcihost_softc * const phsc = v;
256 container_of(phsc, struct jh7110_pcie_softc, sc_phsc);
262 jh7110_pcie_decompose_tag(phsc, tag, &bus, &dev, &fn);
312 struct pcihost_softc * const phsc = &sc->sc_phsc;
316 fdtbus_intr_disestablish(phsc->sc_phandle, ih);
324 struct pcihost_softc * const phsc = &sc->sc_phsc;
326 fdtbus_intr_str(phsc->sc_phandle, 0, buf, buflen);
396 struct pcihost_softc * const phsc = &sc->sc_phsc;
411 fdtbus_clock_assign(phsc->sc_phandle);
413 (clk = fdtbus_clock_get_index(phsc->sc_phandle, c)) != NULL;
416 aprint_error_dev(phsc->sc_dev,
424 (rst = fdtbus_reset_get_index(phsc->sc_phandle, r)) != NULL;
427 aprint_error_dev(phsc->sc_dev,
501 aprint_error_dev(phsc->sc_dev, "link not up\n");
525 struct pcihost_softc * const phsc = &sc->sc_phsc;
527 ranges = fdtbus_get_prop(phsc->sc_phandle, "ranges", &ranges_len);
529 aprint_error_dev(phsc->sc_dev,
582 struct pcihost_softc * const phsc = &sc->sc_phsc;
589 phsc->sc_dev = self;
590 phsc->sc_bst = faa->faa_bst;
591 phsc->sc_pci_bst = faa->faa_bst;
592 phsc->sc_dmat = faa->faa_dmat;
593 phsc->sc_phandle = faa->faa_phandle;
699 OF_child(phsc->sc_phandle), &jh7110_pcie_intxfuncs);
701 phsc->sc_type = PCIHOST_ECAM;
702 pcihost_init(&phsc->sc_pc, phsc);
704 phsc->sc_pc.pc_bus_maxdevs = jh7110_pcie_bus_maxdevs;
705 phsc->sc_pc.pc_make_tag = jh7110_pcie_make_tag;
706 phsc->sc_pc.pc_decompose_tag = jh7110_pcie_decompose_tag;
707 phsc->sc_pc.pc_conf_read = jh7110_pcie_conf_read;
708 phsc->sc_pc.pc_conf_write = jh7110_pcie_conf_write;
710 pcihost_init2(phsc);