Searched refs:FLASH_BLOCK (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/drivers/misc/genwqe/ |
H A D | card_dev.c | 504 #define FLASH_BLOCK 0x40000 /* we use 256k blocks */ macro 544 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr); do_flash_update() 548 blocks_to_flash = load->size / FLASH_BLOCK; do_flash_update() 556 tocopy = min_t(size_t, load->size, FLASH_BLOCK); do_flash_update() 639 __genwqe_free_consistent(cd, FLASH_BLOCK, xbuf, dma_addr); do_flash_update() 680 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr); do_flash_read() 684 blocks_to_flash = load->size / FLASH_BLOCK; do_flash_read() 690 tocopy = min_t(size_t, load->size, FLASH_BLOCK); do_flash_read() 769 __genwqe_free_consistent(cd, FLASH_BLOCK, xbuf, dma_addr); do_flash_read()
|
/linux-4.1.27/drivers/atm/ |
H A D | solos-pci.c | 56 #define FLASH_BLOCK 0x64 macro 734 iowrite32(offset / blocksize, card->config_regs + FLASH_BLOCK); flash_upgrade()
|
Completed in 121 milliseconds