Home
last modified time | relevance | path

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

/linux-6.15/block/partitions/
H A Dof.c16 int s_cells = of_n_size_cells(np); in validate_of_partition() local
19 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() local
49 u64 size = of_read_number(reg + a_cells, s_cells) / SECTOR_SIZE; in add_of_partition()
/linux-6.15/drivers/mtd/parsers/
H A Dofpart_core.c105 int a_cells, s_cells; in parse_fixed_partitions() local
124 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()