class DdiAuxData
Defined at line 712 of file ../../src/graphics/display/drivers/intel-display/registers-ddi.h
DDI_AUX_DATA (DDI AUX Channel Data)
Each DDI has 5 instances of the DDI_AUX_DATA register, making up a 20-byte
buffer for storing AUX messages. The MMIO addresses for the 5 instances are
consecutive.
Tiger Lake: IHD-OS-TGL-Vol2c-12.21 Part 1 pages 346-351
DG1: IHD-OS-DG1-Vol 2c-2.21 Part 1 pages 324-330
Kaby Lake: IHD-OS-KBL-Vol 2c-1.17 Part 1 page 439
Skylake: IHD-OS-SKL-Vol 2c-05.16 Part 1 page 435
Public Members
field_swapped_bytes_721
Public Methods
template <, >
SelfType & set_swapped_bytes (typename SelfType::ValueType val)
The most significant byte in each 32-bit register gets transmitted first.
Intel machines are little-endian, so the transmission order doesn't match
the memory order. The `swapped_` part of the name aims to draw attention
to this subtlety.
The value is not meaningful while the corresponding DDI_AUX_CTL register's
`transaction_in_progress` field is true.
Defined at line 721 of file ../../src/graphics/display/drivers/intel-display/registers-ddi.h
template <, >
typename SelfType::ValueType swapped_bytes ()
The most significant byte in each 32-bit register gets transmitted first.
Intel machines are little-endian, so the transmission order doesn't match
the memory order. The `swapped_` part of the name aims to draw attention
to this subtlety.
The value is not meaningful while the corresponding DDI_AUX_CTL register's
`transaction_in_progress` field is true.
Defined at line 721 of file ../../src/graphics/display/drivers/intel-display/registers-ddi.h
hwreg::RegisterAddr<DdiAuxData> GetData0ForAuxControl (const DdiAuxControl & aux_control)
DDI_AUX_DATA_*_0 for the AUX channel with the given control register.
The DDI_AUX_DATA_*_[1-4] data registers are accessed using direct MMIO
operations.
We can get away with using DDI_AUX_CTL as the input because all DDI AUX
channels currently have the same MMIO layout. When this isn't the case
anymore, we'll replace this factory function with GetFor*Ddi() functions,
matching DdiAuxControl.
Defined at line 732 of file ../../src/graphics/display/drivers/intel-display/registers-ddi.h