Lines Matching +full:port +full:- +full:number

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
69 * Setup the common GMX settings that determine the number of
74 * @num_ports: Number of ports on the interface
81 * Returns the IPD/PKO port number for a port on the given
85 * @port: Port on the interface
87 * Returns IPD/PKO port number
89 extern int cvmx_helper_get_ipd_port(int interface, int port);
92 * Returns the IPD/PKO port number for the first port on the given
97 * Returns IPD/PKO port number
105 * Returns the IPD/PKO port number for the last port on the given
110 * Returns IPD/PKO port number
117 cvmx_helper_ports_on_interface(interface) - 1; in cvmx_helper_get_last_ipd_port()
133 number_buffers = work->word2.s.bufs; in cvmx_helper_free_packet_data()
136 buffer_ptr = work->packet_ptr; in cvmx_helper_free_packet_data()
139 * Since the number of buffers is not zero, we know this is in cvmx_helper_free_packet_data()
146 start_of_buffer = ((buffer_ptr.s.addr >> 7) - buffer_ptr.s.back) << 7; in cvmx_helper_free_packet_data()
149 *(union cvmx_buf_ptr *) cvmx_phys_to_ptr(buffer_ptr.s.addr - 8); in cvmx_helper_free_packet_data()
151 number_buffers--; in cvmx_helper_free_packet_data()
154 while (number_buffers--) { in cvmx_helper_free_packet_data()
160 ((buffer_ptr.s.addr >> 7) - buffer_ptr.s.back) << 7; in cvmx_helper_free_packet_data()
166 *(union cvmx_buf_ptr *) cvmx_phys_to_ptr(buffer_ptr.s.addr - 8); in cvmx_helper_free_packet_data()
174 * Returns the interface number for an IPD/PKO port number.
176 * @ipd_port: IPD/PKO port number
178 * Returns Interface number
183 * Returns the interface index number for an IPD/PKO port
184 * number.
186 * @ipd_port: IPD/PKO port number
188 * Returns Interface index number