Lines Matching defs:stmmac_ops

279 struct stmmac_ops {  struct
281 void (*core_init)(struct mac_device_info *hw, struct net_device *dev);
283 void (*set_mac)(void __iomem *ioaddr, bool enable);
285 int (*rx_ipc)(struct mac_device_info *hw);
287 void (*rx_queue_enable)(struct mac_device_info *hw, u8 mode, u32 queue);
289 void (*rx_queue_prio)(struct mac_device_info *hw, u32 prio, u32 queue);
291 void (*tx_queue_prio)(struct mac_device_info *hw, u32 prio, u32 queue);
293 void (*rx_queue_routing)(struct mac_device_info *hw, u8 packet,
296 void (*prog_mtl_rx_algorithms)(struct mac_device_info *hw, u32 rx_alg);
298 void (*prog_mtl_tx_algorithms)(struct mac_device_info *hw, u32 tx_alg);
300 void (*set_mtl_tx_queue_weight)(struct mac_device_info *hw,
303 void (*map_mtl_to_dma)(struct mac_device_info *hw, u32 queue, u32 chan);
305 void (*config_cbs)(struct mac_device_info *hw, u32 send_slope,
309 void (*dump_regs)(struct mac_device_info *hw, u32 *reg_space);
311 int (*host_irq_status)(struct mac_device_info *hw,
314 int (*host_mtl_irq_status)(struct mac_device_info *hw, u32 chan);
316 void (*set_filter)(struct mac_device_info *hw, struct net_device *dev);
318 void (*flow_ctrl)(struct mac_device_info *hw, unsigned int duplex,
321 void (*pmt)(struct mac_device_info *hw, unsigned long mode);
323 void (*set_umac_addr)(struct mac_device_info *hw, unsigned char *addr,
325 void (*get_umac_addr)(struct mac_device_info *hw, unsigned char *addr,
327 void (*set_eee_mode)(struct mac_device_info *hw,
329 void (*reset_eee_mode)(struct mac_device_info *hw);
330 void (*set_eee_timer)(struct mac_device_info *hw, int ls, int tw);
331 void (*set_eee_pls)(struct mac_device_info *hw, int link);
332 void (*debug)(void __iomem *ioaddr, struct stmmac_extra_stats *x,
335 void (*pcs_ctrl_ane)(void __iomem *ioaddr, bool ane, bool srgmi_ral,
337 void (*pcs_rane)(void __iomem *ioaddr, bool restart);
338 void (*pcs_get_adv_lp)(void __iomem *ioaddr, struct rgmii_adv *adv);
340 int (*safety_feat_config)(void __iomem *ioaddr, unsigned int asp);
341 int (*safety_feat_irq_status)(struct net_device *ndev,
344 int (*safety_feat_dump)(struct stmmac_safety_stats *stats,
347 int (*rxp_config)(void __iomem *ioaddr, struct stmmac_tc_entry *entries,
350 int (*flex_pps_config)(void __iomem *ioaddr, int index,
354 void (*set_mac_loopback)(void __iomem *ioaddr, bool enable);
356 int (*rss_configure)(struct mac_device_info *hw,
359 void (*update_vlan_hash)(struct mac_device_info *hw, u32 hash,
361 void (*enable_vlan)(struct mac_device_info *hw, u32 type);
363 int (*get_mac_tx_timestamp)(struct mac_device_info *hw, u64 *ts);
365 void (*sarc_configure)(void __iomem *ioaddr, int val);
367 int (*config_l3_filter)(struct mac_device_info *hw, u32 filter_no,
370 int (*config_l4_filter)(struct mac_device_info *hw, u32 filter_no,
373 void (*set_arp_offload)(struct mac_device_info *hw, bool en, u32 addr);