Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/input/touchscreen/
Dili210x.c694 static int ili251x_firmware_write_to_ic(struct device *dev, u8 *fwbuf, in ili251x_firmware_write_to_ic() argument
709 u16 crc = crc_ccitt(0, fwbuf + start + (dataflash ? 2 : 0), in ili251x_firmware_write_to_ic()
729 memcpy(&(fw_data[1]), fwbuf + fw_addr, 32); in ili251x_firmware_write_to_ic()
788 u8 *fwbuf; in ili210x_firmware_update_store() local
799 error = ili251x_firmware_to_buffer(fw, &fwbuf, &ac_end, &df_end); in ili210x_firmware_update_store()
835 error = ili251x_firmware_write_to_ic(dev, fwbuf, 0xf000, df_end, 1); in ili210x_firmware_update_store()
843 error = ili251x_firmware_write_to_ic(dev, fwbuf, 0x2000, ac_end, 0); in ili210x_firmware_update_store()
873 kfree(fwbuf); in ili210x_firmware_update_store()
/Linux-v6.6/drivers/net/wireless/ath/ar5523/
Dar5523.c1499 void *fwbuf; in ar5523_load_firmware() local
1518 fwbuf = kmalloc(AR5523_MAX_FWBLOCK_SIZE, GFP_KERNEL); in ar5523_load_firmware()
1519 if (!fwbuf) in ar5523_load_firmware()
1544 memcpy(fwbuf, fw->data + offset, mlen); in ar5523_load_firmware()
1546 fwbuf, mlen, &foolen, in ar5523_load_firmware()
1575 kfree(fwbuf); in ar5523_load_firmware()
/Linux-v6.6/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.6/drivers/net/wireless/marvell/mwifiex/
Dsdio.c1422 u8 *fwbuf; in mwifiex_prog_fw_w_helper() local
1438 fwbuf = kzalloc(MWIFIEX_UPLD_SIZE, GFP_KERNEL); in mwifiex_prog_fw_w_helper()
1439 if (!fwbuf) in mwifiex_prog_fw_w_helper()
1527 memmove(fwbuf, &firmware[offset], txlen); in mwifiex_prog_fw_w_helper()
1530 ret = mwifiex_write_data_sync(adapter, fwbuf, tx_blocks * in mwifiex_prog_fw_w_helper()
1554 kfree(fwbuf); in mwifiex_prog_fw_w_helper()