Lines Matching refs:tcpd

607 	struct tc6393xb_platform_data *tcpd = dev->dev.platform_data;  in tc6393xb_probe()  local
633 tc6393xb->irq_base = tcpd->irq_base; in tc6393xb_probe()
661 ret = tcpd->enable(dev); in tc6393xb_probe()
666 iowrite16(tcpd->scr_pll2cr, tc6393xb->scr + SCR_PLL2CR); in tc6393xb_probe()
672 iowrite16(tcpd->scr_gper, tc6393xb->scr + SCR_GPER); in tc6393xb_probe()
682 if (tcpd->gpio_base >= 0) { in tc6393xb_probe()
683 ret = tc6393xb_register_gpio(tc6393xb, tcpd->gpio_base); in tc6393xb_probe()
690 if (tcpd->setup) { in tc6393xb_probe()
691 ret = tcpd->setup(dev); in tc6393xb_probe()
696 tc6393xb_cells[TC6393XB_CELL_NAND].platform_data = tcpd->nand_data; in tc6393xb_probe()
698 sizeof(*tcpd->nand_data); in tc6393xb_probe()
699 tc6393xb_cells[TC6393XB_CELL_FB].platform_data = tcpd->fb_data; in tc6393xb_probe()
700 tc6393xb_cells[TC6393XB_CELL_FB].pdata_size = sizeof(*tcpd->fb_data); in tc6393xb_probe()
704 iomem, tcpd->irq_base); in tc6393xb_probe()
709 if (tcpd->teardown) in tc6393xb_probe()
710 tcpd->teardown(dev); in tc6393xb_probe()
718 tcpd->disable(dev); in tc6393xb_probe()
736 struct tc6393xb_platform_data *tcpd = dev->dev.platform_data; in tc6393xb_remove() local
742 if (tcpd->teardown) in tc6393xb_remove()
743 tcpd->teardown(dev); in tc6393xb_remove()
755 ret = tcpd->disable(dev); in tc6393xb_remove()
769 struct tc6393xb_platform_data *tcpd = dev->dev.platform_data; in tc6393xb_suspend() local
784 ret = tcpd->suspend(dev); in tc6393xb_suspend()
792 struct tc6393xb_platform_data *tcpd = dev->dev.platform_data; in tc6393xb_resume() local
799 ret = tcpd->resume(dev); in tc6393xb_resume()
803 if (!tcpd->resume_restore) in tc6393xb_resume()
807 iowrite16(tcpd->scr_pll2cr, tc6393xb->scr + SCR_PLL2CR); in tc6393xb_resume()
812 iowrite16(tcpd->scr_gper, tc6393xb->scr + SCR_GPER); in tc6393xb_resume()