Lines Matching refs:offset
23 * M - The low M bits of a physical address represent the offset
50 * M - number of node offset bits (35 .. 40)
59 * M - number of node offset bits (35 .. 40)
171 /* pnode, offset --> socket virtual */
172 static inline void *uv_pnode_offset_to_vaddr(int pnode, unsigned long offset)
174 return __va(((unsigned long)pnode << uv_hub_info->m_val) | offset);
183 unsigned long offset)
186 UV_GLOBAL_MMR32_PNODE_BITS(pnode) | offset);
189 static inline void uv_write_global_mmr32(int pnode, unsigned long offset,
192 *uv_global_mmr32_address(pnode, offset) = val;
196 unsigned long offset)
198 return *uv_global_mmr32_address(pnode, offset);
206 unsigned long offset)
209 UV_GLOBAL_MMR64_PNODE_BITS(pnode) | offset);
212 static inline void uv_write_global_mmr64(int pnode, unsigned long offset,
215 *uv_global_mmr64_address(pnode, offset) = val;
219 unsigned long offset)
221 return *uv_global_mmr64_address(pnode, offset);
228 static inline unsigned long *uv_local_mmr_address(unsigned long offset)
230 return __va(UV_LOCAL_MMR_BASE | offset);
233 static inline unsigned long uv_read_local_mmr(unsigned long offset)
235 return *uv_local_mmr_address(offset);
238 static inline void uv_write_local_mmr(unsigned long offset, unsigned long val)
240 *uv_local_mmr_address(offset) = val;