Lines Matching refs:HDMI_WRITE
125 HDMI_WRITE(HDMI_M_CTL, VC4_HD_M_SW_RST); in vc4_hdmi_reset()
127 HDMI_WRITE(HDMI_M_CTL, 0); in vc4_hdmi_reset()
129 HDMI_WRITE(HDMI_M_CTL, VC4_HD_M_ENABLE); in vc4_hdmi_reset()
131 HDMI_WRITE(HDMI_SW_RESET_CONTROL, in vc4_hdmi_reset()
135 HDMI_WRITE(HDMI_SW_RESET_CONTROL, 0); in vc4_hdmi_reset()
142 HDMI_WRITE(HDMI_DVP_CTL, 0); in vc5_hdmi_reset()
144 HDMI_WRITE(HDMI_CLOCK_STOP, in vc5_hdmi_reset()
163 HDMI_WRITE(HDMI_CEC_CNTRL_1, value); in vc4_hdmi_cec_update_clk_div()
380 HDMI_WRITE(HDMI_RAM_PACKET_CONFIG, in vc4_hdmi_stop_packet()
433 HDMI_WRITE(HDMI_RAM_PACKET_CONFIG, in vc4_hdmi_write_infoframe()
564 HDMI_WRITE(HDMI_SCRAMBLER_CTL, HDMI_READ(HDMI_SCRAMBLER_CTL) | in vc4_hdmi_enable_scrambling()
590 HDMI_WRITE(HDMI_SCRAMBLER_CTL, HDMI_READ(HDMI_SCRAMBLER_CTL) & in vc4_hdmi_disable_scrambling()
618 HDMI_WRITE(HDMI_RAM_PACKET_CONFIG, 0); in vc4_hdmi_encoder_post_crtc_disable()
620 HDMI_WRITE(HDMI_VID_CTL, HDMI_READ(HDMI_VID_CTL) | VC4_HD_VID_CTL_CLRRGB); in vc4_hdmi_encoder_post_crtc_disable()
624 HDMI_WRITE(HDMI_VID_CTL, in vc4_hdmi_encoder_post_crtc_disable()
635 HDMI_WRITE(HDMI_VID_CTL, in vc4_hdmi_encoder_post_crtc_powerdown()
676 HDMI_WRITE(HDMI_CSC_12_11, (0x000 << 16) | 0x000); in vc4_hdmi_csc_setup()
677 HDMI_WRITE(HDMI_CSC_14_13, (0x100 << 16) | 0x6e0); in vc4_hdmi_csc_setup()
678 HDMI_WRITE(HDMI_CSC_22_21, (0x6e0 << 16) | 0x000); in vc4_hdmi_csc_setup()
679 HDMI_WRITE(HDMI_CSC_24_23, (0x100 << 16) | 0x000); in vc4_hdmi_csc_setup()
680 HDMI_WRITE(HDMI_CSC_32_31, (0x000 << 16) | 0x6e0); in vc4_hdmi_csc_setup()
681 HDMI_WRITE(HDMI_CSC_34_33, (0x100 << 16) | 0x000); in vc4_hdmi_csc_setup()
685 HDMI_WRITE(HDMI_CSC_CTL, csc_ctl); in vc4_hdmi_csc_setup()
706 HDMI_WRITE(HDMI_CSC_12_11, (0x0000 << 16) | 0x1b80); in vc5_hdmi_csc_setup()
707 HDMI_WRITE(HDMI_CSC_14_13, (0x0400 << 16) | 0x0000); in vc5_hdmi_csc_setup()
708 HDMI_WRITE(HDMI_CSC_22_21, (0x1b80 << 16) | 0x0000); in vc5_hdmi_csc_setup()
709 HDMI_WRITE(HDMI_CSC_24_23, (0x0400 << 16) | 0x0000); in vc5_hdmi_csc_setup()
710 HDMI_WRITE(HDMI_CSC_32_31, (0x0000 << 16) | 0x0000); in vc5_hdmi_csc_setup()
711 HDMI_WRITE(HDMI_CSC_34_33, (0x0400 << 16) | 0x1b80); in vc5_hdmi_csc_setup()
716 HDMI_WRITE(HDMI_CSC_12_11, (0x0000 << 16) | 0x2000); in vc5_hdmi_csc_setup()
717 HDMI_WRITE(HDMI_CSC_14_13, (0x0000 << 16) | 0x0000); in vc5_hdmi_csc_setup()
718 HDMI_WRITE(HDMI_CSC_22_21, (0x2000 << 16) | 0x0000); in vc5_hdmi_csc_setup()
719 HDMI_WRITE(HDMI_CSC_24_23, (0x0000 << 16) | 0x0000); in vc5_hdmi_csc_setup()
720 HDMI_WRITE(HDMI_CSC_32_31, (0x0000 << 16) | 0x0000); in vc5_hdmi_csc_setup()
721 HDMI_WRITE(HDMI_CSC_34_33, (0x0000 << 16) | 0x2000); in vc5_hdmi_csc_setup()
724 HDMI_WRITE(HDMI_CSC_CTL, csc_ctl); in vc5_hdmi_csc_setup()
749 HDMI_WRITE(HDMI_HORZA, in vc4_hdmi_set_timings()
755 HDMI_WRITE(HDMI_HORZB, in vc4_hdmi_set_timings()
766 HDMI_WRITE(HDMI_VERTA0, verta); in vc4_hdmi_set_timings()
767 HDMI_WRITE(HDMI_VERTA1, verta); in vc4_hdmi_set_timings()
769 HDMI_WRITE(HDMI_VERTB0, vertb_even); in vc4_hdmi_set_timings()
770 HDMI_WRITE(HDMI_VERTB1, vertb); in vc4_hdmi_set_timings()
799 HDMI_WRITE(HDMI_VEC_INTERFACE_XBAR, 0x354021); in vc5_hdmi_set_timings()
800 HDMI_WRITE(HDMI_HORZA, in vc5_hdmi_set_timings()
809 HDMI_WRITE(HDMI_HORZB, in vc5_hdmi_set_timings()
817 HDMI_WRITE(HDMI_VERTA0, verta); in vc5_hdmi_set_timings()
818 HDMI_WRITE(HDMI_VERTA1, verta); in vc5_hdmi_set_timings()
820 HDMI_WRITE(HDMI_VERTB0, vertb_even); in vc5_hdmi_set_timings()
821 HDMI_WRITE(HDMI_VERTB1, vertb); in vc5_hdmi_set_timings()
844 HDMI_WRITE(HDMI_DEEP_COLOR_CONFIG_1, reg); in vc5_hdmi_set_timings()
849 HDMI_WRITE(HDMI_GCP_WORD_1, reg); in vc5_hdmi_set_timings()
854 HDMI_WRITE(HDMI_GCP_CONFIG, reg); in vc5_hdmi_set_timings()
859 HDMI_WRITE(HDMI_MISC_CONTROL, reg); in vc5_hdmi_set_timings()
861 HDMI_WRITE(HDMI_CLOCK_STOP, 0); in vc5_hdmi_set_timings()
872 HDMI_WRITE(HDMI_FIFO_CTL, in vc4_hdmi_recenter_fifo()
874 HDMI_WRITE(HDMI_FIFO_CTL, in vc4_hdmi_recenter_fifo()
877 HDMI_WRITE(HDMI_FIFO_CTL, in vc4_hdmi_recenter_fifo()
879 HDMI_WRITE(HDMI_FIFO_CTL, in vc4_hdmi_recenter_fifo()
983 HDMI_WRITE(HDMI_SCHEDULER_CONTROL, in vc4_hdmi_encoder_pre_crtc_configure()
1021 HDMI_WRITE(HDMI_FIFO_CTL, VC4_HDMI_FIFO_CTL_MASTER_SLAVE_N); in vc4_hdmi_encoder_pre_crtc_enable()
1034 HDMI_WRITE(HDMI_VID_CTL, in vc4_hdmi_encoder_post_crtc_enable()
1042 HDMI_WRITE(HDMI_VID_CTL, in vc4_hdmi_encoder_post_crtc_enable()
1046 HDMI_WRITE(HDMI_SCHEDULER_CONTROL, in vc4_hdmi_encoder_post_crtc_enable()
1055 HDMI_WRITE(HDMI_RAM_PACKET_CONFIG, in vc4_hdmi_encoder_post_crtc_enable()
1058 HDMI_WRITE(HDMI_SCHEDULER_CONTROL, in vc4_hdmi_encoder_post_crtc_enable()
1071 HDMI_WRITE(HDMI_SCHEDULER_CONTROL, in vc4_hdmi_encoder_post_crtc_enable()
1075 HDMI_WRITE(HDMI_RAM_PACKET_CONFIG, in vc4_hdmi_encoder_post_crtc_enable()
1210 HDMI_WRITE(HDMI_MAI_SMP, in vc4_hdmi_audio_set_mai_clock()
1228 HDMI_WRITE(HDMI_CRP_CFG, in vc4_hdmi_set_n_cts()
1237 HDMI_WRITE(HDMI_CTS_0, cts); in vc4_hdmi_set_n_cts()
1238 HDMI_WRITE(HDMI_CTS_1, cts); in vc4_hdmi_set_n_cts()
1263 HDMI_WRITE(HDMI_MAI_CTL, in vc4_hdmi_audio_startup()
1287 HDMI_WRITE(HDMI_MAI_CTL, VC4_HD_MAI_CTL_RESET); in vc4_hdmi_audio_reset()
1288 HDMI_WRITE(HDMI_MAI_CTL, VC4_HD_MAI_CTL_ERRORF); in vc4_hdmi_audio_reset()
1289 HDMI_WRITE(HDMI_MAI_CTL, VC4_HD_MAI_CTL_FLUSH); in vc4_hdmi_audio_reset()
1296 HDMI_WRITE(HDMI_MAI_CTL, in vc4_hdmi_audio_shutdown()
1363 HDMI_WRITE(HDMI_MAI_CTL, in vc4_hdmi_audio_prepare()
1377 HDMI_WRITE(HDMI_MAI_FMT, in vc4_hdmi_audio_prepare()
1394 HDMI_WRITE(HDMI_MAI_THR, in vc4_hdmi_audio_prepare()
1400 HDMI_WRITE(HDMI_MAI_CONFIG, in vc4_hdmi_audio_prepare()
1406 HDMI_WRITE(HDMI_MAI_CHANNEL_MAP, channel_map); in vc4_hdmi_audio_prepare()
1407 HDMI_WRITE(HDMI_AUDIO_PACKET_CONFIG, audio_packet_config); in vc4_hdmi_audio_prepare()
1709 HDMI_WRITE(HDMI_CEC_CNTRL_1, cntrl1); in vc4_cec_irq_handler_tx_bare()
1723 HDMI_WRITE(HDMI_CEC_CNTRL_1, cntrl1); in vc4_cec_irq_handler_rx_bare()
1726 HDMI_WRITE(HDMI_CEC_CNTRL_1, cntrl1); in vc4_cec_irq_handler_rx_bare()
1748 HDMI_WRITE(HDMI_CEC_CPU_CLEAR, VC4_HDMI_CPU_CEC); in vc4_cec_irq_handler()
1766 HDMI_WRITE(HDMI_CEC_CNTRL_5, val | in vc4_hdmi_cec_adap_enable()
1768 HDMI_WRITE(HDMI_CEC_CNTRL_5, val); in vc4_hdmi_cec_adap_enable()
1769 HDMI_WRITE(HDMI_CEC_CNTRL_2, in vc4_hdmi_cec_adap_enable()
1775 HDMI_WRITE(HDMI_CEC_CNTRL_3, in vc4_hdmi_cec_adap_enable()
1780 HDMI_WRITE(HDMI_CEC_CNTRL_4, in vc4_hdmi_cec_adap_enable()
1787 HDMI_WRITE(HDMI_CEC_CPU_MASK_CLEAR, VC4_HDMI_CPU_CEC); in vc4_hdmi_cec_adap_enable()
1790 HDMI_WRITE(HDMI_CEC_CPU_MASK_SET, VC4_HDMI_CPU_CEC); in vc4_hdmi_cec_adap_enable()
1791 HDMI_WRITE(HDMI_CEC_CNTRL_5, val | in vc4_hdmi_cec_adap_enable()
1801 HDMI_WRITE(HDMI_CEC_CNTRL_1, in vc4_hdmi_cec_adap_log_addr()
1821 HDMI_WRITE(HDMI_CEC_TX_DATA_1 + (i >> 2), in vc4_hdmi_cec_adap_transmit()
1829 HDMI_WRITE(HDMI_CEC_CNTRL_1, val); in vc4_hdmi_cec_adap_transmit()
1834 HDMI_WRITE(HDMI_CEC_CNTRL_1, val); in vc4_hdmi_cec_adap_transmit()
1872 HDMI_WRITE(HDMI_CEC_CNTRL_1, value); in vc4_hdmi_cec_init()
1891 HDMI_WRITE(HDMI_CEC_CPU_MASK_SET, 0xffffffff); in vc4_hdmi_cec_init()