Lines Matching defs:stmmac_ops
289 struct stmmac_ops { struct
291 void (*core_init)(struct mac_device_info *hw, struct net_device *dev);
293 void (*set_mac)(void __iomem *ioaddr, bool enable);
295 int (*rx_ipc)(struct mac_device_info *hw);
297 void (*rx_queue_enable)(struct mac_device_info *hw, u8 mode, u32 queue);
299 void (*rx_queue_prio)(struct mac_device_info *hw, u32 prio, u32 queue);
301 void (*tx_queue_prio)(struct mac_device_info *hw, u32 prio, u32 queue);
303 void (*rx_queue_routing)(struct mac_device_info *hw, u8 packet,
306 void (*prog_mtl_rx_algorithms)(struct mac_device_info *hw, u32 rx_alg);
308 void (*prog_mtl_tx_algorithms)(struct mac_device_info *hw, u32 tx_alg);
310 void (*set_mtl_tx_queue_weight)(struct mac_device_info *hw,
313 void (*map_mtl_to_dma)(struct mac_device_info *hw, u32 queue, u32 chan);
315 void (*config_cbs)(struct mac_device_info *hw, u32 send_slope,
319 void (*dump_regs)(struct mac_device_info *hw, u32 *reg_space);
321 int (*host_irq_status)(struct mac_device_info *hw,
324 int (*host_mtl_irq_status)(struct mac_device_info *hw, u32 chan);
326 void (*set_filter)(struct mac_device_info *hw, struct net_device *dev);
328 void (*flow_ctrl)(struct mac_device_info *hw, unsigned int duplex,
331 void (*pmt)(struct mac_device_info *hw, unsigned long mode);
333 void (*set_umac_addr)(struct mac_device_info *hw, unsigned char *addr,
335 void (*get_umac_addr)(struct mac_device_info *hw, unsigned char *addr,
337 void (*set_eee_mode)(struct mac_device_info *hw,
339 void (*reset_eee_mode)(struct mac_device_info *hw);
340 void (*set_eee_timer)(struct mac_device_info *hw, int ls, int tw);
341 void (*set_eee_pls)(struct mac_device_info *hw, int link);
342 void (*debug)(void __iomem *ioaddr, struct stmmac_extra_stats *x,
345 void (*pcs_ctrl_ane)(void __iomem *ioaddr, bool ane, bool srgmi_ral,
347 void (*pcs_rane)(void __iomem *ioaddr, bool restart);
348 void (*pcs_get_adv_lp)(void __iomem *ioaddr, struct rgmii_adv *adv);
350 int (*safety_feat_config)(void __iomem *ioaddr, unsigned int asp);
351 int (*safety_feat_irq_status)(struct net_device *ndev,
354 int (*safety_feat_dump)(struct stmmac_safety_stats *stats,
357 int (*rxp_config)(void __iomem *ioaddr, struct stmmac_tc_entry *entries,
360 int (*flex_pps_config)(void __iomem *ioaddr, int index,
364 void (*set_mac_loopback)(void __iomem *ioaddr, bool enable);
366 int (*rss_configure)(struct mac_device_info *hw,
369 void (*update_vlan_hash)(struct mac_device_info *hw, u32 hash,
371 void (*enable_vlan)(struct mac_device_info *hw, u32 type);
372 int (*add_hw_vlan_rx_fltr)(struct net_device *dev,
375 int (*del_hw_vlan_rx_fltr)(struct net_device *dev,
378 void (*restore_hw_vlan_rx_fltr)(struct net_device *dev,
381 int (*get_mac_tx_timestamp)(struct mac_device_info *hw, u64 *ts);
383 void (*sarc_configure)(void __iomem *ioaddr, int val);
385 int (*config_l3_filter)(struct mac_device_info *hw, u32 filter_no,
388 int (*config_l4_filter)(struct mac_device_info *hw, u32 filter_no,
391 void (*set_arp_offload)(struct mac_device_info *hw, bool en, u32 addr);
392 int (*est_configure)(void __iomem *ioaddr, struct stmmac_est *cfg,
394 void (*fpe_configure)(void __iomem *ioaddr, u32 num_txq, u32 num_rxq,