Searched refs:s_cells (Results 1 – 2 of 2) sorted by relevance
16 int s_cells = of_n_size_cells(np); in validate_of_partition() local19 if (len / sizeof(*reg) != a_cells + s_cells) in validate_of_partition()28 size = of_read_number(reg + a_cells, s_cells); in validate_of_partition()45 int s_cells = of_n_size_cells(np); in add_of_partition() local49 u64 size = of_read_number(reg + a_cells, s_cells) / SECTOR_SIZE; in add_of_partition()
105 int a_cells, s_cells; in parse_fixed_partitions() local124 s_cells = of_n_size_cells(pp); in parse_fixed_partitions()125 if (!dedicated && s_cells == 0) { in parse_fixed_partitions()142 s_cells = 1; in parse_fixed_partitions()144 if (len / 4 != a_cells + s_cells) { in parse_fixed_partitions()152 parts[i].size = of_read_number(reg + a_cells, s_cells); in parse_fixed_partitions()