Lines Matching refs:ipd_port

369 static int __cvmx_helper_port_setup_ipd(int ipd_port)  in __cvmx_helper_port_setup_ipd()  argument
374 port_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port)); in __cvmx_helper_port_setup_ipd()
375 tag_config.u64 = cvmx_read_csr(CVMX_PIP_PRT_TAGX(ipd_port)); in __cvmx_helper_port_setup_ipd()
378 port_config.s.qos = ipd_port & 0x7; in __cvmx_helper_port_setup_ipd()
402 cvmx_pip_config_port(ipd_port, port_config, tag_config); in __cvmx_helper_port_setup_ipd()
561 int ipd_port = cvmx_helper_get_ipd_port(interface, 0); in __cvmx_helper_interface_setup_ipd() local
565 __cvmx_helper_port_setup_ipd(ipd_port); in __cvmx_helper_interface_setup_ipd()
566 ipd_port++; in __cvmx_helper_interface_setup_ipd()
624 int ipd_port = cvmx_helper_get_ipd_port(interface, 0); in __cvmx_helper_interface_setup_pko() local
627 cvmx_pko_config_port(ipd_port, in __cvmx_helper_interface_setup_pko()
628 cvmx_pko_get_base_queue_per_core(ipd_port, in __cvmx_helper_interface_setup_pko()
630 cvmx_pko_get_num_queues(ipd_port), in __cvmx_helper_interface_setup_pko()
632 ipd_port++; in __cvmx_helper_interface_setup_pko()
1078 union cvmx_helper_link_info cvmx_helper_link_get(int ipd_port) in cvmx_helper_link_get() argument
1081 int interface = cvmx_helper_get_interface_num(ipd_port); in cvmx_helper_link_get()
1082 int index = cvmx_helper_get_interface_index_num(ipd_port); in cvmx_helper_link_get()
1097 result = __cvmx_helper_xaui_link_get(ipd_port); in cvmx_helper_link_get()
1101 result = __cvmx_helper_rgmii_link_get(ipd_port); in cvmx_helper_link_get()
1110 result = __cvmx_helper_rgmii_link_get(ipd_port); in cvmx_helper_link_get()
1113 result = __cvmx_helper_spi_link_get(ipd_port); in cvmx_helper_link_get()
1117 result = __cvmx_helper_sgmii_link_get(ipd_port); in cvmx_helper_link_get()
1139 int cvmx_helper_link_set(int ipd_port, union cvmx_helper_link_info link_info) in cvmx_helper_link_set() argument
1142 int interface = cvmx_helper_get_interface_num(ipd_port); in cvmx_helper_link_set()
1143 int index = cvmx_helper_get_interface_index_num(ipd_port); in cvmx_helper_link_set()
1153 result = __cvmx_helper_xaui_link_set(ipd_port, link_info); in cvmx_helper_link_set()
1161 result = __cvmx_helper_rgmii_link_set(ipd_port, link_info); in cvmx_helper_link_set()
1164 result = __cvmx_helper_spi_link_set(ipd_port, link_info); in cvmx_helper_link_set()
1168 result = __cvmx_helper_sgmii_link_set(ipd_port, link_info); in cvmx_helper_link_set()