Home
last modified time | relevance | path

Searched refs:fwdata (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/
Ddrm_edid_load.c174 const u8 *fwdata; in edid_load() local
182 fwdata = generic_edid[builtin]; in edid_load()
203 fwdata = fw->data; in edid_load()
207 if (edid_size(fwdata, fwsize) != fwsize) { in edid_load()
210 edid_size(fwdata, fwsize), (int)fwsize); in edid_load()
215 edid = kmemdup(fwdata, fwsize, GFP_KERNEL); in edid_load()
/Linux-v5.4/drivers/net/wireless/marvell/libertas_tf/
Dif_usb.c273 struct fwdata *fwdata = cardp->ep_out_buf; in if_usb_send_fw_pkt() local
292 memcpy(&fwdata->hdr, &firmware[cardp->totalbytes], in if_usb_send_fw_pkt()
298 memcpy(fwdata->data, &firmware[cardp->totalbytes], in if_usb_send_fw_pkt()
299 le32_to_cpu(fwdata->hdr.datalength)); in if_usb_send_fw_pkt()
302 le32_to_cpu(fwdata->hdr.datalength)); in if_usb_send_fw_pkt()
304 fwdata->seqnum = cpu_to_le32(++cardp->fwseqnum); in if_usb_send_fw_pkt()
305 cardp->totalbytes += le32_to_cpu(fwdata->hdr.datalength); in if_usb_send_fw_pkt()
307 usb_tx_block(cardp, cardp->ep_out_buf, sizeof(struct fwdata) + in if_usb_send_fw_pkt()
308 le32_to_cpu(fwdata->hdr.datalength), 0); in if_usb_send_fw_pkt()
310 if (fwdata->hdr.dnldcmd == cpu_to_le32(FW_HAS_DATA_TO_RECV)) { in if_usb_send_fw_pkt()
[all …]
Dif_usb.h81 struct fwdata { struct
/Linux-v5.4/drivers/net/wireless/marvell/libertas/
Dif_usb.c331 struct fwdata *fwdata = cardp->ep_out_buf; in if_usb_send_fw_pkt() local
348 memcpy(&fwdata->hdr, &firmware[cardp->totalbytes], in if_usb_send_fw_pkt()
354 memcpy(fwdata->data, &firmware[cardp->totalbytes], in if_usb_send_fw_pkt()
355 le32_to_cpu(fwdata->hdr.datalength)); in if_usb_send_fw_pkt()
358 le32_to_cpu(fwdata->hdr.datalength)); in if_usb_send_fw_pkt()
360 fwdata->seqnum = cpu_to_le32(++cardp->fwseqnum); in if_usb_send_fw_pkt()
361 cardp->totalbytes += le32_to_cpu(fwdata->hdr.datalength); in if_usb_send_fw_pkt()
363 usb_tx_block(cardp, cardp->ep_out_buf, sizeof(struct fwdata) + in if_usb_send_fw_pkt()
364 le32_to_cpu(fwdata->hdr.datalength)); in if_usb_send_fw_pkt()
366 if (fwdata->hdr.dnldcmd == cpu_to_le32(FW_HAS_DATA_TO_RECV)) { in if_usb_send_fw_pkt()
[all …]
Dif_usb.h91 struct fwdata { struct
/Linux-v5.4/drivers/net/wireless/marvell/mwifiex/
Dusb.c1381 struct fw_data *fwdata; in mwifiex_prog_fw_w_helper() local
1393 fwdata = kzalloc(FW_DNLD_TX_BUF_SIZE, GFP_KERNEL); in mwifiex_prog_fw_w_helper()
1394 if (!fwdata) { in mwifiex_prog_fw_w_helper()
1409 memset(&fwdata->fw_hdr, 0, sizeof(struct fw_header)); in mwifiex_prog_fw_w_helper()
1413 memcpy(&fwdata->fw_hdr, &firmware[tlen], in mwifiex_prog_fw_w_helper()
1416 dlen = le32_to_cpu(fwdata->fw_hdr.data_len); in mwifiex_prog_fw_w_helper()
1417 dnld_cmd = le32_to_cpu(fwdata->fw_hdr.dnld_cmd); in mwifiex_prog_fw_w_helper()
1424 memcpy(fwdata->data, &firmware[tlen], dlen); in mwifiex_prog_fw_w_helper()
1426 fwdata->seq_num = cpu_to_le32(fw_seqnum); in mwifiex_prog_fw_w_helper()
1432 u8 *buf = (u8 *)fwdata; in mwifiex_prog_fw_w_helper()
[all …]
Dpcie.c2005 const struct mwifiex_fw_data *fwdata; in mwifiex_extract_wifi_fw() local
2012 if (offset + sizeof(fwdata->header) < sizeof(fwdata->header) || in mwifiex_extract_wifi_fw()
2013 offset + sizeof(fwdata->header) >= firmware_len) { in mwifiex_extract_wifi_fw()
2020 fwdata = firmware + offset; in mwifiex_extract_wifi_fw()
2021 dnld_cmd = le32_to_cpu(fwdata->header.dnld_cmd); in mwifiex_extract_wifi_fw()
2022 data_len = le32_to_cpu(fwdata->header.data_length); in mwifiex_extract_wifi_fw()
2025 offset += sizeof(fwdata->header); in mwifiex_extract_wifi_fw()
/Linux-v5.4/sound/soc/intel/skylake/
Dcnl-sst.c46 static int cnl_prepare_fw(struct sst_dsp *ctx, const void *fwdata, u32 fwsize) in cnl_prepare_fw() argument
58 memcpy(ctx->dmab.area, fwdata, fwsize); in cnl_prepare_fw()
Dbxt-sst.c98 const void *fwdata, u32 fwsize) in sst_bxt_prepare_fw() argument
110 memcpy(ctx->dmab.area, fwdata, fwsize); in sst_bxt_prepare_fw()
/Linux-v5.4/sound/soc/sof/intel/
Dhda-loader.c81 static int cl_dsp_init(struct snd_sof_dev *sdev, const void *fwdata, in cl_dsp_init() argument
/Linux-v5.4/drivers/soc/ti/
Dknav_qmss_queue.c1574 u32 *fwdata; in knav_queue_load_pdsp() local
1598 fwdata = (u32 *)fw->data; in knav_queue_load_pdsp()
1601 writel_relaxed(be32_to_cpu(fwdata[i]), pdsp->iram + i); in knav_queue_load_pdsp()
/Linux-v5.4/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c277 vxge_update_fw_image(struct __vxge_hw_device *hldev, const u8 *fwdata, int size) in vxge_update_fw_image() argument
303 data0 = *((u64 *)fwdata); in vxge_update_fw_image()
304 data1 = *((u64 *)fwdata + 1); in vxge_update_fw_image()
324 fwdata += (data0 >> 8) & 0xFFFFFFFF; in vxge_update_fw_image()
366 fwdata += VXGE_HW_FW_UPGRADE_BLK_SIZE; in vxge_update_fw_image()
/Linux-v5.4/tools/power/pm-graph/
Dsleepgraph.py2704 self.fwdata = []
2746 self.fwdata.append(line)
2790 if sv.suspendmode == 'mem' and len(self.fwdata) > data.testnumber:
2791 m = re.match(self.firmwarefmt, self.fwdata[data.testnumber])