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