Searched refs:fwbuf (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/input/touchscreen/ |
H A D | ili210x.c | 694 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 kvfree(fwbuf); in ili210x_firmware_update_store()
|
/openbmc/linux/drivers/net/wireless/ath/ar5523/ |
H A D | ar5523.c | 1499 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()
|
/openbmc/linux/drivers/bluetooth/ |
H A D | btmrvl_sdio.c | 565 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()
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | sdio.c | 1441 u8 *fwbuf; in mwifiex_prog_fw_w_helper() local 1457 fwbuf = kzalloc(MWIFIEX_UPLD_SIZE, GFP_KERNEL); in mwifiex_prog_fw_w_helper() 1458 if (!fwbuf) in mwifiex_prog_fw_w_helper() 1546 memmove(fwbuf, &firmware[offset], txlen); in mwifiex_prog_fw_w_helper() 1549 ret = mwifiex_write_data_sync(adapter, fwbuf, tx_blocks * in mwifiex_prog_fw_w_helper() 1573 kfree(fwbuf); in mwifiex_prog_fw_w_helper()
|