Lines Matching defs:xgbe_hw_if

759 struct xgbe_hw_if {  struct
760 int (*tx_complete)(struct xgbe_ring_desc *);
762 int (*set_mac_address)(struct xgbe_prv_data *, const u8 *addr);
763 int (*config_rx_mode)(struct xgbe_prv_data *);
765 int (*enable_rx_csum)(struct xgbe_prv_data *);
766 int (*disable_rx_csum)(struct xgbe_prv_data *);
768 int (*enable_rx_vlan_stripping)(struct xgbe_prv_data *);
769 int (*disable_rx_vlan_stripping)(struct xgbe_prv_data *);
770 int (*enable_rx_vlan_filtering)(struct xgbe_prv_data *);
771 int (*disable_rx_vlan_filtering)(struct xgbe_prv_data *);
772 int (*update_vlan_hash_table)(struct xgbe_prv_data *);
774 int (*read_mmd_regs)(struct xgbe_prv_data *, int, int);
775 void (*write_mmd_regs)(struct xgbe_prv_data *, int, int, int);
776 int (*set_speed)(struct xgbe_prv_data *, int);
778 int (*set_ext_mii_mode)(struct xgbe_prv_data *, unsigned int,
780 int (*read_ext_mii_regs_c22)(struct xgbe_prv_data *, int, int);
781 int (*write_ext_mii_regs_c22)(struct xgbe_prv_data *, int, int, u16);
782 int (*read_ext_mii_regs_c45)(struct xgbe_prv_data *, int, int, int);
783 int (*write_ext_mii_regs_c45)(struct xgbe_prv_data *, int, int, int,
786 int (*set_gpio)(struct xgbe_prv_data *, unsigned int);
787 int (*clr_gpio)(struct xgbe_prv_data *, unsigned int);
789 void (*enable_tx)(struct xgbe_prv_data *);
790 void (*disable_tx)(struct xgbe_prv_data *);
791 void (*enable_rx)(struct xgbe_prv_data *);
792 void (*disable_rx)(struct xgbe_prv_data *);
794 void (*powerup_tx)(struct xgbe_prv_data *);
795 void (*powerdown_tx)(struct xgbe_prv_data *);
796 void (*powerup_rx)(struct xgbe_prv_data *);
797 void (*powerdown_rx)(struct xgbe_prv_data *);
799 int (*init)(struct xgbe_prv_data *);
800 int (*exit)(struct xgbe_prv_data *);
802 int (*enable_int)(struct xgbe_channel *, enum xgbe_int);
803 int (*disable_int)(struct xgbe_channel *, enum xgbe_int);
804 void (*dev_xmit)(struct xgbe_channel *);
805 int (*dev_read)(struct xgbe_channel *);
806 void (*tx_desc_init)(struct xgbe_channel *);
807 void (*rx_desc_init)(struct xgbe_channel *);
808 void (*tx_desc_reset)(struct xgbe_ring_data *);
809 void (*rx_desc_reset)(struct xgbe_prv_data *, struct xgbe_ring_data *,
811 int (*is_last_desc)(struct xgbe_ring_desc *);
812 int (*is_context_desc)(struct xgbe_ring_desc *);
813 void (*tx_start_xmit)(struct xgbe_channel *, struct xgbe_ring *);
816 int (*config_tx_flow_control)(struct xgbe_prv_data *);
817 int (*config_rx_flow_control)(struct xgbe_prv_data *);
820 int (*config_rx_coalesce)(struct xgbe_prv_data *);
821 int (*config_tx_coalesce)(struct xgbe_prv_data *);
822 unsigned int (*usec_to_riwt)(struct xgbe_prv_data *, unsigned int);
823 unsigned int (*riwt_to_usec)(struct xgbe_prv_data *, unsigned int);
826 int (*config_rx_threshold)(struct xgbe_prv_data *, unsigned int);
827 int (*config_tx_threshold)(struct xgbe_prv_data *, unsigned int);
830 int (*config_rsf_mode)(struct xgbe_prv_data *, unsigned int);
831 int (*config_tsf_mode)(struct xgbe_prv_data *, unsigned int);
834 int (*config_osp_mode)(struct xgbe_prv_data *);
837 void (*rx_mmc_int)(struct xgbe_prv_data *);
838 void (*tx_mmc_int)(struct xgbe_prv_data *);
839 void (*read_mmc_stats)(struct xgbe_prv_data *);
842 int (*config_tstamp)(struct xgbe_prv_data *, unsigned int);
843 void (*update_tstamp_addend)(struct xgbe_prv_data *, unsigned int);
844 void (*set_tstamp_time)(struct xgbe_prv_data *, unsigned int sec,
846 u64 (*get_tstamp_time)(struct xgbe_prv_data *);
847 u64 (*get_tx_tstamp)(struct xgbe_prv_data *);
850 void (*config_tc)(struct xgbe_prv_data *);
851 void (*config_dcb_tc)(struct xgbe_prv_data *);
852 void (*config_dcb_pfc)(struct xgbe_prv_data *);
855 int (*enable_rss)(struct xgbe_prv_data *);
856 int (*disable_rss)(struct xgbe_prv_data *);
857 int (*set_rss_hash_key)(struct xgbe_prv_data *, const u8 *);
858 int (*set_rss_lookup_table)(struct xgbe_prv_data *, const u32 *);
861 void (*disable_ecc_ded)(struct xgbe_prv_data *);
862 void (*disable_ecc_sec)(struct xgbe_prv_data *, enum xgbe_ecc_sec);
865 void (*enable_vxlan)(struct xgbe_prv_data *);
866 void (*disable_vxlan)(struct xgbe_prv_data *);
867 void (*set_vxlan_id)(struct xgbe_prv_data *);