Searched refs:cvmx_sysinfo_get (Results 1 – 13 of 13) sorted by relevance
56 if ((cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) && in __cvmx_helper_spi_enumerate()77 if ((cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) && in __cvmx_helper_spi_probe()123 if (cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) { in __cvmx_helper_spi_enable()152 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) { in __cvmx_helper_spi_link_get()
69 struct cvmx_sysinfo *cvmx_sysinfo_get(void) in cvmx_sysinfo_get() function73 EXPORT_SYMBOL(cvmx_sysinfo_get);
77 switch (cvmx_sysinfo_get()->board_type) { in cvmx_helper_board_get_mii_address()189 cvmx_sysinfo_get()->board_type); in cvmx_helper_board_get_mii_address()228 switch (cvmx_sysinfo_get()->board_type) { in __cvmx_helper_board_link_get()617 switch (cvmx_sysinfo_get()->board_type) { in __cvmx_helper_board_interface_probe()652 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_CN3005_EVB_HS5) { in __cvmx_helper_board_hardware_enable()667 } 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()407 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()
50 uint32_t divisor = cvmx_sysinfo_get()->cpu_clock_hz / (25 * 1000000); in cvmx_helper_qlm_jtag_init()
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()824 && (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()
122 extern struct cvmx_sysinfo *cvmx_sysinfo_get(void);
420 cvmx_sysinfo_get()->cpu_clock_hz / 1000000; \
99 struct cvmx_sysinfo *sysinfo = cvmx_sysinfo_get(); in octeon_get_clock_rate()429 sysinfo = cvmx_sysinfo_get(); in prom_init()
750 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_EBH5200) { in __cvmx_pcie_rc_initialize_gen1()1067 if ((cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_EBH5200) && in __cvmx_pcie_rc_initialize_gen1()