Home
last modified time | relevance | path

Searched refs:hsfw (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
Dhsfw.c30 nvkm_acr_hsfw_del(struct nvkm_acr_hsfw *hsfw) in nvkm_acr_hsfw_del() argument
32 list_del(&hsfw->head); in nvkm_acr_hsfw_del()
33 kfree(hsfw->imem); in nvkm_acr_hsfw_del()
34 kfree(hsfw->image); in nvkm_acr_hsfw_del()
35 kfree(hsfw->sig.prod.data); in nvkm_acr_hsfw_del()
36 kfree(hsfw->sig.dbg.data); in nvkm_acr_hsfw_del()
37 kfree(hsfw); in nvkm_acr_hsfw_del()
43 struct nvkm_acr_hsfw *hsfw, *hsft; in nvkm_acr_hsfw_del_all() local
44 list_for_each_entry_safe(hsfw, hsft, &acr->hsfw, head) { in nvkm_acr_hsfw_del_all()
45 nvkm_acr_hsfw_del(hsfw); in nvkm_acr_hsfw_del_all()
[all …]
Dgm200.c289 gm200_acr_hsfw_load(struct nvkm_acr *acr, struct nvkm_acr_hsfw *hsfw, in gm200_acr_hsfw_load() argument
303 if (hsfw->sig.patch_loc) { in gm200_acr_hsfw_load()
306 memcpy(hsfw->image + hsfw->sig.patch_loc, in gm200_acr_hsfw_load()
307 hsfw->sig.prod.data, in gm200_acr_hsfw_load()
308 hsfw->sig.prod.size); in gm200_acr_hsfw_load()
311 memcpy(hsfw->image + hsfw->sig.patch_loc, in gm200_acr_hsfw_load()
312 hsfw->sig.dbg.data, in gm200_acr_hsfw_load()
313 hsfw->sig.dbg.size); in gm200_acr_hsfw_load()
321 hsf->func = hsfw->func; in gm200_acr_hsfw_load()
322 hsf->name = hsfw->name; in gm200_acr_hsfw_load()
[all …]
Dgm20b.c69 gm20b_acr_load_load(struct nvkm_acr *acr, struct nvkm_acr_hsfw *hsfw) in gm20b_acr_load_load() argument
71 struct flcn_acr_desc *desc = (void *)&hsfw->image[hsfw->data_addr]; in gm20b_acr_load_load()
77 return gm200_acr_hsfw_load(acr, hsfw, &acr->subdev.device->pmu->falcon); in gm20b_acr_load_load()
Dbase.c219 struct nvkm_acr_hsfw *hsfw; in nvkm_acr_oneinit() local
226 if (list_empty(&acr->hsfw)) { in nvkm_acr_oneinit()
338 list_for_each_entry(hsfw, &acr->hsfw, head) { in nvkm_acr_oneinit()
339 nvkm_debug(subdev, "loading %s fw\n", hsfw->name); in nvkm_acr_oneinit()
340 ret = hsfw->func->load(acr, hsfw); in nvkm_acr_oneinit()
421 INIT_LIST_HEAD(&acr->hsfw); in nvkm_acr_new_()
Dgp102.c195 gp102_acr_load_load(struct nvkm_acr *acr, struct nvkm_acr_hsfw *hsfw) in gp102_acr_load_load() argument
197 struct flcn_acr_desc_v1 *desc = (void *)&hsfw->image[hsfw->data_addr]; in gp102_acr_load_load()
211 return gm200_acr_hsfw_load(acr, hsfw, in gp102_acr_load_load()
Dtu102.c124 tu102_acr_asb_load(struct nvkm_acr *acr, struct nvkm_acr_hsfw *hsfw) in tu102_acr_asb_load() argument
126 return gm200_acr_hsfw_load(acr, hsfw, &acr->subdev.device->gsp->falcon); in tu102_acr_asb_load()
DKbuild3 nvkm-y += nvkm/subdev/acr/hsfw.o
Dlsfw.c63 if (!acr || list_empty(&acr->hsfw)) in nvkm_acr_lsfw_add()
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dacr.h39 struct list_head hsfw, hsf; member