Lines Matching +full:en +full:- +full:global
7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
36 #include <asm/octeon/cvmx-config.h>
38 #include <asm/octeon/cvmx-fpa.h>
39 #include <asm/octeon/cvmx-pip.h>
40 #include <asm/octeon/cvmx-pko.h>
41 #include <asm/octeon/cvmx-ipd.h>
42 #include <asm/octeon/cvmx-spi.h>
43 #include <asm/octeon/cvmx-helper.h>
44 #include <asm/octeon/cvmx-helper-board.h>
46 #include <asm/octeon/cvmx-pip-defs.h>
47 #include <asm/octeon/cvmx-asxx-defs.h>
81 * chip and configuration, this can be 1-16. A value of 0
236 if (!mode.s.en) in __cvmx_get_mode_octeon2()
349 if (!mode.s.en) in cvmx_helper_interface_get_mode()
368 * the defines in executive-config.h.
445 * SPI4 can have 1-16 ports depending on the device at in cvmx_helper_interface_enumerate()
453 * SGMII can have 1-4 ports depending on how many are in cvmx_helper_interface_enumerate()
481 /* Make sure all global variables propagate to other cores */ in cvmx_helper_interface_enumerate()
490 * ports or enable them. The main goal here is to set the global
522 * SPI4 can have 1-16 ports depending on the device at in cvmx_helper_interface_probe()
529 * SGMII can have 1-4 ports depending on how many are in cvmx_helper_interface_probe()
549 /* Make sure all global variables propagate to other cores */ in cvmx_helper_interface_probe()
570 while (num_ports--) { in __cvmx_helper_interface_setup_ipd()
578 * Setup global setting for IPD/PIP not related to a specific
585 /* Setup the global packet input options */ in __cvmx_helper_global_setup_ipd()
619 * the second half. With per-core PKO queues (PKO lockless in __cvmx_helper_interface_setup_pko()
632 while (num_ports--) { in __cvmx_helper_interface_setup_pko()
644 * Setup global setting for PKO not related to a specific
679 * Setup global backpressure setting.
745 * SPI4 can have 1-16 ports depending on the device at in __cvmx_helper_packet_hardware_enable()
752 * SGMII can have 1-4 ports depending on how many are in __cvmx_helper_packet_hardware_enable()
783 (CVMX_FPA_PACKET_POOL_SIZE-8-CVMX_HELPER_FIRST_MBUFF_SKIP) in __cvmx_helper_errata_fix_ipd_ptr_alignment()
785 (CVMX_FPA_PACKET_POOL_SIZE-8-CVMX_HELPER_NOT_FIRST_MBUFF_SKIP) in __cvmx_helper_errata_fix_ipd_ptr_alignment()
787 /* Ports 0-15 are interface 0, 16-31 are interface 1 */ in __cvmx_helper_errata_fix_ipd_ptr_alignment()
832 num_segs = (2 + pkt_pcnt - wqe_pcnt) & 3; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
841 ((num_segs - 1) * FIX_IPD_NON_FIRST_BUFF_PAYLOAD_BYTES) - in __cvmx_helper_errata_fix_ipd_ptr_alignment()
875 p64[2] = ((uint64_t) (size - 14) << 48) | 0x5ae740004000ull; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
883 if (i == (num_segs - 1)) in __cvmx_helper_errata_fix_ipd_ptr_alignment()
901 gmx_cfg.s.en = 1; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
912 INTERFACE(FIX_IPD_OUTPORT)), 65392 - 14 - 4); in __cvmx_helper_errata_fix_ipd_ptr_alignment()
915 INTERFACE(FIX_IPD_OUTPORT)), 65392 - 14 - 4); in __cvmx_helper_errata_fix_ipd_ptr_alignment()
930 retry_cnt--; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
998 && (cvmx_sysinfo_get()->board_type != CVMX_BOARD_TYPE_SIM)) in cvmx_helper_ipd_and_packet_input_enable()
1011 * Returns Zero on success, non-zero on failure
1099 WARN(1, "Using deprecated link status - please update your DT"); in cvmx_helper_link_get()
1137 int result = -1; in cvmx_helper_link_set()
1142 return -1; in cvmx_helper_link_set()