Searched refs:pci_conf (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/arch/sparc/kernel/ |
D | leon_pci_grpci1.c | 95 unsigned long pci_conf; /* CONFIGURATION */ member 120 u32 *pci_conf, tmp, cfg; in grpci1_cfg_r32() local 137 pci_conf = (u32 *) (priv->pci_conf | (devfn << 8) | (where & 0xfc)); in grpci1_cfg_r32() 138 tmp = LEON3_BYPASS_LOAD_PA(pci_conf); in grpci1_cfg_r32() 182 unsigned int *pci_conf; in grpci1_cfg_w32() local 199 pci_conf = (unsigned int *) (priv->pci_conf | in grpci1_cfg_w32() 201 LEON3_BYPASS_STORE_PA(pci_conf, swab32(val)); in grpci1_cfg_w32() 576 priv->pci_conf = ofdev->resource[2].start + 0x10000; in grpci1_of_probe() 577 priv->pci_conf_end = priv->pci_conf + 0x10000; in grpci1_of_probe() 589 priv->pci_io, priv->pci_conf-1, in grpci1_of_probe() [all …]
|
D | leon_pci_grpci2.c | 212 unsigned long pci_conf; /* CONFIGURATION */ member 237 unsigned int *pci_conf; in grpci2_cfg_r32() local 260 pci_conf = (unsigned int *) (priv->pci_conf | in grpci2_cfg_r32() 262 tmp = LEON3_BYPASS_LOAD_PA(pci_conf); in grpci2_cfg_r32() 308 unsigned int *pci_conf; in grpci2_cfg_w32() local 330 pci_conf = (unsigned int *) (priv->pci_conf | in grpci2_cfg_w32() 332 LEON3_BYPASS_STORE_PA(pci_conf, swab32(val)); in grpci2_cfg_w32() 761 priv->pci_conf = ofdev->resource[2].start + 0x10000; in grpci2_of_probe() 762 priv->pci_conf_end = priv->pci_conf + 0x10000; in grpci2_of_probe() 774 priv->pci_io, priv->pci_conf-1, in grpci2_of_probe() [all …]
|
/linux-6.1.9/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 …]
|