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()
2270 if (ch->tx_dev) { in sh_mobile_lcdc_remove()
2271 ch->tx_dev->lcdc = NULL; in sh_mobile_lcdc_remove()
2272 module_put(ch->cfg->tx_dev->dev.driver->owner); in sh_mobile_lcdc_remove()
2485 if (cfg->tx_dev) { in sh_mobile_lcdc_channel_init()
2486 if (!cfg->tx_dev->dev.driver || in sh_mobile_lcdc_channel_init()
2487 !try_module_get(cfg->tx_dev->dev.driver->owner)) { in sh_mobile_lcdc_channel_init()
2491 ch->tx_dev = platform_get_drvdata(cfg->tx_dev); in sh_mobile_lcdc_channel_init()
2492 ch->tx_dev->lcdc = ch; in sh_mobile_lcdc_channel_init()
2493 ch->tx_dev->def_mode = *mode; in sh_mobile_lcdc_channel_init()