Lines Matching refs:VC4_SET_FIELD
926 csc_ctl = VC4_SET_FIELD(VC4_HD_CSC_CTL_ORDER_BGR, in vc4_hdmi_csc_setup()
942 csc_ctl |= VC4_SET_FIELD(VC4_HD_CSC_CTL_MODE_CUSTOM, in vc4_hdmi_csc_setup()
1158 u32 csc_ctl = VC5_MT_CP_CSC_CTL_ENABLE | VC4_SET_FIELD(VC4_HD_CSC_CTL_MODE_CUSTOM, in vc5_hdmi_csc_setup()
1177 csc_ctl |= VC4_SET_FIELD(VC5_MT_CP_CSC_CTL_FILTER_MODE_444_TO_422_STANDARD, in vc5_hdmi_csc_setup()
1182 csc_chan_ctl |= VC4_SET_FIELD(VC5_MT_CP_CHANNEL_CTL_OUTPUT_REMAP_LEGACY_STYLE, in vc5_hdmi_csc_setup()
1185 if_cfg |= VC4_SET_FIELD(VC5_DVP_HT_VEC_INTERFACE_CFG_SEL_422_FORMAT_422_LEGACY, in vc5_hdmi_csc_setup()
1220 u32 verta = (VC4_SET_FIELD(mode->crtc_vsync_end - mode->crtc_vsync_start, in vc4_hdmi_set_timings()
1222 VC4_SET_FIELD(mode->crtc_vsync_start - mode->crtc_vdisplay, in vc4_hdmi_set_timings()
1224 VC4_SET_FIELD(mode->crtc_vdisplay, VC4_HDMI_VERTA_VAL)); in vc4_hdmi_set_timings()
1225 u32 vertb = (VC4_SET_FIELD(0, VC4_HDMI_VERTB_VSPO) | in vc4_hdmi_set_timings()
1226 VC4_SET_FIELD(mode->crtc_vtotal - mode->crtc_vsync_end + in vc4_hdmi_set_timings()
1229 u32 vertb_even = (VC4_SET_FIELD(0, VC4_HDMI_VERTB_VSPO) | in vc4_hdmi_set_timings()
1230 VC4_SET_FIELD(mode->crtc_vtotal - in vc4_hdmi_set_timings()
1245 VC4_SET_FIELD(mode->hdisplay * pixel_rep, in vc4_hdmi_set_timings()
1249 VC4_SET_FIELD((mode->htotal - in vc4_hdmi_set_timings()
1252 VC4_SET_FIELD((mode->hsync_end - in vc4_hdmi_set_timings()
1255 VC4_SET_FIELD((mode->hsync_start - in vc4_hdmi_set_timings()
1267 reg |= VC4_SET_FIELD(pixel_rep - 1, VC4_HDMI_MISC_CONTROL_PIXEL_REP); in vc4_hdmi_set_timings()
1284 u32 verta = (VC4_SET_FIELD(mode->crtc_vsync_end - mode->crtc_vsync_start, in vc5_hdmi_set_timings()
1286 VC4_SET_FIELD(mode->crtc_vsync_start - mode->crtc_vdisplay, in vc5_hdmi_set_timings()
1288 VC4_SET_FIELD(mode->crtc_vdisplay, VC5_HDMI_VERTA_VAL)); in vc5_hdmi_set_timings()
1289 u32 vertb = (VC4_SET_FIELD(mode->htotal >> (2 - pixel_rep), in vc5_hdmi_set_timings()
1291 VC4_SET_FIELD(mode->crtc_vtotal - mode->crtc_vsync_end + in vc5_hdmi_set_timings()
1294 u32 vertb_even = (VC4_SET_FIELD(0, VC5_HDMI_VERTB_VSPO) | in vc5_hdmi_set_timings()
1295 VC4_SET_FIELD(mode->crtc_vtotal - in vc5_hdmi_set_timings()
1311 VC4_SET_FIELD(mode->hdisplay * pixel_rep, in vc5_hdmi_set_timings()
1313 VC4_SET_FIELD((mode->hsync_start - in vc5_hdmi_set_timings()
1318 VC4_SET_FIELD((mode->htotal - in vc5_hdmi_set_timings()
1321 VC4_SET_FIELD((mode->hsync_end - in vc5_hdmi_set_timings()
1355 reg |= VC4_SET_FIELD(2, VC5_HDMI_DEEP_COLOR_CONFIG_1_INIT_PACK_PHASE) | in vc5_hdmi_set_timings()
1356 VC4_SET_FIELD(gcp, VC5_HDMI_DEEP_COLOR_CONFIG_1_COLOR_DEPTH); in vc5_hdmi_set_timings()
1361 reg |= VC4_SET_FIELD(gcp, VC5_HDMI_GCP_WORD_1_GCP_SUBPACKET_BYTE_1); in vc5_hdmi_set_timings()
1372 reg |= VC4_SET_FIELD(pixel_rep - 1, VC5_HDMI_MISC_CONTROL_PIXEL_REP); in vc5_hdmi_set_timings()
1850 VC4_SET_FIELD(n, VC4_HD_MAI_SMP_N) | in vc4_hdmi_audio_set_mai_clock()
1851 VC4_SET_FIELD(m - 1, VC4_HD_MAI_SMP_M)); in vc4_hdmi_audio_set_mai_clock()
1873 VC4_SET_FIELD(n, VC4_HDMI_CRP_CFG_N)); in vc4_hdmi_set_n_cts()
2079 VC4_SET_FIELD(channels, VC4_HD_MAI_CTL_CHNUM) | in vc4_hdmi_audio_prepare()
2091 VC4_SET_FIELD(mai_sample_rate, in vc4_hdmi_audio_prepare()
2093 VC4_SET_FIELD(mai_audio_format, in vc4_hdmi_audio_prepare()
2100 VC4_SET_FIELD(0x8, VC4_HDMI_AUDIO_PACKET_B_FRAME_IDENTIFIER); in vc4_hdmi_audio_prepare()
2103 audio_packet_config |= VC4_SET_FIELD(channel_mask, in vc4_hdmi_audio_prepare()
2108 VC4_SET_FIELD(0x08, VC4_HD_MAI_THR_PANICHIGH) | in vc4_hdmi_audio_prepare()
2109 VC4_SET_FIELD(0x08, VC4_HD_MAI_THR_PANICLOW) | in vc4_hdmi_audio_prepare()
2110 VC4_SET_FIELD(0x06, VC4_HD_MAI_THR_DREQHIGH) | in vc4_hdmi_audio_prepare()
2111 VC4_SET_FIELD(0x08, VC4_HD_MAI_THR_DREQLOW)); in vc4_hdmi_audio_prepare()
2116 VC4_SET_FIELD(channel_mask, VC4_HDMI_MAI_CHANNEL_MASK)); in vc4_hdmi_audio_prepare()