Lines Matching defs:mode
90 * Return interface mode for CN68xx.
142 * Return interface mode for an Octeon II
146 union cvmx_gmxx_inf_mode mode;
218 mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface));
221 switch (mode.cn61xx.mode) {
230 if (!mode.s.en)
233 if (mode.s.type)
242 * Return interface mode for CN7XXX.
246 union cvmx_gmxx_inf_mode mode;
248 mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface));
253 switch (mode.cn68xx.mode) {
277 * Get the operating mode of an interface. Depending on the Octeon
288 union cvmx_gmxx_inf_mode mode;
327 mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface));
330 switch (mode.cn52xx.mode) {
343 if (!mode.s.en)
346 if (mode.s.type) {
381 port_config.s.mode = CVMX_HELPER_INPUT_PORT_SKIP_MODE;
462 * as other ports in loopback mode.
536 * as other ports in loopback mode.
759 * as other ports in loopback mode
809 /* Configure port to gig FDX as required for loopback mode */