Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/ks7010/
H A Dks7010_sdio.c703 u8 *rom_buf; in ks7010_copy_firmware() local
706 rom_buf = kmalloc(ROM_BUFF_SIZE, GFP_KERNEL); in ks7010_copy_firmware()
707 if (!rom_buf) in ks7010_copy_firmware()
723 memcpy(rom_buf, fw_entry->data + n, size); in ks7010_copy_firmware()
731 ret = ks7010_sdio_write(priv, DATA_WINDOW, rom_buf, size); in ks7010_copy_firmware()
736 DATA_WINDOW, rom_buf, size); in ks7010_copy_firmware()
747 kfree(rom_buf); in ks7010_copy_firmware()