Lines Matching refs:tx_dev
506 if (ch->tx_dev) { in sh_mobile_lcdc_display_on()
509 ret = ch->tx_dev->ops->display_on(ch->tx_dev); in sh_mobile_lcdc_display_on()
529 if (ch->tx_dev) in sh_mobile_lcdc_display_off()
530 ch->tx_dev->ops->display_off(ch->tx_dev); in sh_mobile_lcdc_display_off()
2262 if (ch->tx_dev) { in sh_mobile_lcdc_remove()
2263 ch->tx_dev->lcdc = NULL; in sh_mobile_lcdc_remove()
2264 module_put(ch->cfg->tx_dev->dev.driver->owner); in sh_mobile_lcdc_remove()
2477 if (cfg->tx_dev) { in sh_mobile_lcdc_channel_init()
2478 if (!cfg->tx_dev->dev.driver || in sh_mobile_lcdc_channel_init()
2479 !try_module_get(cfg->tx_dev->dev.driver->owner)) { in sh_mobile_lcdc_channel_init()
2483 ch->tx_dev = platform_get_drvdata(cfg->tx_dev); in sh_mobile_lcdc_channel_init()
2484 ch->tx_dev->lcdc = ch; in sh_mobile_lcdc_channel_init()
2485 ch->tx_dev->def_mode = *mode; in sh_mobile_lcdc_channel_init()