Lines Matching refs:VC4_SET_FIELD
399 VC4_SET_FIELD(0, VC4_HDMI_TX_PHY_PLL_CALIBRATION_CONFIG_1_MIN_LIMIT)); in vc5_hdmi_phy_init()
404 VC4_SET_FIELD(0, VC4_HDMI_TX_PHY_PLL_CALIBRATION_CONFIG_2_MAX_LIMIT)); in vc5_hdmi_phy_init()
407 VC4_SET_FIELD(phy_get_rm_offset(vco_freq), in vc5_hdmi_phy_init()
412 VC4_SET_FIELD(vco_div, VC4_HDMI_TX_PHY_CLK_DIV_VCO)); in vc5_hdmi_phy_init()
415 VC4_SET_FIELD(0xe147, VC4_HDMI_TX_PHY_PLL_CALIBRATION_CONFIG_4_HOLD_THRESHOLD) | in vc5_hdmi_phy_init()
416 VC4_SET_FIELD(0xe14, VC4_HDMI_TX_PHY_PLL_CALIBRATION_CONFIG_4_STABLE_THRESHOLD)); in vc5_hdmi_phy_init()
422 VC4_SET_FIELD(vco_sel, VC4_HDMI_TX_PHY_PLL_CTL_0_VCO_SEL)); in vc5_hdmi_phy_init()
427 VC4_SET_FIELD(3, VC4_HDMI_TX_PHY_PLL_CTL_1_POST_RST_SEL) | in vc5_hdmi_phy_init()
428 VC4_SET_FIELD(1, VC4_HDMI_TX_PHY_PLL_CTL_1_FREQ_DOUBLER_DELAY) | in vc5_hdmi_phy_init()
429 VC4_SET_FIELD(0x8a, VC4_HDMI_TX_PHY_PLL_CTL_1_CPP)); in vc5_hdmi_phy_init()
433 VC4_SET_FIELD(2, VC4_HDMI_RM_FORMAT_SHIFT)); in vc5_hdmi_phy_init()
437 VC4_SET_FIELD(1, VC4_HDMI_TX_PHY_PLL_CFG_PDIV)); in vc5_hdmi_phy_init()
446 VC4_SET_FIELD(phy_get_cp_current(vco_freq), in vc5_hdmi_phy_init()
448 VC4_SET_FIELD(1, VC4_HDMI_TX_PHY_CTL_3_CP) | in vc5_hdmi_phy_init()
449 VC4_SET_FIELD(1, VC4_HDMI_TX_PHY_CTL_3_CP1) | in vc5_hdmi_phy_init()
450 VC4_SET_FIELD(3, VC4_HDMI_TX_PHY_CTL_3_CZ) | in vc5_hdmi_phy_init()
451 VC4_SET_FIELD(4, VC4_HDMI_TX_PHY_CTL_3_RP) | in vc5_hdmi_phy_init()
452 VC4_SET_FIELD(6, VC4_HDMI_TX_PHY_CTL_3_RZ)); in vc5_hdmi_phy_init()
468 VC4_SET_FIELD(chan0_settings->amplitude.preemphasis, in vc5_hdmi_phy_init()
470 VC4_SET_FIELD(chan0_settings->amplitude.main_driver, in vc5_hdmi_phy_init()
472 VC4_SET_FIELD(chan1_settings->amplitude.preemphasis, in vc5_hdmi_phy_init()
474 VC4_SET_FIELD(chan1_settings->amplitude.main_driver, in vc5_hdmi_phy_init()
476 VC4_SET_FIELD(chan2_settings->amplitude.preemphasis, in vc5_hdmi_phy_init()
478 VC4_SET_FIELD(chan2_settings->amplitude.main_driver, in vc5_hdmi_phy_init()
480 VC4_SET_FIELD(clock_settings->amplitude.preemphasis, in vc5_hdmi_phy_init()
482 VC4_SET_FIELD(clock_settings->amplitude.main_driver, in vc5_hdmi_phy_init()
487 VC4_SET_FIELD(chan0_settings->res_sel_data, in vc5_hdmi_phy_init()
489 VC4_SET_FIELD(chan1_settings->res_sel_data, in vc5_hdmi_phy_init()
491 VC4_SET_FIELD(chan2_settings->res_sel_data, in vc5_hdmi_phy_init()
493 VC4_SET_FIELD(clock_settings->res_sel_data, in vc5_hdmi_phy_init()
497 VC4_SET_FIELD(chan0_settings->term_res_sel_data, in vc5_hdmi_phy_init()
499 VC4_SET_FIELD(chan1_settings->term_res_sel_data, in vc5_hdmi_phy_init()
501 VC4_SET_FIELD(chan2_settings->term_res_sel_data, in vc5_hdmi_phy_init()
503 VC4_SET_FIELD(clock_settings->term_res_sel_data, in vc5_hdmi_phy_init()
505 VC4_SET_FIELD(phy_get_vco_gain(vco_freq), in vc5_hdmi_phy_init()
509 VC4_SET_FIELD(variant->phy_lane_mapping[PHY_LANE_0], in vc5_hdmi_phy_init()
511 VC4_SET_FIELD(variant->phy_lane_mapping[PHY_LANE_1], in vc5_hdmi_phy_init()
513 VC4_SET_FIELD(variant->phy_lane_mapping[PHY_LANE_2], in vc5_hdmi_phy_init()
515 VC4_SET_FIELD(variant->phy_lane_mapping[PHY_LANE_CK], in vc5_hdmi_phy_init()