Lines Matching refs:offset
31 static inline u8 gige_read8(struct ssb_gige *dev, u16 offset)
33 return ssb_read8(dev->dev, offset);
36 static inline u16 gige_read16(struct ssb_gige *dev, u16 offset)
38 return ssb_read16(dev->dev, offset);
41 static inline u32 gige_read32(struct ssb_gige *dev, u16 offset)
43 return ssb_read32(dev->dev, offset);
47 u16 offset, u8 value)
49 ssb_write8(dev->dev, offset, value);
53 u16 offset, u16 value)
55 ssb_write16(dev->dev, offset, value);
59 u16 offset, u32 value)
61 ssb_write32(dev->dev, offset, value);
65 u8 gige_pcicfg_read8(struct ssb_gige *dev, unsigned int offset)
67 BUG_ON(offset >= 256);
68 return gige_read8(dev, SSB_GIGE_PCICFG + offset);
72 u16 gige_pcicfg_read16(struct ssb_gige *dev, unsigned int offset)
74 BUG_ON(offset >= 256);
75 return gige_read16(dev, SSB_GIGE_PCICFG + offset);
79 u32 gige_pcicfg_read32(struct ssb_gige *dev, unsigned int offset)
81 BUG_ON(offset >= 256);
82 return gige_read32(dev, SSB_GIGE_PCICFG + offset);
87 unsigned int offset, u8 value)
89 BUG_ON(offset >= 256);
90 gige_write8(dev, SSB_GIGE_PCICFG + offset, value);
95 unsigned int offset, u16 value)
97 BUG_ON(offset >= 256);
98 gige_write16(dev, SSB_GIGE_PCICFG + offset, value);
103 unsigned int offset, u32 value)
105 BUG_ON(offset >= 256);
106 gige_write32(dev, SSB_GIGE_PCICFG + offset, value);