Lines Matching refs:list
18 * @node: list node for struct pinctrl's @dt_maps field
203 const __be32 *list;
234 list = prop->value;
235 size /= sizeof(*list);
250 phandle = be32_to_cpup(list++);
306 * pinctrl_get_list_and_count - Gets the list and it's cell size and number
308 * @list_name: property that contains the list
309 * @list: pointer for the list found
313 * Typically np is a single pinctrl entry containing the list.
317 const __be32 **list,
326 *list = of_get_property(np, list_name, &size);
327 if (!*list)
335 *nr_elements = (size / sizeof(**list)) / (*cells_size + 1);
343 * @list_name: property that contains the list
352 const __be32 *list;
355 error = pinctrl_get_list_and_count(np, list_name, &list,
367 * @list: pointer to a list with the elements
368 * @index: entry within the list of elements
369 * @nr_cells: number of cells in the list
370 * @nr_elem: number of elements for each entry in the list
373 * Populates the of_phandle_args based on the index in the list.
376 const __be32 *list,
389 list += index * (nr_cells + 1);
392 out_args->args[i] = be32_to_cpup(list++);
398 * pinctrl_parse_index_with_args - Find a node pointed by index in a list
400 * @list_name: property that contains the list
401 * @index: index within the list
402 * @out_args: entries in the list pointed by index
412 const __be32 *list;
415 error = pinctrl_get_list_and_count(np, list_name, &list,
420 error = pinctrl_copy_args(np, list, index, nr_cells, nr_elem,