Lines Matching defs:port
319 #define RAM_BUFFER(port, reg) (reg | (port <<6)) argument
670 #define SK_REG(port,reg) (((port)<<7)+(reg)) argument
1126 #define WOL_REGS(port, x) (x + (port)*0x80) argument
1132 #define WOL_PATT_RAM_BASE(port) (WOL_PATT_RAM_1 + (port)*0x400) argument
2222 unsigned port; member
2350 #define SK_GMAC_REG(port,reg) \ argument
2354 static inline u16 gma_read16(const struct sky2_hw *hw, unsigned port, unsigned reg) in gma_read16()
2359 static inline u32 gma_read32(struct sky2_hw *hw, unsigned port, unsigned reg) in gma_read32()
2366 static inline u64 gma_read64(struct sky2_hw *hw, unsigned port, unsigned reg) in gma_read64()
2377 static inline u32 get_stats32(struct sky2_hw *hw, unsigned port, unsigned reg) in get_stats32()
2388 static inline u64 get_stats64(struct sky2_hw *hw, unsigned port, unsigned reg) in get_stats64()
2399 static inline void gma_write16(const struct sky2_hw *hw, unsigned port, int r, u16 v) in gma_write16()
2404 static inline void gma_set_addr(struct sky2_hw *hw, unsigned port, unsigned reg, in gma_set_addr()