/arch/mips/include/asm/octeon/ |
D | octeon-feature.h | 106 return !OCTEON_IS_MODEL(OCTEON_CN3XXX); in octeon_has_feature() 109 if (OCTEON_IS_MODEL(OCTEON_CN30XX) in octeon_has_feature() 110 || OCTEON_IS_MODEL(OCTEON_CN50XX) in octeon_has_feature() 111 || OCTEON_IS_MODEL(OCTEON_CN52XX)) in octeon_has_feature() 113 else if (OCTEON_IS_MODEL(OCTEON_CN38XX_PASS1)) in octeon_has_feature() 119 if (OCTEON_IS_MODEL(OCTEON_CN6XXX)) { in octeon_has_feature() 136 if (OCTEON_IS_MODEL(OCTEON_CN6XXX)) { in octeon_has_feature() 145 return OCTEON_IS_MODEL(OCTEON_CN56XX) in octeon_has_feature() 146 || OCTEON_IS_MODEL(OCTEON_CN52XX) in octeon_has_feature() 147 || OCTEON_IS_MODEL(OCTEON_CN6XXX); in octeon_has_feature() [all …]
|
D | cvmx-pko.h | 72 #define CVMX_PKO_MAX_OUTPUT_QUEUES ((OCTEON_IS_MODEL(OCTEON_CN31XX) || \ 73 OCTEON_IS_MODEL(OCTEON_CN3010) || OCTEON_IS_MODEL(OCTEON_CN3005) || \ 74 OCTEON_IS_MODEL(OCTEON_CN50XX)) ? 32 : \ 75 (OCTEON_IS_MODEL(OCTEON_CN58XX) || \ 76 OCTEON_IS_MODEL(OCTEON_CN56XX)) ? 256 : 128) 569 if (OCTEON_IS_MODEL(OCTEON_CN3XXX)) { in cvmx_pko_get_port_status()
|
D | cvmx.h | 320 #if OCTEON_IS_MODEL(OCTEON_CN38XX) in cvmx_octeon_is_pass1() 488 return OCTEON_IS_MODEL(OCTEON_CN38XX) in cvmx_octeon_model_CN36XX() 500 if (!OCTEON_IS_MODEL(OCTEON_CN38XX) in cvmx_octeon_dfa_present() 501 && !OCTEON_IS_MODEL(OCTEON_CN31XX) in cvmx_octeon_dfa_present() 502 && !OCTEON_IS_MODEL(OCTEON_CN58XX)) in cvmx_octeon_dfa_present() 504 else if (OCTEON_IS_MODEL(OCTEON_CN3020)) in cvmx_octeon_dfa_present()
|
D | cvmx-l2c.h | 50 #define CVMX_L2C_VRT_MAX_VIRTID_ALLOWED ((OCTEON_IS_MODEL(OCTEON_CN63XX)) ? 64 : 0) 51 #define CVMX_L2C_VRT_MAX_MEMSZ_ALLOWED ((OCTEON_IS_MODEL(OCTEON_CN63XX)) ? 32 : 0)
|
D | cvmx-ipd.h | 138 if (!OCTEON_IS_MODEL(OCTEON_CN38XX_PASS2)) in cvmx_ipd_enable() 161 if (!OCTEON_IS_MODEL(OCTEON_CN38XX_PASS1) in cvmx_ipd_free_ptr() 162 && !OCTEON_IS_MODEL(OCTEON_CN38XX_PASS2)) { in cvmx_ipd_free_ptr()
|
D | cvmx-pip.h | 463 if (OCTEON_IS_MODEL(OCTEON_CN38XX) || OCTEON_IS_MODEL(OCTEON_CN58XX)) { in cvmx_pip_config_crc()
|
/arch/mips/cavium-octeon/executive/ |
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() 68 else if (OCTEON_IS_MODEL(OCTEON_CN31XX) in __cvmx_helper_npi_probe() 69 || OCTEON_IS_MODEL(OCTEON_CN50XX)) in __cvmx_helper_npi_probe() 71 else if (OCTEON_IS_MODEL(OCTEON_CN30XX)) in __cvmx_helper_npi_probe() 94 if (!OCTEON_IS_MODEL(OCTEON_CN3XXX) && in __cvmx_helper_npi_enable() 95 !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-l2c.c | 55 if (OCTEON_IS_MODEL(OCTEON_CN63XX)) in cvmx_l2c_get_core_way_partition() 92 if (mask == valid_mask && !OCTEON_IS_MODEL(OCTEON_CN63XX)) in cvmx_l2c_set_core_way_partition() 99 if (OCTEON_IS_MODEL(OCTEON_CN63XX)) { in cvmx_l2c_set_core_way_partition() 148 if (mask == valid_mask && !OCTEON_IS_MODEL(OCTEON_CN63XX)) in cvmx_l2c_set_hw_way_partition() 151 if (OCTEON_IS_MODEL(OCTEON_CN63XX)) in cvmx_l2c_set_hw_way_partition() 161 if (OCTEON_IS_MODEL(OCTEON_CN63XX)) in cvmx_l2c_get_hw_way_partition() 170 if (OCTEON_IS_MODEL(OCTEON_CN5XXX) || OCTEON_IS_MODEL(OCTEON_CN3XXX)) { in cvmx_l2c_config_perf() 235 if (OCTEON_IS_MODEL(OCTEON_CN5XXX) || OCTEON_IS_MODEL(OCTEON_CN3XXX)) in cvmx_l2c_read_perf() 245 if (OCTEON_IS_MODEL(OCTEON_CN5XXX) || OCTEON_IS_MODEL(OCTEON_CN3XXX)) in cvmx_l2c_read_perf() 255 if (OCTEON_IS_MODEL(OCTEON_CN5XXX) || OCTEON_IS_MODEL(OCTEON_CN3XXX)) in cvmx_l2c_read_perf() [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 | 64 if (OCTEON_IS_MODEL(OCTEON_CN38XX) in __cvmx_helper_rgmii_probe() 65 || OCTEON_IS_MODEL(OCTEON_CN58XX)) { in __cvmx_helper_rgmii_probe() 68 } else if (OCTEON_IS_MODEL(OCTEON_CN31XX) in __cvmx_helper_rgmii_probe() 69 || OCTEON_IS_MODEL(OCTEON_CN30XX) in __cvmx_helper_rgmii_probe() 70 || OCTEON_IS_MODEL(OCTEON_CN50XX)) { in __cvmx_helper_rgmii_probe() 81 if (OCTEON_IS_MODEL(OCTEON_CN38XX) in __cvmx_helper_rgmii_probe() 82 || OCTEON_IS_MODEL(OCTEON_CN58XX)) { in __cvmx_helper_rgmii_probe() 84 } else if (OCTEON_IS_MODEL(OCTEON_CN31XX) in __cvmx_helper_rgmii_probe() 85 || OCTEON_IS_MODEL(OCTEON_CN30XX) in __cvmx_helper_rgmii_probe() 86 || OCTEON_IS_MODEL(OCTEON_CN50XX)) { in __cvmx_helper_rgmii_probe() [all …]
|
D | cvmx-helper.c | 86 if (OCTEON_IS_MODEL(OCTEON_CN56XX) || OCTEON_IS_MODEL(OCTEON_CN52XX)) in cvmx_helper_get_number_of_interfaces() 123 if (OCTEON_IS_MODEL(OCTEON_CN56XX) in cvmx_helper_interface_get_mode() 124 || OCTEON_IS_MODEL(OCTEON_CN52XX)) in cvmx_helper_interface_get_mode() 148 && (OCTEON_IS_MODEL(OCTEON_CN31XX) || OCTEON_IS_MODEL(OCTEON_CN30XX) in cvmx_helper_interface_get_mode() 149 || OCTEON_IS_MODEL(OCTEON_CN50XX) in cvmx_helper_interface_get_mode() 150 || OCTEON_IS_MODEL(OCTEON_CN52XX))) in cvmx_helper_interface_get_mode() 155 if (OCTEON_IS_MODEL(OCTEON_CN56XX) || OCTEON_IS_MODEL(OCTEON_CN52XX)) { in cvmx_helper_interface_get_mode() 173 if (OCTEON_IS_MODEL(OCTEON_CN38XX) in cvmx_helper_interface_get_mode() 174 || OCTEON_IS_MODEL(OCTEON_CN58XX)) in cvmx_helper_interface_get_mode() 822 if ((OCTEON_IS_MODEL(OCTEON_CN31XX_PASS1) in cvmx_helper_ipd_and_packet_input_enable() [all …]
|
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-pko.c | 73 if (OCTEON_IS_MODEL(OCTEON_CN38XX) || OCTEON_IS_MODEL(OCTEON_CN58XX) in cvmx_pko_initialize_global() 74 || OCTEON_IS_MODEL(OCTEON_CN56XX) in cvmx_pko_initialize_global() 75 || OCTEON_IS_MODEL(OCTEON_CN52XX)) { in cvmx_pko_initialize_global() 82 if (OCTEON_IS_MODEL(OCTEON_CN38XX)) { in cvmx_pko_initialize_global() 174 if (!OCTEON_IS_MODEL(OCTEON_CN3XXX)) { in cvmx_pko_shutdown() 402 if (!OCTEON_IS_MODEL(OCTEON_CN3XXX)) in cvmx_pko_config_port()
|
D | cvmx-helper-util.c | 300 if (!OCTEON_IS_MODEL(OCTEON_CN30XX) && !OCTEON_IS_MODEL(OCTEON_CN31XX) in __cvmx_helper_setup_gmx() 301 && !OCTEON_IS_MODEL(OCTEON_CN50XX)) { in __cvmx_helper_setup_gmx() 338 if (OCTEON_IS_MODEL(OCTEON_CN30XX) || OCTEON_IS_MODEL(OCTEON_CN31XX) in __cvmx_helper_setup_gmx() 339 || OCTEON_IS_MODEL(OCTEON_CN50XX)) { in __cvmx_helper_setup_gmx()
|
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() 281 if (OCTEON_IS_MODEL(OCTEON_CN58XX)) in cvmx_spi_reset_cb()
|
D | cvmx-helper-board.c | 375 } else if (OCTEON_IS_MODEL(OCTEON_CN3XXX) in __cvmx_helper_board_link_get() 376 || OCTEON_IS_MODEL(OCTEON_CN58XX) in __cvmx_helper_board_link_get() 377 || OCTEON_IS_MODEL(OCTEON_CN50XX)) { in __cvmx_helper_board_link_get()
|
D | cvmx-cmd-queue.c | 261 if (OCTEON_IS_MODEL(OCTEON_CN3XXX)) { in cvmx_cmd_queue_length()
|
D | octeon-model.c | 69 if (!OCTEON_IS_MODEL(OCTEON_CN6XXX)) in octeon_model_get_string_buffer()
|
/arch/mips/pci/ |
D | pcie-octeon.c | 405 if (OCTEON_IS_MODEL(OCTEON_CN5XXX)) { in __cvmx_pcie_rc_initialize_config_space() 610 if (OCTEON_IS_MODEL(OCTEON_CN52XX_PASS1_X)) { in __cvmx_pcie_rc_initialize_link_gen1() 618 if (OCTEON_IS_MODEL(OCTEON_CN52XX) && (pcie_port == 1)) { in __cvmx_pcie_rc_initialize_link_gen1() 632 if (OCTEON_IS_MODEL(OCTEON_CN52XX_PASS1_0)) in __cvmx_pcie_rc_initialize_link_gen1() 679 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) in __cvmx_increment_ba() 724 if (OCTEON_IS_MODEL(OCTEON_CN52XX)) { in __cvmx_pcie_rc_initialize_gen1() 743 if (OCTEON_IS_MODEL(OCTEON_CN52XX_PASS1_X)) { in __cvmx_pcie_rc_initialize_gen1() 830 if (!OCTEON_IS_MODEL(OCTEON_CN56XX_PASS1_X) && !OCTEON_IS_MODEL(OCTEON_CN52XX_PASS1_X)) { in __cvmx_pcie_rc_initialize_gen1() 997 if (OCTEON_IS_MODEL(OCTEON_CN56XX_PASS2_X) || in __cvmx_pcie_rc_initialize_gen1() 998 OCTEON_IS_MODEL(OCTEON_CN52XX_PASS2_X) || in __cvmx_pcie_rc_initialize_gen1() [all …]
|
D | pci-octeon.c | 423 if (OCTEON_IS_MODEL(OCTEON_CN58XX) || OCTEON_IS_MODEL(OCTEON_CN50XX)) { in octeon_pci_initialize() 586 if (OCTEON_IS_MODEL(OCTEON_CN31XX) || in octeon_pci_setup() 587 OCTEON_IS_MODEL(OCTEON_CN38XX_PASS2) || in octeon_pci_setup() 588 OCTEON_IS_MODEL(OCTEON_CN38XX_PASS1)) in octeon_pci_setup()
|
/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 197 if (OCTEON_IS_MODEL(OCTEON_CN56XX) || OCTEON_IS_MODEL(OCTEON_CN52XX)) in octeon_i2c_device_init() 292 if (!OCTEON_IS_MODEL(OCTEON_CN56XX) && !OCTEON_IS_MODEL(OCTEON_CN52XX)) in octeon_mgmt_device_init() 295 if (OCTEON_IS_MODEL(OCTEON_CN56XX)) in octeon_mgmt_device_init() 357 if (!OCTEON_IS_MODEL(OCTEON_CN63XX)) in octeon_ehci_device_init() 406 if (!OCTEON_IS_MODEL(OCTEON_CN63XX)) in octeon_ohci_device_init()
|
D | setup.c | 312 if (OCTEON_IS_MODEL(OCTEON_CN38XX_PASS2)) in octeon_user_io_init() 364 if (OCTEON_IS_MODEL(OCTEON_CN63XX_PASS1_X)) in octeon_user_io_init() 455 if (OCTEON_IS_MODEL(OCTEON_CN6XXX)) { in prom_init() 554 if (OCTEON_IS_MODEL(OCTEON_CN38XX_PASS2) || in prom_init() 555 OCTEON_IS_MODEL(OCTEON_CN31XX)) in prom_init() 742 if (OCTEON_IS_MODEL(OCTEON_CN63XX_PASS1_X)) { in prom_free_prom_memory()
|
D | dma-octeon.c | 279 if (e->addr > 0x410000000ull && !OCTEON_IS_MODEL(OCTEON_CN6XXX)) in plat_swiotlb_setup() 296 if (OCTEON_IS_MODEL(OCTEON_CN31XX) in plat_swiotlb_setup() 297 || OCTEON_IS_MODEL(OCTEON_CN38XX_PASS2)) { in plat_swiotlb_setup() 311 if (OCTEON_IS_MODEL(OCTEON_CN6XXX) && max_addr >= 0x100000000ul) in plat_swiotlb_setup()
|
D | serial.c | 103 enable_uart2 = OCTEON_IS_MODEL(OCTEON_CN52XX); in octeon_serial_init()
|