Lines Matching full:offset

19 extern int __rio_local_read_config_32(struct rio_mport *port, u32 offset,
21 extern int __rio_local_write_config_32(struct rio_mport *port, u32 offset,
23 extern int __rio_local_read_config_16(struct rio_mport *port, u32 offset,
25 extern int __rio_local_write_config_16(struct rio_mport *port, u32 offset,
27 extern int __rio_local_read_config_8(struct rio_mport *port, u32 offset,
29 extern int __rio_local_write_config_8(struct rio_mport *port, u32 offset,
33 u8 hopcount, u32 offset, u32 * data);
35 u8 hopcount, u32 offset, u32 data);
37 u8 hopcount, u32 offset, u16 * data);
39 u8 hopcount, u32 offset, u16 data);
41 u8 hopcount, u32 offset, u8 * data);
43 u8 hopcount, u32 offset, u8 data);
48 * @offset: Offset into local configuration space
51 * Reads 32 bits of data from the specified offset within the local
54 static inline int rio_local_read_config_32(struct rio_mport *port, u32 offset, in rio_local_read_config_32() argument
57 return __rio_local_read_config_32(port, offset, data); in rio_local_read_config_32()
63 * @offset: Offset into local configuration space
66 * Writes 32 bits of data to the specified offset within the local
69 static inline int rio_local_write_config_32(struct rio_mport *port, u32 offset, in rio_local_write_config_32() argument
72 return __rio_local_write_config_32(port, offset, data); in rio_local_write_config_32()
78 * @offset: Offset into local configuration space
81 * Reads 16 bits of data from the specified offset within the local
84 static inline int rio_local_read_config_16(struct rio_mport *port, u32 offset, in rio_local_read_config_16() argument
87 return __rio_local_read_config_16(port, offset, data); in rio_local_read_config_16()
93 * @offset: Offset into local configuration space
96 * Writes 16 bits of data to the specified offset within the local
100 static inline int rio_local_write_config_16(struct rio_mport *port, u32 offset, in rio_local_write_config_16() argument
103 return __rio_local_write_config_16(port, offset, data); in rio_local_write_config_16()
109 * @offset: Offset into local configuration space
112 * Reads 8 bits of data from the specified offset within the local
115 static inline int rio_local_read_config_8(struct rio_mport *port, u32 offset, in rio_local_read_config_8() argument
118 return __rio_local_read_config_8(port, offset, data); in rio_local_read_config_8()
124 * @offset: Offset into local configuration space
127 * Writes 8 bits of data to the specified offset within the local
130 static inline int rio_local_write_config_8(struct rio_mport *port, u32 offset, in rio_local_write_config_8() argument
133 return __rio_local_write_config_8(port, offset, data); in rio_local_write_config_8()
139 * @offset: Offset into device configuration space
142 * Reads 32 bits of data from the specified offset within the
145 static inline int rio_read_config_32(struct rio_dev *rdev, u32 offset, in rio_read_config_32() argument
149 rdev->hopcount, offset, data); in rio_read_config_32()
155 * @offset: Offset into device configuration space
158 * Writes 32 bits of data to the specified offset within the
161 static inline int rio_write_config_32(struct rio_dev *rdev, u32 offset, in rio_write_config_32() argument
165 rdev->hopcount, offset, data); in rio_write_config_32()
171 * @offset: Offset into device configuration space
174 * Reads 16 bits of data from the specified offset within the
177 static inline int rio_read_config_16(struct rio_dev *rdev, u32 offset, in rio_read_config_16() argument
181 rdev->hopcount, offset, data); in rio_read_config_16()
187 * @offset: Offset into device configuration space
190 * Writes 16 bits of data to the specified offset within the
193 static inline int rio_write_config_16(struct rio_dev *rdev, u32 offset, in rio_write_config_16() argument
197 rdev->hopcount, offset, data); in rio_write_config_16()
203 * @offset: Offset into device configuration space
206 * Reads 8 bits of data from the specified offset within the
209 static inline int rio_read_config_8(struct rio_dev *rdev, u32 offset, u8 * data) in rio_read_config_8() argument
212 rdev->hopcount, offset, data); in rio_read_config_8()
218 * @offset: Offset into device configuration space
221 * Writes 8 bits of data to the specified offset within the
224 static inline int rio_write_config_8(struct rio_dev *rdev, u32 offset, u8 data) in rio_write_config_8() argument
227 rdev->hopcount, offset, data); in rio_write_config_8()