Lines Matching defs:list
18 * @node: list node for struct pinctrl's @dt_maps field
203 const __be32 *list;
236 list = prop->value;
237 size /= sizeof(*list);
252 phandle = be32_to_cpup(list++);
308 * pinctrl_get_list_and_count - Gets the list and it's cell size and number
310 * @list_name: property that contains the list
311 * @list: pointer for the list found
315 * Typically np is a single pinctrl entry containing the list.
319 const __be32 **list,
328 *list = of_get_property(np, list_name, &size);
329 if (!*list)
337 *nr_elements = (size / sizeof(**list)) / (*cells_size + 1);
345 * @list_name: property that contains the list
354 const __be32 *list;
357 error = pinctrl_get_list_and_count(np, list_name, &list,
369 * @list: pointer to a list with the elements
370 * @index: entry within the list of elements
371 * @nr_cells: number of cells in the list
372 * @nr_elem: number of elements for each entry in the list
375 * Populates the of_phandle_args based on the index in the list.
378 const __be32 *list,
391 list += index * (nr_cells + 1);
394 out_args->args[i] = be32_to_cpup(list++);
400 * pinctrl_parse_index_with_args - Find a node pointed by index in a list
402 * @list_name: property that contains the list
403 * @index: index within the list
404 * @out_args: entries in the list pointed by index
414 const __be32 *list;
417 error = pinctrl_get_list_and_count(np, list_name, &list,
422 error = pinctrl_copy_args(np, list, index, nr_cells, nr_elem,