Searched refs:nr_elem (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/pinctrl/ |
D | devicetree.c | 377 int index, int nr_cells, int nr_elem, in pinctrl_copy_args() argument 386 if (index >= nr_elem) in pinctrl_copy_args() 413 int nr_elem, nr_cells, error; in pinctrl_parse_index_with_args() local 416 &nr_cells, &nr_elem); in pinctrl_parse_index_with_args() 420 error = pinctrl_copy_args(np, list, index, nr_cells, nr_elem, in pinctrl_parse_index_with_args()
|
/linux-6.1.9/drivers/hwtracing/coresight/ |
D | coresight-cti-platform.c | 235 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-6.1.9/drivers/mtd/nand/raw/ |
D | nand_base.c | 5305 int nr_elem, i, j; in of_get_nand_secure_regions() local 5312 nr_elem = of_property_count_elems_of_size(dn, "secure-regions", sizeof(u64)); in of_get_nand_secure_regions() 5313 if (nr_elem <= 0) in of_get_nand_secure_regions() 5314 return nr_elem; in of_get_nand_secure_regions() 5316 chip->nr_secure_regions = nr_elem / 2; in of_get_nand_secure_regions()
|