ocelot.h (a4721ced760684d1776bf31f7925aa41bb3f4846) ocelot.h (87b0f983f66f23762921129fd35966eddc3f2dae)
1/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
2/*
3 * Microsemi Ocelot Switch driver
4 *
5 * Copyright (c) 2017 Microsemi Corporation
6 */
7
8#ifndef _MSCC_OCELOT_H_

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

51};
52
53struct ocelot_port_private {
54 struct ocelot_port port;
55 struct net_device *dev;
56 struct phy_device *phy;
57 u8 chip_port;
58
1/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
2/*
3 * Microsemi Ocelot Switch driver
4 *
5 * Copyright (c) 2017 Microsemi Corporation
6 */
7
8#ifndef _MSCC_OCELOT_H_

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

51};
52
53struct ocelot_port_private {
54 struct ocelot_port port;
55 struct net_device *dev;
56 struct phy_device *phy;
57 u8 chip_port;
58
59 u8 vlan_aware;
60
61 struct phy *serdes;
62
63 struct ocelot_port_tc tc;
64};
65
66u32 ocelot_port_readl(struct ocelot_port *port, u32 reg);
67void ocelot_port_writel(struct ocelot_port *port, u32 val, u32 reg);
68

--- 20 unchanged lines hidden ---
59 struct phy *serdes;
60
61 struct ocelot_port_tc tc;
62};
63
64u32 ocelot_port_readl(struct ocelot_port *port, u32 reg);
65void ocelot_port_writel(struct ocelot_port *port, u32 val, u32 reg);
66

--- 20 unchanged lines hidden ---