Home
last modified time | relevance | path

Searched refs:of_str (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/sound/soc/codecs/
H A Dda7218.c2450 const char *of_str; in da7218_of_to_pdata() local
2467 if (!of_property_read_string(np, "dlg,mic1-amp-in-sel", &of_str)) in da7218_of_to_pdata()
2469 da7218_of_mic_amp_in_sel(component, of_str); in da7218_of_to_pdata()
2473 if (!of_property_read_string(np, "dlg,mic2-amp-in-sel", &of_str)) in da7218_of_to_pdata()
2475 da7218_of_mic_amp_in_sel(component, of_str); in da7218_of_to_pdata()
2479 if (!of_property_read_string(np, "dlg,dmic1-data-sel", &of_str)) in da7218_of_to_pdata()
2484 if (!of_property_read_string(np, "dlg,dmic1-samplephase", &of_str)) in da7218_of_to_pdata()
2486 da7218_of_dmic_samplephase(component, of_str); in da7218_of_to_pdata()
2495 if (!of_property_read_string(np, "dlg,dmic2-data-sel", &of_str)) in da7218_of_to_pdata()
2500 if (!of_property_read_string(np, "dlg,dmic2-samplephase", &of_str)) in da7218_of_to_pdata()
[all …]
H A Dda7219.c1767 const char *of_str; in da7219_fw_to_pdata() local
1790 if (!device_property_read_string(dev, "dlg,mic-amp-in-sel", &of_str)) in da7219_fw_to_pdata()
1791 pdata->mic_amp_in_sel = da7219_fw_mic_amp_in_sel(dev, of_str); in da7219_fw_to_pdata()
/openbmc/linux/drivers/clk/nuvoton/
H A Dclk-ma35d1.c441 const char *of_str; in ma35d1_get_pll_setting() local
445 if (of_property_read_string_index(clk_node, "nuvoton,pll-mode", i, &of_str)) in ma35d1_get_pll_setting()
447 if (!strcmp(of_str, "integer")) in ma35d1_get_pll_setting()
449 else if (!strcmp(of_str, "fractional")) in ma35d1_get_pll_setting()
451 else if (!strcmp(of_str, "spread-spectrum")) in ma35d1_get_pll_setting()
/openbmc/linux/drivers/iio/adc/
H A Dstm32-dfsdm-adc.c603 const char *of_str; in stm32_dfsdm_channel_parse_of() local
638 &of_str); in stm32_dfsdm_channel_parse_of()
640 val = stm32_dfsdm_str2val(of_str, stm32_dfsdm_chan_type); in stm32_dfsdm_channel_parse_of()
650 &of_str); in stm32_dfsdm_channel_parse_of()
652 val = stm32_dfsdm_str2val(of_str, stm32_dfsdm_chan_src); in stm32_dfsdm_channel_parse_of()