Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/platform/samsung/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.h323 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-6.1.9/drivers/input/touchscreen/
Dili210x.c580 u8 *fw_buf; in ili251x_firmware_to_buffer() local
589 fw_buf = kzalloc(SZ_64K, GFP_KERNEL); in ili251x_firmware_to_buffer()
590 if (!fw_buf) in ili251x_firmware_to_buffer()
609 memcpy(fw_buf + fw_addr, rec->data, fw_len); in ili251x_firmware_to_buffer()
615 *buf = fw_buf; in ili251x_firmware_to_buffer()
619 kfree(fw_buf); in ili251x_firmware_to_buffer()
/linux-6.1.9/drivers/usb/serial/
Dmxuport.c1002 u8 *fw_buf; in mxuport_download_fw() local
1007 fw_buf = kmalloc(DOWN_BLOCK_SIZE, GFP_KERNEL); in mxuport_download_fw()
1008 if (!fw_buf) in mxuport_download_fw()
1020 memcpy(fw_buf, &fw_p->data[fwidx], txlen); in mxuport_download_fw()
1022 0, 0, fw_buf, txlen); in mxuport_download_fw()
1043 kfree(fw_buf); in mxuport_download_fw()
/linux-6.1.9/drivers/media/common/siano/
Dsmscoreapi.c1139 u8 *fw_buf; in smscore_load_firmware_from_file() local
1160 fw_buf = kmalloc(ALIGN(fw->size + sizeof(struct sms_firmware), in smscore_load_firmware_from_file()
1162 if (!fw_buf) { in smscore_load_firmware_from_file()
1166 memcpy(fw_buf, fw->data, fw->size); in smscore_load_firmware_from_file()
1170 smscore_load_firmware_family2(coredev, fw_buf, fw_buf_size) in smscore_load_firmware_from_file()
1171 : loadfirmware_handler(coredev->context, fw_buf, in smscore_load_firmware_from_file()
1175 kfree(fw_buf); in smscore_load_firmware_from_file()
1239 kfree(coredev->fw_buf); in smscore_unregister_device()
Dsmscoreapi.h196 u8 *fw_buf; member
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/av7110/
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-6.1.9/drivers/net/wireless/marvell/mwifiex/
Ddecl.h160 u8 *fw_buf; member
Dmain.c560 fw.fw_buf = (u8 *) adapter->firmware->data; in _mwifiex_fw_dpc()
Dusb.c1383 u8 *firmware = fw->fw_buf, *recv_buff; in mwifiex_prog_fw_w_helper()
Dsdio.c1397 u8 *firmware = fw->fw_buf; in mwifiex_prog_fw_w_helper()
Dpcie.c2288 u8 *firmware = fw->fw_buf; in mwifiex_prog_fw_w_helper()
/linux-6.1.9/sound/pci/hda/
Dhda_sysfs.c712 int snd_hda_load_patch(struct hda_bus *bus, size_t fw_size, const void *fw_buf) in snd_hda_load_patch() argument
720 while (get_line_from_fw(buf, sizeof(buf) - 1, &fw_size, &fw_buf)) { in snd_hda_load_patch()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ucode.c1001 &adev->firmware.fw_buf, in amdgpu_ucode_create_bo()
1004 if (!adev->firmware.fw_buf) { in amdgpu_ucode_create_bo()
1016 amdgpu_bo_free_kernel(&adev->firmware.fw_buf, in amdgpu_ucode_free_bo()
Damdgpu_ucode.h523 struct amdgpu_bo *fw_buf; member
/linux-6.1.9/drivers/scsi/qla2xxx/
Dqla_bsg.c1022 void *fw_buf = NULL; in qla84xx_updatefw() local
1054 fw_buf = dma_alloc_coherent(&ha->pdev->dev, data_len, in qla84xx_updatefw()
1056 if (!fw_buf) { in qla84xx_updatefw()
1064 bsg_job->request_payload.sg_cnt, fw_buf, data_len); in qla84xx_updatefw()
1075 fw_ver = get_unaligned_le32((uint32_t *)fw_buf + 2); in qla84xx_updatefw()
1110 dma_free_coherent(&ha->pdev->dev, data_len, fw_buf, fw_dma); in qla84xx_updatefw()
Dqla_def.h3788 void *fw_buf; member
4649 struct qlfc_fw fw_buf; member