Lines Matching refs:qed_dev
454 struct qed_dev;
603 struct qed_dev *cdev;
807 struct qed_dev *cdev;
837 int (*selftest_interrupt)(struct qed_dev *cdev);
846 int (*selftest_memory)(struct qed_dev *cdev);
855 int (*selftest_register)(struct qed_dev *cdev);
864 int (*selftest_clock)(struct qed_dev *cdev);
873 int (*selftest_nvram) (struct qed_dev *cdev);
879 struct qed_dev* (*probe)(struct pci_dev *dev,
882 void (*remove)(struct qed_dev *cdev);
884 int (*set_power_state)(struct qed_dev *cdev, pci_power_t state);
886 void (*set_name) (struct qed_dev *cdev, char name[]);
892 void (*update_pf_params)(struct qed_dev *cdev,
895 int (*slowpath_start)(struct qed_dev *cdev,
898 int (*slowpath_stop)(struct qed_dev *cdev);
903 int (*set_fp_int)(struct qed_dev *cdev, u16 cnt);
906 int (*get_fp_int)(struct qed_dev *cdev, struct qed_int_info *info);
908 u32 (*sb_init)(struct qed_dev *cdev,
915 u32 (*sb_release)(struct qed_dev *cdev,
920 void (*simd_handler_config)(struct qed_dev *cdev,
925 void (*simd_handler_clean)(struct qed_dev *cdev, int index);
927 int (*dbg_grc)(struct qed_dev *cdev, void *buffer, u32 *num_dumped_bytes);
929 int (*dbg_grc_size)(struct qed_dev *cdev);
931 int (*dbg_all_data)(struct qed_dev *cdev, void *buffer);
933 int (*dbg_all_data_size)(struct qed_dev *cdev);
945 bool (*can_link_change)(struct qed_dev *cdev);
955 int (*set_link)(struct qed_dev *cdev,
966 void (*get_link)(struct qed_dev *cdev,
976 int (*drain)(struct qed_dev *cdev);
987 void (*update_msglvl)(struct qed_dev *cdev,
991 int (*chain_alloc)(struct qed_dev *cdev,
995 void (*chain_free)(struct qed_dev *cdev,
1006 int (*nvm_flash)(struct qed_dev *cdev, const char *name);
1018 int (*nvm_get_image)(struct qed_dev *cdev,
1031 int (*set_coalesce)(struct qed_dev *cdev,
1042 int (*set_led)(struct qed_dev *cdev,
1053 void (*attn_clr_enable)(struct qed_dev *cdev, bool clr_enable);
1067 int (*db_recovery_add)(struct qed_dev *cdev,
1084 int (*db_recovery_del)(struct qed_dev *cdev,
1094 int (*recovery_process)(struct qed_dev *cdev);
1103 int (*recovery_prolog)(struct qed_dev *cdev);
1113 int (*update_drv_state)(struct qed_dev *cdev, bool active);
1123 int (*update_mac)(struct qed_dev *cdev, const u8 *mac);
1133 int (*update_mtu)(struct qed_dev *cdev, u16 mtu);
1143 int (*update_wol) (struct qed_dev *cdev, bool enabled);
1156 int (*read_module_eeprom)(struct qed_dev *cdev,
1166 u8 (*get_affin_hwfn_idx)(struct qed_dev *cdev);
1178 int (*read_nvm_cfg)(struct qed_dev *cdev, u8 **buf, u32 cmd,
1188 int (*read_nvm_cfg_len)(struct qed_dev *cdev, u32 cmd);
1199 int (*set_grc_config)(struct qed_dev *cdev, u32 cfg_id, u32 val);
1201 struct devlink* (*devlink_register)(struct qed_dev *cdev);
1205 __printf(2, 3) void (*mfw_report)(struct qed_dev *cdev, char *fmt, ...);
1207 int (*get_sb_info)(struct qed_dev *cdev, struct qed_sb_info *sb,
1210 int (*get_esl_status)(struct qed_dev *cdev, bool *esl_active);