Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/x86/intel/
H A Dbxtwc_tmu.c35 struct wcove_tmu *wctmu = data; in bxt_wcove_tmu_irq_handler() local
39 regmap_read(wctmu->regmap, BXTWC_TMUIRQ, &tmu_irq); in bxt_wcove_tmu_irq_handler()
42 regmap_write(wctmu->regmap, BXTWC_TMUIRQ, tmu_irq); in bxt_wcove_tmu_irq_handler()
51 struct wcove_tmu *wctmu; in bxt_wcove_tmu_probe() local
54 wctmu = devm_kzalloc(&pdev->dev, sizeof(*wctmu), GFP_KERNEL); in bxt_wcove_tmu_probe()
55 if (!wctmu) in bxt_wcove_tmu_probe()
58 wctmu->dev = &pdev->dev; in bxt_wcove_tmu_probe()
59 wctmu->regmap = pmic->regmap; in bxt_wcove_tmu_probe()
61 wctmu->irq = platform_get_irq(pdev, 0); in bxt_wcove_tmu_probe()
62 if (wctmu->irq < 0) in bxt_wcove_tmu_probe()
[all …]