Home
last modified time | relevance | path

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

12

/linux/include/linux/
A Dof.h307 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 Ddevice.c65 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 Dproperty.c70 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 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()
/linux/drivers/thermal/
A Dthermal-generic-adc.c83 ntable = of_property_count_elems_of_size(np, "temperature-lookup-table", in gadc_thermal_read_linear_lookup_table()
/linux/drivers/irqchip/
A Dirq-ingenic-tcu.c106 irqs = of_property_count_elems_of_size(np, "interrupts", sizeof(u32)); in ingenic_tcu_irq_init()
A Dirq-gic-v3-mbi.c274 n = of_property_count_elems_of_size(np, "mbi-ranges", sizeof(u32)); in mbi_init()
A Dqcom-pdc.c322 n = of_property_count_elems_of_size(np, "qcom,pdc-ranges", sizeof(u32)); in pdc_setup_pin_mapping()
/linux/drivers/bus/
A Dimx-weim.c153 num_regs = of_property_count_elems_of_size(np, "reg", OF_REG_SIZE); in weim_timing_setup()
A Dintel-ixp4xx-eb.c295 num_regs = of_property_count_elems_of_size(np, "reg", IXP4XX_OF_REG_SIZE); in ixp4xx_exp_setup_child()
/linux/drivers/devfreq/
A Ddevfreq-event.c275 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 Ddp_parser.c108 len = of_property_count_elems_of_size(of_node, in dp_parser_misc()
/linux/drivers/regulator/
A Dof_regulator.c198 len = of_property_count_elems_of_size(np, "regulator-allowed-modes", in of_get_regulation_constraints()
/linux/drivers/remoteproc/
A Dti_k3_r5_remoteproc.c871 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 Dti_k3_dsp_remoteproc.c476 num_rmems = of_property_count_elems_of_size(np, "memory-region", in k3_dsp_reserved_mem_init()
A Dstm32_rproc.c156 cnt = of_property_count_elems_of_size(np, "dma-ranges", in stm32_rproc_of_memory_translations()
A Domap_remoteproc.c1185 num_mems = of_property_count_elems_of_size(dev->of_node, "reg", in omap_rproc_of_get_internal_memories()
/linux/drivers/clk/ti/
A Ddpll.c257 ret = of_property_count_elems_of_size(node, "reg", 1); in _register_dpll_x2()
/linux/drivers/memory/
A Datmel-ebi.c308 nentries = of_property_count_elems_of_size(np, "reg", in atmel_ebi_dev_setup()
/linux/arch/powerpc/sysdev/xive/
A Dnative.c489 rc = of_property_count_elems_of_size(np, "ibm,xive-provision-chips", 4); in xive_parse_provisioning()
/linux/drivers/pwm/
A Dpwm-stm32.c533 nb = of_property_count_elems_of_size(np, "st,breakinput", in stm32_pwm_probe_breakinputs()
/linux/drivers/mtd/nand/raw/
A Dtegra_nand.c1083 nsels = of_property_count_elems_of_size(np_nand, "reg", sizeof(u32)); in tegra_nand_chips_init()
A Darasan-nand-controller.c1281 anand->ncs_idx = of_property_count_elems_of_size(np, "reg", sizeof(u32)); in anfc_chip_init()
/linux/drivers/iio/temperature/
A Dltc2983.c398 n_entries = of_property_count_elems_of_size(np, propname, e_size); in __ltc2983_custom_sensor_new()
/linux/drivers/video/backlight/
A Dqcom-wled.c1528 string_len = of_property_count_elems_of_size(dev->of_node, in wled_configure()

Completed in 65 milliseconds

12