/linux/arch/mips/include/asm/octeon/ |
A D | octeon-feature.h | 134 || OCTEON_IS_MODEL(OCTEON_CN52XX) in octeon_has_feature() 135 || OCTEON_IS_MODEL(OCTEON_CN6XXX) in octeon_has_feature() 136 || OCTEON_IS_MODEL(OCTEON_CN7XXX); in octeon_has_feature() 140 || OCTEON_IS_MODEL(OCTEON_CN66XX); in octeon_has_feature() 147 || OCTEON_IS_MODEL(OCTEON_CN58XX) in octeon_has_feature() 148 || OCTEON_IS_MODEL(OCTEON_CN56XX) in octeon_has_feature() 149 || OCTEON_IS_MODEL(OCTEON_CN6XXX); in octeon_has_feature() 153 || OCTEON_IS_MODEL(OCTEON_CN58XX) in octeon_has_feature() 161 || OCTEON_IS_MODEL(OCTEON_CN52XX) in octeon_has_feature() 166 || OCTEON_IS_MODEL(OCTEON_CN52XX) in octeon_has_feature() [all …]
|
A D | cvmx-pko.h | 71 #define CVMX_PKO_MAX_OUTPUT_QUEUES ((OCTEON_IS_MODEL(OCTEON_CN31XX) || \ 72 OCTEON_IS_MODEL(OCTEON_CN3010) || OCTEON_IS_MODEL(OCTEON_CN3005) || \ 73 OCTEON_IS_MODEL(OCTEON_CN50XX)) ? 32 : \ 74 (OCTEON_IS_MODEL(OCTEON_CN58XX) || \ 75 OCTEON_IS_MODEL(OCTEON_CN56XX)) ? 256 : 128) 543 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in cvmx_pko_get_base_queue() 601 if (OCTEON_IS_MODEL(OCTEON_CN3XXX)) { in cvmx_pko_get_port_status()
|
A D | octeon-model.h | 382 #define OCTEON_IS_MODEL(x) __octeon_is_model_runtime__(x) macro 386 #define OCTEON_IS_OCTEON1() OCTEON_IS_MODEL(OCTEON_CN3XXX) 387 #define OCTEON_IS_OCTEONPLUS() OCTEON_IS_MODEL(OCTEON_CN5XXX) 389 (OCTEON_IS_MODEL(OCTEON_CN6XXX) || OCTEON_IS_MODEL(OCTEON_CNF71XX)) 391 #define OCTEON_IS_OCTEON3() OCTEON_IS_MODEL(OCTEON_CN7XXX)
|
A D | cvmx-ipd.h | 139 if (!OCTEON_IS_MODEL(OCTEON_CN38XX_PASS2)) in cvmx_ipd_enable() 162 if (!OCTEON_IS_MODEL(OCTEON_CN38XX_PASS1) in cvmx_ipd_free_ptr() 163 && !OCTEON_IS_MODEL(OCTEON_CN38XX_PASS2)) { in cvmx_ipd_free_ptr()
|
/linux/arch/mips/cavium-octeon/executive/ |
A D | cvmx-l2c.c | 57 if (OCTEON_IS_MODEL(OCTEON_CN63XX)) in cvmx_l2c_get_core_way_partition() 172 if (OCTEON_IS_MODEL(OCTEON_CN5XXX) || OCTEON_IS_MODEL(OCTEON_CN3XXX)) { in cvmx_l2c_config_perf() 237 if (OCTEON_IS_MODEL(OCTEON_CN5XXX) || OCTEON_IS_MODEL(OCTEON_CN3XXX)) in cvmx_l2c_read_perf() 248 if (OCTEON_IS_MODEL(OCTEON_CN5XXX) || OCTEON_IS_MODEL(OCTEON_CN3XXX)) in cvmx_l2c_read_perf() 259 if (OCTEON_IS_MODEL(OCTEON_CN5XXX) || OCTEON_IS_MODEL(OCTEON_CN3XXX)) in cvmx_l2c_read_perf() 271 if (OCTEON_IS_MODEL(OCTEON_CN5XXX) || OCTEON_IS_MODEL(OCTEON_CN3XXX)) in cvmx_l2c_read_perf() 693 if (OCTEON_IS_MODEL(OCTEON_CN58XX) || OCTEON_IS_MODEL(OCTEON_CN56XX)) { in cvmx_l2c_get_tag() 705 } else if (OCTEON_IS_MODEL(OCTEON_CN31XX) || OCTEON_IS_MODEL(OCTEON_CN52XX)) { in cvmx_l2c_get_tag() 774 if (OCTEON_IS_MODEL(OCTEON_CN56XX) || OCTEON_IS_MODEL(OCTEON_CN58XX)) in cvmx_l2c_get_set_bits() 776 else if (OCTEON_IS_MODEL(OCTEON_CN38XX) || OCTEON_IS_MODEL(OCTEON_CN63XX)) in cvmx_l2c_get_set_bits() [all …]
|
A D | cvmx-helper-npi.c | 52 if (OCTEON_IS_MODEL(OCTEON_CN38XX) || OCTEON_IS_MODEL(OCTEON_CN58XX)) in __cvmx_helper_npi_probe() 54 else if (OCTEON_IS_MODEL(OCTEON_CN56XX) in __cvmx_helper_npi_probe() 55 && !OCTEON_IS_MODEL(OCTEON_CN56XX_PASS1_X)) in __cvmx_helper_npi_probe() 58 else if (OCTEON_IS_MODEL(OCTEON_CN52XX) in __cvmx_helper_npi_probe() 59 && !OCTEON_IS_MODEL(OCTEON_CN52XX_PASS1_X)) in __cvmx_helper_npi_probe() 82 if (!OCTEON_IS_MODEL(OCTEON_CN3XXX) && in __cvmx_helper_npi_enable() 83 !OCTEON_IS_MODEL(OCTEON_CN58XX)) { in __cvmx_helper_npi_enable()
|
A D | cvmx-helper.c | 62 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in cvmx_helper_get_number_of_interfaces() 64 if (OCTEON_IS_MODEL(OCTEON_CN56XX) || OCTEON_IS_MODEL(OCTEON_CN52XX)) in cvmx_helper_get_number_of_interfaces() 66 if (OCTEON_IS_MODEL(OCTEON_CN7XXX)) in cvmx_helper_get_number_of_interfaces() 148 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in __cvmx_get_mode_octeon2() 165 if (OCTEON_IS_MODEL(OCTEON_CN66XX)) { in __cvmx_get_mode_octeon2() 297 if (OCTEON_IS_MODEL(OCTEON_CN7XXX)) in cvmx_helper_interface_get_mode() 303 if (OCTEON_IS_MODEL(OCTEON_CN6XXX) || OCTEON_IS_MODEL(OCTEON_CNF71XX)) in cvmx_helper_interface_get_mode() 313 if (OCTEON_IS_MODEL(OCTEON_CN56XX) in cvmx_helper_interface_get_mode() 322 && (OCTEON_IS_MODEL(OCTEON_CN31XX) || OCTEON_IS_MODEL(OCTEON_CN30XX) in cvmx_helper_interface_get_mode() 323 || OCTEON_IS_MODEL(OCTEON_CN50XX) in cvmx_helper_interface_get_mode() [all …]
|
A D | cvmx-interrupt-rsl.c | 59 if (OCTEON_IS_MODEL(OCTEON_CN38XX) || OCTEON_IS_MODEL(OCTEON_CN58XX)) in __cvmx_interrupt_asxx_enable() 85 if (OCTEON_IS_MODEL(OCTEON_CN56XX) || OCTEON_IS_MODEL(OCTEON_CN52XX)) { in __cvmx_interrupt_gmxx_enable() 103 if (OCTEON_IS_MODEL(OCTEON_CN38XX) in __cvmx_interrupt_gmxx_enable() 104 || OCTEON_IS_MODEL(OCTEON_CN58XX)) { in __cvmx_interrupt_gmxx_enable() 131 if (OCTEON_IS_MODEL(OCTEON_CN38XX) in __cvmx_interrupt_gmxx_enable() 132 || OCTEON_IS_MODEL(OCTEON_CN58XX)) in __cvmx_interrupt_gmxx_enable()
|
A D | cvmx-interrupt-decodes.c | 59 if (OCTEON_IS_MODEL(OCTEON_CN56XX)) { in __cvmx_interrupt_gmxx_rxx_int_en_enable() 88 if (OCTEON_IS_MODEL(OCTEON_CN30XX)) { in __cvmx_interrupt_gmxx_rxx_int_en_enable() 110 if (OCTEON_IS_MODEL(OCTEON_CN50XX)) { in __cvmx_interrupt_gmxx_rxx_int_en_enable() 133 if (OCTEON_IS_MODEL(OCTEON_CN38XX)) { in __cvmx_interrupt_gmxx_rxx_int_en_enable() 155 if (OCTEON_IS_MODEL(OCTEON_CN31XX)) { in __cvmx_interrupt_gmxx_rxx_int_en_enable() 177 if (OCTEON_IS_MODEL(OCTEON_CN58XX)) { in __cvmx_interrupt_gmxx_rxx_int_en_enable() 200 if (OCTEON_IS_MODEL(OCTEON_CN52XX)) { in __cvmx_interrupt_gmxx_rxx_int_en_enable() 242 if (OCTEON_IS_MODEL(OCTEON_CN56XX)) { in __cvmx_interrupt_pcsx_intx_en_reg_enable() 257 if (OCTEON_IS_MODEL(OCTEON_CN52XX)) { in __cvmx_interrupt_pcsx_intx_en_reg_enable() 284 if (OCTEON_IS_MODEL(OCTEON_CN56XX)) { in __cvmx_interrupt_pcsxx_int_en_reg_enable() [all …]
|
A D | cvmx-helper-rgmii.c | 59 if (OCTEON_IS_MODEL(OCTEON_CN38XX) in __cvmx_helper_rgmii_probe() 60 || OCTEON_IS_MODEL(OCTEON_CN58XX)) { in __cvmx_helper_rgmii_probe() 64 || OCTEON_IS_MODEL(OCTEON_CN30XX) in __cvmx_helper_rgmii_probe() 65 || OCTEON_IS_MODEL(OCTEON_CN50XX)) { in __cvmx_helper_rgmii_probe() 76 if (OCTEON_IS_MODEL(OCTEON_CN38XX) in __cvmx_helper_rgmii_probe() 77 || OCTEON_IS_MODEL(OCTEON_CN58XX)) { in __cvmx_helper_rgmii_probe() 80 || OCTEON_IS_MODEL(OCTEON_CN30XX) in __cvmx_helper_rgmii_probe() 81 || OCTEON_IS_MODEL(OCTEON_CN50XX)) { in __cvmx_helper_rgmii_probe() 172 if ((OCTEON_IS_MODEL(OCTEON_CN38XX) || in __cvmx_helper_rgmii_enable() 223 if (OCTEON_IS_MODEL(OCTEON_CN50XX)) { in __cvmx_helper_rgmii_enable() [all …]
|
A D | cvmx-helper-util.c | 215 if (!OCTEON_IS_MODEL(OCTEON_CN30XX) && !OCTEON_IS_MODEL(OCTEON_CN31XX) in __cvmx_helper_setup_gmx() 216 && !OCTEON_IS_MODEL(OCTEON_CN50XX)) { in __cvmx_helper_setup_gmx() 253 if (OCTEON_IS_MODEL(OCTEON_CN30XX) || OCTEON_IS_MODEL(OCTEON_CN31XX) in __cvmx_helper_setup_gmx() 254 || OCTEON_IS_MODEL(OCTEON_CN50XX)) { in __cvmx_helper_setup_gmx()
|
A D | cvmx-pko.c | 162 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) { in __cvmx_pko_chip_init() 209 if (OCTEON_IS_MODEL(OCTEON_CN38XX) || OCTEON_IS_MODEL(OCTEON_CN58XX) in cvmx_pko_initialize_global() 210 || OCTEON_IS_MODEL(OCTEON_CN56XX) in cvmx_pko_initialize_global() 211 || OCTEON_IS_MODEL(OCTEON_CN52XX)) { in cvmx_pko_initialize_global() 218 if (OCTEON_IS_MODEL(OCTEON_CN38XX)) { in cvmx_pko_initialize_global() 296 if (!OCTEON_IS_MODEL(OCTEON_CN3XXX)) { in cvmx_pko_shutdown() 337 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in cvmx_pko_config_port() 528 if (!OCTEON_IS_MODEL(OCTEON_CN3XXX)) in cvmx_pko_config_port()
|
A D | cvmx-helper-jtag.c | 65 if (OCTEON_IS_MODEL(OCTEON_CN52XX)) in cvmx_helper_qlm_jtag_init() 94 if (!OCTEON_IS_MODEL(OCTEON_CN56XX_PASS1_X)) in cvmx_helper_qlm_jtag_shift() 138 if (!OCTEON_IS_MODEL(OCTEON_CN56XX_PASS1_X)) in cvmx_helper_qlm_jtag_update()
|
A D | cvmx-helper-board.c | 228 if (OCTEON_IS_MODEL(OCTEON_CN3XXX) in __cvmx_helper_board_link_get() 229 || OCTEON_IS_MODEL(OCTEON_CN58XX) in __cvmx_helper_board_link_get() 230 || OCTEON_IS_MODEL(OCTEON_CN50XX)) { in __cvmx_helper_board_link_get()
|
A D | cvmx-spi.c | 110 if (!(OCTEON_IS_MODEL(OCTEON_CN38XX) || OCTEON_IS_MODEL(OCTEON_CN58XX))) in cvmx_spi_start_interface() 154 if (!(OCTEON_IS_MODEL(OCTEON_CN38XX) || OCTEON_IS_MODEL(OCTEON_CN58XX))) in cvmx_spi_restart_interface() 282 if (OCTEON_IS_MODEL(OCTEON_CN58XX)) in cvmx_spi_reset_cb()
|
A D | octeon-model.c | 73 if (OCTEON_IS_MODEL(OCTEON_CN3XXX) || OCTEON_IS_MODEL(OCTEON_CN5XXX)) in octeon_model_get_string_buffer() 390 if (OCTEON_IS_MODEL(OCTEON_CN76XX)) in octeon_model_get_string_buffer()
|
/linux/arch/mips/pci/ |
A D | pcie-octeon.c | 403 if (OCTEON_IS_MODEL(OCTEON_CN5XXX)) { in __cvmx_pcie_rc_initialize_config_space() 630 if (OCTEON_IS_MODEL(OCTEON_CN52XX_PASS1_0)) in __cvmx_pcie_rc_initialize_link_gen1() 677 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in __cvmx_increment_ba() 722 if (OCTEON_IS_MODEL(OCTEON_CN52XX)) { in __cvmx_pcie_rc_initialize_gen1() 828 if (!OCTEON_IS_MODEL(OCTEON_CN56XX_PASS1_X) && !OCTEON_IS_MODEL(OCTEON_CN52XX_PASS1_X)) { in __cvmx_pcie_rc_initialize_gen1() 1003 …int in_p_offset = (OCTEON_IS_MODEL(OCTEON_CN52XX_PASS1_X) || OCTEON_IS_MODEL(OCTEON_CN56XX_PASS1_X… in __cvmx_pcie_rc_initialize_gen1() 1166 if (OCTEON_IS_MODEL(OCTEON_CN66XX)) { in __cvmx_pcie_rc_initialize_gen2() 1349 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in __cvmx_pcie_rc_initialize_gen2() 1684 if (OCTEON_IS_MODEL(OCTEON_CN63XX)) in octeon_pcie_read_config() 1688 if ((OCTEON_IS_MODEL(OCTEON_CN63XX)) && in octeon_pcie_read_config() [all …]
|
A D | pci-octeon.c | 412 if (OCTEON_IS_MODEL(OCTEON_CN58XX) || OCTEON_IS_MODEL(OCTEON_CN50XX)) { in octeon_pci_initialize() 580 if (OCTEON_IS_MODEL(OCTEON_CN31XX) || in octeon_pci_setup() 581 OCTEON_IS_MODEL(OCTEON_CN38XX_PASS2) || in octeon_pci_setup() 582 OCTEON_IS_MODEL(OCTEON_CN38XX_PASS1)) in octeon_pci_setup()
|
/linux/arch/mips/cavium-octeon/ |
A D | octeon-platform.c | 662 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in octeon_fdt_pip_port() 784 if (OCTEON_IS_MODEL(OCTEON_CN52XX) || OCTEON_IS_MODEL(OCTEON_CN63XX)) in octeon_prune_device_tree() 786 else if (OCTEON_IS_MODEL(OCTEON_CN56XX) || OCTEON_IS_MODEL(OCTEON_CN68XX)) in octeon_prune_device_tree() 828 if (OCTEON_IS_MODEL(OCTEON_CN52XX) || in octeon_prune_device_tree() 829 OCTEON_IS_MODEL(OCTEON_CN63XX) || in octeon_prune_device_tree() 830 OCTEON_IS_MODEL(OCTEON_CN68XX) || in octeon_prune_device_tree() 831 OCTEON_IS_MODEL(OCTEON_CN56XX)) in octeon_prune_device_tree() 858 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in octeon_prune_device_tree() 861 OCTEON_IS_MODEL(OCTEON_CN63XX) || in octeon_prune_device_tree() 862 OCTEON_IS_MODEL(OCTEON_CN56XX)) in octeon_prune_device_tree() [all …]
|
A D | setup.c | 548 if (OCTEON_IS_MODEL(OCTEON_CN38XX_PASS2)) in octeon_user_io_init() 600 if (OCTEON_IS_MODEL(OCTEON_CN63XX_PASS1_X)) in octeon_user_io_init() 638 if ((!OCTEON_IS_MODEL(OCTEON_CN68XX) && in octeon_user_io_init() 639 !OCTEON_IS_MODEL(OCTEON_CN7XXX)) || in octeon_user_io_init() 640 OCTEON_IS_MODEL(OCTEON_CN70XX)) { in octeon_user_io_init() 689 if (!OCTEON_IS_MODEL(OCTEON_CN78XX)) in prom_init() 825 if (OCTEON_IS_MODEL(OCTEON_CN38XX_PASS2) || in prom_init() 826 OCTEON_IS_MODEL(OCTEON_CN31XX)) in prom_init() 1081 if (OCTEON_IS_MODEL(OCTEON_CN6XXX)) { in prom_free_prom_memory() 1132 } else if (OCTEON_IS_MODEL(OCTEON_CN68XX)) { in device_tree_init() [all …]
|
A D | dma-octeon.c | 221 if (OCTEON_IS_MODEL(OCTEON_CN31XX) in plat_swiotlb_setup() 222 || OCTEON_IS_MODEL(OCTEON_CN38XX_PASS2)) { in plat_swiotlb_setup()
|
/linux/drivers/staging/octeon/ |
A D | ethernet-rx.c | 201 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) { in cvm_oct_poll() 233 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) { in cvm_oct_poll() 389 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) { in cvm_oct_poll() 489 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) { in cvm_oct_rx_initialize() 532 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in cvm_oct_rx_shutdown()
|
/linux/drivers/watchdog/ |
A D | octeon-wdt-main.c | 252 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) { in octeon_wdt_nmi_stage3() 280 if (OCTEON_IS_OCTEON3() && !OCTEON_IS_MODEL(OCTEON_CN70XX)) { in octeon_wdt_nmi_stage3() 533 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in octeon_wdt_init() 535 else if (OCTEON_IS_MODEL(OCTEON_CN78XX)) in octeon_wdt_init()
|
/linux/drivers/mmc/host/ |
A D | cavium-octeon.c | 93 if (OCTEON_IS_MODEL(OCTEON_CN70XX)) in octeon_mmc_acquire_bus() 168 if (OCTEON_IS_MODEL(OCTEON_CN6XXX) || in octeon_mmc_probe() 169 OCTEON_IS_MODEL(OCTEON_CNF7XXX)) { in octeon_mmc_probe()
|
/linux/drivers/net/ethernet/cavium/octeon/ |
A D | octeon_mgmt.c | 709 if (OCTEON_IS_MODEL(OCTEON_CN6XXX)) { in octeon_mgmt_ioctl_hwtstamp() 812 if (OCTEON_IS_MODEL(OCTEON_CN6XXX)) { in octeon_mgmt_disable_link() 854 if (OCTEON_IS_MODEL(OCTEON_CN6XXX)) { in octeon_mgmt_update_link() 863 if (OCTEON_IS_MODEL(OCTEON_CN6XXX)) { in octeon_mgmt_update_link() 870 if (OCTEON_IS_MODEL(OCTEON_CN6XXX)) { in octeon_mgmt_update_link() 889 if (OCTEON_IS_MODEL(OCTEON_CN6XXX)) { in octeon_mgmt_update_link() 1022 if (OCTEON_IS_MODEL(OCTEON_CN5XXX)) { in octeon_mgmt_open() 1027 if (OCTEON_IS_MODEL(OCTEON_CN56XX_PASS1_X) in octeon_mgmt_open() 1028 || OCTEON_IS_MODEL(OCTEON_CN52XX_PASS1_X)) { in octeon_mgmt_open() 1083 if (OCTEON_IS_MODEL(OCTEON_CN6XXX) && netdev->phydev) { in octeon_mgmt_open()
|