Lines Matching refs:n_entries
425 u8 index, n_entries;
429 n_entries = fwnode_property_count_u32(fn, propname);
431 n_entries = fwnode_property_count_u64(fn, propname);
432 /* n_entries must be an even number */
433 if (!n_entries || (n_entries % 2) != 0) {
442 new_custom->size = n_entries * n_size;
460 new_custom->table = devm_kcalloc(dev, n_entries, sizeof(u32), GFP_KERNEL);
462 new_custom->table = devm_kcalloc(dev, n_entries, sizeof(u64), GFP_KERNEL);
474 ret = fwnode_property_read_u32_array(fn, propname, new_custom->table, n_entries);
478 cpu_to_be32_array(new_custom->table, new_custom->table, n_entries);
480 ret = fwnode_property_read_u64_array(fn, propname, new_custom->table, n_entries);
484 for (index = 0; index < n_entries; index++) {