Home
last modified time | relevance | path

Searched refs:fw_p (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/serial/
Dmxuport.c1007 const struct firmware *fw_p) in mxuport_download_fw() argument
1025 txlen = min_t(size_t, (fw_p->size - fwidx), DOWN_BLOCK_SIZE); in mxuport_download_fw()
1027 memcpy(fw_buf, &fw_p->data[fwidx], txlen); in mxuport_download_fw()
1039 } while (fwidx < fw_p->size); in mxuport_download_fw()
1058 const struct firmware *fw_p = NULL; in mxuport_probe() local
1082 err = request_firmware(&fw_p, buf, &serial->interface->dev); in mxuport_probe()
1090 local_ver = ((fw_p->data[VER_ADDR_1] << 16) | in mxuport_probe()
1091 (fw_p->data[VER_ADDR_2] << 8) | in mxuport_probe()
1092 fw_p->data[VER_ADDR_3]); in mxuport_probe()
1095 fw_p->data[VER_ADDR_1], fw_p->data[VER_ADDR_2], in mxuport_probe()
[all …]
Dti_usb_3410_5052.c1622 const struct firmware *fw_p; in ti_download_firmware() local
1631 status = request_firmware(&fw_p, buf, &dev->dev); in ti_download_firmware()
1639 status = request_firmware(&fw_p, buf, &dev->dev); in ti_download_firmware()
1670 status = request_firmware(&fw_p, buf, &dev->dev); in ti_download_firmware()
1678 if (fw_p->size > TI_FIRMWARE_BUF_SIZE) { in ti_download_firmware()
1679 dev_err(&dev->dev, "%s - firmware too large %zu\n", __func__, fw_p->size); in ti_download_firmware()
1680 release_firmware(fw_p); in ti_download_firmware()
1687 memcpy(buffer, fw_p->data, fw_p->size); in ti_download_firmware()
1688 memset(buffer + fw_p->size, 0xff, buffer_size - fw_p->size); in ti_download_firmware()
1689 status = ti_do_download(dev, pipe, buffer, fw_p->size); in ti_download_firmware()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/rsi/
Drsi_91x_hal.c1008 u8 *ta_firmware, *fw_p; in rsi_load_9116_firmware() local
1047 fw_p = ta_firmware; in rsi_load_9116_firmware()
1063 if (*(u16 *)fw_p == RSI_9116_FW_MAGIC_WORD) { in rsi_load_9116_firmware()
1064 memcpy(&bootload_ds, fw_p, sizeof(struct bootload_ds)); in rsi_load_9116_firmware()
1065 fw_p += le16_to_cpu(bootload_ds.offset); in rsi_load_9116_firmware()
1066 rsi_dbg(INFO_ZONE, "FW start = %x\n", *(u32 *)fw_p); in rsi_load_9116_firmware()
1082 fw_p); in rsi_load_9116_firmware()
1088 fw_p += len; in rsi_load_9116_firmware()
/kernel/linux/linux-5.10/drivers/usb/atm/
Dspeedtch.c348 int phase, const struct firmware **fw_p) in speedtch_find_firmware() argument
359 if (request_firmware(fw_p, buf, dev)) { in speedtch_find_firmware()
363 if (request_firmware(fw_p, buf, dev)) { in speedtch_find_firmware()
367 if (request_firmware(fw_p, buf, dev)) { in speedtch_find_firmware()
Dcxacru.c1076 char *phase, const struct firmware **fw_p) in cxacru_find_firmware() argument
1085 if (request_firmware(fw_p, buf, dev)) { in cxacru_find_firmware()
/kernel/linux/linux-5.10/drivers/media/radio/
Dradio-wl1273.c493 const struct firmware *fw_p; in wl1273_fm_upload_firmware_patch() local
505 if (request_firmware(&fw_p, fw_name, dev)) { in wl1273_fm_upload_firmware_patch()
511 ptr = (__u8 *) fw_p->data; in wl1273_fm_upload_firmware_patch()
526 release_firmware(fw_p); in wl1273_fm_upload_firmware_patch()
/kernel/linux/linux-5.10/sound/soc/fsl/
Dfsl_easrc.c1801 const struct firmware **fw_p; in fsl_easrc_get_firmware() local
1810 fw_p = &easrc_priv->fw; in fsl_easrc_get_firmware()
1812 ret = request_firmware(fw_p, easrc_priv->fw_name, &easrc->pdev->dev); in fsl_easrc_get_firmware()