Lines Matching refs:tx_dev
507 if (ch->tx_dev) { in sh_mobile_lcdc_display_on()
510 ret = ch->tx_dev->ops->display_on(ch->tx_dev); in sh_mobile_lcdc_display_on()
530 if (ch->tx_dev) in sh_mobile_lcdc_display_off()
531 ch->tx_dev->ops->display_off(ch->tx_dev); in sh_mobile_lcdc_display_off()
2275 if (ch->tx_dev) { in sh_mobile_lcdc_remove()
2276 ch->tx_dev->lcdc = NULL; in sh_mobile_lcdc_remove()
2277 module_put(ch->cfg->tx_dev->dev.driver->owner); in sh_mobile_lcdc_remove()
2491 if (cfg->tx_dev) { in sh_mobile_lcdc_channel_init()
2492 if (!cfg->tx_dev->dev.driver || in sh_mobile_lcdc_channel_init()
2493 !try_module_get(cfg->tx_dev->dev.driver->owner)) { in sh_mobile_lcdc_channel_init()
2497 ch->tx_dev = platform_get_drvdata(cfg->tx_dev); in sh_mobile_lcdc_channel_init()
2498 ch->tx_dev->lcdc = ch; in sh_mobile_lcdc_channel_init()
2499 ch->tx_dev->def_mode = *mode; in sh_mobile_lcdc_channel_init()