Home
last modified time | relevance | path

Searched refs:of_property_count_elems_of_size (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/
Dof.h307 extern int of_property_count_elems_of_size(const struct device_node *np,
715 static inline int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size() function
1073 return of_property_count_elems_of_size(np, propname, sizeof(u8)); in of_property_count_u8_elems()
1090 return of_property_count_elems_of_size(np, propname, sizeof(u16)); in of_property_count_u16_elems()
1107 return of_property_count_elems_of_size(np, propname, sizeof(u32)); in of_property_count_u32_elems()
1124 return of_property_count_elems_of_size(np, propname, sizeof(u64)); in of_property_count_u64_elems()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-bcm6328.c271 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()
/kernel/linux/linux-5.10/drivers/thermal/
Dthermal-generic-adc.c83 ntable = of_property_count_elems_of_size(np, "temperature-lookup-table", in gadc_thermal_read_linear_lookup_table()
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-ingenic-tcu.c106 irqs = of_property_count_elems_of_size(np, "interrupts", sizeof(u32)); in ingenic_tcu_irq_init()
Dirq-gic-v3-mbi.c274 n = of_property_count_elems_of_size(np, "mbi-ranges", sizeof(u32)); in mbi_init()
Dqcom-pdc.c366 n = of_property_count_elems_of_size(np, "qcom,pdc-ranges", sizeof(u32)); in pdc_setup_pin_mapping()
/kernel/linux/linux-5.10/drivers/bus/
Dimx-weim.c153 num_regs = of_property_count_elems_of_size(np, "reg", OF_REG_SIZE); in weim_timing_setup()
/kernel/linux/linux-5.10/drivers/of/
Dproperty.c67 int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size() function
85 EXPORT_SYMBOL_GPL(of_property_count_elems_of_size);
870 return of_property_count_elems_of_size(node, propname, in of_fwnode_property_read_int_array()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/
Ddp_parser.c91 len = of_property_count_elems_of_size(of_node, in dp_parser_misc()
/kernel/linux/linux-5.10/drivers/devfreq/
Ddevfreq-event.c275 count = of_property_count_elems_of_size(dev->of_node, phandle_name, in devfreq_event_get_edev_count()
/kernel/linux/linux-5.10/drivers/regulator/
Dof_regulator.c142 len = of_property_count_elems_of_size(np, "regulator-allowed-modes", in of_get_regulation_constraints()
/kernel/linux/linux-5.10/drivers/clk/ti/
Ddpll.c257 ret = of_property_count_elems_of_size(node, "reg", 1); in _register_dpll_x2()
/kernel/linux/linux-5.10/drivers/remoteproc/
Dti_k3_r5_remoteproc.c764 num_rmems = of_property_count_elems_of_size(np, "memory-region", in k3_r5_reserved_mem_init()
1056 num_sram = of_property_count_elems_of_size(np, "sram", sizeof(phandle)); in k3_r5_core_of_get_sram_memories()
Dti_k3_dsp_remoteproc.c476 num_rmems = of_property_count_elems_of_size(np, "memory-region", in k3_dsp_reserved_mem_init()
Dstm32_rproc.c155 cnt = of_property_count_elems_of_size(np, "dma-ranges", in stm32_rproc_of_memory_translations()
Domap_remoteproc.c1187 num_mems = of_property_count_elems_of_size(dev->of_node, "reg", in omap_rproc_of_get_internal_memories()
/kernel/linux/linux-5.10/drivers/memory/
Datmel-ebi.c308 nentries = of_property_count_elems_of_size(np, "reg", in atmel_ebi_dev_setup()
/kernel/linux/linux-5.10/drivers/pwm/
Dpwm-stm32.c533 nb = of_property_count_elems_of_size(np, "st,breakinput", in stm32_pwm_probe_breakinputs()
/kernel/linux/linux-5.10/arch/powerpc/sysdev/xive/
Dnative.c496 rc = of_property_count_elems_of_size(np, "ibm,xive-provision-chips", 4); in xive_parse_provisioning()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Darasan-nand-controller.c1127 if (of_property_count_elems_of_size(np, "reg", sizeof(u32)) != 1) { in anfc_chip_init()
Dtegra_nand.c1083 nsels = of_property_count_elems_of_size(np_nand, "reg", sizeof(u32)); in tegra_nand_chips_init()
Dmeson_nand.c1242 nsels = of_property_count_elems_of_size(np, "reg", sizeof(u32)); in meson_nfc_nand_chip_init()
/kernel/linux/linux-5.10/drivers/video/backlight/
Dqcom-wled.c1497 string_len = of_property_count_elems_of_size(dev->of_node, in wled_configure()
/kernel/linux/linux-5.10/drivers/iio/temperature/
Dltc2983.c398 n_entries = of_property_count_elems_of_size(np, propname, e_size); in __ltc2983_custom_sensor_new()
/kernel/linux/linux-5.10/drivers/iommu/
Domap-iommu.c1665 num_iommus = of_property_count_elems_of_size(dev->of_node, "iommus", in omap_iommu_probe_device()

12