class VpuClockCControl
Defined at line 556 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
HHI_VPU_CLKC_CNTL - Configures the "cts_vpu_clkc" 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_clkc",
Page 113; Section 8.7.6 Register Descriptions, Page 155.
S905D2 Datasheet, Section 6.6.6 Register Descriptions, Page 132;
Section 6.7.1.4 "EE Clock Tree", row "cts_vpu_clkc", Page 97.
S905D3 Datasheet, Section 6.7.6 Register Descriptions, Page 141.
Section 6.7.2.4 "EE Clock Tree", row "cts_vpu_clkc", Page 98.
Public Members
field_final_mux_selection_579
field_RsvdZ_580
field_branch1_mux_source_581
field_branch1_mux_enabled_582
field_RsvdZ_583
field_branch1_mux_divider_minus_one_587
field_RsvdZ_594
field_branch0_mux_source_596
field_branch0_mux_enabled_597
field_RsvdZ_598
field_branch0_mux_divider_minus_one_602
static const int kMinBranchMuxDivider
static const int kMaxBranchMuxDivider
Public Methods
hwreg::RegisterAddr<VpuClockCControl> Get ()
Defined at line 577 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
FinalMuxSource final_mux_selection ()
Defined at line 579 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
SelfType & set_final_mux_selection (FinalMuxSource val)
Defined at line 579 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
ClockSource branch1_mux_source ()
Defined at line 581 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
SelfType & set_branch1_mux_source (ClockSource val)
Defined at line 581 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 582 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
SelfType & set_branch1_mux_enabled (typename SelfType::ValueType val)
Defined at line 582 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 587 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 587 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
ClockSource branch0_mux_source ()
Defined at line 596 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
SelfType & set_branch0_mux_source (ClockSource val)
Defined at line 596 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 597 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
SelfType & set_branch0_mux_enabled (typename SelfType::ValueType val)
Defined at line 597 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 602 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 602 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
VpuClockCControl & SetBranch1MuxDivider (int divider)
Defined at line 605 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
int Branch1MuxDivider ()
Defined at line 611 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
VpuClockCControl & SetBranch0MuxDivider (int divider)
Defined at line 613 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
int Branch0MuxDivider ()
Defined at line 619 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
Enumerations
enum FinalMuxSource
| Name | Value |
|---|---|
| kBranch0 | 0 |
| kBranch1 | 1 |
Defined at line 558 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
enum ClockSource
| Name | Value |
|---|---|
| kFixed500Mhz | 0 |
| kFixed666Mhz | 1 |
| kFixed400Mhz | 2 |
| kFixed285_7Mhz | 3 |
| kMpll1 | 4 |
| kVideoPll | 5 |
| kMpll2 | 6 |
| kGeneralPurpose0Pll | 7 |
Defined at line 563 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h