Searched refs:FLASH_BLOCK (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/drivers/misc/genwqe/ |
| D | card_dev.c | 495 #define FLASH_BLOCK 0x40000 /* we use 256k blocks */ macro 535 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr); in do_flash_update() 539 blocks_to_flash = load->size / FLASH_BLOCK; in do_flash_update() 547 tocopy = min_t(size_t, load->size, FLASH_BLOCK); in do_flash_update() 630 __genwqe_free_consistent(cd, FLASH_BLOCK, xbuf, dma_addr); in do_flash_update() 671 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr); in do_flash_read() 675 blocks_to_flash = load->size / FLASH_BLOCK; in do_flash_read() 681 tocopy = min_t(size_t, load->size, FLASH_BLOCK); in do_flash_read() 760 __genwqe_free_consistent(cd, FLASH_BLOCK, xbuf, dma_addr); in do_flash_read()
|
| /Linux-v5.4/drivers/atm/ |
| D | solos-pci.c | 47 #define FLASH_BLOCK 0x64 macro 728 iowrite32(offset / blocksize, card->config_regs + FLASH_BLOCK); in flash_upgrade()
|