Lines Matching defs:xgbe_hw_if

675 struct xgbe_hw_if {  struct
676 int (*tx_complete)(struct xgbe_ring_desc *);
678 int (*set_mac_address)(struct xgbe_prv_data *, const u8 *addr);
679 int (*config_rx_mode)(struct xgbe_prv_data *);
681 int (*enable_rx_csum)(struct xgbe_prv_data *);
682 int (*disable_rx_csum)(struct xgbe_prv_data *);
684 int (*enable_rx_vlan_stripping)(struct xgbe_prv_data *);
685 int (*disable_rx_vlan_stripping)(struct xgbe_prv_data *);
686 int (*enable_rx_vlan_filtering)(struct xgbe_prv_data *);
687 int (*disable_rx_vlan_filtering)(struct xgbe_prv_data *);
688 int (*update_vlan_hash_table)(struct xgbe_prv_data *);
690 int (*read_mmd_regs)(struct xgbe_prv_data *, int, int);
691 void (*write_mmd_regs)(struct xgbe_prv_data *, int, int, int);
692 int (*set_speed)(struct xgbe_prv_data *, int);
694 int (*set_ext_mii_mode)(struct xgbe_prv_data *, unsigned int,
696 int (*read_ext_mii_regs_c22)(struct xgbe_prv_data *, int, int);
697 int (*write_ext_mii_regs_c22)(struct xgbe_prv_data *, int, int, u16);
698 int (*read_ext_mii_regs_c45)(struct xgbe_prv_data *, int, int, int);
699 int (*write_ext_mii_regs_c45)(struct xgbe_prv_data *, int, int, int,
702 int (*set_gpio)(struct xgbe_prv_data *, unsigned int);
703 int (*clr_gpio)(struct xgbe_prv_data *, unsigned int);
705 void (*enable_tx)(struct xgbe_prv_data *);
706 void (*disable_tx)(struct xgbe_prv_data *);
707 void (*enable_rx)(struct xgbe_prv_data *);
708 void (*disable_rx)(struct xgbe_prv_data *);
710 void (*powerup_tx)(struct xgbe_prv_data *);
711 void (*powerdown_tx)(struct xgbe_prv_data *);
712 void (*powerup_rx)(struct xgbe_prv_data *);
713 void (*powerdown_rx)(struct xgbe_prv_data *);
715 int (*init)(struct xgbe_prv_data *);
716 int (*exit)(struct xgbe_prv_data *);
718 int (*enable_int)(struct xgbe_channel *, enum xgbe_int);
719 int (*disable_int)(struct xgbe_channel *, enum xgbe_int);
720 void (*dev_xmit)(struct xgbe_channel *);
721 int (*dev_read)(struct xgbe_channel *);
722 void (*tx_desc_init)(struct xgbe_channel *);
723 void (*rx_desc_init)(struct xgbe_channel *);
724 void (*tx_desc_reset)(struct xgbe_ring_data *);
725 void (*rx_desc_reset)(struct xgbe_prv_data *, struct xgbe_ring_data *,
727 int (*is_last_desc)(struct xgbe_ring_desc *);
728 int (*is_context_desc)(struct xgbe_ring_desc *);
729 void (*tx_start_xmit)(struct xgbe_channel *, struct xgbe_ring *);
732 int (*config_tx_flow_control)(struct xgbe_prv_data *);
733 int (*config_rx_flow_control)(struct xgbe_prv_data *);
736 int (*config_rx_coalesce)(struct xgbe_prv_data *);
737 int (*config_tx_coalesce)(struct xgbe_prv_data *);
738 unsigned int (*usec_to_riwt)(struct xgbe_prv_data *, unsigned int);
739 unsigned int (*riwt_to_usec)(struct xgbe_prv_data *, unsigned int);
742 int (*config_rx_threshold)(struct xgbe_prv_data *, unsigned int);
743 int (*config_tx_threshold)(struct xgbe_prv_data *, unsigned int);
746 int (*config_rsf_mode)(struct xgbe_prv_data *, unsigned int);
747 int (*config_tsf_mode)(struct xgbe_prv_data *, unsigned int);
750 int (*config_osp_mode)(struct xgbe_prv_data *);
753 void (*rx_mmc_int)(struct xgbe_prv_data *);
754 void (*tx_mmc_int)(struct xgbe_prv_data *);
755 void (*read_mmc_stats)(struct xgbe_prv_data *);
758 void (*config_tc)(struct xgbe_prv_data *);
759 void (*config_dcb_tc)(struct xgbe_prv_data *);
760 void (*config_dcb_pfc)(struct xgbe_prv_data *);
763 int (*enable_rss)(struct xgbe_prv_data *);
764 int (*disable_rss)(struct xgbe_prv_data *);
765 int (*set_rss_hash_key)(struct xgbe_prv_data *, const u8 *);
766 int (*set_rss_lookup_table)(struct xgbe_prv_data *, const u32 *);
769 void (*disable_ecc_ded)(struct xgbe_prv_data *);
770 void (*disable_ecc_sec)(struct xgbe_prv_data *, enum xgbe_ecc_sec);
773 void (*enable_vxlan)(struct xgbe_prv_data *);
774 void (*disable_vxlan)(struct xgbe_prv_data *);
775 void (*set_vxlan_id)(struct xgbe_prv_data *);
778 void (*enable_sph)(struct xgbe_prv_data *pdata);
779 void (*disable_sph)(struct xgbe_prv_data *pdata);