Lines Matching refs:offset
106 * These registers seem to be mirrored every thirty-two bytes up until offset
218 static inline void psc_write_byte(int offset, __u8 data)
220 *((volatile __u8 *)(psc + offset)) = data;
223 static inline void psc_write_word(int offset, __u16 data)
225 *((volatile __u16 *)(psc + offset)) = data;
228 static inline void psc_write_long(int offset, __u32 data)
230 *((volatile __u32 *)(psc + offset)) = data;
233 static inline u8 psc_read_byte(int offset)
235 return *((volatile __u8 *)(psc + offset));
238 static inline u16 psc_read_word(int offset)
240 return *((volatile __u16 *)(psc + offset));
243 static inline u32 psc_read_long(int offset)
245 return *((volatile __u32 *)(psc + offset));