class VideoInputMeasureClockControl

Defined at line 886 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h

HHI_VDIN_MEAS_CLK_CNTL - Configures the "cts_vdin_meas_clk" and

"cts_dsi_meas_clk" clock signals.

A311D Datasheet, Section 8.7.1.4 Clock Tree, Page 113; Section 8.7.6

Register Descriptions, Page 164.

S905D2 Datasheet, Section 6.7.1.4 Clock Tree, Page 97; Section 6.6.6

Register Descriptions, Page 151.

S905D3 Datasheet, Section 6.7.2.4 Clock Tree, Page 98; Section 6.7.6

Register Descriptions, Page 140.

Public Members

 field_RsvdZ_910
 field_dsi_measure_clock_selection_919
 field_dsi_measure_clock_enabled_921
 field_dsi_measure_clock_divider_minus_one_925
 field_video_input_measure_clock_selection_935
 field_video_input_measure_clock_enabled_937
 field_video_input_measure_clock_divider_minus_one_941
static const int kMinDsiMeasureClockDivider
static const int kMaxDsiMeasureClockDivider
static const int kMinVideoInputMeasureClockDivider
static const int kMaxVideoInputMeasureClockDivider

Public Methods

hwreg::RegisterAddr<VideoInputMeasureClockControl> Get ()

Defined at line 906 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h

template <, >
ClockSource dsi_measure_clock_selection ()

In the S905D3 and S905D2 datasheets, bits 31-12 are documented as "unused"

in the register-level documentation but bits 23-12 (DSI measure clock

control) are mentioned in the EE clock tree table.

Clock-measurement-based experiments on Astro (using S905D2) and Nelson

(using S905D3) show that the clock input value 0-7 have the definition

above on these devices.

Defined at line 919 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h

template <, >
SelfType & set_dsi_measure_clock_selection (ClockSource val)

In the S905D3 and S905D2 datasheets, bits 31-12 are documented as "unused"

in the register-level documentation but bits 23-12 (DSI measure clock

control) are mentioned in the EE clock tree table.

Clock-measurement-based experiments on Astro (using S905D2) and Nelson

(using S905D3) show that the clock input value 0-7 have the definition

above on these devices.

Defined at line 919 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h

template <, >
typename SelfType::ValueType dsi_measure_clock_enabled ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 921 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h

template <, >
SelfType & set_dsi_measure_clock_enabled (typename SelfType::ValueType val)

Defined at line 921 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h

template <, >
typename SelfType::ValueType dsi_measure_clock_divider_minus_one ()

Prefer `DsiMeasureClockDivider()` and `SetDsiMeasureClockDivider()` to

accessing the field directly.

Defined at line 925 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h

template <, >
SelfType & set_dsi_measure_clock_divider_minus_one (typename SelfType::ValueType val)

Prefer `DsiMeasureClockDivider()` and `SetDsiMeasureClockDivider()` to

accessing the field directly.

Defined at line 925 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h

template <, >
SelfType & set_video_input_measure_clock_selection (ClockSource val)

In the S905D2 and A311D datasheets, the register description table listed

clock sources 0-7, while the EE clock tree table only listed clock source

0-3.

Clock-measurement-based experiments on Astro (using S905D2) and VIM3

(using A311D) show that the clock input value 0-7 have the definition

above on these devices.

Defined at line 935 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h

template <, >
ClockSource video_input_measure_clock_selection ()

In the S905D2 and A311D datasheets, the register description table listed

clock sources 0-7, while the EE clock tree table only listed clock source

0-3.

Clock-measurement-based experiments on Astro (using S905D2) and VIM3

(using A311D) show that the clock input value 0-7 have the definition

above on these devices.

Defined at line 935 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h

template <, >
SelfType & set_video_input_measure_clock_enabled (typename SelfType::ValueType val)

Defined at line 937 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h

template <, >
typename SelfType::ValueType video_input_measure_clock_enabled ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 937 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h

template <, >
SelfType & set_video_input_measure_clock_divider_minus_one (typename SelfType::ValueType val)

Prefer `VideoInputMeasureClockDivider()` and

`SetVideoInputMeasureClockDivider()` to accessing the field directly.

Defined at line 941 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h

template <, >
typename SelfType::ValueType video_input_measure_clock_divider_minus_one ()

Prefer `VideoInputMeasureClockDivider()` and

`SetVideoInputMeasureClockDivider()` to accessing the field directly.

Defined at line 941 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h

VideoInputMeasureClockControl & SetDsiMeasureClockDivider (int divider)

Defined at line 944 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h

int DsiMeasureClockDivider ()

Defined at line 950 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h

VideoInputMeasureClockControl & SetVideoInputMeasureClockDivider (int divider)

Defined at line 952 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h

int VideoInputMeasureClockDivider ()

Defined at line 958 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h

Enumerations

enum ClockSource
Name Value
kExternalOscillator24Mhz 0
kFixed500Mhz 1
kFixed666Mhz 2
kFixed400Mhz 3
kVideoPll 4
kGeneralPurpose0Pll 5
kFixed1000Mhz 6
kFixed285_7Mhz 7

Defined at line 889 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h

Records