Lines Matching defs:am65_cpsw_common
104 struct am65_cpsw_common { struct
105 struct device *dev;
106 struct device *mdio_dev;
107 struct am65_cpsw_pdata pdata;
109 void __iomem *ss_base;
110 void __iomem *cpsw_base;
112 u32 port_num;
113 struct am65_cpsw_host host;
114 struct am65_cpsw_port *ports;
115 u32 disabled_ports_mask;
116 struct net_device *dma_ndev;
118 int usage_count; /* number of opened ports */
119 struct cpsw_ale *ale;
120 int tx_ch_num;
121 u32 rx_flow_id_base;
123 struct am65_cpsw_tx_chn tx_chns[AM65_CPSW_MAX_TX_QUEUES];
124 struct completion tdown_complete;
125 atomic_t tdown_cnt;
127 struct am65_cpsw_rx_chn rx_chns;
128 struct napi_struct napi_rx;
130 bool rx_irq_disabled;
132 u32 nuss_ver;
133 u32 cpsw_ver;
134 unsigned long bus_freq;
135 bool pf_p0_rx_ptype_rrobin;
136 struct am65_cpts *cpts;
137 int est_enabled;
139 bool is_emac_mode;
140 u16 br_members;
141 int default_vlan;
142 struct devlink *devlink;
143 struct net_device *hw_bridge_dev;
144 struct notifier_block am65_cpsw_netdevice_nb;
145 unsigned char switch_id[MAX_PHYS_ITEM_ID_LEN];