Searched refs:NVRAM_BLOCK_LEN (Results 1 – 1 of 1) sorted by relevance
30 #define NVRAM_BLOCK_LEN NVRAM_HEADER_LEN macro852 BUILD_BUG_ON(NVRAM_BLOCK_LEN != 16); in nvram_create_partition()855 req_size = ALIGN(req_size, NVRAM_BLOCK_LEN) / NVRAM_BLOCK_LEN; in nvram_create_partition()856 min_size = ALIGN(min_size, NVRAM_BLOCK_LEN) / NVRAM_BLOCK_LEN; in nvram_create_partition()913 free_part->index += size * NVRAM_BLOCK_LEN; in nvram_create_partition()929 tmp_index < ((size - 1) * NVRAM_BLOCK_LEN); in nvram_create_partition()930 tmp_index += NVRAM_BLOCK_LEN) { in nvram_create_partition()931 rc = ppc_md.nvram_write(nv_init_vals, NVRAM_BLOCK_LEN, &tmp_index); in nvram_create_partition()954 return (part->header.length - 1) * NVRAM_BLOCK_LEN; in nvram_get_partition_size()975 NVRAM_BLOCK_LEN; in nvram_find_partition()[all …]