class VpuClockControl
Defined at line 637 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
HHI_VPU_CLK_CNTL - Configures the "cts_vpu_clk" clock signal.
The circuit has two branches, and a final mux that chooses between one of
them. Each branch has an input mux connected to several clock sources,
followed by a frequency divider.
The mapping between register fields and branches is not available in the
register description table, but in the EE Clock Tree table only.
A311D Datasheet, Section 8.7.1.4 "EE Clock Tree", row "cts_vpu_clk",
Page 113; Section 8.7.6 Register Descriptions, Page 156.
S905D2 Datasheet, Section 6.7.1.4 "EE Clock Tree", row "cts_vpu_clk",
Page 97; Section 6.6.6 Register Descriptions, Page 132.
S905D3 Datasheet, Section 6.7.2.4 "EE Clock Tree", row "cts_vpu_clk",
Page 98; Section 6.7.6 Register Descriptions, Page 142.
Public Members
field_final_mux_selection_660
field_RsvdZ_661
field_branch1_mux_source_662
field_branch1_mux_enabled_663
field_RsvdZ_664
field_branch1_mux_divider_minus_one_668
field_RsvdZ_675
field_branch0_mux_source_677
field_branch0_mux_enabled_678
field_RsvdZ_679
field_branch0_mux_divider_minus_one_683
static const int kMinBranchMuxDivider
static const int kMaxBranchMuxDivider
Public Methods
hwreg::RegisterAddr<VpuClockControl> Get ()
Defined at line 658 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
FinalMuxSource final_mux_selection ()
Defined at line 660 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
SelfType & set_final_mux_selection (FinalMuxSource val)
Defined at line 660 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
ClockSource branch1_mux_source ()
Defined at line 662 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
SelfType & set_branch1_mux_source (ClockSource val)
Defined at line 662 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
typename SelfType::ValueType branch1_mux_enabled ()
NOLINTEND(misc-non-private-member-variables-in-classes)
Defined at line 663 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
SelfType & set_branch1_mux_enabled (typename SelfType::ValueType val)
Defined at line 663 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
typename SelfType::ValueType branch1_mux_divider_minus_one ()
Prefer `Branch1MuxDivider()` and `SetBranch1MuxDivider()` to accessing the field
directly.
Defined at line 668 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
SelfType & set_branch1_mux_divider_minus_one (typename SelfType::ValueType val)
Prefer `Branch1MuxDivider()` and `SetBranch1MuxDivider()` to accessing the field
directly.
Defined at line 668 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
ClockSource branch0_mux_source ()
Defined at line 677 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
SelfType & set_branch0_mux_source (ClockSource val)
Defined at line 677 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
typename SelfType::ValueType branch0_mux_enabled ()
NOLINTEND(misc-non-private-member-variables-in-classes)
Defined at line 678 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
SelfType & set_branch0_mux_enabled (typename SelfType::ValueType val)
Defined at line 678 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
typename SelfType::ValueType branch0_mux_divider_minus_one ()
Prefer `Branch0MuxDivider()` and `SetBranch0MuxDivider()` to accessing the field
directly.
Defined at line 683 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
SelfType & set_branch0_mux_divider_minus_one (typename SelfType::ValueType val)
Prefer `Branch0MuxDivider()` and `SetBranch0MuxDivider()` to accessing the field
directly.
Defined at line 683 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
VpuClockControl & SetBranch1MuxDivider (int divider)
Defined at line 686 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
int Branch1MuxDivider ()
Defined at line 692 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
VpuClockControl & SetBranch0MuxDivider (int divider)
Defined at line 694 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
int Branch0MuxDivider ()
Defined at line 700 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
Enumerations
enum FinalMuxSource
| Name | Value |
|---|---|
| kBranch0 | 0 |
| kBranch1 | 1 |
Defined at line 639 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
enum ClockSource
| Name | Value |
|---|---|
| kFixed666Mhz | 0 |
| kFixed500Mhz | 1 |
| kFixed400Mhz | 2 |
| kFixed285_7Mhz | 3 |
| kMpll1 | 4 |
| kVideoPll | 5 |
| kHifiPll | 6 |
| kGeneralPurpose0Pll | 7 |
Defined at line 644 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h