tsadc             295 drivers/iio/adc/fsl-imx25-gcq.c 	struct mx25_tsadc *tsadc = dev_get_drvdata(pdev->dev.parent);
tsadc             334 drivers/iio/adc/fsl-imx25-gcq.c 	priv->clk = tsadc->clk;
tsadc             505 drivers/input/touchscreen/fsl-imx25-tcq.c 	struct mx25_tsadc *tsadc = dev_get_drvdata(dev->parent);
tsadc             550 drivers/input/touchscreen/fsl-imx25-tcq.c 	priv->core_regs = tsadc->regs;
tsadc             554 drivers/input/touchscreen/fsl-imx25-tcq.c 	priv->clk = tsadc->clk;
tsadc              29 drivers/mfd/fsl-imx25-tsadc.c 	struct mx25_tsadc *tsadc = irq_desc_get_handler_data(desc);
tsadc              35 drivers/mfd/fsl-imx25-tsadc.c 	regmap_read(tsadc->regs, MX25_TSC_TGSR, &status);
tsadc              38 drivers/mfd/fsl-imx25-tsadc.c 		generic_handle_irq(irq_find_mapping(tsadc->domain, 1));
tsadc              41 drivers/mfd/fsl-imx25-tsadc.c 		generic_handle_irq(irq_find_mapping(tsadc->domain, 0));
tsadc              49 drivers/mfd/fsl-imx25-tsadc.c 	struct mx25_tsadc *tsadc = d->host_data;
tsadc              51 drivers/mfd/fsl-imx25-tsadc.c 	irq_set_chip_data(irq, tsadc);
tsadc              65 drivers/mfd/fsl-imx25-tsadc.c 				struct mx25_tsadc *tsadc)
tsadc              75 drivers/mfd/fsl-imx25-tsadc.c 	tsadc->domain = irq_domain_add_simple(np, 2, 0, &mx25_tsadc_domain_ops,
tsadc              76 drivers/mfd/fsl-imx25-tsadc.c 					      tsadc);
tsadc              77 drivers/mfd/fsl-imx25-tsadc.c 	if (!tsadc->domain) {
tsadc              82 drivers/mfd/fsl-imx25-tsadc.c 	irq_set_chained_handler_and_data(irq, mx25_tsadc_irq_handler, tsadc);
tsadc              88 drivers/mfd/fsl-imx25-tsadc.c 				 struct mx25_tsadc *tsadc)
tsadc             100 drivers/mfd/fsl-imx25-tsadc.c 		clk_get_rate(tsadc->clk));
tsadc             102 drivers/mfd/fsl-imx25-tsadc.c 	clk_div = DIV_ROUND_UP(clk_get_rate(tsadc->clk), 1750000);
tsadc             116 drivers/mfd/fsl-imx25-tsadc.c 		clk_get_rate(tsadc->clk) / (2 * clk_div + 2));
tsadc             118 drivers/mfd/fsl-imx25-tsadc.c 	regmap_update_bits(tsadc->regs, MX25_TSC_TGCR,
tsadc             126 drivers/mfd/fsl-imx25-tsadc.c 	struct mx25_tsadc *tsadc;
tsadc             131 drivers/mfd/fsl-imx25-tsadc.c 	tsadc = devm_kzalloc(dev, sizeof(*tsadc), GFP_KERNEL);
tsadc             132 drivers/mfd/fsl-imx25-tsadc.c 	if (!tsadc)
tsadc             140 drivers/mfd/fsl-imx25-tsadc.c 	tsadc->regs = devm_regmap_init_mmio(dev, iomem,
tsadc             142 drivers/mfd/fsl-imx25-tsadc.c 	if (IS_ERR(tsadc->regs)) {
tsadc             144 drivers/mfd/fsl-imx25-tsadc.c 		return PTR_ERR(tsadc->regs);
tsadc             147 drivers/mfd/fsl-imx25-tsadc.c 	tsadc->clk = devm_clk_get(dev, "ipg");
tsadc             148 drivers/mfd/fsl-imx25-tsadc.c 	if (IS_ERR(tsadc->clk)) {
tsadc             150 drivers/mfd/fsl-imx25-tsadc.c 		return PTR_ERR(tsadc->clk);
tsadc             154 drivers/mfd/fsl-imx25-tsadc.c 	mx25_tsadc_setup_clk(pdev, tsadc);
tsadc             157 drivers/mfd/fsl-imx25-tsadc.c 	regmap_update_bits(tsadc->regs, MX25_TSC_TGCR, MX25_TGCR_CLK_EN,
tsadc             159 drivers/mfd/fsl-imx25-tsadc.c 	regmap_update_bits(tsadc->regs, MX25_TSC_TGCR, MX25_TGCR_TSC_RST,
tsadc             163 drivers/mfd/fsl-imx25-tsadc.c 	regmap_update_bits(tsadc->regs, MX25_TSC_TGCR, MX25_TGCR_POWERMODE_MASK,
tsadc             165 drivers/mfd/fsl-imx25-tsadc.c 	regmap_update_bits(tsadc->regs, MX25_TSC_TGCR, MX25_TGCR_INTREFEN,
tsadc             168 drivers/mfd/fsl-imx25-tsadc.c 	ret = mx25_tsadc_setup_irq(pdev, tsadc);
tsadc             172 drivers/mfd/fsl-imx25-tsadc.c 	platform_set_drvdata(pdev, tsadc);
tsadc             179 drivers/mfd/fsl-imx25-tsadc.c 	struct mx25_tsadc *tsadc = platform_get_drvdata(pdev);
tsadc             184 drivers/mfd/fsl-imx25-tsadc.c 		irq_domain_remove(tsadc->domain);
tsadc            1084 drivers/thermal/rockchip_thermal.c 	const struct rockchip_tsadc_chip *tsadc = thermal->chip;
tsadc            1089 drivers/thermal/rockchip_thermal.c 	return tsadc->set_alarm_temp(&tsadc->table,
tsadc            1097 drivers/thermal/rockchip_thermal.c 	const struct rockchip_tsadc_chip *tsadc = sensor->thermal->chip;
tsadc            1100 drivers/thermal/rockchip_thermal.c 	retval = tsadc->get_temp(&tsadc->table,
tsadc            1182 drivers/thermal/rockchip_thermal.c 	const struct rockchip_tsadc_chip *tsadc = thermal->chip;
tsadc            1185 drivers/thermal/rockchip_thermal.c 	tsadc->set_tshut_mode(id, thermal->regs, thermal->tshut_mode);
tsadc            1187 drivers/thermal/rockchip_thermal.c 	error = tsadc->set_tshut_temp(&tsadc->table, id, thermal->regs,
tsadc             197 include/linux/mfd/ti_am335x_tscadc.h void am335x_tsc_se_set_cache(struct ti_tscadc_dev *tsadc, u32 val);
tsadc             198 include/linux/mfd/ti_am335x_tscadc.h void am335x_tsc_se_set_once(struct ti_tscadc_dev *tsadc, u32 val);
tsadc             199 include/linux/mfd/ti_am335x_tscadc.h void am335x_tsc_se_clr(struct ti_tscadc_dev *tsadc, u32 val);
tsadc             200 include/linux/mfd/ti_am335x_tscadc.h void am335x_tsc_se_adc_done(struct ti_tscadc_dev *tsadc);