Lines Matching refs:csr_addr
266 static inline void cvmx_write_csr(uint64_t csr_addr, uint64_t val) in cvmx_write_csr() argument
268 cvmx_write64(csr_addr, val); in cvmx_write_csr()
276 if (((csr_addr >> 40) & 0x7ffff) == (0x118)) in cvmx_write_csr()
280 static inline void cvmx_writeq_csr(void __iomem *csr_addr, uint64_t val) in cvmx_writeq_csr() argument
282 cvmx_write_csr((__force uint64_t)csr_addr, val); in cvmx_writeq_csr()
291 static inline uint64_t cvmx_read_csr(uint64_t csr_addr) in cvmx_read_csr() argument
293 uint64_t val = cvmx_read64(csr_addr); in cvmx_read_csr()
297 static inline uint64_t cvmx_readq_csr(void __iomem *csr_addr) in cvmx_readq_csr() argument
299 return cvmx_read_csr((__force uint64_t) csr_addr); in cvmx_readq_csr()
308 static inline void cvmx_read_csr_async(uint64_t scraddr, uint64_t csr_addr) in cvmx_read_csr_async() argument
318 addr.u64 = csr_addr; in cvmx_read_csr_async()
367 static inline void cvmx_write_csr_node(uint64_t node, uint64_t csr_addr, in cvmx_write_csr_node() argument
373 composite_csr_addr = (csr_addr & ~CVMX_NODE_IO_MASK) | node_addr; in cvmx_write_csr_node()
376 if (((csr_addr >> 40) & 0x7ffff) == (0x118)) in cvmx_write_csr_node()
380 static inline uint64_t cvmx_read_csr_node(uint64_t node, uint64_t csr_addr) in cvmx_read_csr_node() argument
384 node_addr = (csr_addr & ~CVMX_NODE_IO_MASK) | in cvmx_read_csr_node()