Lines Matching defs:offset
107 * These registers seem to be mirrored every thirty-two bytes up until offset
222 static inline void psc_write_byte(int offset, __u8 data)
224 *((volatile __u8 *)(psc + offset)) = data;
227 static inline void psc_write_word(int offset, __u16 data)
229 *((volatile __u16 *)(psc + offset)) = data;
232 static inline void psc_write_long(int offset, __u32 data)
234 *((volatile __u32 *)(psc + offset)) = data;
237 static inline u8 psc_read_byte(int offset)
239 return *((volatile __u8 *)(psc + offset));
242 static inline u16 psc_read_word(int offset)
244 return *((volatile __u16 *)(psc + offset));
247 static inline u32 psc_read_long(int offset)
249 return *((volatile __u32 *)(psc + offset));