Home
last modified time | relevance | path

Searched refs:cvmx_sysinfo_get (Results 1 – 13 of 13) sorted by relevance

/linux-3.4.99/arch/mips/cavium-octeon/executive/
Dcvmx-helper-spi.c56 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()
Dcvmx-sysinfo.c69 struct cvmx_sysinfo *cvmx_sysinfo_get(void) in cvmx_sysinfo_get() function
73 EXPORT_SYMBOL(cvmx_sysinfo_get);
Dcvmx-helper-board.c77 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()
Dcvmx-helper-sgmii.c58 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()
Dcvmx-spi.c203 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()
Dcvmx-helper-jtag.c50 uint32_t divisor = cvmx_sysinfo_get()->cpu_clock_hz / (25 * 1000000); in cvmx_helper_qlm_jtag_init()
Dcvmx-pko.c455 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()
Dcvmx-helper.c131 && 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()
Dcvmx-helper-rgmii.c168 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()
/linux-3.4.99/arch/mips/include/asm/octeon/
Dcvmx-sysinfo.h122 extern struct cvmx_sysinfo *cvmx_sysinfo_get(void);
Dcvmx.h420 cvmx_sysinfo_get()->cpu_clock_hz / 1000000; \
/linux-3.4.99/arch/mips/cavium-octeon/
Dsetup.c99 struct cvmx_sysinfo *sysinfo = cvmx_sysinfo_get(); in octeon_get_clock_rate()
429 sysinfo = cvmx_sysinfo_get(); in prom_init()
/linux-3.4.99/arch/mips/pci/
Dpcie-octeon.c750 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()