Lines Matching defs:ixgbe_hw

3636 struct ixgbe_hw;
3639 typedef u8* (*ixgbe_mc_addr_itr) (struct ixgbe_hw *hw, u8 **mc_addr_ptr,
3644 s32 (*init_params)(struct ixgbe_hw *);
3645 s32 (*read)(struct ixgbe_hw *, u16, u16 *);
3646 s32 (*read_buffer)(struct ixgbe_hw *, u16, u16, u16 *);
3647 s32 (*write)(struct ixgbe_hw *, u16, u16);
3648 s32 (*write_buffer)(struct ixgbe_hw *, u16, u16, u16 *);
3649 s32 (*validate_checksum)(struct ixgbe_hw *, u16 *);
3650 s32 (*update_checksum)(struct ixgbe_hw *);
3651 s32 (*calc_checksum)(struct ixgbe_hw *);
3655 s32 (*init_hw)(struct ixgbe_hw *);
3656 s32 (*reset_hw)(struct ixgbe_hw *);
3657 s32 (*start_hw)(struct ixgbe_hw *);
3658 s32 (*clear_hw_cntrs)(struct ixgbe_hw *);
3659 void (*enable_relaxed_ordering)(struct ixgbe_hw *);
3660 enum ixgbe_media_type (*get_media_type)(struct ixgbe_hw *);
3661 u32 (*get_supported_physical_layer)(struct ixgbe_hw *);
3662 s32 (*get_mac_addr)(struct ixgbe_hw *, u8 *);
3663 s32 (*get_san_mac_addr)(struct ixgbe_hw *, u8 *);
3664 s32 (*set_san_mac_addr)(struct ixgbe_hw *, u8 *);
3665 s32 (*get_device_caps)(struct ixgbe_hw *, u16 *);
3666 s32 (*get_wwn_prefix)(struct ixgbe_hw *, u16 *, u16 *);
3667 s32 (*get_fcoe_boot_status)(struct ixgbe_hw *, u16 *);
3668 s32 (*stop_adapter)(struct ixgbe_hw *);
3669 s32 (*get_bus_info)(struct ixgbe_hw *);
3670 void (*set_lan_id)(struct ixgbe_hw *);
3671 s32 (*read_analog_reg8)(struct ixgbe_hw*, u32, u8*);
3672 s32 (*write_analog_reg8)(struct ixgbe_hw*, u32, u8);
3673 s32 (*setup_sfp)(struct ixgbe_hw *);
3674 s32 (*enable_rx_dma)(struct ixgbe_hw *, u32);
3675 s32 (*disable_sec_rx_path)(struct ixgbe_hw *);
3676 s32 (*enable_sec_rx_path)(struct ixgbe_hw *);
3677 s32 (*acquire_swfw_sync)(struct ixgbe_hw *, u32);
3678 void (*release_swfw_sync)(struct ixgbe_hw *, u32);
3679 s32 (*prot_autoc_read)(struct ixgbe_hw *, bool *, u32 *);
3680 s32 (*prot_autoc_write)(struct ixgbe_hw *, u32, bool);
3683 void (*disable_tx_laser)(struct ixgbe_hw *);
3684 void (*enable_tx_laser)(struct ixgbe_hw *);
3685 void (*flap_tx_laser)(struct ixgbe_hw *);
3686 s32 (*setup_link)(struct ixgbe_hw *, ixgbe_link_speed, bool);
3687 s32 (*setup_mac_link)(struct ixgbe_hw *, ixgbe_link_speed, bool);
3688 s32 (*check_link)(struct ixgbe_hw *, ixgbe_link_speed *, bool *, bool);
3689 s32 (*get_link_capabilities)(struct ixgbe_hw *, ixgbe_link_speed *,
3691 void (*set_rate_select_speed)(struct ixgbe_hw *, ixgbe_link_speed);
3694 void (*setup_rxpba)(struct ixgbe_hw *, int, u32, int);
3697 s32 (*led_on)(struct ixgbe_hw *, u32);
3698 s32 (*led_off)(struct ixgbe_hw *, u32);
3699 s32 (*blink_led_start)(struct ixgbe_hw *, u32);
3700 s32 (*blink_led_stop)(struct ixgbe_hw *, u32);
3703 s32 (*set_rar)(struct ixgbe_hw *, u32, u8 *, u32, u32);
3704 s32 (*set_uc_addr)(struct ixgbe_hw *, u32, u8 *);
3705 s32 (*clear_rar)(struct ixgbe_hw *, u32);
3706 s32 (*insert_mac_addr)(struct ixgbe_hw *, u8 *, u32);
3707 s32 (*set_vmdq)(struct ixgbe_hw *, u32, u32);
3708 s32 (*set_vmdq_san_mac)(struct ixgbe_hw *, u32);
3709 s32 (*clear_vmdq)(struct ixgbe_hw *, u32, u32);
3710 s32 (*init_rx_addrs)(struct ixgbe_hw *);
3711 s32 (*update_uc_addr_list)(struct ixgbe_hw *, u8 *, u32,
3713 s32 (*update_mc_addr_list)(struct ixgbe_hw *, u8 *, u32,
3715 s32 (*enable_mc)(struct ixgbe_hw *);
3716 s32 (*disable_mc)(struct ixgbe_hw *);
3717 s32 (*clear_vfta)(struct ixgbe_hw *);
3718 s32 (*set_vfta)(struct ixgbe_hw *, u32, u32, bool);
3719 s32 (*set_vlvf)(struct ixgbe_hw *, u32, u32, bool, bool *);
3720 s32 (*init_uta_tables)(struct ixgbe_hw *);
3721 void (*set_mac_anti_spoofing)(struct ixgbe_hw *, bool, int);
3722 void (*set_vlan_anti_spoofing)(struct ixgbe_hw *, bool, int);
3725 s32 (*fc_enable)(struct ixgbe_hw *);
3726 s32 (*setup_fc)(struct ixgbe_hw *);
3729 s32 (*set_fw_drv_ver)(struct ixgbe_hw *, u8, u8, u8, u8);
3730 void (*get_rtrup2tc)(struct ixgbe_hw *hw, u8 *map);
3731 void (*disable_rx)(struct ixgbe_hw *hw);
3732 void (*enable_rx)(struct ixgbe_hw *hw);
3733 void (*set_source_address_pruning)(struct ixgbe_hw *, bool,
3735 void (*set_ethertype_anti_spoofing)(struct ixgbe_hw *, bool, int);
3736 s32 (*dmac_update_tcs)(struct ixgbe_hw *hw);
3737 s32 (*dmac_config_tcs)(struct ixgbe_hw *hw);
3738 s32 (*dmac_config)(struct ixgbe_hw *hw);
3739 s32 (*setup_eee)(struct ixgbe_hw *hw, bool enable_eee);
3740 s32 (*read_iosf_sb_reg)(struct ixgbe_hw *, u32, u32, u32 *);
3741 s32 (*write_iosf_sb_reg)(struct ixgbe_hw *, u32, u32, u32);
3742 void (*disable_mdd)(struct ixgbe_hw *hw);
3743 void (*enable_mdd)(struct ixgbe_hw *hw);
3744 void (*mdd_event)(struct ixgbe_hw *hw, u32 *vf_bitmap);
3745 void (*restore_mdd_vf)(struct ixgbe_hw *hw, u32 vf);
3749 s32 (*identify)(struct ixgbe_hw *);
3750 s32 (*identify_sfp)(struct ixgbe_hw *);
3751 s32 (*init)(struct ixgbe_hw *);
3752 s32 (*reset)(struct ixgbe_hw *);
3753 s32 (*read_reg)(struct ixgbe_hw *, u32, u32, u16 *);
3754 s32 (*write_reg)(struct ixgbe_hw *, u32, u32, u16);
3755 s32 (*read_reg_mdi)(struct ixgbe_hw *, u32, u32, u16 *);
3756 s32 (*write_reg_mdi)(struct ixgbe_hw *, u32, u32, u16);
3757 s32 (*setup_link)(struct ixgbe_hw *);
3758 s32 (*setup_internal_link)(struct ixgbe_hw *);
3759 s32 (*setup_link_speed)(struct ixgbe_hw *, ixgbe_link_speed, bool);
3760 s32 (*check_link)(struct ixgbe_hw *, ixgbe_link_speed *, bool *);
3761 s32 (*get_firmware_version)(struct ixgbe_hw *, u16 *);
3762 s32 (*read_i2c_byte)(struct ixgbe_hw *, u8, u8, u8 *);
3763 s32 (*write_i2c_byte)(struct ixgbe_hw *, u8, u8, u8);
3764 s32 (*read_i2c_sff8472)(struct ixgbe_hw *, u8 , u8 *);
3765 s32 (*read_i2c_eeprom)(struct ixgbe_hw *, u8 , u8 *);
3766 s32 (*write_i2c_eeprom)(struct ixgbe_hw *, u8, u8);
3767 void (*i2c_bus_clear)(struct ixgbe_hw *);
3768 s32 (*read_i2c_combined)(struct ixgbe_hw *, u8 addr, u16 reg, u16 *val);
3769 s32 (*write_i2c_combined)(struct ixgbe_hw *, u8 addr, u16 reg, u16 val);
3770 s32 (*check_overtemp)(struct ixgbe_hw *);
3771 s32 (*set_phy_power)(struct ixgbe_hw *, bool on);
3772 s32 (*enter_lplu)(struct ixgbe_hw *);
3773 s32 (*handle_lasi)(struct ixgbe_hw *hw);
3774 s32 (*read_i2c_combined_unlocked)(struct ixgbe_hw *, u8 addr, u16 reg,
3776 s32 (*write_i2c_combined_unlocked)(struct ixgbe_hw *, u8 addr, u16 reg,
3778 s32 (*read_i2c_byte_unlocked)(struct ixgbe_hw *, u8 offset, u8 addr,
3780 s32 (*write_i2c_byte_unlocked)(struct ixgbe_hw *, u8 offset, u8 addr,
3853 void (*init_params)(struct ixgbe_hw *hw);
3854 s32 (*read)(struct ixgbe_hw *, u32 *, u16, u16);
3855 s32 (*write)(struct ixgbe_hw *, u32 *, u16, u16);
3856 s32 (*read_posted)(struct ixgbe_hw *, u32 *, u16, u16);
3857 s32 (*write_posted)(struct ixgbe_hw *, u32 *, u16, u16);
3858 s32 (*check_for_msg)(struct ixgbe_hw *, u16);
3859 s32 (*check_for_ack)(struct ixgbe_hw *, u16);
3860 s32 (*check_for_rst)(struct ixgbe_hw *, u16);
3881 struct ixgbe_hw {