Home
last modified time | relevance | path

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

/openbmc/qemu/hw/sd/
H A Dsd.c487 #define WPGROUP_SHIFT 7 /* 2 megs */ macro
489 #define WPGROUP_SIZE (1 << (HWBLOCK_SHIFT + SECTOR_SHIFT + WPGROUP_SHIFT))
534 uint32_t wpsize = (1 << (WPGROUP_SHIFT + 1)) - 1; in emmc_set_csd()
574 uint32_t wpsize = (1 << (WPGROUP_SHIFT + 1)) - 1; in sd_set_csd()
820 return addr >> (HWBLOCK_SHIFT + SECTOR_SHIFT + WPGROUP_SHIFT); in sd_addr_to_wpnum()