Home
last modified time | relevance | path

Searched full:adc_sel (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/
Damlogic,meson-saradc.yaml48 - const: adc_sel
137 clock-names = "clkin", "core", "adc_clk", "adc_sel";
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Drtw8852a.c970 u32 adc_sel[2] = {0x12d0, 0x32d0}; in rtw8852a_bw_setting() local
981 rtw89_phy_write32_mask(rtwdev, adc_sel[path], 0x6000, 0x1); in rtw8852a_bw_setting()
986 rtw89_phy_write32_mask(rtwdev, adc_sel[path], 0x6000, 0x2); in rtw8852a_bw_setting()
991 rtw89_phy_write32_mask(rtwdev, adc_sel[path], 0x6000, 0x0); in rtw8852a_bw_setting()
996 rtw89_phy_write32_mask(rtwdev, adc_sel[path], 0x6000, 0x0); in rtw8852a_bw_setting()
1001 rtw89_phy_write32_mask(rtwdev, adc_sel[path], 0x6000, 0x0); in rtw8852a_bw_setting()
Drtw8852b_common.c809 static const u32 adc_sel[2] = {0xC0EC, 0xC1EC}; in rtw8852b_bw_setting() local
814 rtw89_phy_write32_mask(rtwdev, adc_sel[path], 0x6000, 0x1); in rtw8852b_bw_setting()
818 rtw89_phy_write32_mask(rtwdev, adc_sel[path], 0x6000, 0x2); in rtw8852b_bw_setting()
822 rtw89_phy_write32_mask(rtwdev, adc_sel[path], 0x6000, 0x0); in rtw8852b_bw_setting()
826 rtw89_phy_write32_mask(rtwdev, adc_sel[path], 0x6000, 0x0); in rtw8852b_bw_setting()
830 rtw89_phy_write32_mask(rtwdev, adc_sel[path], 0x6000, 0x0); in rtw8852b_bw_setting()
Drtw8852c.c1093 static const u32 adc_sel[2] = {0xC0EC, 0xC1EC}; in rtw8852c_bw_setting() local
1098 rtw89_phy_write32_mask(rtwdev, adc_sel[path], 0x6000, 0x1); in rtw8852c_bw_setting()
1102 rtw89_phy_write32_mask(rtwdev, adc_sel[path], 0x6000, 0x2); in rtw8852c_bw_setting()
1109 rtw89_phy_write32_mask(rtwdev, adc_sel[path], 0x6000, 0x0); in rtw8852c_bw_setting()
/linux-6.12.1/drivers/power/supply/
Drt9467-charger.c415 unsigned int adc_stat, reg_val, adc_sel; in rt9467_get_adc_raw_data() local
421 ret = rt9467_get_adc_sel(chan, &adc_sel); in rt9467_get_adc_raw_data()
431 reg_val = RT9467_MASK_ADC_START | FIELD_PREP(RT9467_MASK_ADC_IN_SEL, adc_sel); in rt9467_get_adc_raw_data()
/linux-6.12.1/arch/arm64/boot/dts/amlogic/
Dmeson-a1.dtsi355 "adc_clk", "adc_sel";
Dmeson-gxbb.dtsi793 clock-names = "clkin", "core", "adc_clk", "adc_sel";
Dmeson-gxl.dtsi863 clock-names = "clkin", "core", "adc_clk", "adc_sel";
Dmeson-axg.dtsi1754 clock-names = "clkin", "core", "adc_clk", "adc_sel";
Dmeson-g12-common.dtsi2125 clock-names = "clkin", "core", "adc_clk", "adc_sel";
/linux-6.12.1/drivers/iio/adc/
Dmeson_saradc.c1382 priv->adc_sel_clk = devm_clk_get_optional(dev, "adc_sel"); in meson_sar_adc_probe()
1384 return dev_err_probe(dev, PTR_ERR(priv->adc_sel_clk), "failed to get adc_sel clk\n"); in meson_sar_adc_probe()