/kernel/linux/linux-5.10/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) 544 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in cvmx_pko_get_base_queue() 602 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()
|
/kernel/linux/linux-5.10/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-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-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() 158 if ((OCTEON_IS_MODEL(OCTEON_CN63XX) && in __cvmx_get_mode_octeon2() 160 (OCTEON_IS_MODEL(OCTEON_CN66XX) && in __cvmx_get_mode_octeon2() 165 if (OCTEON_IS_MODEL(OCTEON_CN66XX)) { in __cvmx_get_mode_octeon2() 185 } else if (OCTEON_IS_MODEL(OCTEON_CN61XX)) { in __cvmx_get_mode_octeon2() 205 } else if (OCTEON_IS_MODEL(OCTEON_CNF71XX)) { in __cvmx_get_mode_octeon2() 215 if (interface == 1 && OCTEON_IS_MODEL(OCTEON_CN63XX)) in __cvmx_get_mode_octeon2() [all …]
|
D | cvmx-interrupt-decodes.c | 57 if (OCTEON_IS_MODEL(OCTEON_CN56XX)) { in __cvmx_interrupt_gmxx_rxx_int_en_enable() 86 if (OCTEON_IS_MODEL(OCTEON_CN30XX)) { in __cvmx_interrupt_gmxx_rxx_int_en_enable() 108 if (OCTEON_IS_MODEL(OCTEON_CN50XX)) { in __cvmx_interrupt_gmxx_rxx_int_en_enable() 131 if (OCTEON_IS_MODEL(OCTEON_CN38XX)) { in __cvmx_interrupt_gmxx_rxx_int_en_enable() 153 if (OCTEON_IS_MODEL(OCTEON_CN31XX)) { in __cvmx_interrupt_gmxx_rxx_int_en_enable() 175 if (OCTEON_IS_MODEL(OCTEON_CN58XX)) { in __cvmx_interrupt_gmxx_rxx_int_en_enable() 198 if (OCTEON_IS_MODEL(OCTEON_CN52XX)) { in __cvmx_interrupt_gmxx_rxx_int_en_enable() 238 if (OCTEON_IS_MODEL(OCTEON_CN56XX)) { in __cvmx_interrupt_pcsx_intx_en_reg_enable() 253 if (OCTEON_IS_MODEL(OCTEON_CN52XX)) { in __cvmx_interrupt_pcsx_intx_en_reg_enable() 279 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() 310 if (!OCTEON_IS_MODEL(OCTEON_CN3XXX)) { in cvmx_pko_shutdown() 351 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in cvmx_pko_config_port() 542 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-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()
|
/kernel/linux/linux-5.10/arch/mips/pci/ |
D | pcie-octeon.c | 403 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 …]
|
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()
|
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 459 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 …]
|
D | setup.c | 552 if (OCTEON_IS_MODEL(OCTEON_CN38XX_PASS2)) in octeon_user_io_init() 604 if (OCTEON_IS_MODEL(OCTEON_CN63XX_PASS1_X)) in octeon_user_io_init() 642 if ((!OCTEON_IS_MODEL(OCTEON_CN68XX) && in octeon_user_io_init() 643 !OCTEON_IS_MODEL(OCTEON_CN7XXX)) || in octeon_user_io_init() 644 OCTEON_IS_MODEL(OCTEON_CN70XX)) { in octeon_user_io_init() 695 if (!OCTEON_IS_MODEL(OCTEON_CN78XX)) in prom_init() 850 if (OCTEON_IS_MODEL(OCTEON_CN38XX_PASS2) || in prom_init() 851 OCTEON_IS_MODEL(OCTEON_CN31XX)) in prom_init() 1125 if (OCTEON_IS_MODEL(OCTEON_CN6XXX)) { in prom_free_prom_memory() 1176 } else if (OCTEON_IS_MODEL(OCTEON_CN68XX)) { in device_tree_init() [all …]
|
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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/watchdog/ |
D | octeon-wdt-main.c | 249 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) { in octeon_wdt_nmi_stage3() 277 if (OCTEON_IS_OCTEON3() && !OCTEON_IS_MODEL(OCTEON_CN70XX)) { in octeon_wdt_nmi_stage3() 530 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in octeon_wdt_init() 532 else if (OCTEON_IS_MODEL(OCTEON_CN78XX)) in octeon_wdt_init()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/octeon/ |
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()
|