Home
last modified time | relevance | path

Searched refs:ciu_fuse (Results 1 – 2 of 2) sorted by relevance

/u-boot/arch/mips/mach-octeon/
A Dcvmx-coremask.c180 u64 ciu_fuse; in octeon_get_available_coremask() local
189 ciu_fuse = (csr_rd(CVMX_CIU_FUSE) & in octeon_get_available_coremask()
192 ciu_fuse = get_logical_coremask(ciu_fuse); in octeon_get_available_coremask()
193 cvmx_coremask_set64_node(pcm, node, ciu_fuse); in octeon_get_available_coremask()
199 ciu_fuse = (csr_rd(CVMX_CIU_FUSE) & 0x0000FFFFFFFFFFFFULL); in octeon_get_available_coremask()
200 ciu_fuse = get_logical_coremask(ciu_fuse); in octeon_get_available_coremask()
203 cvmx_coremask_set64(pcm, ciu_fuse); in octeon_get_available_coremask()
206 cores = __builtin_popcountll(ciu_fuse); in octeon_get_available_coremask()
A Dcpu.c76 void __iomem *ciu_fuse; in cavm_octeon_num_cores() local
78 ciu_fuse = ioremap(CAVM_CIU_FUSE, 0); in cavm_octeon_num_cores()
79 return fls64(ioread64(ciu_fuse) & 0xffffffffffff); in cavm_octeon_num_cores()

Completed in 2 milliseconds