Home
last modified time | relevance | path

Searched refs:nr_elem (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/pinctrl/
H A Ddevicetree.c379 int index, int nr_cells, int nr_elem, in pinctrl_copy_args() argument
388 if (index >= nr_elem) in pinctrl_copy_args()
415 int nr_elem, nr_cells, error; in pinctrl_parse_index_with_args() local
418 &nr_cells, &nr_elem); in pinctrl_parse_index_with_args()
422 error = pinctrl_copy_args(np, list, index, nr_cells, nr_elem, in pinctrl_parse_index_with_args()
/linux/drivers/hwtracing/coresight/
H A Dcoresight-cti-platform.c235 int nr_elem = fwnode_property_count_u32(fwnode, name); in cti_plat_count_sig_elements() local
237 return (nr_elem < 0 ? 0 : nr_elem); in cti_plat_count_sig_elements()
/linux/drivers/mtd/nand/raw/
H A Dnand_base.c5551 int nr_elem, i, j; in of_get_nand_secure_regions() local
5558 nr_elem = of_property_count_elems_of_size(dn, "secure-regions", sizeof(u64)); in of_get_nand_secure_regions()
5559 if (nr_elem <= 0) in of_get_nand_secure_regions()
5560 return nr_elem; in of_get_nand_secure_regions()
5562 chip->nr_secure_regions = nr_elem / 2; in of_get_nand_secure_regions()