Lines Matching refs:ipd_port
401 int cvmx_helper_get_interface_num(int ipd_port) in cvmx_helper_get_interface_num() argument
403 if (ipd_port < 16) in cvmx_helper_get_interface_num()
405 else if (ipd_port < 32) in cvmx_helper_get_interface_num()
407 else if (ipd_port < 36) in cvmx_helper_get_interface_num()
409 else if (ipd_port < 40) in cvmx_helper_get_interface_num()
411 else if (ipd_port < 44) in cvmx_helper_get_interface_num()
413 else if (ipd_port < 48) in cvmx_helper_get_interface_num()
431 int cvmx_helper_get_interface_index_num(int ipd_port) in cvmx_helper_get_interface_index_num() argument
433 if (ipd_port < 32) in cvmx_helper_get_interface_index_num()
434 return ipd_port & 15; in cvmx_helper_get_interface_index_num()
435 else if (ipd_port < 36) in cvmx_helper_get_interface_index_num()
436 return ipd_port & 3; in cvmx_helper_get_interface_index_num()
437 else if (ipd_port < 40) in cvmx_helper_get_interface_index_num()
438 return ipd_port & 3; in cvmx_helper_get_interface_index_num()
439 else if (ipd_port < 44) in cvmx_helper_get_interface_index_num()
440 return ipd_port & 3; in cvmx_helper_get_interface_index_num()
441 else if (ipd_port < 48) in cvmx_helper_get_interface_index_num()
442 return ipd_port & 3; in cvmx_helper_get_interface_index_num()