Lines Matching refs:sky2_hw
2220 struct sky2_hw *hw;
2277 struct sky2_hw { struct
2313 static inline int sky2_is_copper(const struct sky2_hw *hw) in sky2_is_copper() argument
2319 static inline u32 sky2_read32(const struct sky2_hw *hw, unsigned reg) in sky2_read32()
2324 static inline u16 sky2_read16(const struct sky2_hw *hw, unsigned reg) in sky2_read16()
2329 static inline u8 sky2_read8(const struct sky2_hw *hw, unsigned reg) in sky2_read8()
2334 static inline void sky2_write32(const struct sky2_hw *hw, unsigned reg, u32 val) in sky2_write32()
2339 static inline void sky2_write16(const struct sky2_hw *hw, unsigned reg, u16 val) in sky2_write16()
2344 static inline void sky2_write8(const struct sky2_hw *hw, unsigned reg, u8 val) in sky2_write8()
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()
2413 static inline u32 sky2_pci_read32(const struct sky2_hw *hw, unsigned reg) in sky2_pci_read32()
2418 static inline u16 sky2_pci_read16(const struct sky2_hw *hw, unsigned reg) in sky2_pci_read16()
2423 static inline void sky2_pci_write32(struct sky2_hw *hw, unsigned reg, u32 val) in sky2_pci_write32()
2428 static inline void sky2_pci_write16(struct sky2_hw *hw, unsigned reg, u16 val) in sky2_pci_write16()