Lines Matching refs:fw

54 	const struct firmware *fw;  in nvkm_acr_hsfw_load_image()  local
61 ret = nvkm_firmware_get(subdev, name, ver, &fw); in nvkm_acr_hsfw_load_image()
65 hdr = nvfw_bin_hdr(subdev, fw->data); in nvkm_acr_hsfw_load_image()
66 fwhdr = nvfw_hs_header(subdev, fw->data + hdr->header_offset); in nvkm_acr_hsfw_load_image()
74 loc = *(u32 *)(fw->data + fwhdr->patch_loc); in nvkm_acr_hsfw_load_image()
75 sig = *(u32 *)(fw->data + fwhdr->patch_sig); in nvkm_acr_hsfw_load_image()
86 lhdr = nvfw_hs_load_header(subdev, fw->data + fwhdr->hdr_offset); in nvkm_acr_hsfw_load_image()
93 memcpy(hsfw->image, fw->data + hdr->data_offset, hdr->data_size); in nvkm_acr_hsfw_load_image()
103 hsfw->sig.prod.data = kmemdup(fw->data + fwhdr->sig_prod_offset + sig, in nvkm_acr_hsfw_load_image()
111 hsfw->sig.dbg.data = kmemdup(fw->data + fwhdr->sig_dbg_offset + sig, in nvkm_acr_hsfw_load_image()
120 nvkm_firmware_put(fw); in nvkm_acr_hsfw_load_image()
131 const struct firmware *fw; in nvkm_acr_hsfw_load_bl() local
135 ret = nvkm_firmware_get(subdev, name, ver, &fw); in nvkm_acr_hsfw_load_bl()
139 hdr = nvfw_bin_hdr(subdev, fw->data); in nvkm_acr_hsfw_load_bl()
140 desc = nvfw_bl_desc(subdev, fw->data + hdr->header_offset); in nvkm_acr_hsfw_load_bl()
141 data = (void *)fw->data + hdr->data_offset; in nvkm_acr_hsfw_load_bl()
148 nvkm_firmware_put(fw); in nvkm_acr_hsfw_load_bl()
153 nvkm_acr_hsfw_load(struct nvkm_acr *acr, const char *bl, const char *fw, in nvkm_acr_hsfw_load() argument
171 ret = nvkm_acr_hsfw_load_image(acr, fw, version, hsfw); in nvkm_acr_hsfw_load()