Lines Matching defs:qed_common_ops

848 struct qed_common_ops {  struct
849 struct qed_selftest_ops *selftest;
851 struct qed_dev* (*probe)(struct pci_dev *dev,
854 void (*remove)(struct qed_dev *cdev);
856 int (*set_power_state)(struct qed_dev *cdev, pci_power_t state);
858 void (*set_name) (struct qed_dev *cdev, char name[]);
864 void (*update_pf_params)(struct qed_dev *cdev,
867 int (*slowpath_start)(struct qed_dev *cdev,
870 int (*slowpath_stop)(struct qed_dev *cdev);
875 int (*set_fp_int)(struct qed_dev *cdev, u16 cnt);
878 int (*get_fp_int)(struct qed_dev *cdev, struct qed_int_info *info);
880 u32 (*sb_init)(struct qed_dev *cdev,
887 u32 (*sb_release)(struct qed_dev *cdev,
892 void (*simd_handler_config)(struct qed_dev *cdev,
897 void (*simd_handler_clean)(struct qed_dev *cdev, int index);
899 int (*dbg_grc)(struct qed_dev *cdev, void *buffer, u32 *num_dumped_bytes);
901 int (*dbg_grc_size)(struct qed_dev *cdev);
903 int (*dbg_all_data)(struct qed_dev *cdev, void *buffer);
905 int (*dbg_all_data_size)(struct qed_dev *cdev);
907 int (*report_fatal_error)(struct devlink *devlink,
917 bool (*can_link_change)(struct qed_dev *cdev);
927 int (*set_link)(struct qed_dev *cdev,
936 void (*get_link)(struct qed_dev *cdev,
944 int (*drain)(struct qed_dev *cdev);
953 void (*update_msglvl)(struct qed_dev *cdev,
957 int (*chain_alloc)(struct qed_dev *cdev,
961 void (*chain_free)(struct qed_dev *cdev,
972 int (*nvm_flash)(struct qed_dev *cdev, const char *name);
984 int (*nvm_get_image)(struct qed_dev *cdev,
998 int (*set_coalesce)(struct qed_dev *cdev,
1009 int (*set_led)(struct qed_dev *cdev,
1018 void (*attn_clr_enable)(struct qed_dev *cdev, bool clr_enable);
1030 int (*db_recovery_add)(struct qed_dev *cdev,
1045 int (*db_recovery_del)(struct qed_dev *cdev,
1055 int (*recovery_process)(struct qed_dev *cdev);
1064 int (*recovery_prolog)(struct qed_dev *cdev);
1073 int (*update_drv_state)(struct qed_dev *cdev, bool active);
1082 int (*update_mac)(struct qed_dev *cdev, u8 *mac);
1091 int (*update_mtu)(struct qed_dev *cdev, u16 mtu);
1099 int (*update_wol) (struct qed_dev *cdev, bool enabled);
1110 int (*read_module_eeprom)(struct qed_dev *cdev,
1118 u8 (*get_affin_hwfn_idx)(struct qed_dev *cdev);
1128 int (*read_nvm_cfg)(struct qed_dev *cdev, u8 **buf, u32 cmd,
1137 int (*read_nvm_cfg_len)(struct qed_dev *cdev, u32 cmd);
1146 int (*set_grc_config)(struct qed_dev *cdev, u32 cfg_id, u32 val);
1148 struct devlink* (*devlink_register)(struct qed_dev *cdev);
1150 void (*devlink_unregister)(struct devlink *devlink);