Searched refs:of_str (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/iio/adc/ |
D | stm32-dfsdm-adc.c | 605 const char *of_str; in stm32_dfsdm_channel_parse_of() local 640 &of_str); in stm32_dfsdm_channel_parse_of() 642 val = stm32_dfsdm_str2val(of_str, stm32_dfsdm_chan_type); in stm32_dfsdm_channel_parse_of() 652 &of_str); in stm32_dfsdm_channel_parse_of() 654 val = stm32_dfsdm_str2val(of_str, stm32_dfsdm_chan_src); in stm32_dfsdm_channel_parse_of() 679 const char *of_str; in stm32_dfsdm_generic_channel_parse_of() local 704 ret = fwnode_property_read_string(node, "st,adc-channel-type", &of_str); in stm32_dfsdm_generic_channel_parse_of() 706 val = stm32_dfsdm_str2val(of_str, stm32_dfsdm_chan_type); in stm32_dfsdm_generic_channel_parse_of() 714 ret = fwnode_property_read_string(node, "st,adc-channel-clk-src", &of_str); in stm32_dfsdm_generic_channel_parse_of() 716 val = stm32_dfsdm_str2val(of_str, stm32_dfsdm_chan_src); in stm32_dfsdm_generic_channel_parse_of()
|
/linux-6.12.1/sound/soc/codecs/ |
D | da7218.c | 2440 const char *of_str; in da7218_of_to_pdata() local 2457 if (!of_property_read_string(np, "dlg,mic1-amp-in-sel", &of_str)) in da7218_of_to_pdata() 2459 da7218_of_mic_amp_in_sel(component, of_str); in da7218_of_to_pdata() 2463 if (!of_property_read_string(np, "dlg,mic2-amp-in-sel", &of_str)) in da7218_of_to_pdata() 2465 da7218_of_mic_amp_in_sel(component, of_str); in da7218_of_to_pdata() 2469 if (!of_property_read_string(np, "dlg,dmic1-data-sel", &of_str)) in da7218_of_to_pdata() 2470 pdata->dmic1_data_sel = da7218_of_dmic_data_sel(component, of_str); in da7218_of_to_pdata() 2474 if (!of_property_read_string(np, "dlg,dmic1-samplephase", &of_str)) in da7218_of_to_pdata() 2476 da7218_of_dmic_samplephase(component, of_str); in da7218_of_to_pdata() 2485 if (!of_property_read_string(np, "dlg,dmic2-data-sel", &of_str)) in da7218_of_to_pdata() [all …]
|
D | da7219.c | 1767 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()
|
/linux-6.12.1/drivers/clk/nuvoton/ |
D | clk-ma35d1.c | 441 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()
|