Lines Matching refs:tx_dev
516 if (ch->tx_dev) { in sh_mobile_lcdc_display_on()
519 ret = ch->tx_dev->ops->display_on(ch->tx_dev); in sh_mobile_lcdc_display_on()
539 if (ch->tx_dev) in sh_mobile_lcdc_display_off()
540 ch->tx_dev->ops->display_off(ch->tx_dev); in sh_mobile_lcdc_display_off()
2466 if (ch->tx_dev) { in sh_mobile_lcdc_remove()
2467 ch->tx_dev->lcdc = NULL; in sh_mobile_lcdc_remove()
2468 module_put(ch->cfg->tx_dev->dev.driver->owner); in sh_mobile_lcdc_remove()
2685 if (cfg->tx_dev) { in sh_mobile_lcdc_channel_init()
2686 if (!cfg->tx_dev->dev.driver || in sh_mobile_lcdc_channel_init()
2687 !try_module_get(cfg->tx_dev->dev.driver->owner)) { in sh_mobile_lcdc_channel_init()
2691 ch->tx_dev = platform_get_drvdata(cfg->tx_dev); in sh_mobile_lcdc_channel_init()
2692 ch->tx_dev->lcdc = ch; in sh_mobile_lcdc_channel_init()
2693 ch->tx_dev->def_mode = *mode; in sh_mobile_lcdc_channel_init()