Lines Matching refs:genwqe_dev
57 static struct genwqe_dev *genwqe_devices[GENWQE_CARD_NO_MAX];
122 static struct genwqe_dev *genwqe_dev_alloc(void) in genwqe_dev_alloc()
125 struct genwqe_dev *cd; in genwqe_dev_alloc()
134 cd = kzalloc(sizeof(struct genwqe_dev), GFP_KERNEL); in genwqe_dev_alloc()
166 static void genwqe_dev_free(struct genwqe_dev *cd) in genwqe_dev_free()
183 static int genwqe_bus_reset(struct genwqe_dev *cd) in genwqe_bus_reset()
248 bool genwqe_need_err_masking(struct genwqe_dev *cd) in genwqe_need_err_masking()
253 static void genwqe_tweak_hardware(struct genwqe_dev *cd) in genwqe_tweak_hardware()
280 int genwqe_recovery_on_fatal_gfir_required(struct genwqe_dev *cd) in genwqe_recovery_on_fatal_gfir_required()
285 int genwqe_flash_readback_fails(struct genwqe_dev *cd) in genwqe_flash_readback_fails()
301 static int genwqe_T_psec(struct genwqe_dev *cd) in genwqe_T_psec()
322 static bool genwqe_setup_pf_jtimer(struct genwqe_dev *cd) in genwqe_setup_pf_jtimer()
342 static bool genwqe_setup_vf_jtimer(struct genwqe_dev *cd) in genwqe_setup_vf_jtimer()
368 static int genwqe_ffdc_buffs_alloc(struct genwqe_dev *cd) in genwqe_ffdc_buffs_alloc()
401 static void genwqe_ffdc_buffs_free(struct genwqe_dev *cd) in genwqe_ffdc_buffs_free()
411 static int genwqe_read_ids(struct genwqe_dev *cd) in genwqe_read_ids()
459 static int genwqe_start(struct genwqe_dev *cd) in genwqe_start()
565 static int genwqe_stop(struct genwqe_dev *cd) in genwqe_stop()
589 static int genwqe_recover_card(struct genwqe_dev *cd, int fatal_err) in genwqe_recover_card()
621 static int genwqe_health_check_cond(struct genwqe_dev *cd, u64 *gfir) in genwqe_health_check_cond()
637 static u64 genwqe_fir_checking(struct genwqe_dev *cd) in genwqe_fir_checking()
804 static int genwqe_platform_recovery(struct genwqe_dev *cd) in genwqe_platform_recovery()
846 static int genwqe_reload_bistream(struct genwqe_dev *cd) in genwqe_reload_bistream()
912 struct genwqe_dev *cd = data; in genwqe_health_thread()
1027 static int genwqe_health_check_start(struct genwqe_dev *cd) in genwqe_health_check_start()
1048 static int genwqe_health_thread_running(struct genwqe_dev *cd) in genwqe_health_thread_running()
1053 static int genwqe_health_check_stop(struct genwqe_dev *cd) in genwqe_health_check_stop()
1068 static int genwqe_pci_setup(struct genwqe_dev *cd) in genwqe_pci_setup()
1153 static void genwqe_pci_remove(struct genwqe_dev *cd) in genwqe_pci_remove()
1176 struct genwqe_dev *cd; in genwqe_probe()
1231 struct genwqe_dev *cd = dev_get_drvdata(&pci_dev->dev); in genwqe_remove()
1254 struct genwqe_dev *cd; in genwqe_err_error_detected()
1282 struct genwqe_dev *cd = dev_get_drvdata(&pci_dev->dev); in genwqe_err_slot_reset()
1302 struct genwqe_dev *cd = dev_get_drvdata(&pci_dev->dev); in genwqe_err_resume()
1320 struct genwqe_dev *cd = dev_get_drvdata(&dev->dev); in genwqe_sriov_configure()