Lines Matching refs:ipd_port
67 void (*cvmx_override_ipd_port_setup) (int ipd_port);
404 static int __cvmx_helper_port_setup_ipd(int ipd_port) in __cvmx_helper_port_setup_ipd() argument
409 port_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port)); in __cvmx_helper_port_setup_ipd()
410 tag_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_TAGX(ipd_port)); in __cvmx_helper_port_setup_ipd()
413 port_config.s.qos = ipd_port & 0x7; in __cvmx_helper_port_setup_ipd()
437 cvmx_pip_config_port(ipd_port, port_config, tag_config); in __cvmx_helper_port_setup_ipd()
441 cvmx_override_ipd_port_setup(ipd_port); in __cvmx_helper_port_setup_ipd()
600 int ipd_port = cvmx_helper_get_ipd_port(interface, 0); in __cvmx_helper_interface_setup_ipd() local
604 __cvmx_helper_port_setup_ipd(ipd_port); in __cvmx_helper_interface_setup_ipd()
605 ipd_port++; in __cvmx_helper_interface_setup_ipd()
663 int ipd_port = cvmx_helper_get_ipd_port(interface, 0); in __cvmx_helper_interface_setup_pko() local
671 cvmx_override_pko_queue_priority(ipd_port, priorities); in __cvmx_helper_interface_setup_pko()
673 cvmx_pko_config_port(ipd_port, in __cvmx_helper_interface_setup_pko()
674 cvmx_pko_get_base_queue_per_core(ipd_port, in __cvmx_helper_interface_setup_pko()
676 cvmx_pko_get_num_queues(ipd_port), in __cvmx_helper_interface_setup_pko()
678 ipd_port++; in __cvmx_helper_interface_setup_pko()
1144 cvmx_helper_link_info_t cvmx_helper_link_get(int ipd_port) in cvmx_helper_link_get() argument
1147 int interface = cvmx_helper_get_interface_num(ipd_port); in cvmx_helper_link_get()
1148 int index = cvmx_helper_get_interface_index_num(ipd_port); in cvmx_helper_link_get()
1163 result = __cvmx_helper_xaui_link_get(ipd_port); in cvmx_helper_link_get()
1167 result = __cvmx_helper_rgmii_link_get(ipd_port); in cvmx_helper_link_get()
1175 result = __cvmx_helper_rgmii_link_get(ipd_port); in cvmx_helper_link_get()
1178 result = __cvmx_helper_spi_link_get(ipd_port); in cvmx_helper_link_get()
1182 result = __cvmx_helper_sgmii_link_get(ipd_port); in cvmx_helper_link_get()
1204 int cvmx_helper_link_set(int ipd_port, cvmx_helper_link_info_t link_info) in cvmx_helper_link_set() argument
1207 int interface = cvmx_helper_get_interface_num(ipd_port); in cvmx_helper_link_set()
1208 int index = cvmx_helper_get_interface_index_num(ipd_port); in cvmx_helper_link_set()
1218 result = __cvmx_helper_xaui_link_set(ipd_port, link_info); in cvmx_helper_link_set()
1226 result = __cvmx_helper_rgmii_link_set(ipd_port, link_info); in cvmx_helper_link_set()
1229 result = __cvmx_helper_spi_link_set(ipd_port, link_info); in cvmx_helper_link_set()
1233 result = __cvmx_helper_sgmii_link_set(ipd_port, link_info); in cvmx_helper_link_set()
1256 int cvmx_helper_configure_loopback(int ipd_port, int enable_internal, in cvmx_helper_configure_loopback() argument
1260 int interface = cvmx_helper_get_interface_num(ipd_port); in cvmx_helper_configure_loopback()
1261 int index = cvmx_helper_get_interface_index_num(ipd_port); in cvmx_helper_configure_loopback()
1275 __cvmx_helper_xaui_configure_loopback(ipd_port, in cvmx_helper_configure_loopback()
1282 __cvmx_helper_rgmii_configure_loopback(ipd_port, in cvmx_helper_configure_loopback()
1289 __cvmx_helper_sgmii_configure_loopback(ipd_port, in cvmx_helper_configure_loopback()