Searched refs:cvmx_sysinfo_get (Results 1 – 13 of 13) sorted by relevance
67 if ((cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) && in __cvmx_helper_spi_probe()113 if (cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) { in __cvmx_helper_spi_enable()142 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) { in __cvmx_helper_spi_link_get()
77 switch (cvmx_sysinfo_get()->board_type) { in cvmx_helper_board_get_mii_address()169 cvmx_sysinfo_get()->board_type); in cvmx_helper_board_get_mii_address()208 switch (cvmx_sysinfo_get()->board_type) { in __cvmx_helper_board_link_get()601 switch (cvmx_sysinfo_get()->board_type) { in __cvmx_helper_board_interface_probe()636 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_CN3005_EVB_HS5) { in __cvmx_helper_board_hardware_enable()651 } else if (cvmx_sysinfo_get()->board_type == in __cvmx_helper_board_hardware_enable()
58 const uint64_t clock_mhz = cvmx_sysinfo_get()->cpu_clock_hz / 1000000; in __cvmx_helper_sgmii_hardware_init_one_time()155 if (cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) { in __cvmx_helper_sgmii_hardware_init_link()185 if ((cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) && in __cvmx_helper_sgmii_hardware_init_link()403 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) { in __cvmx_helper_sgmii_link_get()
203 uint64_t MS = cvmx_sysinfo_get()->cpu_clock_hz / 1000; in cvmx_spi_reset_cb()434 uint64_t MS = cvmx_sysinfo_get()->cpu_clock_hz / 1000; in cvmx_spi_clock_detect_cb()511 uint64_t MS = cvmx_sysinfo_get()->cpu_clock_hz / 1000; in cvmx_spi_training_cb()578 uint64_t MS = cvmx_sysinfo_get()->cpu_clock_hz / 1000; in cvmx_spi_calendar_sync_cb()
455 cvmx_sysinfo_get()->cpu_clock_hz / packets_s / 16; in cvmx_pko_rate_limit_packets()484 uint64_t clock_rate = cvmx_sysinfo_get()->cpu_clock_hz; in cvmx_pko_rate_limit_bits()
131 && cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_CN3005_EVB_HS5 in cvmx_helper_interface_get_mode()132 && cvmx_sysinfo_get()->board_rev_major == 1) { in cvmx_helper_interface_get_mode()766 && (cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM)) in cvmx_helper_ipd_and_packet_input_enable()
168 struct cvmx_sysinfo *sys_info_ptr = cvmx_sysinfo_get(); in __cvmx_helper_rgmii_enable()316 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) in __cvmx_helper_rgmii_link_set()
69 struct cvmx_sysinfo *cvmx_sysinfo_get(void) in cvmx_sysinfo_get() function73 EXPORT_SYMBOL(cvmx_sysinfo_get);
50 uint32_t divisor = cvmx_sysinfo_get()->cpu_clock_hz / (25 * 1000000); in cvmx_helper_qlm_jtag_init()
122 extern struct cvmx_sysinfo *cvmx_sysinfo_get(void);
420 cvmx_sysinfo_get()->cpu_clock_hz / 1000000; \
100 struct cvmx_sysinfo *sysinfo = cvmx_sysinfo_get(); in octeon_get_clock_rate()437 sysinfo = cvmx_sysinfo_get(); in prom_init()
619 2 * cvmx_sysinfo_get()->cpu_clock_hz) { in __cvmx_pcie_rc_initialize_link()730 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_EBH5200) { in cvmx_pcie_rc_initialize()