Home
last modified time | relevance | path

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

/Linux-v4.19/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.c1644 const struct firmware *fw_p; in ti_download_firmware() local
1653 status = request_firmware(&fw_p, buf, &dev->dev); in ti_download_firmware()
1661 status = request_firmware(&fw_p, buf, &dev->dev); in ti_download_firmware()
1692 status = request_firmware(&fw_p, buf, &dev->dev); in ti_download_firmware()
1700 if (fw_p->size > TI_FIRMWARE_BUF_SIZE) { in ti_download_firmware()
1701 dev_err(&dev->dev, "%s - firmware too large %zu\n", __func__, fw_p->size); in ti_download_firmware()
1702 release_firmware(fw_p); in ti_download_firmware()
1709 memcpy(buffer, fw_p->data, fw_p->size); in ti_download_firmware()
1710 memset(buffer + fw_p->size, 0xff, buffer_size - fw_p->size); in ti_download_firmware()
1711 status = ti_do_download(dev, pipe, buffer, fw_p->size); in ti_download_firmware()
[all …]
/Linux-v4.19/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.c1069 char *phase, const struct firmware **fw_p) in cxacru_find_firmware() argument
1078 if (request_firmware(fw_p, buf, dev)) { in cxacru_find_firmware()
/Linux-v4.19/drivers/media/radio/
Dradio-wl1273.c501 const struct firmware *fw_p; in wl1273_fm_upload_firmware_patch() local
513 if (request_firmware(&fw_p, fw_name, dev)) { in wl1273_fm_upload_firmware_patch()
519 ptr = (__u8 *) fw_p->data; in wl1273_fm_upload_firmware_patch()
534 release_firmware(fw_p); in wl1273_fm_upload_firmware_patch()