Home
last modified time | relevance | path

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

/Linux-v5.10/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.c287 gm200_acr_hsfw_load(struct nvkm_acr *acr, struct nvkm_acr_hsfw *hsfw, in gm200_acr_hsfw_load() argument
301 if (hsfw->sig.patch_loc) { in gm200_acr_hsfw_load()
304 memcpy(hsfw->image + hsfw->sig.patch_loc, in gm200_acr_hsfw_load()
305 hsfw->sig.prod.data, in gm200_acr_hsfw_load()
306 hsfw->sig.prod.size); in gm200_acr_hsfw_load()
309 memcpy(hsfw->image + hsfw->sig.patch_loc, in gm200_acr_hsfw_load()
310 hsfw->sig.dbg.data, in gm200_acr_hsfw_load()
311 hsfw->sig.dbg.size); in gm200_acr_hsfw_load()
319 hsf->func = hsfw->func; in gm200_acr_hsfw_load()
320 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.c193 gp102_acr_load_load(struct nvkm_acr *acr, struct nvkm_acr_hsfw *hsfw) in gp102_acr_load_load() argument
195 struct flcn_acr_desc_v1 *desc = (void *)&hsfw->image[hsfw->data_addr]; in gp102_acr_load_load()
209 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-v5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dacr.h39 struct list_head hsfw, hsf; member