Lines Matching refs:cell
16 const __be32 *cell;
20 cell = of_get_property(cpun, "reg", &len);
21 if (!cell || !ac || ((sizeof(*cell) * ac * (thread + 1)) > len))
24 cell += ac * thread;
25 return of_read_number(cell, ac);
55 const __be32 *cell;
60 cell = of_get_property(cpun, prop_name, &prop_len);
61 if (!cell && !ac && arch_match_cpu_phys_id(cpu, 0))
63 if (!cell || !ac)
65 prop_len /= sizeof(*cell) * ac;
67 hwid = of_read_number(cell, ac);
73 cell += ac;