Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/input/touchscreen/
Dili210x.c686 static int ili251x_firmware_write_to_ic(struct device *dev, const u8 *fwbuf, in ili251x_firmware_write_to_ic() argument
701 u16 crc = crc_ccitt(0, fwbuf + start + (dataflash ? 2 : 0), in ili251x_firmware_write_to_ic()
721 memcpy(&(fw_data[1]), fwbuf + fw_addr, 32); in ili251x_firmware_write_to_ic()
772 const u8 *fwbuf, u16 ac_end, u16 df_end) in ili210x_do_firmware_update() argument
797 error = ili251x_firmware_write_to_ic(dev, fwbuf, 0xf000, df_end, 1); in ili210x_do_firmware_update()
805 error = ili251x_firmware_write_to_ic(dev, fwbuf, 0x2000, ac_end, 0); in ili210x_do_firmware_update()
850 const u8* fwbuf __free(kvfree) = in ili210x_firmware_update_store()
852 error = PTR_ERR_OR_ZERO(fwbuf); in ili210x_firmware_update_store()
868 error = ili210x_do_firmware_update(priv, fwbuf, ac_end, df_end); in ili210x_firmware_update_store()
/linux-6.12.1/drivers/net/wireless/ath/ar5523/
Dar5523.c1503 void *fwbuf; in ar5523_load_firmware() local
1522 fwbuf = kmalloc(AR5523_MAX_FWBLOCK_SIZE, GFP_KERNEL); in ar5523_load_firmware()
1523 if (!fwbuf) in ar5523_load_firmware()
1548 memcpy(fwbuf, fw->data + offset, mlen); in ar5523_load_firmware()
1550 fwbuf, mlen, &foolen, in ar5523_load_firmware()
1579 kfree(fwbuf); in ar5523_load_firmware()
/linux-6.12.1/drivers/bluetooth/
Dbtmrvl_sdio.c565 u8 *fwbuf; in btmrvl_sdio_download_fw_w_helper() local
593 fwbuf = (u8 *) ALIGN_ADDR(tmpfwbuf, BTSDIO_DMA_ALIGN); in btmrvl_sdio_download_fw_w_helper()
672 memcpy(fwbuf, &firmware[offset], txlen); in btmrvl_sdio_download_fw_w_helper()
675 ret = sdio_writesb(card->func, card->ioport, fwbuf, in btmrvl_sdio_download_fw_w_helper()
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/
Dsdio.c1451 u8 *fwbuf; in mwifiex_prog_fw_w_helper() local
1467 fwbuf = kzalloc(MWIFIEX_UPLD_SIZE, GFP_KERNEL); in mwifiex_prog_fw_w_helper()
1468 if (!fwbuf) in mwifiex_prog_fw_w_helper()
1556 memmove(fwbuf, &firmware[offset], txlen); in mwifiex_prog_fw_w_helper()
1559 ret = mwifiex_write_data_sync(adapter, fwbuf, tx_blocks * in mwifiex_prog_fw_w_helper()
1583 kfree(fwbuf); in mwifiex_prog_fw_w_helper()