Home
last modified time | relevance | path

Searched refs:PCI_C (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/drivers/net/sk98lin/h/
Dskvpd.h136 #define VPD_OUT8(pAC,IoC,Addr,Val) SK_OUT8(IoC,PCI_C(Addr),Val)
137 #define VPD_OUT16(pAC,IoC,Addr,Val) SK_OUT16(IoC,PCI_C(Addr),Val)
138 #define VPD_OUT32(pAC,IoC,Addr,Val) SK_OUT32(IoC,PCI_C(Addr),Val)
139 #define VPD_IN8(pAC,IoC,Addr,pVal) SK_IN8(IoC,PCI_C(Addr),pVal)
140 #define VPD_IN16(pAC,IoC,Addr,pVal) SK_IN16(IoC,PCI_C(Addr),pVal)
141 #define VPD_IN32(pAC,IoC,Addr,pVal) SK_IN32(IoC,PCI_C(Addr),pVal)
148 SK_OUT8(pAC,PCI_C(Addr),Val); \
154 SK_OUT16(pAC,PCI_C(Addr),Val); \
160 SK_OUT32(pAC,PCI_C(Addr),Val); \
166 SK_IN8(pAC,PCI_C(Addr),pVal); \
[all …]
Dskgehw.h2077 #define PCI_C(Addr) (B7_CFG_SPC + (Addr)) /* PCI Config Space */ macro
/linux-2.4.37.9/drivers/net/sk98lin/
Dskgeinit.c1541 SK_IN16(IoC, PCI_C(PCI_STATUS), &Word); in SkGeInit1()
1544 SK_OUT16(IoC, PCI_C(PCI_STATUS), (SK_U16)(Word | PCI_ERRBITS)); in SkGeInit1()
1616 SK_IN16(IoC, PCI_C(PCI_PM_CAP_REG), &Word); in SkGeInit1()
1685 SK_IN8(IoC, PCI_C(PCI_REV_ID), &Byte); in SkGeInit1()
2034 SK_IN16(IoC, PCI_C(PCI_PM_CTL_STS), &PmCtlSts); in SkGeDeInit()
2040 SK_OUT16(IoC, PCI_C(PCI_PM_CTL_STS), PmCtlSts); in SkGeDeInit()
2049 SK_IN16(IoC, PCI_C(PCI_STATUS), &Word); in SkGeDeInit()
2052 SK_OUT16(IoC, PCI_C(PCI_STATUS), (SK_U16)(Word | PCI_ERRBITS)); in SkGeDeInit()
Dskxmac2.c2144 SK_IN32(IoC, PCI_C(PCI_OUR_REG_1), &DWord); in SkGmEnterLowPowerMode()
2149 SK_OUT32(IoC, PCI_C(PCI_OUR_REG_1), DWord | PCI_PHY_COMA); in SkGmEnterLowPowerMode()
2263 SK_IN32(IoC, PCI_C(PCI_OUR_REG_1), &DWord); in SkGmLeaveLowPowerMode()
2268 SK_OUT32(IoC, PCI_C(PCI_OUR_REG_1), DWord & ~PCI_PHY_COMA); in SkGmLeaveLowPowerMode()
Dskgesirq.c424 SK_IN16(IoC, PCI_C(PCI_STATUS), &Word); in SkGeHwErr()
427 SK_OUT16(IoC, PCI_C(PCI_STATUS), (SK_U16)(Word | PCI_ERRBITS)); in SkGeHwErr()
/linux-2.4.37.9/drivers/net/skfp/
Ddrvfbi.c207 word = inpw(PCI_C(PCI_STATUS)) ;
208 outpw(PCI_C(PCI_STATUS), word | PCI_ERRBITS) ;
224 rev_id = inp(PCI_C(PCI_REV_ID)) ;
/linux-2.4.37.9/drivers/net/skfp/h/
Dskfbi.h1734 #define PCI_C(a) ADDR(B3_CFG_SPC + (a)) /* PCI Config Space */ macro