Home
last modified time | relevance | path

Searched refs:fw_buf (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.10/drivers/media/platform/s5p-mfc/
Ds5p_mfc_ctrl.c25 struct s5p_mfc_priv_buf *fw_buf = &dev->fw_buf; in s5p_mfc_alloc_firmware() local
28 fw_buf->size = dev->variant->buf_size->fw; in s5p_mfc_alloc_firmware()
30 if (fw_buf->virt) { in s5p_mfc_alloc_firmware()
35 err = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &dev->fw_buf); in s5p_mfc_alloc_firmware()
72 if (fw_blob->size > dev->fw_buf.size) { in s5p_mfc_load_firmware()
77 memcpy(dev->fw_buf.virt, fw_blob->data, fw_blob->size); in s5p_mfc_load_firmware()
90 s5p_mfc_release_priv_buf(dev, &dev->fw_buf); in s5p_mfc_release_firmware()
211 if (!dev->fw_buf.virt) { in s5p_mfc_init_hw()
Ds5p_mfc_cmd_v5.c46 h2r_args.arg[0] = dev->fw_buf.size; in s5p_mfc_sys_init_cmd_v5()
Ds5p_mfc_common.h319 struct s5p_mfc_priv_buf fw_buf; member
Ds5p_mfc.c1147 mfc_dev->dma_base[BANK_L_CTX] = mfc_dev->fw_buf.dma; in s5p_mfc_configure_2port_memory()
/Linux-v5.10/drivers/usb/serial/
Dmxuport.c1009 u8 *fw_buf; in mxuport_download_fw() local
1014 fw_buf = kmalloc(DOWN_BLOCK_SIZE, GFP_KERNEL); in mxuport_download_fw()
1015 if (!fw_buf) in mxuport_download_fw()
1027 memcpy(fw_buf, &fw_p->data[fwidx], txlen); in mxuport_download_fw()
1029 0, 0, fw_buf, txlen); in mxuport_download_fw()
1050 kfree(fw_buf); in mxuport_download_fw()
/Linux-v5.10/drivers/media/common/siano/
Dsmscoreapi.c1143 u8 *fw_buf; in smscore_load_firmware_from_file() local
1164 fw_buf = kmalloc(ALIGN(fw->size + sizeof(struct sms_firmware), in smscore_load_firmware_from_file()
1166 if (!fw_buf) { in smscore_load_firmware_from_file()
1170 memcpy(fw_buf, fw->data, fw->size); in smscore_load_firmware_from_file()
1174 smscore_load_firmware_family2(coredev, fw_buf, fw_buf_size) in smscore_load_firmware_from_file()
1175 : loadfirmware_handler(coredev->context, fw_buf, in smscore_load_firmware_from_file()
1179 kfree(fw_buf); in smscore_load_firmware_from_file()
1243 kfree(coredev->fw_buf); in smscore_unregister_device()
Dsmscoreapi.h201 u8 *fw_buf; member
/Linux-v5.10/drivers/media/dvb-frontends/
Dsp8870.c88 const char *fw_buf = fw->data; in sp8870_firmware_upload() local
115 memcpy(&tx_buf[2], fw_buf + fw_pos, tx_len); in sp8870_firmware_upload()
/Linux-v5.10/drivers/net/wireless/marvell/mwifiex/
Ddecl.h172 u8 *fw_buf; member
Dmain.c538 fw.fw_buf = (u8 *) adapter->firmware->data; in _mwifiex_fw_dpc()
Dusb.c1378 u8 *firmware = fw->fw_buf, *recv_buff; in mwifiex_prog_fw_w_helper()
Dsdio.c1401 u8 *firmware = fw->fw_buf; in mwifiex_prog_fw_w_helper()
Dpcie.c2262 u8 *firmware = fw->fw_buf; in mwifiex_prog_fw_w_helper()
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ucode.c613 &adev->firmware.fw_buf, in amdgpu_ucode_create_bo()
616 if (!adev->firmware.fw_buf) { in amdgpu_ucode_create_bo()
629 amdgpu_bo_free_kernel(&adev->firmware.fw_buf, in amdgpu_ucode_free_bo()
Damdgpu_ucode.h413 struct amdgpu_bo *fw_buf; member
/Linux-v5.10/sound/pci/hda/
Dhda_sysfs.c715 int snd_hda_load_patch(struct hda_bus *bus, size_t fw_size, const void *fw_buf) in snd_hda_load_patch() argument
723 while (get_line_from_fw(buf, sizeof(buf) - 1, &fw_size, &fw_buf)) { in snd_hda_load_patch()
/Linux-v5.10/drivers/scsi/qla2xxx/
Dqla_bsg.c1003 void *fw_buf = NULL; in qla84xx_updatefw() local
1035 fw_buf = dma_alloc_coherent(&ha->pdev->dev, data_len, in qla84xx_updatefw()
1037 if (!fw_buf) { in qla84xx_updatefw()
1045 bsg_job->request_payload.sg_cnt, fw_buf, data_len); in qla84xx_updatefw()
1056 fw_ver = get_unaligned_le32((uint32_t *)fw_buf + 2); in qla84xx_updatefw()
1091 dma_free_coherent(&ha->pdev->dev, data_len, fw_buf, fw_dma); in qla84xx_updatefw()
Dqla_def.h3654 void *fw_buf; member
4486 struct qlfc_fw fw_buf; member