Lines Matching defs:qed_common_ops
867 struct qed_common_ops { struct
868 struct qed_selftest_ops *selftest;
870 struct qed_dev* (*probe)(struct pci_dev *dev,
873 void (*remove)(struct qed_dev *cdev);
875 int (*set_power_state)(struct qed_dev *cdev, pci_power_t state);
877 void (*set_name) (struct qed_dev *cdev, char name[]);
883 void (*update_pf_params)(struct qed_dev *cdev,
886 int (*slowpath_start)(struct qed_dev *cdev,
889 int (*slowpath_stop)(struct qed_dev *cdev);
894 int (*set_fp_int)(struct qed_dev *cdev, u16 cnt);
897 int (*get_fp_int)(struct qed_dev *cdev, struct qed_int_info *info);
899 u32 (*sb_init)(struct qed_dev *cdev,
906 u32 (*sb_release)(struct qed_dev *cdev,
911 void (*simd_handler_config)(struct qed_dev *cdev,
916 void (*simd_handler_clean)(struct qed_dev *cdev, int index);
918 int (*dbg_grc)(struct qed_dev *cdev, void *buffer, u32 *num_dumped_bytes);
920 int (*dbg_grc_size)(struct qed_dev *cdev);
922 int (*dbg_all_data)(struct qed_dev *cdev, void *buffer);
924 int (*dbg_all_data_size)(struct qed_dev *cdev);
926 int (*report_fatal_error)(struct devlink *devlink,
936 bool (*can_link_change)(struct qed_dev *cdev);
946 int (*set_link)(struct qed_dev *cdev,
955 void (*get_link)(struct qed_dev *cdev,
963 int (*drain)(struct qed_dev *cdev);
972 void (*update_msglvl)(struct qed_dev *cdev,
976 int (*chain_alloc)(struct qed_dev *cdev,
980 void (*chain_free)(struct qed_dev *cdev,
991 int (*nvm_flash)(struct qed_dev *cdev, const char *name);
1003 int (*nvm_get_image)(struct qed_dev *cdev,
1017 int (*set_coalesce)(struct qed_dev *cdev,
1028 int (*set_led)(struct qed_dev *cdev,
1037 void (*attn_clr_enable)(struct qed_dev *cdev, bool clr_enable);
1049 int (*db_recovery_add)(struct qed_dev *cdev,
1064 int (*db_recovery_del)(struct qed_dev *cdev,
1074 int (*recovery_process)(struct qed_dev *cdev);
1083 int (*recovery_prolog)(struct qed_dev *cdev);
1092 int (*update_drv_state)(struct qed_dev *cdev, bool active);
1101 int (*update_mac)(struct qed_dev *cdev, u8 *mac);
1110 int (*update_mtu)(struct qed_dev *cdev, u16 mtu);
1118 int (*update_wol) (struct qed_dev *cdev, bool enabled);
1129 int (*read_module_eeprom)(struct qed_dev *cdev,
1137 u8 (*get_affin_hwfn_idx)(struct qed_dev *cdev);
1147 int (*read_nvm_cfg)(struct qed_dev *cdev, u8 **buf, u32 cmd,
1156 int (*read_nvm_cfg_len)(struct qed_dev *cdev, u32 cmd);
1165 int (*set_grc_config)(struct qed_dev *cdev, u32 cfg_id, u32 val);
1167 struct devlink* (*devlink_register)(struct qed_dev *cdev);
1169 void (*devlink_unregister)(struct devlink *devlink);