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
676 sysinfo = cvmx_sysinfo_get(); in prom_init()
677 memset(sysinfo, 0, sizeof(*sysinfo)); in prom_init()
678 sysinfo->system_dram_size = octeon_bootinfo->dram_size << 20; in prom_init()
679 sysinfo->phy_mem_desc_addr = (u64)phys_to_virt(octeon_bootinfo->phy_mem_desc_addr); in prom_init()
684 cvmx_coremask_copy(&sysinfo->core_mask, in prom_init()
687 cvmx_coremask_set64(&sysinfo->core_mask, in prom_init()
693 cvmx_coremask_clear_core(&sysinfo->core_mask, i); in prom_init()
695 sysinfo->exception_base_addr = octeon_bootinfo->exception_base_addr; in prom_init()
696 sysinfo->cpu_clock_hz = octeon_bootinfo->eclock_hz; in prom_init()
697 sysinfo->dram_data_rate_hz = octeon_bootinfo->dclock_hz * 2; in prom_init()
698 sysinfo->board_type = octeon_bootinfo->board_type; in prom_init()
699 sysinfo->board_rev_major = octeon_bootinfo->board_rev_major; in prom_init()
700 sysinfo->board_rev_minor = octeon_bootinfo->board_rev_minor; in prom_init()
701 memcpy(sysinfo->mac_addr_base, octeon_bootinfo->mac_addr_base, in prom_init()
702 sizeof(sysinfo->mac_addr_base)); in prom_init()
703 sysinfo->mac_addr_count = octeon_bootinfo->mac_addr_count; in prom_init()
704 memcpy(sysinfo->board_serial_number, in prom_init()
706 sizeof(sysinfo->board_serial_number)); in prom_init()
707 sysinfo->compact_flash_common_base_addr = in prom_init()
709 sysinfo->compact_flash_attribute_base_addr = in prom_init()
711 sysinfo->led_display_base_addr = octeon_bootinfo->led_display_base_addr; in prom_init()
712 sysinfo->dfa_ref_clock_hz = octeon_bootinfo->dfa_ref_clock_hz; in prom_init()
713 sysinfo->bootloader_config_flags = octeon_bootinfo->config_flags; in prom_init()
726 octeon_io_clock_rate = sysinfo->cpu_clock_hz; in prom_init()