Lines Matching full:interface
38 * Convert a interface mode into a human readable string
73 * @interface: Interface to configure
74 * @num_ports: Number of ports on the interface
78 extern int __cvmx_helper_setup_gmx(int interface, int num_ports);
82 * interface.
84 * @interface: Interface to use
85 * @port: Port on the interface
89 extern int cvmx_helper_get_ipd_port(int interface, int port);
93 * interface.
95 * @interface: Interface to use
99 static inline int cvmx_helper_get_first_ipd_port(int interface) in cvmx_helper_get_first_ipd_port() argument
101 return cvmx_helper_get_ipd_port(interface, 0); in cvmx_helper_get_first_ipd_port()
106 * interface.
108 * @interface: Interface to use
112 static inline int cvmx_helper_get_last_ipd_port(int interface) in cvmx_helper_get_last_ipd_port() argument
114 extern int cvmx_helper_ports_on_interface(int interface); in cvmx_helper_get_last_ipd_port()
116 return cvmx_helper_get_first_ipd_port(interface) + in cvmx_helper_get_last_ipd_port()
117 cvmx_helper_ports_on_interface(interface) - 1; in cvmx_helper_get_last_ipd_port()
174 * Returns the interface number for an IPD/PKO port number.
178 * Returns Interface number
183 * Returns the interface index number for an IPD/PKO port
188 * Returns Interface index number