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 (*dump_debug_regs)(void *priv);
237 void *bsp_priv;
238 struct clk *stmmac_clk;
239 struct clk *pclk;
240 struct clk *clk_ptp_ref;
241 unsigned int clk_ptp_rate;
242 unsigned int clk_ref_rate;
243 unsigned int mult_fact_100ns;
244 s32 ptp_max_adj;
245 u32 cdc_error_adj;
246 struct reset_control *stmmac_rst;
247 struct reset_control *stmmac_ahb_rst;
248 struct stmmac_axi *axi;
249 int has_gmac4;
250 bool has_sun8i;
251 bool tso_en;
252 int rss_en;
253 int mac_port_sel_speed;
254 bool en_tx_lpi_clockgating;
255 bool rx_clk_runs_in_lpi;
256 int has_xgmac;
257 bool vlan_fail_q_en;
258 u8 vlan_fail_q;
259 unsigned int eee_usecs_rate;
260 struct pci_dev *pdev;
261 int int_snapshot_num;
262 int ext_snapshot_num;
263 bool int_snapshot_en;
264 bool ext_snapshot_en;
265 bool multi_msi_en;
266 int msi_mac_vec;
267 int msi_wol_vec;
268 int msi_lpi_vec;
269 int msi_sfty_ce_vec;
270 int msi_sfty_ue_vec;
271 int msi_rx_base_vec;
272 int msi_tx_base_vec;
273 bool use_phy_wol;
274 bool sph_disable;
275 bool serdes_up_after_phy_linkup;