Home
last modified time | relevance | path

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

/openbmc/qemu/hw/ppc/
H A Dpnv_bmc.c144 #define BLOCK_SHIFT 12 /* 4K */ macro
148 return bytes >> BLOCK_SHIFT; in bytes_to_blocks()
153 return blocks << BLOCK_SHIFT; in blocks_to_bytes()
199 rsp_buffer_push(rsp, BLOCK_SHIFT); /* block size */ in hiomap_cmd()
/openbmc/qemu/hw/block/
H A Donenand.c41 #define BLOCK_SHIFT (PAGE_SHIFT + 6) macro
571 << (BLOCK_SHIFT - 9); in onenand_command()
572 if (onenand_erase(s, sec, 1 << (BLOCK_SHIFT - 9))) in onenand_command()
594 s->secs_cur = 1 << (BLOCK_SHIFT - 9); in onenand_command()
789 s->blocks = size >> BLOCK_SHIFT; in onenand_realize()