/linux/include/linux/ |
A D | of.h | 307 extern int of_property_count_elems_of_size(const struct device_node *np, 731 static inline int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size() function 1096 return of_property_count_elems_of_size(np, propname, sizeof(u8)); in of_property_count_u8_elems() 1115 return of_property_count_elems_of_size(np, propname, sizeof(u16)); in of_property_count_u16_elems() 1134 return of_property_count_elems_of_size(np, propname, sizeof(u32)); in of_property_count_u32_elems() 1153 return of_property_count_elems_of_size(np, propname, sizeof(u64)); in of_property_count_u64_elems()
|
/linux/drivers/of/ |
A D | device.c | 65 count = of_property_count_elems_of_size(of_node, "memory-region", in of_dma_set_restricted_buffer() 73 count = of_property_count_elems_of_size( in of_dma_set_restricted_buffer()
|
A D | property.c | 70 int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size() function 88 EXPORT_SYMBOL_GPL(of_property_count_elems_of_size); 889 return of_property_count_elems_of_size(node, propname, in of_fwnode_property_read_int_array()
|
/linux/drivers/leds/ |
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/ |
A D | thermal-generic-adc.c | 83 ntable = of_property_count_elems_of_size(np, "temperature-lookup-table", in gadc_thermal_read_linear_lookup_table()
|
/linux/drivers/irqchip/ |
A D | irq-ingenic-tcu.c | 106 irqs = of_property_count_elems_of_size(np, "interrupts", sizeof(u32)); in ingenic_tcu_irq_init()
|
A D | irq-gic-v3-mbi.c | 274 n = of_property_count_elems_of_size(np, "mbi-ranges", sizeof(u32)); in mbi_init()
|
A D | qcom-pdc.c | 322 n = of_property_count_elems_of_size(np, "qcom,pdc-ranges", sizeof(u32)); in pdc_setup_pin_mapping()
|
/linux/drivers/bus/ |
A D | imx-weim.c | 153 num_regs = of_property_count_elems_of_size(np, "reg", OF_REG_SIZE); in weim_timing_setup()
|
A D | intel-ixp4xx-eb.c | 295 num_regs = of_property_count_elems_of_size(np, "reg", IXP4XX_OF_REG_SIZE); in ixp4xx_exp_setup_child()
|
/linux/drivers/devfreq/ |
A D | devfreq-event.c | 275 count = of_property_count_elems_of_size(dev->of_node, phandle_name, in devfreq_event_get_edev_count()
|
/linux/drivers/gpu/drm/msm/dp/ |
A D | dp_parser.c | 108 len = of_property_count_elems_of_size(of_node, in dp_parser_misc()
|
/linux/drivers/regulator/ |
A D | of_regulator.c | 198 len = of_property_count_elems_of_size(np, "regulator-allowed-modes", in of_get_regulation_constraints()
|
/linux/drivers/remoteproc/ |
A D | ti_k3_r5_remoteproc.c | 871 num_rmems = of_property_count_elems_of_size(np, "memory-region", in k3_r5_reserved_mem_init() 1203 num_sram = of_property_count_elems_of_size(np, "sram", sizeof(phandle)); in k3_r5_core_of_get_sram_memories()
|
A D | ti_k3_dsp_remoteproc.c | 476 num_rmems = of_property_count_elems_of_size(np, "memory-region", in k3_dsp_reserved_mem_init()
|
A D | stm32_rproc.c | 156 cnt = of_property_count_elems_of_size(np, "dma-ranges", in stm32_rproc_of_memory_translations()
|
A D | omap_remoteproc.c | 1185 num_mems = of_property_count_elems_of_size(dev->of_node, "reg", in omap_rproc_of_get_internal_memories()
|
/linux/drivers/clk/ti/ |
A D | dpll.c | 257 ret = of_property_count_elems_of_size(node, "reg", 1); in _register_dpll_x2()
|
/linux/drivers/memory/ |
A D | atmel-ebi.c | 308 nentries = of_property_count_elems_of_size(np, "reg", in atmel_ebi_dev_setup()
|
/linux/arch/powerpc/sysdev/xive/ |
A D | native.c | 489 rc = of_property_count_elems_of_size(np, "ibm,xive-provision-chips", 4); in xive_parse_provisioning()
|
/linux/drivers/pwm/ |
A D | pwm-stm32.c | 533 nb = of_property_count_elems_of_size(np, "st,breakinput", in stm32_pwm_probe_breakinputs()
|
/linux/drivers/mtd/nand/raw/ |
A D | tegra_nand.c | 1083 nsels = of_property_count_elems_of_size(np_nand, "reg", sizeof(u32)); in tegra_nand_chips_init()
|
A D | arasan-nand-controller.c | 1281 anand->ncs_idx = of_property_count_elems_of_size(np, "reg", sizeof(u32)); in anfc_chip_init()
|
/linux/drivers/iio/temperature/ |
A D | ltc2983.c | 398 n_entries = of_property_count_elems_of_size(np, propname, e_size); in __ltc2983_custom_sensor_new()
|
/linux/drivers/video/backlight/ |
A D | qcom-wled.c | 1528 string_len = of_property_count_elems_of_size(dev->of_node, in wled_configure()
|