xref: /linux/drivers/net/ethernet/wangxun/txgbe/txgbe_aml.h (revision d30c1683aaecb93d2ab95685dc4300a33d3cea7a)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (c) 2015 - 2025 Beijing WangXun Technology Co., Ltd. */
3 
4 #ifndef _TXGBE_AML_H_
5 #define _TXGBE_AML_H_
6 
7 void txgbe_gpio_init_aml(struct wx *wx);
8 irqreturn_t txgbe_gpio_irq_handler_aml(int irq, void *data);
9 int txgbe_test_hostif(struct wx *wx);
10 int txgbe_read_eeprom_hostif(struct wx *wx,
11 			     struct txgbe_hic_i2c_read *buffer,
12 			     u32 length, u8 *data);
13 int txgbe_set_phy_link(struct wx *wx);
14 int txgbe_identify_module(struct wx *wx);
15 void txgbe_setup_link(struct wx *wx);
16 int txgbe_phylink_init_aml(struct txgbe *txgbe);
17 
18 #endif /* _TXGBE_AML_H_ */
19