Lines Matching refs:ipd_port

375 static int __cvmx_helper_port_setup_ipd(int ipd_port)  in __cvmx_helper_port_setup_ipd()  argument
380 port_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port)); in __cvmx_helper_port_setup_ipd()
381 tag_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_TAGX(ipd_port)); in __cvmx_helper_port_setup_ipd()
384 port_config.s.qos = ipd_port & 0x7; in __cvmx_helper_port_setup_ipd()
408 cvmx_pip_config_port(ipd_port, port_config, tag_config); in __cvmx_helper_port_setup_ipd()
567 int ipd_port = cvmx_helper_get_ipd_port(interface, 0); in __cvmx_helper_interface_setup_ipd() local
571 __cvmx_helper_port_setup_ipd(ipd_port); in __cvmx_helper_interface_setup_ipd()
572 ipd_port++; in __cvmx_helper_interface_setup_ipd()
630 int ipd_port = cvmx_helper_get_ipd_port(interface, 0); in __cvmx_helper_interface_setup_pko() local
633 cvmx_pko_config_port(ipd_port, in __cvmx_helper_interface_setup_pko()
634 cvmx_pko_get_base_queue_per_core(ipd_port, in __cvmx_helper_interface_setup_pko()
636 cvmx_pko_get_num_queues(ipd_port), in __cvmx_helper_interface_setup_pko()
638 ipd_port++; in __cvmx_helper_interface_setup_pko()
1074 union cvmx_helper_link_info cvmx_helper_link_get(int ipd_port) in cvmx_helper_link_get() argument
1077 int interface = cvmx_helper_get_interface_num(ipd_port); in cvmx_helper_link_get()
1078 int index = cvmx_helper_get_interface_index_num(ipd_port); in cvmx_helper_link_get()
1093 result = __cvmx_helper_xaui_link_get(ipd_port); in cvmx_helper_link_get()
1097 result = __cvmx_helper_rgmii_link_get(ipd_port); in cvmx_helper_link_get()
1106 result = __cvmx_helper_rgmii_link_get(ipd_port); in cvmx_helper_link_get()
1109 result = __cvmx_helper_spi_link_get(ipd_port); in cvmx_helper_link_get()
1113 result = __cvmx_helper_sgmii_link_get(ipd_port); in cvmx_helper_link_get()
1135 int cvmx_helper_link_set(int ipd_port, union cvmx_helper_link_info link_info) in cvmx_helper_link_set() argument
1138 int interface = cvmx_helper_get_interface_num(ipd_port); in cvmx_helper_link_set()
1139 int index = cvmx_helper_get_interface_index_num(ipd_port); in cvmx_helper_link_set()
1149 result = __cvmx_helper_xaui_link_set(ipd_port, link_info); in cvmx_helper_link_set()
1157 result = __cvmx_helper_rgmii_link_set(ipd_port, link_info); in cvmx_helper_link_set()
1160 result = __cvmx_helper_spi_link_set(ipd_port, link_info); in cvmx_helper_link_set()
1164 result = __cvmx_helper_sgmii_link_set(ipd_port, link_info); in cvmx_helper_link_set()