Searched refs:BLOCK_SHIFT (Results 1 – 2 of 2) sorted by relevance
144 #define BLOCK_SHIFT 12 /* 4K */ macro148 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()
41 #define BLOCK_SHIFT (PAGE_SHIFT + 6) macro571 << (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()