Lines Matching full:auxadc

28 /* AUXADC Registers */
100 /* AUXADC channel 11 is used for the temperature sensors */
173 /* AUXADC channel 11 is used for the temperature sensors */
194 /* AUXADC channel 11 is used for the temperature sensors */
230 /* AUXADC channel is used for the temperature sensors */
495 * MT7622 have only one sensing point which uses AUXADC Channel 11 for raw data
750 * uses AHB bus accesses to control the AUXADC. To do this the thermal in mtk_thermal_init_bank()
752 * AUXADC registers and with the various bit positions in the AUXADC. in mtk_thermal_init_bank()
763 /* AHB address for auxadc mux selection */ in mtk_thermal_init_bank()
773 /* AHB value for auxadc enable */ in mtk_thermal_init_bank()
776 /* AHB address for auxadc enable (channel 0 immediate mode selected) */ in mtk_thermal_init_bank()
780 /* AHB address for auxadc valid bit */ in mtk_thermal_init_bank()
784 /* AHB address for auxadc voltage output */ in mtk_thermal_init_bank()
798 /* enable auxadc mux write transaction */ in mtk_thermal_init_bank()
991 struct device_node *auxadc, *apmixedsys, *np = pdev->dev.of_node; in mtk_thermal_probe() local
1008 mt->clk_auxadc = devm_clk_get(&pdev->dev, "auxadc"); in mtk_thermal_probe()
1025 auxadc = of_parse_phandle(np, "mediatek,auxadc", 0); in mtk_thermal_probe()
1026 if (!auxadc) { in mtk_thermal_probe()
1027 dev_err(&pdev->dev, "missing auxadc node\n"); in mtk_thermal_probe()
1031 auxadc_base = of_iomap(auxadc, 0); in mtk_thermal_probe()
1032 auxadc_phys_base = of_get_phys_base(auxadc); in mtk_thermal_probe()
1034 of_node_put(auxadc); in mtk_thermal_probe()
1037 dev_err(&pdev->dev, "Can't get auxadc phys address\n"); in mtk_thermal_probe()
1053 dev_err(&pdev->dev, "Can't get auxadc phys address\n"); in mtk_thermal_probe()
1063 dev_err(&pdev->dev, "Can't enable auxadc clk: %d\n", ret); in mtk_thermal_probe()