/linux/include/linux/ |
H A D | of.h | 317 extern int of_property_count_elems_of_size(const struct device_node *np, 636 static inline int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size() function 1137 return of_property_count_elems_of_size(np, propname, sizeof(u8)); in of_property_count_u8_elems() 1156 return of_property_count_elems_of_size(np, propname, sizeof(u16)); in of_property_count_u16_elems() 1175 return of_property_count_elems_of_size(np, propname, sizeof(u32)); in of_property_count_u32_elems() 1194 return of_property_count_elems_of_size(np, propname, sizeof(u64)); in of_property_count_u64_elems()
|
/linux/drivers/leds/ |
H A D | leds-bcm6328.c | 271 cnt = of_property_count_elems_of_size(nc, "brcm,link-signal-sources", in bcm6328_hwled() 297 cnt = of_property_count_elems_of_size(nc, in bcm6328_hwled()
|
/linux/drivers/thermal/ |
H A D | thermal-generic-adc.c | 84 ntable = of_property_count_elems_of_size(np, "temperature-lookup-table", in gadc_thermal_read_linear_lookup_table()
|
/linux/drivers/irqchip/ |
H A D | irq-ingenic-tcu.c | 105 irqs = of_property_count_elems_of_size(np, "interrupts", sizeof(u32)); in ingenic_tcu_irq_init()
|
H A D | irq-gic-v3-mbi.c | 229 n = of_property_count_elems_of_size(np, "mbi-ranges", sizeof(u32)); in mbi_init()
|
H A D | qcom-pdc.c | 316 n = of_property_count_elems_of_size(np, "qcom,pdc-ranges", sizeof(u32)); in pdc_setup_pin_mapping()
|
H A D | irq-gic-v5-irs.c | 608 niaffids = of_property_count_elems_of_size(node, "arm,iaffids", in gicv5_irs_of_init_affinity()
|
H A D | irq-apple-aic.c | 903 n = of_property_count_elems_of_size(aff, "cpus", sizeof(u32)); in build_fiq_affinity()
|
/linux/drivers/of/ |
H A D | property.c | 81 * of_property_count_elems_of_size - Count the number of elements in a property 94 int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size() function 112 EXPORT_SYMBOL_GPL(of_property_count_elems_of_size); 1045 return of_property_count_elems_of_size(node, propname, in of_fwnode_property_read_int_array()
|
/linux/drivers/bus/ |
H A D | intel-ixp4xx-eb.c | 292 num_regs = of_property_count_elems_of_size(np, "reg", IXP4XX_OF_REG_SIZE); in ixp4xx_exp_setup_child()
|
H A D | imx-weim.c | 169 num_regs = of_property_count_elems_of_size(np, "reg", OF_REG_SIZE); in weim_timing_setup()
|
/linux/drivers/devfreq/ |
H A D | devfreq-event.c | 271 count = of_property_count_elems_of_size(dev->of_node, phandle_name, in devfreq_event_get_edev_count()
|
/linux/drivers/pinctrl/nxp/ |
H A D | pinctrl-s32cc.c | 231 n_pins = of_property_count_elems_of_size(np, "pinmux", sizeof(u32)); in s32_dt_group_node_to_map() 764 npins = of_property_count_elems_of_size(np, "pinmux", sizeof(u32)); in s32_pinctrl_parse_groups()
|
/linux/drivers/remoteproc/ |
H A D | ti_k3_common.c | 481 num_rmems = of_property_count_elems_of_size(np, "memory-region", in k3_reserved_mem_init()
|
H A D | stm32_rproc.c | 157 cnt = of_property_count_elems_of_size(np, "dma-ranges", in stm32_rproc_of_memory_translations()
|
H A D | omap_remoteproc.c | 1188 num_mems = of_property_count_elems_of_size(dev->of_node, "reg", in omap_rproc_of_get_internal_memories()
|
H A D | xlnx_r5_remoteproc.c | 991 num_sram = of_property_count_elems_of_size(np, "sram", sizeof(phandle)); in zynqmp_r5_get_sram_banks()
|
H A D | ti_k3_r5_remoteproc.c | 973 num_sram = of_property_count_elems_of_size(np, "sram", sizeof(phandle)); in k3_r5_core_of_get_sram_memories()
|
/linux/drivers/clk/ti/ |
H A D | dpll.c | 249 ret = of_property_count_elems_of_size(node, "reg", 1); in _register_dpll_x2()
|
/linux/arch/powerpc/sysdev/xive/ |
H A D | native.c | 502 rc = of_property_count_elems_of_size(np, "ibm,xive-provision-chips", 4); in xive_parse_provisioning()
|
/linux/drivers/regulator/ |
H A D | of_regulator.c | 210 len = of_property_count_elems_of_size(np, "regulator-allowed-modes", in of_get_regulation_constraints()
|
/linux/drivers/pwm/ |
H A D | pwm-stm32.c | 742 nb = of_property_count_elems_of_size(np, "st,breakinput", in stm32_pwm_probe_breakinputs()
|
/linux/drivers/mtd/nand/raw/ |
H A D | nuvoton-ma35d1-nand-controller.c | 863 nsels = of_property_count_elems_of_size(np, "reg", sizeof(u32)); in ma35_nand_chip_init()
|
H A D | tegra_nand.c | 1086 nsels = of_property_count_elems_of_size(np_nand, "reg", sizeof(u32)); in tegra_nand_chips_init()
|
/linux/drivers/video/backlight/ |
H A D | qcom-wled.c | 1501 string_len = of_property_count_elems_of_size(dev->of_node, in wled_configure()
|