Lines Matching defs:plat_stmmacenet_data

146 struct plat_stmmacenet_data {  struct
147 int bus_id;
148 int phy_addr;
149 int interface;
150 phy_interface_t phy_interface;
151 struct stmmac_mdio_bus_data *mdio_bus_data;
152 struct device_node *phy_node;
153 struct device_node *phylink_node;
154 struct device_node *mdio_node;
155 struct stmmac_dma_cfg *dma_cfg;
156 struct stmmac_est *est;
157 int clk_csr;
158 int has_gmac;
159 int enh_desc;
160 int tx_coe;
161 int rx_coe;
162 int bugged_jumbo;
163 int pmt;
164 int force_sf_dma_mode;
165 int force_thresh_dma_mode;
166 int riwt_off;
167 int max_speed;
168 int maxmtu;
169 int multicast_filter_bins;
170 int unicast_filter_entries;
171 int tx_fifo_size;
172 int rx_fifo_size;
173 u32 addr64;
174 u32 rx_queues_to_use;
175 u32 tx_queues_to_use;
176 u8 rx_sched_algorithm;
177 u8 tx_sched_algorithm;
178 struct stmmac_rxq_cfg rx_queues_cfg[MTL_MAX_RX_QUEUES];
179 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES];
180 void (*fix_mac_speed)(void *priv, unsigned int speed);
181 int (*serdes_powerup)(struct net_device *ndev, void *priv);
182 void (*serdes_powerdown)(struct net_device *ndev, void *priv);
183 int (*init)(struct platform_device *pdev, void *priv);
184 void (*exit)(struct platform_device *pdev, void *priv);
185 struct mac_device_info *(*setup)(void *priv);
186 void *bsp_priv;
187 struct clk *stmmac_clk;
188 struct clk *pclk;
189 struct clk *clk_ptp_ref;
190 unsigned int clk_ptp_rate;
191 unsigned int clk_ref_rate;
192 s32 ptp_max_adj;
193 struct reset_control *stmmac_rst;
194 struct stmmac_axi *axi;
195 int has_gmac4;
196 bool has_sun8i;
197 bool tso_en;
198 int rss_en;
199 int mac_port_sel_speed;
200 bool en_tx_lpi_clockgating;
201 int has_xgmac;
202 bool vlan_fail_q_en;
203 u8 vlan_fail_q;
204 unsigned int eee_usecs_rate;