D | skgehw.h | 1743 #define MR_ADDR(Mac, Offs) (((Mac) << 7) + (Offs)) argument 1775 #define XMA(Mac, Reg) \ argument 1776 ((BASE_XMAC_1 + (Mac) * (BASE_XMAC_2 - BASE_XMAC_1)) | ((Reg) << 1)) 1778 #define XM_IN16(IoC, Mac, Reg, pVal) \ argument 1779 SK_IN16((IoC), XMA((Mac), (Reg)), (pVal)) 1781 #define XM_OUT16(IoC, Mac, Reg, Val) \ argument 1782 SK_OUT16((IoC), XMA((Mac), (Reg)), (Val)) 1784 #define XM_IN32(IoC, Mac, Reg, pVal) { \ argument 1785 SK_IN16((IoC), XMA((Mac), (Reg)), \ 1787 SK_IN16((IoC), XMA((Mac), (Reg+2)), \ [all …]
|