Searched refs:goya_work (Results 1 – 3 of 3) sorted by relevance
292 if (goya->goya_work) in pm_mng_profile_store()293 flush_delayed_work(&goya->goya_work->work_freq); in pm_mng_profile_store()
164 struct goya_work_freq *goya_work; member
834 struct goya_work_freq *goya_work = container_of(work, in goya_set_freq_to_low_job() local837 struct hl_device *hdev = goya_work->hdev; in goya_set_freq_to_low_job()846 schedule_delayed_work(&goya_work->work_freq, in goya_set_freq_to_low_job()906 schedule_delayed_work(&goya->goya_work->work_freq, in goya_late_init()923 cancel_delayed_work_sync(&goya->goya_work->work_freq); in goya_late_fini()1034 goya->goya_work = kmalloc(sizeof(struct goya_work_freq), GFP_KERNEL); in goya_sw_init()1035 if (!goya->goya_work) { in goya_sw_init()1040 goya->goya_work->hdev = hdev; in goya_sw_init()1041 INIT_DELAYED_WORK(&goya->goya_work->work_freq, goya_set_freq_to_low_job); in goya_sw_init()1075 kfree(goya->goya_work); in goya_sw_fini()