Lines Matching refs:ipd_port
315 int cvmx_helper_get_interface_num(int ipd_port) in cvmx_helper_get_interface_num() argument
317 if (ipd_port < 16) in cvmx_helper_get_interface_num()
319 else if (ipd_port < 32) in cvmx_helper_get_interface_num()
321 else if (ipd_port < 36) in cvmx_helper_get_interface_num()
323 else if (ipd_port < 40) in cvmx_helper_get_interface_num()
325 else if (ipd_port < 44) in cvmx_helper_get_interface_num()
327 else if (ipd_port < 48) in cvmx_helper_get_interface_num()
345 int cvmx_helper_get_interface_index_num(int ipd_port) in cvmx_helper_get_interface_index_num() argument
347 if (ipd_port < 32) in cvmx_helper_get_interface_index_num()
348 return ipd_port & 15; in cvmx_helper_get_interface_index_num()
349 else if (ipd_port < 36) in cvmx_helper_get_interface_index_num()
350 return ipd_port & 3; in cvmx_helper_get_interface_index_num()
351 else if (ipd_port < 40) in cvmx_helper_get_interface_index_num()
352 return ipd_port & 3; in cvmx_helper_get_interface_index_num()
353 else if (ipd_port < 44) in cvmx_helper_get_interface_index_num()
354 return ipd_port & 3; in cvmx_helper_get_interface_index_num()
355 else if (ipd_port < 48) in cvmx_helper_get_interface_index_num()
356 return ipd_port & 3; in cvmx_helper_get_interface_index_num()