Home
last modified time | relevance | path

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

12

/f-stack/freebsd/mips/cavium/
H A Docteon_machdep.c312 cvmx_sysinfo_get()->core_mask); in platform_start()
332 cvmx_sysinfo_get()->board_type, in platform_start()
333 cvmx_sysinfo_get()->board_rev_major, in platform_start()
334 cvmx_sysinfo_get()->board_rev_minor); in platform_start()
343 cvmx_sysinfo_get()->mac_addr_base, ":", in platform_start()
344 cvmx_sysinfo_get()->mac_addr_count); in platform_start()
374 cpu_clock = cvmx_sysinfo_get()->cpu_clock_hz; in platform_start()
429 cvmx_sysinfo_get()->board_rev_major == 1) in sysctl_machdep_led_display()
605 memcpy(cvmx_sysinfo_get()->mac_addr_base, in octeon_process_app_desc_ver_6()
613 cvmx_sysinfo_get()->led_display_base_addr = in octeon_process_app_desc_ver_6()
[all …]
H A Docteon_ebt3000_cf.c588 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) in cf_probe()
616 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) in cf_identify()
619 phys_base = cvmx_sysinfo_get()->compact_flash_common_base_addr; in cf_identify()
629 if (cvmx_sysinfo_get()->compact_flash_attribute_base_addr == 0) in cf_identify()
694 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) in cf_attach()
H A Docteon_mp.c115 uint64_t core_mask = cvmx_sysinfo_get()->core_mask; in platform_cpu_mask()
H A Doctopci.c123 if ((cvmx_sysinfo_get()->bootloader_config_flags & CVMX_BOOTINFO_CFG_FLAG_PCI_HOST) == 0) in octopci_probe()
448 switch (cvmx_sysinfo_get()->board_type) { in octopci_route_interrupt()
612 switch (cvmx_sysinfo_get()->board_type) { in octopci_init_device()
788 switch (cvmx_sysinfo_get()->board_type) { in octopci_init_pci()
915 switch (cvmx_sysinfo_get()->board_type) { in octopci_init_pci()
H A Docteon_pci_console.c87 switch (cvmx_sysinfo_get()->board_type) { in opcic_cnprobe()
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-ebt3000.c66 …char *led_base = CASTPTR(char , CVMX_ADD_SEG32(CVMX_MIPS32_SPACE_KSEG0, cvmx_sysinfo_get()->led_di… in ebt3000_char_write()
69 …if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_EBT3000 && cvmx_sysinfo_get()->board_rev_maj… in ebt3000_char_write()
89 if (!cvmx_sysinfo_get()->led_display_base_addr) in ebt3000_str_write()
91 …led_base = CASTPTR(char, CVMX_ADD_SEG32(CVMX_MIPS32_SPACE_KSEG0, cvmx_sysinfo_get()->led_display_b… in ebt3000_str_write()
92 …if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_EBT3000 && cvmx_sysinfo_get()->board_rev_maj… in ebt3000_str_write()
H A Dcvmx-rtc.h84 switch (cvmx_sysinfo_get()->board_type) in cvmx_rtc_supported()
103 cvmx_board_type_to_string(cvmx_sysinfo_get()->board_type), in cvmx_rtc_supported()
120 switch (cvmx_sysinfo_get()->board_type) in cvmx_rtc_read()
141 switch (cvmx_sysinfo_get()->board_type) in cvmx_rtc_write()
H A Dcvmx-helper-spi.c92 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_CUST_LANNER_MR955) in __cvmx_helper_spi_enumerate()
108 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_CUST_RADISYS_RSYS4GBE) { in __cvmx_helper_spi_enumerate()
117 if ((cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) && in __cvmx_helper_spi_enumerate()
181 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_CUST_RADISYS_RSYS4GBE) in __cvmx_helper_spi_enable()
187 if (cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) in __cvmx_helper_spi_enable()
214 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) in __cvmx_helper_spi_link_get()
H A Dcvmx-app-init.c266 unsigned int coremask = cvmx_sysinfo_get()->core_mask; in exit_on_break()
299 cvmx_sysinfo_t *sys_info_ptr = cvmx_sysinfo_get(); in __cvmx_app_init()
444 if (cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) in cvmx_user_app_init()
494 if (cvmx_sysinfo_get()->bootloader_config_flags & CVMX_BOOTINFO_CFG_FLAG_OVERSIZE_TLB_MAPPING) in cvmx_user_app_init()
528 …for (base_addr = 0x20000000ULL; base_addr < (cvmx_sysinfo_get()->system_dram_size + 0x10000000ULL)… in cvmx_user_app_init()
547 if (cvmx_sysinfo_get()->system_dram_size > 0x20000000ULL) in cvmx_user_app_init()
549 …for (base_addr = 0x20000000ULL; base_addr <= (cvmx_sysinfo_get()->system_dram_size - 0x20000000ULL… in cvmx_user_app_init()
564 cvmx_sysinfo_t *sys_info_ptr = cvmx_sysinfo_get(); in cvmx_user_app_init()
568 if (cvmx_coremask_first_core(cvmx_sysinfo_get()->core_mask)) in cvmx_user_app_init()
578 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) in __cvmx_app_exit()
H A Dcvmx-helper-board.c373 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) in cvmx_helper_board_get_mii_address()
376 if (cvmx_sysinfo_get()->fdt_addr) in cvmx_helper_board_get_mii_address()
383 switch (cvmx_sysinfo_get()->board_type) in cvmx_helper_board_get_mii_address()
794 switch (cvmx_sysinfo_get()->board_type) in __switch_mdio_mux()
906 cvmx_sysinfo_get()->board_type); in __switch_mdio_mux()
933 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) in __cvmx_helper_board_link_get_from_dt()
992 if (cvmx_sysinfo_get()->fdt_addr) in __cvmx_helper_board_link_get()
1008 switch (cvmx_sysinfo_get()->board_type) in __cvmx_helper_board_link_get()
1354 switch (cvmx_sysinfo_get()->board_type) in __cvmx_helper_board_interface_probe()
1583 switch (cvmx_sysinfo_get()->board_type) in __cvmx_helper_board_usb_get_clock_type()
[all …]
H A Dcvmx-helper-sgmii.c122 && (cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_CUST_W5650) in __cvmx_helper_sgmii_hardware_init_one_time()
123 && (cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_CUST_W63XX) in __cvmx_helper_sgmii_hardware_init_one_time()
185 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM in __cvmx_helper_need_g15618()
212 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_CUST_TNPA5651X) { in __cvmx_helper_sgmii_hardware_init_link()
230 if( (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_CUST_TNPA56X4) && (interface == 0) ) in __cvmx_helper_sgmii_hardware_init_link()
253 if ((cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) && in __cvmx_helper_sgmii_hardware_init_link()
281 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_CUST_TNPA5651X) in __cvmx_helper_sgmii_hardware_init_link_speed()
420 if (!(cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM)) in __cvmx_helper_sgmii_hardware_init()
574 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) in __cvmx_helper_sgmii_link_get()
H A Dcvmx-sysinfo.c116 struct cvmx_sysinfo *cvmx_sysinfo_get(void) in cvmx_sysinfo_get() function
142 EXPORT_SYMBOL(cvmx_sysinfo_get);
191 cvmx_sysinfo_t *system_info = cvmx_sysinfo_get(); in cvmx_sysinfo_linux_userspace_initialize()
H A Dcvmx-app-hotplug.c89 if (!(cvmx_app_hotplug_info_ptr = cvmx_app_hotplug_get_info(cvmx_sysinfo_get()->core_mask))) in cvmx_app_hotplug_register()
133 app_info = cvmx_app_hotplug_get_info(cvmx_sysinfo_get()->core_mask); in cvmx_app_hotplug_register_cb()
209 cvmx_sysinfo_t *sys_info_ptr = cvmx_sysinfo_get(); in cvmx_app_hotplug_activate()
292 cvmx_sysinfo_t *sys_info_ptr = cvmx_sysinfo_get(); in cvmx_app_hotplug_core_shutdown()
325 cvmx_sysinfo_t *sys_info_ptr = cvmx_sysinfo_get(); in __cvmx_app_hotplug_shutdown()
482 cvmx_sysinfo_t *sys_info_ptr = cvmx_sysinfo_get(); in __cvmx_app_hotplug_sync()
H A Dcvmx-app-init-linux.c347 cvmx_bootmem_init(cvmx_sysinfo_get()->phy_mem_desc_addr); in main()
363 cvmx_sysinfo_t *system_info = cvmx_sysinfo_get(); in main()
H A Dcvmx-sysinfo.h134 extern struct cvmx_sysinfo *cvmx_sysinfo_get(void);
H A Dcvmx-clock.c132 rate_dclk = cvmx_sysinfo_get()->dram_data_rate_hz; in cvmx_clock_get_rate()
H A Dcvmx-uart.c72 return cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM; in cvmx_uart_simulator_p()
H A Dcvmx-helper.c142 switch (cvmx_sysinfo_get()->board_type) { in cvmx_helper_get_number_of_interfaces()
378 …if (interface == 0 && cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_CN3005_EVB_HS5 && cvmx_sys… in cvmx_helper_interface_get_mode()
1090 (cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM)) in cvmx_helper_ipd_and_packet_input_enable()
1286 if (cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) in cvmx_helper_initialize_packet_io_global()
1691 if ((cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) && in cvmx_helper_shutdown_packet_io_global()
H A Dcvmx-helper-rgmii.c240 switch (cvmx_sysinfo_get()->board_type) { in __cvmx_helper_rgmii_enable()
344 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) in __cvmx_helper_rgmii_link_set()
H A Dcvmx-llm.c111 sys_ptr = cvmx_sysinfo_get(); in cvmx_llm_get_default_descriptor()
221 sys_ptr = cvmx_sysinfo_get(); in cvmx_llm_initialize_desc()
705 int ref_freq_hz = cvmx_sysinfo_get()->dfa_ref_clock_hz; in cn31xx_dfa_memory_init()
H A Dcvmx-debug.h82 return cvmx_sysinfo_get()->bootloader_config_flags & CVMX_BOOTINFO_CFG_FLAG_DEBUG; in cvmx_debug_booted()
H A Dcvmx-qlm.c225 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) in cvmx_qlm_init()
/f-stack/freebsd/mips/cavium/octe/
H A Dethernet-common.c106 cvmx_sysinfo_get()->mac_addr_base, 6); in cvm_assign_mac_address()
115 if (cvm_oct_mac_addr_offset >= cvmx_sysinfo_get()->mac_addr_count) in cvm_assign_mac_address()
228 if (cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM && priv->miibus == NULL) { in cvm_oct_common_open()
266 if (cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_SIM) in cvm_oct_common_poll()
320 switch (cvmx_sysinfo_get()->board_type) { in cvm_oct_common_init()
H A Dethernet-rgmii.c247 if (cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) { in cvm_oct_rgmii_init()
274 if (cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM) { in cvm_oct_rgmii_uninit()
H A Dethernet-tx.c125 cvmx_sysinfo_get()->board_type == CVMX_BOARD_TYPE_CUST_RADISYS_RSYS4GBE) { in cvm_oct_xmit()

12