Lines Matching defs:ipd_port
125 * This is for looking up pko_base_port and pko_nport for ipd_port
160 * This array assists translation from ipd_port to pko_port.
162 * ipd_port, used to differentiate ``interfaces.''
438 #define IPD2PKO_CACHE_Y(ipd_port) (ipd_port) >> 8
439 #define IPD2PKO_CACHE_X(ipd_port) (ipd_port) & 0xff
443 * ipd_port to pko_port translation cache
448 int ipd_y, ipd_x, ipd_port;
456 ipd_port = cvmx_helper_get_ipd_port(i, j);
457 ipd_y = IPD2PKO_CACHE_Y(ipd_port);
458 ipd_x = IPD2PKO_CACHE_X(ipd_port);
460 [(ipd_port & 0x800) ? ((ipd_x >> 4) & 3) : ipd_x] =
470 int cvmx_helper_cfg_ipd2pko_port_base(int ipd_port)
474 ipd_y = IPD2PKO_CACHE_Y(ipd_port);
475 ipd_x = IPD2PKO_CACHE_X(ipd_port);
478 [(ipd_port & 0x800) ? ((ipd_x >> 4) & 3) : ipd_x].ccppp_base_port;
481 int cvmx_helper_cfg_ipd2pko_port_num(int ipd_port)
485 ipd_y = IPD2PKO_CACHE_Y(ipd_port);
486 ipd_x = IPD2PKO_CACHE_X(ipd_port);
489 [(ipd_port & 0x800) ? ((ipd_x >> 4) & 3) : ipd_x].ccppp_nports;