Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/clk/axis/
H A Dclk-artpec6.c46 i = of_property_match_string(np, "clock-names", "sys_refclk"); in of_artpec6_clkctrl_setup()
131 propidx = of_property_match_string(np, "clock-names", "sys_refclk"); in artpec6_clkctrl_probe()
138 propidx = of_property_match_string(np, "clock-names", "i2s_refclk"); in artpec6_clkctrl_probe()
142 propidx = of_property_match_string(np, "clock-names", "frac_clk0"); in artpec6_clkctrl_probe()
145 propidx = of_property_match_string(np, "clock-names", "frac_clk1"); in artpec6_clkctrl_probe()
/openbmc/linux/drivers/char/tpm/eventlog/
H A Dof.c85 if (of_property_match_string(np, "compatible", "IBM,vtpm") < 0 && in tpm_read_log_of()
86 of_property_match_string(np, "compatible", "IBM,vtpm20") < 0) { in tpm_read_log_of()
/openbmc/linux/arch/riscv/kernel/
H A Dcpu.c85 if (of_property_match_string(node, "riscv,isa-extensions", "i") < 0 || in riscv_early_of_processor_hartid()
86 of_property_match_string(node, "riscv,isa-extensions", "m") < 0 || in riscv_early_of_processor_hartid()
87 of_property_match_string(node, "riscv,isa-extensions", "a") < 0) { in riscv_early_of_processor_hartid()
/openbmc/linux/drivers/clk/keystone/
H A Dpll.c181 i = of_property_match_string(node, "reg-names", in _of_pll_clk_init()
186 i = of_property_match_string(node, "reg-names", "control"); in _of_pll_clk_init()
202 i = of_property_match_string(node, "reg-names", "multiplier"); in _of_pll_clk_init()
H A Dgate.c211 i = of_property_match_string(node, "reg-names", "control"); in of_psc_clk_init()
218 i = of_property_match_string(node, "reg-names", "domain"); in of_psc_clk_init()
/openbmc/linux/drivers/clk/at91/
H A Dsam9x60.c189 i = of_property_match_string(np, "clock-names", "td_slck"); in sam9x60_pmc_setup()
195 i = of_property_match_string(np, "clock-names", "md_slck"); in sam9x60_pmc_setup()
201 i = of_property_match_string(np, "clock-names", "main_xtal"); in sam9x60_pmc_setup()
H A Dat91sam9rl.c77 i = of_property_match_string(np, "clock-names", "slow_clk"); in at91sam9rl_pmc_setup()
83 i = of_property_match_string(np, "clock-names", "main_xtal"); in at91sam9rl_pmc_setup()
H A Dat91rm9200.c88 i = of_property_match_string(np, "clock-names", "slow_xtal"); in at91rm9200_pmc_setup()
94 i = of_property_match_string(np, "clock-names", "main_xtal"); in at91rm9200_pmc_setup()
H A Dat91sam9g45.c103 i = of_property_match_string(np, "clock-names", "slow_clk"); in at91sam9g45_pmc_setup()
109 i = of_property_match_string(np, "clock-names", "main_xtal"); in at91sam9g45_pmc_setup()
H A Dat91sam9n12.c123 i = of_property_match_string(np, "clock-names", "slow_clk"); in at91sam9n12_pmc_setup()
129 i = of_property_match_string(np, "clock-names", "main_xtal"); in at91sam9n12_pmc_setup()
H A Dsama5d3.c125 i = of_property_match_string(np, "clock-names", "slow_clk"); in sama5d3_pmc_setup()
131 i = of_property_match_string(np, "clock-names", "main_xtal"); in sama5d3_pmc_setup()
H A Dsama5d4.c140 i = of_property_match_string(np, "clock-names", "slow_clk"); in sama5d4_pmc_setup()
146 i = of_property_match_string(np, "clock-names", "main_xtal"); in sama5d4_pmc_setup()
H A Dat91sam9x5.c145 i = of_property_match_string(np, "clock-names", "slow_clk"); in at91sam9x5_pmc_setup()
151 i = of_property_match_string(np, "clock-names", "main_xtal"); in at91sam9x5_pmc_setup()
/openbmc/linux/drivers/clk/zynq/
H A Dclkc.c311 int idx = of_property_match_string(np, "clock-names", in zynq_clk_setup()
381 int idx = of_property_match_string(np, "clock-names", in zynq_clk_setup()
406 int idx = of_property_match_string(np, "clock-names", in zynq_clk_setup()
434 idx = of_property_match_string(np, "clock-names", clk_name); in zynq_clk_setup()
475 int idx = of_property_match_string(np, "clock-names", in zynq_clk_setup()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-socfpga.c155 index = of_property_match_string(np_sgmii_adapter, "reg-names", in socfpga_dwmac_parse_data()
177 index = of_property_match_string(np_sgmii_adapter, "reg-names", in socfpga_dwmac_parse_data()
199 index = of_property_match_string(np_sgmii_adapter, "reg-names", in socfpga_dwmac_parse_data()
/openbmc/linux/drivers/clk/sunxi/
H A Dclk-sun8i-bus-gates.c39 int idx = of_property_match_string(node, "clock-names", in sun8i_h3_bus_gates_init()
/openbmc/linux/drivers/usb/host/
H A 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()
/openbmc/linux/drivers/dma/ti/
H A Dk3-psil.c83 index = of_property_match_string(dev->of_node, "dma-names", name); in psil_set_new_ep_config()
/openbmc/u-boot/include/dm/
H A Dof_access.h281 int of_property_match_string(const struct device_node *np, const char *propname,
/openbmc/linux/drivers/bus/
H A Dsimple-pm-bus.c51 if (of_property_match_string(np, "compatible", match->compatible) == 0) in simple_pm_bus_probe()
/openbmc/linux/drivers/gpio/
H A Dgpio-lpc18xx.c225 index = of_property_match_string(dev->of_node, "reg-names", in lpc18xx_gpio_pin_ic_probe()
339 index = of_property_match_string(dev->of_node, "reg-names", "gpio"); in lpc18xx_gpio_probe()
/openbmc/linux/drivers/irqchip/
H A Dirq-loongson-liointc.c227 int index = of_property_match_string(node, in liointc_init()
338 index = of_property_match_string(node, "reg-names", "main"); in liointc_of_init()
/openbmc/linux/arch/arm/mach-shmobile/
H A Dsetup-rcar-gen2.c47 idx = of_property_match_string(cpg, "clock-names", match->data); in get_extal_freq()
/openbmc/linux/drivers/soc/qcom/
H A Dsmem_state.c98 index = of_property_match_string(dev->of_node, in qcom_smem_state_get()
/openbmc/linux/drivers/mux/
H A Dcore.c541 index = of_property_match_string(np, "mux-state-names", in mux_get()
544 index = of_property_match_string(np, "mux-control-names", in mux_get()

123