Lines Matching refs:wp
65 struct hdmi_wp_data *wp = &hdmi->wp; in hdmi_irq_handler() local
68 irqstatus = hdmi_wp_get_irqstatus(wp); in hdmi_irq_handler()
69 hdmi_wp_set_irqstatus(wp, irqstatus); in hdmi_irq_handler()
81 hdmi_wp_set_phy_pwr(wp, HDMI_PHYPWRCMD_OFF); in hdmi_irq_handler()
93 hdmi_wp_set_irqstatus(wp, HDMI_IRQ_LINK_CONNECT | in hdmi_irq_handler()
96 hdmi_wp_set_phy_pwr(wp, HDMI_PHYPWRCMD_LDOON); in hdmi_irq_handler()
101 hdmi_wp_set_phy_pwr(wp, HDMI_PHYPWRCMD_TXON); in hdmi_irq_handler()
103 hdmi_wp_set_phy_pwr(wp, HDMI_PHYPWRCMD_LDOON); in hdmi_irq_handler()
169 hdmi_wp_clear_irqenable(&hdmi->wp, 0xffffffff); in hdmi_power_on_full()
170 hdmi_wp_set_irqstatus(&hdmi->wp, in hdmi_power_on_full()
171 hdmi_wp_get_irqstatus(&hdmi->wp)); in hdmi_power_on_full()
192 r = hdmi_wp_set_phy_pwr(&hdmi->wp, HDMI_PHYPWRCMD_LDOON); in hdmi_power_on_full()
196 hdmi5_configure(&hdmi->core, &hdmi->wp, &hdmi->cfg); in hdmi_power_on_full()
202 r = hdmi_wp_video_start(&hdmi->wp); in hdmi_power_on_full()
206 hdmi_wp_set_irqenable(&hdmi->wp, in hdmi_power_on_full()
214 hdmi_wp_set_phy_pwr(&hdmi->wp, HDMI_PHYPWRCMD_OFF); in hdmi_power_on_full()
226 hdmi_wp_clear_irqenable(&hdmi->wp, 0xffffffff); in hdmi_power_off_full()
228 hdmi_wp_video_stop(&hdmi->wp); in hdmi_power_off_full()
232 hdmi_wp_set_phy_pwr(&hdmi->wp, HDMI_PHYPWRCMD_OFF); in hdmi_power_off_full()
264 hdmi_wp_dump(&hdmi->wp, s); in hdmi_dump_regs()
284 idlemode = REG_GET(hdmi->wp.base, HDMI_WP_SYSCONFIG, 3, 2); in read_edid()
286 REG_FLD_MOD(hdmi->wp.base, HDMI_WP_SYSCONFIG, 1, 3, 2); in read_edid()
290 REG_FLD_MOD(hdmi->wp.base, HDMI_WP_SYSCONFIG, idlemode, 3, 2); in read_edid()
300 REG_FLD_MOD(hd->wp.base, HDMI_WP_SYSCONFIG, 1, 3, 2); in hdmi_start_audio_stream()
301 hdmi_wp_audio_enable(&hd->wp, true); in hdmi_start_audio_stream()
302 hdmi_wp_audio_core_req_enable(&hd->wp, true); in hdmi_start_audio_stream()
307 hdmi_wp_audio_core_req_enable(&hd->wp, false); in hdmi_stop_audio_stream()
308 hdmi_wp_audio_enable(&hd->wp, false); in hdmi_stop_audio_stream()
309 REG_FLD_MOD(hd->wp.base, HDMI_WP_SYSCONFIG, hd->wp_idlemode, 3, 2); in hdmi_stop_audio_stream()
329 r = hdmi5_audio_config(&hdmi->core, &hdmi->wp, in hdmi_display_enable()
549 ret = hdmi5_audio_config(&hd->core, &hd->wp, dss_audio, in hdmi_audio_config()
576 .audio_dma_addr = hdmi_wp_get_audio_dma_addr(&hdmi->wp), in hdmi_audio_register()
589 REG_GET(hdmi->wp.base, HDMI_WP_SYSCONFIG, 3, 2); in hdmi_audio_register()
607 r = hdmi_pll_init(dss, hdmi->pdev, &hdmi->pll, &hdmi->wp); in hdmi5_bind()
717 r = hdmi_wp_init(pdev, &hdmi->wp, 5); in hdmi5_probe()