Lines Matching refs:interface
386 int interface = cvmx_helper_get_interface_num(ipd_port); in __cvmx_helper_board_link_get() local
389 cvmx_read_csr(CVMX_GMXX_RXX_RX_INBND(index, interface)); in __cvmx_helper_board_link_get()
615 int __cvmx_helper_board_interface_probe(int interface, int supported_ports) in __cvmx_helper_board_interface_probe() argument
619 if (interface == 0) in __cvmx_helper_board_interface_probe()
623 if (interface == 0) in __cvmx_helper_board_interface_probe()
627 if (interface == 0) in __cvmx_helper_board_interface_probe()
633 if (interface == 1) in __cvmx_helper_board_interface_probe()
650 int __cvmx_helper_board_hardware_enable(int interface) in __cvmx_helper_board_hardware_enable() argument
653 if (interface == 0) { in __cvmx_helper_board_hardware_enable()
655 cvmx_write_csr(CVMX_ASXX_TX_CLK_SETX(1, interface), 0); in __cvmx_helper_board_hardware_enable()
656 cvmx_write_csr(CVMX_ASXX_RX_CLK_SETX(1, interface), 0); in __cvmx_helper_board_hardware_enable()
662 cvmx_write_csr(CVMX_ASXX_TX_CLK_SETX(0, interface), in __cvmx_helper_board_hardware_enable()
664 cvmx_write_csr(CVMX_ASXX_RX_CLK_SETX(0, interface), in __cvmx_helper_board_hardware_enable()
675 if (interface == 0) { in __cvmx_helper_board_hardware_enable()
703 (0, interface), 5); in __cvmx_helper_board_hardware_enable()
705 (0, interface), 5); in __cvmx_helper_board_hardware_enable()