Lines Matching refs:lsf
79 struct nvkm_acr_lsf *lsf; in nvkm_acr_load() local
83 if (list_empty(&acr->lsf)) { in nvkm_acr_load()
103 list_for_each_entry(lsf, &acr->lsf, head) { in nvkm_acr_load()
104 if (lsf->func->boot) { in nvkm_acr_load()
105 ret = lsf->func->boot(lsf->falcon); in nvkm_acr_load()
125 struct nvkm_acr_lsf *lsf; in nvkm_acr_falcon() local
128 list_for_each_entry(lsf, &acr->lsf, head) { in nvkm_acr_falcon()
129 if (lsf->func->bootstrap_falcon) in nvkm_acr_falcon()
130 return lsf; in nvkm_acr_falcon()
221 struct nvkm_acr_lsf *lsf; in nvkm_acr_oneinit() local
253 if (!(lsf = kmalloc(sizeof(*lsf), GFP_KERNEL))) in nvkm_acr_oneinit()
255 lsf->func = lsfw->func; in nvkm_acr_oneinit()
256 lsf->falcon = lsfw->falcon; in nvkm_acr_oneinit()
257 lsf->id = lsfw->id; in nvkm_acr_oneinit()
258 list_add_tail(&lsf->head, &acr->lsf); in nvkm_acr_oneinit()
259 acr->managed_falcons |= BIT_ULL(lsf->id); in nvkm_acr_oneinit()
263 lsf = nvkm_acr_falcon(device); in nvkm_acr_oneinit()
264 if (lsf) { in nvkm_acr_oneinit()
265 falcons = lsf->func->bootstrap_falcons; in nvkm_acr_oneinit()
266 list_move(&lsf->head, &acr->lsf); in nvkm_acr_oneinit()
355 struct nvkm_acr_lsf *lsf, *lst; in nvkm_acr_dtor() local
371 list_for_each_entry_safe(lsf, lst, &acr->lsf, head) { in nvkm_acr_dtor()
372 list_del(&lsf->head); in nvkm_acr_dtor()
373 kfree(lsf); in nvkm_acr_dtor()
424 INIT_LIST_HEAD(&acr->lsf); in nvkm_acr_new_()