Home
last modified time | relevance | path

Searched refs:fwbuf (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/drivers/input/touchscreen/
Dili210x.c683 static int ili251x_firmware_write_to_ic(struct device *dev, u8 *fwbuf, in ili251x_firmware_write_to_ic() argument
698 u16 crc = crc_ccitt(0, fwbuf + start + (dataflash ? 2 : 0), in ili251x_firmware_write_to_ic()
718 memcpy(&(fw_data[1]), fwbuf + fw_addr, 32); in ili251x_firmware_write_to_ic()
777 u8 *fwbuf; in ili210x_firmware_update_store() local
788 error = ili251x_firmware_to_buffer(fw, &fwbuf, &ac_end, &df_end); in ili210x_firmware_update_store()
824 error = ili251x_firmware_write_to_ic(dev, fwbuf, 0xf000, df_end, 1); in ili210x_firmware_update_store()
832 error = ili251x_firmware_write_to_ic(dev, fwbuf, 0x2000, ac_end, 0); in ili210x_firmware_update_store()
862 kfree(fwbuf); in ili210x_firmware_update_store()
/Linux-v6.1/drivers/net/wireless/ath/ar5523/
Dar5523.c1492 void *fwbuf; in ar5523_load_firmware() local
1511 fwbuf = kmalloc(AR5523_MAX_FWBLOCK_SIZE, GFP_KERNEL); in ar5523_load_firmware()
1512 if (!fwbuf) in ar5523_load_firmware()
1537 memcpy(fwbuf, fw->data + offset, mlen); in ar5523_load_firmware()
1539 fwbuf, mlen, &foolen, in ar5523_load_firmware()
1568 kfree(fwbuf); in ar5523_load_firmware()
/Linux-v6.1/drivers/bluetooth/
Dbtmrvl_sdio.c566 u8 *fwbuf; in btmrvl_sdio_download_fw_w_helper() local
594 fwbuf = (u8 *) ALIGN_ADDR(tmpfwbuf, BTSDIO_DMA_ALIGN); in btmrvl_sdio_download_fw_w_helper()
673 memcpy(fwbuf, &firmware[offset], txlen); in btmrvl_sdio_download_fw_w_helper()
676 ret = sdio_writesb(card->func, card->ioport, fwbuf, in btmrvl_sdio_download_fw_w_helper()
/Linux-v6.1/drivers/net/wireless/marvell/mwifiex/
Dsdio.c1401 u8 *fwbuf; in mwifiex_prog_fw_w_helper() local
1417 fwbuf = kzalloc(MWIFIEX_UPLD_SIZE, GFP_KERNEL); in mwifiex_prog_fw_w_helper()
1418 if (!fwbuf) in mwifiex_prog_fw_w_helper()
1506 memmove(fwbuf, &firmware[offset], txlen); in mwifiex_prog_fw_w_helper()
1509 ret = mwifiex_write_data_sync(adapter, fwbuf, tx_blocks * in mwifiex_prog_fw_w_helper()
1533 kfree(fwbuf); in mwifiex_prog_fw_w_helper()