Lines Matching defs:reg

314 #define RAM_BUFFER(port, reg)	(reg | (port <<6))  argument
665 #define SK_REG(port,reg) (((port)<<7)+(reg)) argument
751 #define Q_ADDR(reg, offs) (B8_Q_REGS + (reg) + (offs)) argument
782 #define Y2_QADDR(q,reg) (Y2_B8_PREF_REGS + (q) + (reg)) argument
2315 static inline u32 sky2_read32(const struct sky2_hw *hw, unsigned reg) in sky2_read32()
2320 static inline u16 sky2_read16(const struct sky2_hw *hw, unsigned reg) in sky2_read16()
2325 static inline u8 sky2_read8(const struct sky2_hw *hw, unsigned reg) in sky2_read8()
2330 static inline void sky2_write32(const struct sky2_hw *hw, unsigned reg, u32 val) in sky2_write32()
2335 static inline void sky2_write16(const struct sky2_hw *hw, unsigned reg, u16 val) in sky2_write16()
2340 static inline void sky2_write8(const struct sky2_hw *hw, unsigned reg, u8 val) in sky2_write8()
2346 #define SK_GMAC_REG(port,reg) \ argument
2350 static inline u16 gma_read16(const struct sky2_hw *hw, unsigned port, unsigned reg) in gma_read16()
2355 static inline u32 gma_read32(struct sky2_hw *hw, unsigned port, unsigned reg) in gma_read32()
2362 static inline u64 gma_read64(struct sky2_hw *hw, unsigned port, unsigned reg) in gma_read64()
2373 static inline u32 get_stats32(struct sky2_hw *hw, unsigned port, unsigned reg) in get_stats32()
2384 static inline u64 get_stats64(struct sky2_hw *hw, unsigned port, unsigned reg) in get_stats64()
2400 static inline void gma_set_addr(struct sky2_hw *hw, unsigned port, unsigned reg, in gma_set_addr()
2409 static inline u32 sky2_pci_read32(const struct sky2_hw *hw, unsigned reg) in sky2_pci_read32()
2414 static inline u16 sky2_pci_read16(const struct sky2_hw *hw, unsigned reg) in sky2_pci_read16()
2419 static inline void sky2_pci_write32(struct sky2_hw *hw, unsigned reg, u32 val) in sky2_pci_write32()
2424 static inline void sky2_pci_write16(struct sky2_hw *hw, unsigned reg, u16 val) in sky2_pci_write16()