Searched refs:pci_conf (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/arch/sparc/kernel/ |
D | leon_pci_grpci1.c | 96 unsigned long pci_conf; /* CONFIGURATION */ member 121 u32 *pci_conf, tmp, cfg; in grpci1_cfg_r32() local 138 pci_conf = (u32 *) (priv->pci_conf | (devfn << 8) | (where & 0xfc)); in grpci1_cfg_r32() 139 tmp = LEON3_BYPASS_LOAD_PA(pci_conf); in grpci1_cfg_r32() 183 unsigned int *pci_conf; in grpci1_cfg_w32() local 200 pci_conf = (unsigned int *) (priv->pci_conf | in grpci1_cfg_w32() 202 LEON3_BYPASS_STORE_PA(pci_conf, swab32(val)); in grpci1_cfg_w32() 577 priv->pci_conf = ofdev->resource[2].start + 0x10000; in grpci1_of_probe() 578 priv->pci_conf_end = priv->pci_conf + 0x10000; in grpci1_of_probe() 590 priv->pci_io, priv->pci_conf-1, in grpci1_of_probe() [all …]
|
D | leon_pci_grpci2.c | 214 unsigned long pci_conf; /* CONFIGURATION */ member 239 unsigned int *pci_conf; in grpci2_cfg_r32() local 262 pci_conf = (unsigned int *) (priv->pci_conf | in grpci2_cfg_r32() 264 tmp = LEON3_BYPASS_LOAD_PA(pci_conf); in grpci2_cfg_r32() 310 unsigned int *pci_conf; in grpci2_cfg_w32() local 332 pci_conf = (unsigned int *) (priv->pci_conf | in grpci2_cfg_w32() 334 LEON3_BYPASS_STORE_PA(pci_conf, swab32(val)); in grpci2_cfg_w32() 763 priv->pci_conf = ofdev->resource[2].start + 0x10000; in grpci2_of_probe() 764 priv->pci_conf_end = priv->pci_conf + 0x10000; in grpci2_of_probe() 776 priv->pci_io, priv->pci_conf-1, in grpci2_of_probe() [all …]
|
/Linux-v6.6/drivers/net/wan/ |
D | farsync.c | 455 unsigned short pci_conf; /* PCI card config in I/O space */ member 678 outw(0x440f, card->pci_conf + CNTRL_9054 + 2); in fst_cpureset() 679 outw(0x040f, card->pci_conf + CNTRL_9054 + 2); in fst_cpureset() 683 outw(0x240f, card->pci_conf + CNTRL_9054 + 2); in fst_cpureset() 687 outw(0x040f, card->pci_conf + CNTRL_9054 + 2); in fst_cpureset() 696 regval = inl(card->pci_conf + CNTRL_9052); in fst_cpureset() 698 outl(regval | 0x40000000, card->pci_conf + CNTRL_9052); in fst_cpureset() 699 outl(regval & ~0x40000000, card->pci_conf + CNTRL_9052); in fst_cpureset() 716 outw(0x040e, card->pci_conf + CNTRL_9054 + 2); in fst_cpurelease() 717 outw(0x040f, card->pci_conf + CNTRL_9054 + 2); in fst_cpurelease() [all …]
|