Searched refs:tc6387xb (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/mfd/
H A Dtc6387xb.c19 #include <linux/mfd/tc6387xb.h>
26 struct tc6387xb { struct
50 struct tc6387xb *tc6387xb = platform_get_drvdata(dev); tc6387xb_suspend() local
55 clk_disable_unprepare(tc6387xb->clk32k); tc6387xb_suspend()
62 struct tc6387xb *tc6387xb = platform_get_drvdata(dev); tc6387xb_resume() local
65 clk_prepare_enable(tc6387xb->clk32k); tc6387xb_resume()
69 tmio_core_mmc_resume(tc6387xb->scr + 0x200, 0, tc6387xb_resume()
84 struct tc6387xb *tc6387xb = platform_get_drvdata(dev); tc6387xb_mmc_pwr() local
86 tmio_core_mmc_pwr(tc6387xb->scr + 0x200, 0, state); tc6387xb_mmc_pwr()
92 struct tc6387xb *tc6387xb = platform_get_drvdata(dev); tc6387xb_mmc_clk_div() local
94 tmio_core_mmc_clk_div(tc6387xb->scr + 0x200, 0, state); tc6387xb_mmc_clk_div()
101 struct tc6387xb *tc6387xb = platform_get_drvdata(dev); tc6387xb_mmc_enable() local
103 clk_prepare_enable(tc6387xb->clk32k); tc6387xb_mmc_enable()
105 tmio_core_mmc_enable(tc6387xb->scr + 0x200, 0, tc6387xb_mmc_enable()
114 struct tc6387xb *tc6387xb = platform_get_drvdata(dev); tc6387xb_mmc_disable() local
116 clk_disable_unprepare(tc6387xb->clk32k); tc6387xb_mmc_disable()
146 struct tc6387xb *tc6387xb; tc6387xb_probe() local
153 tc6387xb = kzalloc(sizeof(*tc6387xb), GFP_KERNEL); tc6387xb_probe()
154 if (!tc6387xb) tc6387xb_probe()
169 rscr = &tc6387xb->rscr; tc6387xb_probe()
170 rscr->name = "tc6387xb-core"; tc6387xb_probe()
179 tc6387xb->scr = ioremap(rscr->start, resource_size(rscr)); tc6387xb_probe()
180 if (!tc6387xb->scr) { tc6387xb_probe()
185 tc6387xb->clk32k = clk32k; tc6387xb_probe()
186 platform_set_drvdata(dev, tc6387xb); tc6387xb_probe()
191 dev_info(&dev->dev, "Toshiba tc6387xb initialised\n"); tc6387xb_probe()
199 iounmap(tc6387xb->scr); tc6387xb_probe()
201 release_resource(&tc6387xb->rscr); tc6387xb_probe()
206 kfree(tc6387xb); tc6387xb_probe()
212 struct tc6387xb *tc6387xb = platform_get_drvdata(dev); tc6387xb_remove() local
215 iounmap(tc6387xb->scr); tc6387xb_remove()
216 release_resource(&tc6387xb->rscr); tc6387xb_remove()
217 clk_disable_unprepare(tc6387xb->clk32k); tc6387xb_remove()
218 clk_put(tc6387xb->clk32k); tc6387xb_remove()
219 kfree(tc6387xb); tc6387xb_remove()
227 .name = "tc6387xb",
240 MODULE_ALIAS("platform:tc6387xb");
H A DMakefile35 obj-$(CONFIG_MFD_TC6387XB) += tc6387xb.o tmio_core.o
/linux-4.4.14/arch/arm/mach-pxa/
H A Deseries.c20 #include <linux/mfd/tc6387xb.h>
135 /* -------------------- e330 tc6387xb parameters -------------------- */
145 .name = "tc6387xb",

Completed in 135 milliseconds