Lines Matching refs:sysinfo
334 struct cvmx_sysinfo *sysinfo = cvmx_sysinfo_get(); in octeon_get_clock_rate() local
336 return sysinfo->cpu_clock_hz; in octeon_get_clock_rate()
661 struct cvmx_sysinfo *sysinfo; in prom_init() local
679 sysinfo = cvmx_sysinfo_get(); in prom_init()
680 memset(sysinfo, 0, sizeof(*sysinfo)); in prom_init()
681 sysinfo->system_dram_size = octeon_bootinfo->dram_size << 20; in prom_init()
682 sysinfo->phy_mem_desc_addr = (u64)phys_to_virt(octeon_bootinfo->phy_mem_desc_addr); in prom_init()
687 cvmx_coremask_copy(&sysinfo->core_mask, in prom_init()
690 cvmx_coremask_set64(&sysinfo->core_mask, in prom_init()
696 cvmx_coremask_clear_core(&sysinfo->core_mask, i); in prom_init()
698 sysinfo->exception_base_addr = octeon_bootinfo->exception_base_addr; in prom_init()
699 sysinfo->cpu_clock_hz = octeon_bootinfo->eclock_hz; in prom_init()
700 sysinfo->dram_data_rate_hz = octeon_bootinfo->dclock_hz * 2; in prom_init()
701 sysinfo->board_type = octeon_bootinfo->board_type; in prom_init()
702 sysinfo->board_rev_major = octeon_bootinfo->board_rev_major; in prom_init()
703 sysinfo->board_rev_minor = octeon_bootinfo->board_rev_minor; in prom_init()
704 memcpy(sysinfo->mac_addr_base, octeon_bootinfo->mac_addr_base, in prom_init()
705 sizeof(sysinfo->mac_addr_base)); in prom_init()
706 sysinfo->mac_addr_count = octeon_bootinfo->mac_addr_count; in prom_init()
707 memcpy(sysinfo->board_serial_number, in prom_init()
709 sizeof(sysinfo->board_serial_number)); in prom_init()
710 sysinfo->compact_flash_common_base_addr = in prom_init()
712 sysinfo->compact_flash_attribute_base_addr = in prom_init()
714 sysinfo->led_display_base_addr = octeon_bootinfo->led_display_base_addr; in prom_init()
715 sysinfo->dfa_ref_clock_hz = octeon_bootinfo->dfa_ref_clock_hz; in prom_init()
716 sysinfo->bootloader_config_flags = octeon_bootinfo->config_flags; in prom_init()
729 octeon_io_clock_rate = sysinfo->cpu_clock_hz; in prom_init()