Home
last modified time | relevance | path

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

/drivers/usb/serial/
Dmxuport.c1000 const struct firmware *fw_p) in mxuport_download_fw() argument
1018 txlen = min_t(size_t, (fw_p->size - fwidx), DOWN_BLOCK_SIZE); in mxuport_download_fw()
1020 memcpy(fw_buf, &fw_p->data[fwidx], txlen); in mxuport_download_fw()
1032 } while (fwidx < fw_p->size); in mxuport_download_fw()
1051 const struct firmware *fw_p = NULL; in mxuport_probe() local
1075 err = request_firmware(&fw_p, buf, &serial->interface->dev); in mxuport_probe()
1083 local_ver = ((fw_p->data[VER_ADDR_1] << 16) | in mxuport_probe()
1084 (fw_p->data[VER_ADDR_2] << 8) | in mxuport_probe()
1085 fw_p->data[VER_ADDR_3]); in mxuport_probe()
1088 fw_p->data[VER_ADDR_1], fw_p->data[VER_ADDR_2], in mxuport_probe()
[all …]
Dti_usb_3410_5052.c1582 const struct firmware *fw_p; in ti_download_firmware() local
1591 status = request_firmware(&fw_p, buf, &dev->dev); in ti_download_firmware()
1599 status = request_firmware(&fw_p, buf, &dev->dev); in ti_download_firmware()
1630 status = request_firmware(&fw_p, buf, &dev->dev); in ti_download_firmware()
1638 if (fw_p->size > TI_FIRMWARE_BUF_SIZE) { in ti_download_firmware()
1639 dev_err(&dev->dev, "%s - firmware too large %zu\n", __func__, fw_p->size); in ti_download_firmware()
1640 release_firmware(fw_p); in ti_download_firmware()
1647 memcpy(buffer, fw_p->data, fw_p->size); in ti_download_firmware()
1648 memset(buffer + fw_p->size, 0xff, buffer_size - fw_p->size); in ti_download_firmware()
1649 status = ti_do_download(dev, pipe, buffer, fw_p->size); in ti_download_firmware()
[all …]
/drivers/net/wireless/rsi/
Drsi_91x_hal.c1009 u8 *ta_firmware, *fw_p; in rsi_load_9116_firmware() local
1048 fw_p = ta_firmware; in rsi_load_9116_firmware()
1064 if (*(u16 *)fw_p == RSI_9116_FW_MAGIC_WORD) { in rsi_load_9116_firmware()
1065 memcpy(&bootload_ds, fw_p, sizeof(struct bootload_ds)); in rsi_load_9116_firmware()
1066 fw_p += le16_to_cpu(bootload_ds.offset); in rsi_load_9116_firmware()
1067 rsi_dbg(INFO_ZONE, "FW start = %x\n", *(u32 *)fw_p); in rsi_load_9116_firmware()
1083 fw_p); in rsi_load_9116_firmware()
1089 fw_p += len; in rsi_load_9116_firmware()
/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.c1073 char *phase, const struct firmware **fw_p) in cxacru_find_firmware() argument
1082 if (request_firmware(fw_p, buf, dev)) { in cxacru_find_firmware()
/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()