Home
last modified time | relevance | path

Searched refs:of_property_match_string (Results 1 – 25 of 46) sorted by relevance

12

/Linux-v4.19/drivers/clk/axis/
Dclk-artpec6.c49 i = of_property_match_string(np, "clock-names", "sys_refclk"); in of_artpec6_clkctrl_setup()
134 propidx = of_property_match_string(np, "clock-names", "sys_refclk"); in artpec6_clkctrl_probe()
141 propidx = of_property_match_string(np, "clock-names", "i2s_refclk"); in artpec6_clkctrl_probe()
145 propidx = of_property_match_string(np, "clock-names", "frac_clk0"); in artpec6_clkctrl_probe()
148 propidx = of_property_match_string(np, "clock-names", "frac_clk1"); in artpec6_clkctrl_probe()
/Linux-v4.19/drivers/clk/keystone/
Dpll.c185 i = of_property_match_string(node, "reg-names", in _of_pll_clk_init()
190 i = of_property_match_string(node, "reg-names", "control"); in _of_pll_clk_init()
206 i = of_property_match_string(node, "reg-names", "multiplier"); in _of_pll_clk_init()
Dgate.c215 i = of_property_match_string(node, "reg-names", "control"); in of_psc_clk_init()
222 i = of_property_match_string(node, "reg-names", "domain"); in of_psc_clk_init()
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-socfpga.c156 index = of_property_match_string(np_sgmii_adapter, "reg-names", in socfpga_dwmac_parse_data()
178 index = of_property_match_string(np_sgmii_adapter, "reg-names", in socfpga_dwmac_parse_data()
200 index = of_property_match_string(np_sgmii_adapter, "reg-names", in socfpga_dwmac_parse_data()
/Linux-v4.19/drivers/clk/zynq/
Dclkc.c324 int idx = of_property_match_string(np, "clock-names", in zynq_clk_setup()
393 int idx = of_property_match_string(np, "clock-names", in zynq_clk_setup()
418 int idx = of_property_match_string(np, "clock-names", in zynq_clk_setup()
448 idx = of_property_match_string(np, "clock-names", clk_name); in zynq_clk_setup()
490 int idx = of_property_match_string(np, "clock-names", in zynq_clk_setup()
/Linux-v4.19/drivers/char/tpm/eventlog/
Dof.c59 if (of_property_match_string(np, "compatible", "IBM,vtpm") < 0) { in tpm_read_log_of()
/Linux-v4.19/drivers/gpu/drm/rcar-du/
Drcar_du_of.c250 index = of_property_match_string(du_node, "clock-names", name); in rcar_du_of_lvds_patch()
270 index = of_property_match_string(du_node, "reg-names", name); in rcar_du_of_lvds_patch()
/Linux-v4.19/drivers/clk/sunxi/
Dclk-sun8i-bus-gates.c49 int idx = of_property_match_string(node, "clock-names", in sun8i_h3_bus_gates_init()
/Linux-v4.19/drivers/usb/host/
Dxhci-histb.c54 if (of_property_match_string(np, "phys-names", "inno") >= 0) { in xhci_histb_config()
63 if (of_property_match_string(np, "phys-names", "combo") >= 0) { in xhci_histb_config()
/Linux-v4.19/drivers/soc/qcom/
Dsmem_state.c106 index = of_property_match_string(dev->of_node, in qcom_smem_state_get()
/Linux-v4.19/drivers/mmc/host/
Dmmci_qcom_dml.c106 index = of_property_match_string(np, "dma-names", name); in of_get_dml_pipe_index()
/Linux-v4.19/arch/arm/mach-shmobile/
Dsetup-rcar-gen2.c46 idx = of_property_match_string(cpg, "clock-names", match->data); in get_extal_freq()
/Linux-v4.19/sound/soc/stm/
Dstm32_sai_sub.c1094 if (of_property_match_string(np, "dma-names", "tx") >= 0) { in stm32_sai_sub_parse_of()
1096 } else if (of_property_match_string(np, "dma-names", "rx") >= 0) { in stm32_sai_sub_parse_of()
1159 if (of_property_match_string(args.np, "compatible", in stm32_sai_sub_parse_of()
1163 if (of_property_match_string(args.np, "compatible", in stm32_sai_sub_parse_of()
/Linux-v4.19/drivers/of/
Dunittest.c594 rc = of_property_match_string(np, "phandle-list-names", "first"); in of_unittest_property_string()
596 rc = of_property_match_string(np, "phandle-list-names", "second"); in of_unittest_property_string()
598 rc = of_property_match_string(np, "phandle-list-names", "third"); in of_unittest_property_string()
600 rc = of_property_match_string(np, "phandle-list-names", "fourth"); in of_unittest_property_string()
602 rc = of_property_match_string(np, "missing-property", "blah"); in of_unittest_property_string()
604 rc = of_property_match_string(np, "empty-property", "blah"); in of_unittest_property_string()
606 rc = of_property_match_string(np, "unterminated-string", "blah"); in of_unittest_property_string()
Dproperty.c417 int of_property_match_string(const struct device_node *np, const char *propname, in of_property_match_string() function
443 EXPORT_SYMBOL_GPL(of_property_match_string);
Dirq.c422 index = of_property_match_string(dev, "interrupt-names", name); in of_irq_get_byname()
/Linux-v4.19/drivers/gpu/drm/sun4i/
Dsun8i_tcon_top.c100 index = of_property_match_string(dev->of_node, "clock-names", parent); in sun8i_tcon_top_register_gate()
/Linux-v4.19/drivers/phy/
Dphy-core.c477 index = of_property_match_string(np, "phy-names", con_id); in of_phy_get()
580 index = of_property_match_string(dev->of_node, "phy-names", in phy_get()
/Linux-v4.19/drivers/mux/
Dcore.c440 index = of_property_match_string(np, "mux-control-names", in mux_control_get()
/Linux-v4.19/drivers/clk/
Dclkdev.c71 index = of_property_match_string(np, "clock-names", name); in __of_clk_get_by_name()
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Ddss.c1060 if (of_property_match_string(np, "reg-names", "pll1") >= 0) { in dss_video_pll_probe()
1066 if (of_property_match_string(np, "reg-names", "pll2") >= 0) { in dss_video_pll_probe()
/Linux-v4.19/drivers/hwspinlock/
Dhwspinlock_core.c391 index = of_property_match_string(np, "hwlock-names", name); in of_hwspin_lock_get_id_byname()
/Linux-v4.19/drivers/nvmem/
Dcore.c703 index = of_property_match_string(np, "nvmem-names", id); in of_nvmem_device_get()
850 index = of_property_match_string(np, "nvmem-cell-names", name); in of_nvmem_cell_get()
/Linux-v4.19/include/linux/
Dof.h340 extern int of_property_match_string(const struct device_node *np,
812 static inline int of_property_match_string(const struct device_node *np, in of_property_match_string() function
/Linux-v4.19/drivers/reset/
Dcore.c476 index = of_property_match_string(node, in __of_reset_control_get()

12