Lines Matching defs:stmmac_ops

285 struct stmmac_ops {  struct
287 void (*core_init)(struct mac_device_info *hw, struct net_device *dev);
289 void (*set_mac)(void __iomem *ioaddr, bool enable);
291 int (*rx_ipc)(struct mac_device_info *hw);
293 void (*rx_queue_enable)(struct mac_device_info *hw, u8 mode, u32 queue);
295 void (*rx_queue_prio)(struct mac_device_info *hw, u32 prio, u32 queue);
297 void (*tx_queue_prio)(struct mac_device_info *hw, u32 prio, u32 queue);
299 void (*rx_queue_routing)(struct mac_device_info *hw, u8 packet,
302 void (*prog_mtl_rx_algorithms)(struct mac_device_info *hw, u32 rx_alg);
304 void (*prog_mtl_tx_algorithms)(struct mac_device_info *hw, u32 tx_alg);
306 void (*set_mtl_tx_queue_weight)(struct mac_device_info *hw,
309 void (*map_mtl_to_dma)(struct mac_device_info *hw, u32 queue, u32 chan);
311 void (*config_cbs)(struct mac_device_info *hw, u32 send_slope,
315 void (*dump_regs)(struct mac_device_info *hw, u32 *reg_space);
317 int (*host_irq_status)(struct mac_device_info *hw,
320 int (*host_mtl_irq_status)(struct mac_device_info *hw, u32 chan);
322 void (*set_filter)(struct mac_device_info *hw, struct net_device *dev);
324 void (*flow_ctrl)(struct mac_device_info *hw, unsigned int duplex,
327 void (*pmt)(struct mac_device_info *hw, unsigned long mode);
329 void (*set_umac_addr)(struct mac_device_info *hw,
332 void (*get_umac_addr)(struct mac_device_info *hw, unsigned char *addr,
334 void (*set_eee_mode)(struct mac_device_info *hw,
336 void (*reset_eee_mode)(struct mac_device_info *hw);
337 void (*set_eee_lpi_entry_timer)(struct mac_device_info *hw, int et);
338 void (*set_eee_timer)(struct mac_device_info *hw, int ls, int tw);
339 void (*set_eee_pls)(struct mac_device_info *hw, int link);
340 void (*debug)(void __iomem *ioaddr, struct stmmac_extra_stats *x,
343 void (*pcs_ctrl_ane)(void __iomem *ioaddr, bool ane, bool srgmi_ral,
345 void (*pcs_rane)(void __iomem *ioaddr, bool restart);
346 void (*pcs_get_adv_lp)(void __iomem *ioaddr, struct rgmii_adv *adv);
348 int (*safety_feat_config)(void __iomem *ioaddr, unsigned int asp,
350 int (*safety_feat_irq_status)(struct net_device *ndev,
353 int (*safety_feat_dump)(struct stmmac_safety_stats *stats,
356 int (*rxp_config)(void __iomem *ioaddr, struct stmmac_tc_entry *entries,
359 int (*flex_pps_config)(void __iomem *ioaddr, int index,
363 void (*set_mac_loopback)(void __iomem *ioaddr, bool enable);
365 int (*rss_configure)(struct mac_device_info *hw,
368 void (*update_vlan_hash)(struct mac_device_info *hw, u32 hash,
370 void (*enable_vlan)(struct mac_device_info *hw, u32 type);
371 int (*add_hw_vlan_rx_fltr)(struct net_device *dev,
374 int (*del_hw_vlan_rx_fltr)(struct net_device *dev,
377 void (*restore_hw_vlan_rx_fltr)(struct net_device *dev,
380 int (*get_mac_tx_timestamp)(struct mac_device_info *hw, u64 *ts);
382 void (*sarc_configure)(void __iomem *ioaddr, int val);
384 int (*config_l3_filter)(struct mac_device_info *hw, u32 filter_no,
387 int (*config_l4_filter)(struct mac_device_info *hw, u32 filter_no,
390 void (*set_arp_offload)(struct mac_device_info *hw, bool en, u32 addr);
391 int (*est_configure)(void __iomem *ioaddr, struct stmmac_est *cfg,
393 void (*est_irq_status)(void __iomem *ioaddr, struct net_device *dev,
395 void (*fpe_configure)(void __iomem *ioaddr, u32 num_txq, u32 num_rxq,
397 void (*fpe_send_mpacket)(void __iomem *ioaddr,
399 int (*fpe_irq_status)(void __iomem *ioaddr, struct net_device *dev);