Lines Matching refs:pcie
179 sbpcieregs_t *pcie;
181 pcie = (sbpcieregs_t *)si_setcore(sih, PCIE_CORE_ID, coreunit);
184 * one external pcie device is present).
186 if (pcie && (dev < 2) &&
187 (pcie_readreg(osh, pcie, PCIE_PCIEREGS,
189 sbtopci1 = &pcie->sbtopcie1;
271 sbpcieregs_t *pcie;
273 /* read pcie config */
274 pcie = (sbpcieregs_t *)si_setcore(sih, PCIE_CORE_ID, coreunit);
275 if (pcie != NULL) {
280 *val = pcie_readreg(osh, pcie, PCIE_CONFIGREGS,
283 *addr = (uint32 *)&pcie->pciecfg[func][off >> 2];
392 sbpcieregs_t *pcie;
397 /* read pcie config */
398 pcie = (sbpcieregs_t *)si_setcore(sih, PCIE_CORE_ID, coreunit);
399 if (pcie != NULL)
403 pcie_writereg(osh, pcie, PCIE_CONFIGREGS,
706 sbpcieregs_t *pcie = NULL;
721 pcie = (sbpcieregs_t *)si_setcore(sih, PCIE_CORE_ID, coreunit);
722 if (pcie == NULL) {
759 host = !BUSPROBE(val, (pci ? &pci->control : &pcie->control));
812 W_REG(osh, &pcie->control, PCIE_RST_OE);
814 W_REG(osh, &pcie->control, PCIE_RST | PCIE_RST_OE);
852 W_REG(osh, &pcie->sbtopcie0, SBTOPCIE_MEM |
863 W_REG(osh, &pcie->sbtopcie0,
868 W_REG(osh, &pcie->sbtopcie0, SBTOPCIE_IO);
871 W_REG(osh, &pcie->sbtopcie1, SBTOPCIE_CFG0);
874 W_REG(osh, &pcie->sbtopcie2, SBTOPCIE_MEM |
933 W_REG(osh, &pcie->intmask, PCI_INTA);
989 sbpcieregs_t *pcie = NULL;
997 pcie = (sbpcieregs_t *)si_setcore(sih, PCIE_CORE_ID, coreunit);
998 if (pcie == NULL) {
1007 W_REG(osh, &pcie->control, PCIE_RST_OE);