Lines Matching defs:port
881 #define WOL_REGS(port, x) (x + (port)*0x80) argument
887 #define WOL_PATT_RAM_BASE(port) (WOL_PATT_RAM_1 + (port)*0x400) argument
2453 int port; member
2512 #define SK_REG(port,reg) (((port)<<7)+(u16)(reg)) argument
2513 #define SK_XMAC_REG(port, reg) \ argument
2516 static inline u32 xm_read32(const struct skge_hw *hw, int port, int reg) in xm_read32()
2524 static inline u16 xm_read16(const struct skge_hw *hw, int port, int reg) in xm_read16()
2529 static inline void xm_write32(const struct skge_hw *hw, int port, int r, u32 v) in xm_write32()
2535 static inline void xm_write16(const struct skge_hw *hw, int port, int r, u16 v) in xm_write16()
2540 static inline void xm_outhash(const struct skge_hw *hw, int port, int reg, in xm_outhash()
2549 static inline void xm_outaddr(const struct skge_hw *hw, int port, int reg, in xm_outaddr()
2557 #define SK_GMAC_REG(port,reg) \ argument
2560 static inline u16 gma_read16(const struct skge_hw *hw, int port, int reg) in gma_read16()
2565 static inline u32 gma_read32(const struct skge_hw *hw, int port, int reg) in gma_read32()
2571 static inline void gma_write16(const struct skge_hw *hw, int port, int r, u16 v) in gma_write16()
2576 static inline void gma_set_addr(struct skge_hw *hw, int port, int reg, in gma_set_addr()