lan937x.h (4f2c0a4acffbec01079c28f839422e64ddeff004) lan937x.h (71d7920fb2d1d6cdaa6db58426783be02c9cb7bb)
1/* SPDX-License-Identifier: GPL-2.0 */
2/* Microchip lan937x dev ops headers
3 * Copyright (C) 2019-2022 Microchip Technology Inc.
4 */
5
6#ifndef __LAN937X_CFG_H
7#define __LAN937X_CFG_H
8

--- 6 unchanged lines hidden (view full) ---

15void lan937x_switch_exit(struct ksz_device *dev);
16int lan937x_r_phy(struct ksz_device *dev, u16 addr, u16 reg, u16 *data);
17int lan937x_w_phy(struct ksz_device *dev, u16 addr, u16 reg, u16 val);
18int lan937x_change_mtu(struct ksz_device *dev, int port, int new_mtu);
19void lan937x_phylink_get_caps(struct ksz_device *dev, int port,
20 struct phylink_config *config);
21void lan937x_setup_rgmii_delay(struct ksz_device *dev, int port);
22int lan937x_set_ageing_time(struct ksz_device *dev, unsigned int msecs);
1/* SPDX-License-Identifier: GPL-2.0 */
2/* Microchip lan937x dev ops headers
3 * Copyright (C) 2019-2022 Microchip Technology Inc.
4 */
5
6#ifndef __LAN937X_CFG_H
7#define __LAN937X_CFG_H
8

--- 6 unchanged lines hidden (view full) ---

15void lan937x_switch_exit(struct ksz_device *dev);
16int lan937x_r_phy(struct ksz_device *dev, u16 addr, u16 reg, u16 *data);
17int lan937x_w_phy(struct ksz_device *dev, u16 addr, u16 reg, u16 val);
18int lan937x_change_mtu(struct ksz_device *dev, int port, int new_mtu);
19void lan937x_phylink_get_caps(struct ksz_device *dev, int port,
20 struct phylink_config *config);
21void lan937x_setup_rgmii_delay(struct ksz_device *dev, int port);
22int lan937x_set_ageing_time(struct ksz_device *dev, unsigned int msecs);
23int lan937x_tc_cbs_set_cinc(struct ksz_device *dev, int port, u32 val);
23#endif
24#endif