Lines Matching refs:n_entries
426 u8 index, n_entries;
430 n_entries = fwnode_property_count_u32(fn, propname);
432 n_entries = fwnode_property_count_u64(fn, propname);
433 /* n_entries must be an even number */
434 if (!n_entries || (n_entries % 2) != 0) {
443 new_custom->size = n_entries * n_size;
461 new_custom->table = devm_kcalloc(dev, n_entries, sizeof(u32), GFP_KERNEL);
463 new_custom->table = devm_kcalloc(dev, n_entries, sizeof(u64), GFP_KERNEL);
475 ret = fwnode_property_read_u32_array(fn, propname, new_custom->table, n_entries);
479 cpu_to_be32_array(new_custom->table, new_custom->table, n_entries);
481 ret = fwnode_property_read_u64_array(fn, propname, new_custom->table, n_entries);
485 for (index = 0; index < n_entries; index++) {