Lines Matching defs:plat_stmmacenet_data

189 struct plat_stmmacenet_data {  struct
190 int bus_id;
191 int phy_addr;
192 int interface;
193 phy_interface_t phy_interface;
194 struct stmmac_mdio_bus_data *mdio_bus_data;
195 struct device_node *phy_node;
196 struct device_node *phylink_node;
197 struct device_node *mdio_node;
198 struct stmmac_dma_cfg *dma_cfg;
199 struct stmmac_est *est;
200 struct stmmac_fpe_cfg *fpe_cfg;
201 struct stmmac_safety_feature_cfg *safety_feat_cfg;
202 int clk_csr;
203 int has_gmac;
204 int enh_desc;
205 int tx_coe;
206 int rx_coe;
207 int bugged_jumbo;
208 int pmt;
209 int force_sf_dma_mode;
210 int force_thresh_dma_mode;
211 int riwt_off;
212 int max_speed;
213 int maxmtu;
214 int multicast_filter_bins;
215 int unicast_filter_entries;
216 int tx_fifo_size;
217 int rx_fifo_size;
218 u32 addr64;
219 u32 rx_queues_to_use;
220 u32 tx_queues_to_use;
221 u8 rx_sched_algorithm;
222 u8 tx_sched_algorithm;
223 struct stmmac_rxq_cfg rx_queues_cfg[MTL_MAX_RX_QUEUES];
224 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES];
225 void (*fix_mac_speed)(void *priv, unsigned int speed);
226 int (*serdes_powerup)(struct net_device *ndev, void *priv);
227 void (*serdes_powerdown)(struct net_device *ndev, void *priv);
228 void (*speed_mode_2500)(struct net_device *ndev, void *priv);
229 void (*ptp_clk_freq_config)(void *priv);
230 int (*init)(struct platform_device *pdev, void *priv);
231 void (*exit)(struct platform_device *pdev, void *priv);
232 struct mac_device_info *(*setup)(void *priv);
233 int (*clks_config)(void *priv, bool enabled);
234 int (*crosststamp)(ktime_t *device, struct system_counterval_t *system,
236 void *bsp_priv;
237 struct clk *stmmac_clk;
238 struct clk *pclk;
239 struct clk *clk_ptp_ref;
240 unsigned int clk_ptp_rate;
241 unsigned int clk_ref_rate;
242 unsigned int mult_fact_100ns;
243 s32 ptp_max_adj;
244 struct reset_control *stmmac_rst;
245 struct reset_control *stmmac_ahb_rst;
246 struct stmmac_axi *axi;
247 int has_gmac4;
248 bool has_sun8i;
249 bool tso_en;
250 int rss_en;
251 int mac_port_sel_speed;
252 bool en_tx_lpi_clockgating;
253 int has_xgmac;
254 bool vlan_fail_q_en;
255 u8 vlan_fail_q;
256 unsigned int eee_usecs_rate;
257 struct pci_dev *pdev;
258 bool has_crossts;
259 int int_snapshot_num;
260 int ext_snapshot_num;
261 bool ext_snapshot_en;
262 bool multi_msi_en;
263 int msi_mac_vec;
264 int msi_wol_vec;
265 int msi_lpi_vec;
266 int msi_sfty_ce_vec;
267 int msi_sfty_ue_vec;
268 int msi_rx_base_vec;
269 int msi_tx_base_vec;
270 bool use_phy_wol;