Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/of/
Ddevice.c44 count = of_property_count_elems_of_size(of_node, "memory-region", in of_dma_set_restricted_buffer()
52 count = of_property_count_elems_of_size( in of_dma_set_restricted_buffer()
Dproperty.c68 int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size() function
86 EXPORT_SYMBOL_GPL(of_property_count_elems_of_size);
907 return of_property_count_elems_of_size(node, propname, in of_fwnode_property_read_int_array()
/linux-6.12.1/include/linux/
Dof.h311 extern int of_property_count_elems_of_size(const struct device_node *np,
615 static inline int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size() function
1116 return of_property_count_elems_of_size(np, propname, sizeof(u8)); in of_property_count_u8_elems()
1135 return of_property_count_elems_of_size(np, propname, sizeof(u16)); in of_property_count_u16_elems()
1154 return of_property_count_elems_of_size(np, propname, sizeof(u32)); in of_property_count_u32_elems()
1173 return of_property_count_elems_of_size(np, propname, sizeof(u64)); in of_property_count_u64_elems()
/linux-6.12.1/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()
/linux-6.12.1/drivers/thermal/
Dthermal-generic-adc.c84 ntable = of_property_count_elems_of_size(np, "temperature-lookup-table", in gadc_thermal_read_linear_lookup_table()
/linux-6.12.1/drivers/irqchip/
Dirq-ingenic-tcu.c108 irqs = of_property_count_elems_of_size(np, "interrupts", sizeof(u32)); in ingenic_tcu_irq_init()
Dirq-gic-v3-mbi.c236 n = of_property_count_elems_of_size(np, "mbi-ranges", sizeof(u32)); in mbi_init()
Dqcom-pdc.c275 n = of_property_count_elems_of_size(np, "qcom,pdc-ranges", sizeof(u32)); in pdc_setup_pin_mapping()
Dirq-apple-aic.c902 n = of_property_count_elems_of_size(aff, "cpus", sizeof(u32)); in build_fiq_affinity()
/linux-6.12.1/drivers/devfreq/
Ddevfreq-event.c275 count = of_property_count_elems_of_size(dev->of_node, phandle_name, in devfreq_event_get_edev_count()
/linux-6.12.1/drivers/bus/
Dimx-weim.c169 num_regs = of_property_count_elems_of_size(np, "reg", OF_REG_SIZE); in weim_timing_setup()
Dintel-ixp4xx-eb.c292 num_regs = of_property_count_elems_of_size(np, "reg", IXP4XX_OF_REG_SIZE); in ixp4xx_exp_setup_child()
/linux-6.12.1/drivers/pinctrl/nxp/
Dpinctrl-s32cc.c231 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-6.12.1/drivers/remoteproc/
Dti_k3_m4_remoteproc.c401 num_rmems = of_property_count_elems_of_size(np, "memory-region", in k3_m4_reserved_mem_init()
Dti_k3_r5_remoteproc.c967 num_rmems = of_property_count_elems_of_size(np, "memory-region", in k3_r5_reserved_mem_init()
1467 num_sram = of_property_count_elems_of_size(np, "sram", sizeof(phandle)); in k3_r5_core_of_get_sram_memories()
Dti_k3_dsp_remoteproc.c543 num_rmems = of_property_count_elems_of_size(np, "memory-region", in k3_dsp_reserved_mem_init()
Dstm32_rproc.c157 cnt = of_property_count_elems_of_size(np, "dma-ranges", in stm32_rproc_of_memory_translations()
Domap_remoteproc.c1186 num_mems = of_property_count_elems_of_size(dev->of_node, "reg", in omap_rproc_of_get_internal_memories()
Dxlnx_r5_remoteproc.c957 num_sram = of_property_count_elems_of_size(np, "sram", sizeof(phandle)); in zynqmp_r5_get_sram_banks()
/linux-6.12.1/drivers/clk/ti/
Ddpll.c249 ret = of_property_count_elems_of_size(node, "reg", 1); in _register_dpll_x2()
/linux-6.12.1/drivers/memory/
Datmel-ebi.c312 nentries = of_property_count_elems_of_size(np, "reg", in atmel_ebi_dev_setup()
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/
Dmtk_vcodec_dec_drv.c125 reg_num = of_property_count_elems_of_size(pdev->dev.of_node, "reg", in mtk_vcodec_get_reg_bases()
/linux-6.12.1/drivers/regulator/
Dof_regulator.c207 len = of_property_count_elems_of_size(np, "regulator-allowed-modes", in of_get_regulation_constraints()
/linux-6.12.1/arch/powerpc/sysdev/xive/
Dnative.c502 rc = of_property_count_elems_of_size(np, "ibm,xive-provision-chips", 4); in xive_parse_provisioning()
/linux-6.12.1/drivers/pwm/
Dpwm-stm32.c578 nb = of_property_count_elems_of_size(np, "st,breakinput", in stm32_pwm_probe_breakinputs()

12