Lines Matching refs:uint64_t
74 * memory address (uint64_t). Octeon hardware widgets don't
80 static inline uint64_t cvmx_ptr_to_phys(void *ptr)
86 uint64_t uboot_tlb_ptr_to_phys(void *ptr);
123 extern uint64_t linux_mem32_offset;
135 uint64_t address = (long)ptr;
173 * Convert a hardware physical address (uint64_t) into a
180 static inline void *cvmx_phys_to_ptr(uint64_t physical_address)
234 extern uint64_t linux_mem32_offset;
293 static inline void cvmx_write64_##TYPE(uint64_t addr, TYPE##_t val) \
304 static inline void cvmx_write64_##TYPE(uint64_t addr, TYPE##_t val) \
312 #define CVMX_BUILD_WRITE64(TYPE, LT) extern void cvmx_write64_##TYPE(uint64_t csr_addr, TYPE##_t val);
320 static inline void cvmx_write64_##TYPE(uint64_t csr_addr, TYPE##_t val) \
326 uint32_t valh = (uint64_t)val>>32; \
391 static inline TYPE##_t cvmx_read64_##TYPE(uint64_t addr) \
402 static inline TYPE##_t cvmx_read64_##TYPE(uint64_t addr) \
412 #define CVMX_BUILD_READ64(TYPE, LT) extern TYPE##_t cvmx_read64_##TYPE(uint64_t csr_addr);
420 static inline TYPE##_t cvmx_read64_##TYPE(uint64_t csr_addr) \
444 return ((uint64_t)valh<<32) | vall; \
508 static inline void cvmx_write_csr(uint64_t csr_addr, uint64_t val)
519 static inline void cvmx_write_io(uint64_t io_addr, uint64_t val)
524 static inline uint64_t cvmx_read_csr(uint64_t csr_addr)
529 static inline void cvmx_send_single(uint64_t data)
531 const uint64_t CVMX_IOBDMA_SENDSINGLE = 0xffffffffffffa200ull;
535 static inline void cvmx_read_csr_async(uint64_t scraddr, uint64_t csr_addr)
539 uint64_t u64;
541 uint64_t scraddr : 8;
542 uint64_t len : 8;
543 uint64_t addr :48;
590 static inline int cvmx_dpop(uint64_t val)
605 static inline uint64_t cvmx_get_cycle(void)
621 static inline uint64_t cvmx_get_cycle_global(void)
632 static inline void cvmx_wait(uint64_t cycles)
634 uint64_t done = cvmx_get_cycle() + cycles;
648 static inline void cvmx_wait_usec(uint64_t usec)
650 uint64_t done = cvmx_get_cycle() + usec * cvmx_clock_get_rate(CVMX_CLOCK_CORE) / 1000000;
663 static inline void cvmx_wait_io(uint64_t cycles)
665 uint64_t done = cvmx_clock_get_count(CVMX_CLOCK_SCLK) + cycles;