1*d82a9689SDylan Hung /* SPDX-License-Identifier: GPL-2.0+ */ 2*d82a9689SDylan Hung /* 3*d82a9689SDylan Hung * Copyright (C) ASPEED Technology Inc. 4*d82a9689SDylan Hung */ 55c8f9400Sryan_chen uint32_t mac_reg_read(MAC_ENGINE *p_eng, uint32_t addr); 65c8f9400Sryan_chen void mac_reg_write(MAC_ENGINE *p_eng, uint32_t addr, uint32_t data); 75c8f9400Sryan_chen void mac_set_delay(MAC_ENGINE *p_eng, int32_t rx_d, int32_t tx_d); 85c8f9400Sryan_chen void mac_get_delay(MAC_ENGINE *p_eng, int32_t *p_rx_d, int32_t *p_tx_d); 95c8f9400Sryan_chen void mac_set_driving_strength(MAC_ENGINE *p_eng, uint32_t strength); 105c8f9400Sryan_chen uint32_t mac_get_driving_strength(MAC_ENGINE *p_eng); 115c8f9400Sryan_chen void mac_set_rmii_50m_output_enable(MAC_ENGINE *p_eng); 125c8f9400Sryan_chen int mac_set_scan_boundary(MAC_ENGINE *p_eng); 135c8f9400Sryan_chen void mac_set_addr(MAC_ENGINE *p_eng); 145c8f9400Sryan_chen void mac_set_interal_loopback(MAC_ENGINE *p_eng); 155c8f9400Sryan_chen 165c8f9400Sryan_chen void PrintIO_Line(MAC_ENGINE *p_eng, uint8_t option); 175c8f9400Sryan_chen void PrintIO_LineS(MAC_ENGINE *p_eng, uint8_t option); 185c8f9400Sryan_chen void FPri_End(MAC_ENGINE *eng, uint8_t option); 195c8f9400Sryan_chen void FPri_RegValue(MAC_ENGINE *eng, uint8_t option);