/linux-6.12.1/arch/mips/include/asm/octeon/ |
D | octeon-feature.h | 121 return !OCTEON_IS_MODEL(OCTEON_CN3XXX); in octeon_has_feature() 124 if (OCTEON_IS_MODEL(OCTEON_CN6XXX)) { in octeon_has_feature() 133 return OCTEON_IS_MODEL(OCTEON_CN56XX) in octeon_has_feature() 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() 139 return OCTEON_IS_MODEL(OCTEON_CN63XX) in octeon_has_feature() 140 || OCTEON_IS_MODEL(OCTEON_CN66XX); in octeon_has_feature() 143 return (OCTEON_IS_MODEL(OCTEON_CN68XX)); in octeon_has_feature() 146 return OCTEON_IS_MODEL(OCTEON_CN38XX) in octeon_has_feature() [all …]
|
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()
|
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)
|
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-6.12.1/arch/mips/cavium-octeon/executive/ |
D | cvmx-l2c.c | 57 if (OCTEON_IS_MODEL(OCTEON_CN63XX)) in cvmx_l2c_get_core_way_partition() 94 if (mask == valid_mask && !OCTEON_IS_MODEL(OCTEON_CN63XX)) in cvmx_l2c_set_core_way_partition() 101 if (OCTEON_IS_MODEL(OCTEON_CN63XX)) { in cvmx_l2c_set_core_way_partition() 150 if (mask == valid_mask && !OCTEON_IS_MODEL(OCTEON_CN63XX)) in cvmx_l2c_set_hw_way_partition() 153 if (OCTEON_IS_MODEL(OCTEON_CN63XX)) in cvmx_l2c_set_hw_way_partition() 163 if (OCTEON_IS_MODEL(OCTEON_CN63XX)) in cvmx_l2c_get_hw_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() [all …]
|
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()
|
D | cvmx-helper.c | 62 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in cvmx_helper_get_number_of_interfaces() 64 if (OCTEON_IS_MODEL(OCTEON_CN66XX)) { in cvmx_helper_get_number_of_interfaces() 65 if (OCTEON_IS_MODEL(OCTEON_CN66XX_PASS1_0)) in cvmx_helper_get_number_of_interfaces() 70 if (OCTEON_IS_MODEL(OCTEON_CN56XX) || OCTEON_IS_MODEL(OCTEON_CN52XX)) in cvmx_helper_get_number_of_interfaces() 72 if (OCTEON_IS_MODEL(OCTEON_CN7XXX)) in cvmx_helper_get_number_of_interfaces() 154 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in __cvmx_get_mode_octeon2() 164 if ((OCTEON_IS_MODEL(OCTEON_CN63XX) && in __cvmx_get_mode_octeon2() 166 (OCTEON_IS_MODEL(OCTEON_CN66XX) && in __cvmx_get_mode_octeon2() 171 if (OCTEON_IS_MODEL(OCTEON_CN66XX)) { in __cvmx_get_mode_octeon2() 191 } else if (OCTEON_IS_MODEL(OCTEON_CN61XX)) { in __cvmx_get_mode_octeon2() [all …]
|
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()
|
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 …]
|
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() 63 } else if (OCTEON_IS_MODEL(OCTEON_CN31XX) 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() 79 } else if (OCTEON_IS_MODEL(OCTEON_CN31XX) 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() [all …]
|
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()
|
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()
|
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()
|
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()
|
D | cvmx-helper-xaui.c | 160 if (!OCTEON_IS_MODEL(OCTEON_CN66XX) && in __cvmx_helper_xaui_enable() 161 !OCTEON_IS_MODEL(OCTEON_CN68XX_PASS1_X) && in __cvmx_helper_xaui_enable() 162 !OCTEON_IS_MODEL(OCTEON_CN68XX_PASS2_X)) in __cvmx_helper_xaui_enable()
|
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()
|
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-6.12.1/arch/mips/pci/ |
D | pcie-octeon.c | 409 if (OCTEON_IS_MODEL(OCTEON_CN5XXX)) { in __cvmx_pcie_rc_initialize_config_space() 614 if (OCTEON_IS_MODEL(OCTEON_CN52XX_PASS1_X)) { in __cvmx_pcie_rc_initialize_link_gen1() 622 if (OCTEON_IS_MODEL(OCTEON_CN52XX) && (pcie_port == 1)) { in __cvmx_pcie_rc_initialize_link_gen1() 636 if (OCTEON_IS_MODEL(OCTEON_CN52XX_PASS1_0)) in __cvmx_pcie_rc_initialize_link_gen1() 683 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in __cvmx_increment_ba() 728 if (OCTEON_IS_MODEL(OCTEON_CN52XX)) { in __cvmx_pcie_rc_initialize_gen1() 747 if (OCTEON_IS_MODEL(OCTEON_CN52XX_PASS1_X)) { in __cvmx_pcie_rc_initialize_gen1() 834 if (!OCTEON_IS_MODEL(OCTEON_CN56XX_PASS1_X) && !OCTEON_IS_MODEL(OCTEON_CN52XX_PASS1_X)) { in __cvmx_pcie_rc_initialize_gen1() 1001 if (OCTEON_IS_MODEL(OCTEON_CN56XX_PASS2_X) || in __cvmx_pcie_rc_initialize_gen1() 1002 OCTEON_IS_MODEL(OCTEON_CN52XX_PASS2_X) || in __cvmx_pcie_rc_initialize_gen1() [all …]
|
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-6.12.1/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 460 return !OCTEON_IS_MODEL(OCTEON_CN52XX) && in octeon_has_88e1145() 461 !OCTEON_IS_MODEL(OCTEON_CN6XXX) && in octeon_has_88e1145() 462 !OCTEON_IS_MODEL(OCTEON_CN56XX); in octeon_has_88e1145() 666 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in octeon_fdt_pip_port() 788 if (OCTEON_IS_MODEL(OCTEON_CN52XX) || OCTEON_IS_MODEL(OCTEON_CN63XX)) in octeon_prune_device_tree() 790 else if (OCTEON_IS_MODEL(OCTEON_CN56XX) || OCTEON_IS_MODEL(OCTEON_CN68XX)) in octeon_prune_device_tree() 832 if (OCTEON_IS_MODEL(OCTEON_CN52XX) || in octeon_prune_device_tree() 833 OCTEON_IS_MODEL(OCTEON_CN63XX) || in octeon_prune_device_tree() 834 OCTEON_IS_MODEL(OCTEON_CN68XX) || in octeon_prune_device_tree() 835 OCTEON_IS_MODEL(OCTEON_CN56XX)) in octeon_prune_device_tree() [all …]
|
D | setup.c | 551 if (OCTEON_IS_MODEL(OCTEON_CN38XX_PASS2)) in octeon_user_io_init() 603 if (OCTEON_IS_MODEL(OCTEON_CN63XX_PASS1_X)) in octeon_user_io_init() 641 if ((!OCTEON_IS_MODEL(OCTEON_CN68XX) && in octeon_user_io_init() 642 !OCTEON_IS_MODEL(OCTEON_CN7XXX)) || in octeon_user_io_init() 643 OCTEON_IS_MODEL(OCTEON_CN70XX)) { in octeon_user_io_init() 691 if (!OCTEON_IS_MODEL(OCTEON_CN78XX)) in prom_init() 848 if (OCTEON_IS_MODEL(OCTEON_CN38XX_PASS2) || in prom_init() 849 OCTEON_IS_MODEL(OCTEON_CN31XX)) in prom_init() 1112 if (OCTEON_IS_MODEL(OCTEON_CN6XXX)) { in prom_free_prom_memory() 1163 } else if (OCTEON_IS_MODEL(OCTEON_CN68XX)) { in device_tree_init() [all …]
|
D | dma-octeon.c | 218 if (OCTEON_IS_MODEL(OCTEON_CN31XX) in plat_swiotlb_setup() 219 || OCTEON_IS_MODEL(OCTEON_CN38XX_PASS2)) { in plat_swiotlb_setup()
|
/linux-6.12.1/drivers/staging/octeon/ |
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-6.12.1/drivers/watchdog/ |
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() 529 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in octeon_wdt_init() 531 else if (OCTEON_IS_MODEL(OCTEON_CN78XX)) in octeon_wdt_init()
|
/linux-6.12.1/drivers/mmc/host/ |
D | cavium-octeon.c | 95 if (OCTEON_IS_MODEL(OCTEON_CN70XX)) in octeon_mmc_acquire_bus() 170 if (OCTEON_IS_MODEL(OCTEON_CN6XXX) || in octeon_mmc_probe() 171 OCTEON_IS_MODEL(OCTEON_CNF7XXX)) { in octeon_mmc_probe()
|