Searched refs:cvmx_sysinfo_get (Results 1 – 15 of 15) sorted by relevance
48 struct cvmx_sysinfo *cvmx_sysinfo_get(void) in cvmx_sysinfo_get() function52 EXPORT_SYMBOL(cvmx_sysinfo_get);
54 if ((cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) && in __cvmx_helper_spi_enumerate()75 if ((cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) && in __cvmx_helper_spi_probe()121 if (cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) { in __cvmx_helper_spi_enable()150 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) { in __cvmx_helper_spi_link_get()
65 switch (cvmx_sysinfo_get()->board_type) { in cvmx_helper_board_get_mii_address()188 cvmx_sysinfo_get()->board_type); in cvmx_helper_board_get_mii_address()300 switch (cvmx_sysinfo_get()->board_type) { in __cvmx_helper_board_interface_probe()331 switch (cvmx_sysinfo_get()->board_type) { in __cvmx_helper_board_usb_get_clock_type()
54 const uint64_t clock_mhz = cvmx_sysinfo_get()->cpu_clock_hz / 1000000; in __cvmx_helper_sgmii_hardware_init_one_time()151 if (cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) { in __cvmx_helper_sgmii_hardware_init_link()181 if ((cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) && in __cvmx_helper_sgmii_hardware_init_link()321 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) in __cvmx_helper_sgmii_hardware_init()407 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) { in __cvmx_helper_sgmii_link_get()
50 uint32_t divisor = cvmx_sysinfo_get()->cpu_clock_hz / (25 * 1000000); in cvmx_helper_qlm_jtag_init()
204 uint64_t MS = cvmx_sysinfo_get()->cpu_clock_hz / 1000; in cvmx_spi_reset_cb()435 uint64_t MS = cvmx_sysinfo_get()->cpu_clock_hz / 1000; in cvmx_spi_clock_detect_cb()512 uint64_t MS = cvmx_sysinfo_get()->cpu_clock_hz / 1000; in cvmx_spi_training_cb()579 uint64_t MS = cvmx_sysinfo_get()->cpu_clock_hz / 1000; in cvmx_spi_calendar_sync_cb()
163 struct cvmx_sysinfo *sys_info_ptr = cvmx_sysinfo_get(); in __cvmx_helper_rgmii_enable()309 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) in __cvmx_helper_rgmii_link_set()
595 cvmx_sysinfo_get()->cpu_clock_hz / packets_s / 16; in cvmx_pko_rate_limit_packets()624 uint64_t clock_rate = cvmx_sysinfo_get()->cpu_clock_hz; in cvmx_pko_rate_limit_bits()
992 && (cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM)) in cvmx_helper_ipd_and_packet_input_enable()
123 extern struct cvmx_sysinfo *cvmx_sysinfo_get(void);
462 cvmx_sysinfo_get()->cpu_clock_hz / 1000000; \
144 struct cvmx_sysinfo *sysinfo = cvmx_sysinfo_get(); in octeon_smp_setup()
335 struct cvmx_sysinfo *sysinfo = cvmx_sysinfo_get(); in octeon_get_clock_rate()680 sysinfo = cvmx_sysinfo_get(); in prom_init()
466 switch (cvmx_sysinfo_get()->board_type) { in octeon_has_fixed_link()619 switch (cvmx_sysinfo_get()->board_type) { in octeon_rx_tx_delay()
748 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_EBH5200) { in __cvmx_pcie_rc_initialize_gen1()1065 if ((cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_EBH5200) && in __cvmx_pcie_rc_initialize_gen1()