Home
last modified time | relevance | path

Searched refs:goya_work (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/accel/habanalabs/goya/
H A Dgoya_hwmgr.c292 if (goya->goya_work) in pm_mng_profile_store()
293 flush_delayed_work(&goya->goya_work->work_freq); in pm_mng_profile_store()
H A DgoyaP.h164 struct goya_work_freq *goya_work; member
H A Dgoya.c836 struct goya_work_freq *goya_work = container_of(work, in goya_set_freq_to_low_job() local
839 struct hl_device *hdev = goya_work->hdev; in goya_set_freq_to_low_job()
848 schedule_delayed_work(&goya_work->work_freq, in goya_set_freq_to_low_job()
911 schedule_delayed_work(&goya->goya_work->work_freq, in goya_late_init()
928 cancel_delayed_work_sync(&goya->goya_work->work_freq); in goya_late_fini()
1039 goya->goya_work = kmalloc(sizeof(struct goya_work_freq), GFP_KERNEL); in goya_sw_init()
1040 if (!goya->goya_work) { in goya_sw_init()
1045 goya->goya_work->hdev = hdev; in goya_sw_init()
1046 INIT_DELAYED_WORK(&goya->goya_work->work_freq, goya_set_freq_to_low_job); in goya_sw_init()
1080 kfree(goya->goya_work); in goya_sw_fini()