Lines Matching defs:mode
96 * Return interface mode for CN68xx.
148 * Return interface mode for an Octeon II
152 union cvmx_gmxx_inf_mode mode;
224 mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface));
227 switch (mode.cn61xx.mode) {
236 if (!mode.s.en)
239 if (mode.s.type)
248 * Return interface mode for CN7XXX.
252 union cvmx_gmxx_inf_mode mode;
254 mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface));
259 switch (mode.cn68xx.mode) {
283 * Get the operating mode of an interface. Depending on the Octeon
294 union cvmx_gmxx_inf_mode mode;
333 mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface));
336 switch (mode.cn52xx.mode) {
349 if (!mode.s.en)
352 if (mode.s.type) {
387 port_config.s.mode = CVMX_HELPER_INPUT_PORT_SKIP_MODE;
468 * as other ports in loopback mode.
542 * as other ports in loopback mode.
765 * as other ports in loopback mode
815 /* Configure port to gig FDX as required for loopback mode */