Home
last modified time | relevance | path

Searched refs:OCTEON_IS_MODEL (Results 1 – 25 of 42) sorted by relevance

12

/linux-5.19.10/arch/mips/include/asm/octeon/
Docteon-feature.h121 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 …]
Dcvmx-pko.h71 #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()
Docteon-model.h382 #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)
Dcvmx-ipd.h139 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-5.19.10/arch/mips/cavium-octeon/executive/
Dcvmx-l2c.c57 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 …]
Dcvmx-helper-npi.c52 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()
Dcvmx-helper.c62 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 …]
Dcvmx-interrupt-rsl.c59 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()
Dcvmx-interrupt-decodes.c59 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 …]
Dcvmx-helper-rgmii.c59 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 …]
Dcvmx-helper-util.c215 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()
Dcvmx-pko.c162 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()
Dcvmx-helper-jtag.c65 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()
Dcvmx-helper-board.c228 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()
Dcvmx-helper-xaui.c160 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()
Dcvmx-spi.c110 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()
Docteon-model.c73 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-5.19.10/arch/mips/pci/
Dpcie-octeon.c403 if (OCTEON_IS_MODEL(OCTEON_CN5XXX)) { in __cvmx_pcie_rc_initialize_config_space()
608 if (OCTEON_IS_MODEL(OCTEON_CN52XX_PASS1_X)) { in __cvmx_pcie_rc_initialize_link_gen1()
616 if (OCTEON_IS_MODEL(OCTEON_CN52XX) && (pcie_port == 1)) { in __cvmx_pcie_rc_initialize_link_gen1()
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()
741 if (OCTEON_IS_MODEL(OCTEON_CN52XX_PASS1_X)) { 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()
995 if (OCTEON_IS_MODEL(OCTEON_CN56XX_PASS2_X) || in __cvmx_pcie_rc_initialize_gen1()
996 OCTEON_IS_MODEL(OCTEON_CN52XX_PASS2_X) || in __cvmx_pcie_rc_initialize_gen1()
[all …]
Dpci-octeon.c412 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-5.19.10/arch/mips/cavium-octeon/
Docteon-platform.c459 return !OCTEON_IS_MODEL(OCTEON_CN52XX) && in octeon_has_88e1145()
460 !OCTEON_IS_MODEL(OCTEON_CN6XXX) && in octeon_has_88e1145()
461 !OCTEON_IS_MODEL(OCTEON_CN56XX); in octeon_has_88e1145()
665 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in octeon_fdt_pip_port()
787 if (OCTEON_IS_MODEL(OCTEON_CN52XX) || OCTEON_IS_MODEL(OCTEON_CN63XX)) in octeon_prune_device_tree()
789 else if (OCTEON_IS_MODEL(OCTEON_CN56XX) || OCTEON_IS_MODEL(OCTEON_CN68XX)) in octeon_prune_device_tree()
831 if (OCTEON_IS_MODEL(OCTEON_CN52XX) || in octeon_prune_device_tree()
832 OCTEON_IS_MODEL(OCTEON_CN63XX) || in octeon_prune_device_tree()
833 OCTEON_IS_MODEL(OCTEON_CN68XX) || in octeon_prune_device_tree()
834 OCTEON_IS_MODEL(OCTEON_CN56XX)) in octeon_prune_device_tree()
[all …]
Dsetup.c548 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 …]
Ddma-octeon.c218 if (OCTEON_IS_MODEL(OCTEON_CN31XX) in plat_swiotlb_setup()
219 || OCTEON_IS_MODEL(OCTEON_CN38XX_PASS2)) { in plat_swiotlb_setup()
/linux-5.19.10/drivers/staging/octeon/
Dethernet-rx.c201 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-5.19.10/drivers/watchdog/
Docteon-wdt-main.c252 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-5.19.10/drivers/mmc/host/
Dcavium-octeon.c93 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()

12