Home
last modified time | relevance | path

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

/openbmc/linux/drivers/fpga/
H A Dintel-m10-bmc-sec-update.c217 u8 *flash_buf; in flash_count_show() local
222 flash_buf = kmalloc(FLASH_COUNT_SIZE, GFP_KERNEL); in flash_count_show()
223 if (!flash_buf) in flash_count_show()
226 ret = m10bmc_sec_read(sec, flash_buf, csr_map->rsu_update_counter, in flash_count_show()
232 cnt = num_bits - bitmap_weight((unsigned long *)flash_buf, num_bits); in flash_count_show()
235 kfree(flash_buf); in flash_count_show()