1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* 3 * Copyright (C) ASPEED Technology Inc. 4 */ 5 uint32_t mac_reg_read(MAC_ENGINE *p_eng, uint32_t addr); 6 void mac_reg_write(MAC_ENGINE *p_eng, uint32_t addr, uint32_t data); 7 void mac_set_delay(MAC_ENGINE *p_eng, int32_t rx_d, int32_t tx_d); 8 void mac_get_delay(MAC_ENGINE *p_eng, int32_t *p_rx_d, int32_t *p_tx_d); 9 void mac_set_driving_strength(MAC_ENGINE *p_eng, uint32_t strength); 10 uint32_t mac_get_driving_strength(MAC_ENGINE *p_eng); 11 void mac_set_rmii_50m_output_enable(MAC_ENGINE *p_eng); 12 int mac_set_scan_boundary(MAC_ENGINE *p_eng); 13 void mac_set_addr(MAC_ENGINE *p_eng); 14 void mac_set_interal_loopback(MAC_ENGINE *p_eng); 15 16 void PrintIO_Line(MAC_ENGINE *p_eng, uint8_t option); 17 void PrintIO_LineS(MAC_ENGINE *p_eng, uint8_t option); 18 void FPri_End(MAC_ENGINE *eng, uint8_t option); 19 void FPri_RegValue(MAC_ENGINE *eng, uint8_t option);