Home
last modified time | relevance | path

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

/openbmc/linux/drivers/misc/genwqe/
H A Dcard_dev.c493 #define FLASH_BLOCK 0x40000 /* we use 256k blocks */ macro
540 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr); in do_flash_update()
544 blocks_to_flash = load->size / FLASH_BLOCK; in do_flash_update()
552 tocopy = min_t(size_t, load->size, FLASH_BLOCK); in do_flash_update()
635 __genwqe_free_consistent(cd, FLASH_BLOCK, xbuf, dma_addr); in do_flash_update()
676 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr); in do_flash_read()
680 blocks_to_flash = load->size / FLASH_BLOCK; in do_flash_read()
686 tocopy = min_t(size_t, load->size, FLASH_BLOCK); in do_flash_read()
765 __genwqe_free_consistent(cd, FLASH_BLOCK, xbuf, dma_addr); in do_flash_read()
/openbmc/linux/drivers/atm/
H A Dsolos-pci.c47 #define FLASH_BLOCK 0x64 macro
728 iowrite32(offset / blocksize, card->config_regs + FLASH_BLOCK); in flash_upgrade()