Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/octeon/
Dcvmx-helper-spi.c67 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()
Dcvmx-helper-board.c77 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()
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()
403 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-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()
766 && (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-2.6.39/arch/mips/cavium-octeon/executive/
Dcvmx-sysinfo.c69 struct cvmx_sysinfo *cvmx_sysinfo_get(void) in cvmx_sysinfo_get() function
73 EXPORT_SYMBOL(cvmx_sysinfo_get);
Dcvmx-helper-jtag.c50 uint32_t divisor = cvmx_sysinfo_get()->cpu_clock_hz / (25 * 1000000); in cvmx_helper_qlm_jtag_init()
/linux-2.6.39/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-2.6.39/arch/mips/cavium-octeon/
Dsetup.c100 struct cvmx_sysinfo *sysinfo = cvmx_sysinfo_get(); in octeon_get_clock_rate()
437 sysinfo = cvmx_sysinfo_get(); in prom_init()
/linux-2.6.39/arch/mips/pci/
Dpcie-octeon.c619 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()