Lines Matching defs:plat_stmmacenet_data
148 struct plat_stmmacenet_data { struct
149 int bus_id;
150 int phy_addr;
151 int interface;
152 struct stmmac_mdio_bus_data *mdio_bus_data;
153 struct device_node *phy_node;
154 struct device_node *mdio_node;
155 struct stmmac_dma_cfg *dma_cfg;
156 int clk_csr;
157 int has_gmac;
158 int enh_desc;
159 int tx_coe;
160 int rx_coe;
161 int bugged_jumbo;
162 int pmt;
163 int force_sf_dma_mode;
164 int force_thresh_dma_mode;
165 int riwt_off;
166 int max_speed;
167 int maxmtu;
168 int multicast_filter_bins;
169 int unicast_filter_entries;
170 int tx_fifo_size;
171 int rx_fifo_size;
172 u32 rx_queues_to_use;
173 u32 tx_queues_to_use;
174 u8 rx_sched_algorithm;
175 u8 tx_sched_algorithm;
176 struct stmmac_rxq_cfg rx_queues_cfg[MTL_MAX_RX_QUEUES];
177 struct stmmac_txq_cfg tx_queues_cfg[MTL_MAX_TX_QUEUES];
178 void (*fix_mac_speed)(void *priv, unsigned int speed);
179 int (*init)(struct platform_device *pdev, void *priv);
180 void (*exit)(struct platform_device *pdev, void *priv);
181 struct mac_device_info *(*setup)(void *priv);
182 void *bsp_priv;
183 struct clk *stmmac_clk;
184 struct clk *pclk;
185 struct clk *clk_ptp_ref;
186 unsigned int clk_ptp_rate;
187 struct reset_control *stmmac_rst;
188 struct stmmac_axi *axi;
189 int has_gmac4;
190 bool has_sun8i;
191 bool tso_en;
192 int mac_port_sel_speed;
193 bool en_tx_lpi_clockgating;
194 int has_xgmac;