| /system/dev/i2c/mt8167-i2c/ |
| A D | mt8167-i2c-regs.h | 17 static auto Get() { return hwreg::RegisterAddr<DataPortReg>(0x00); } in Get() 22 static auto Get() { return hwreg::RegisterAddr<SlaveAddrReg>(0x04); } in Get() 32 static auto Get() { return hwreg::RegisterAddr<IntrMaskReg>(0x08); } in Get() 42 static auto Get() { return hwreg::RegisterAddr<IntrStatReg>(0x0c); } in Get() 53 static auto Get() { return hwreg::RegisterAddr<ControlReg>(0x10); } in Get() 69 static auto Get() { return hwreg::RegisterAddr<DelayLenReg>(0x1c); } in Get() 78 static auto Get() { return hwreg::RegisterAddr<TimingReg>(0x20); } in Get() 87 static auto Get() { return hwreg::RegisterAddr<StartReg>(0x24); } in Get() 94 static auto Get() { return hwreg::RegisterAddr<ExtConfReg>(0x28); } in Get() 132 static auto Get() { return hwreg::RegisterAddr<DebugReg>(0x44); } in Get() [all …]
|
| /system/dev/lib/mt8167/include/soc/mt8167/ |
| A D | mt8167-usb.h | 16 static auto Get() { return hwreg::RegisterAddr<FADDR>(0x00); } in Get() 30 static auto Get() { return hwreg::RegisterAddr<POWER_PERI>(0x01); } in Get() 42 static auto Get() { return hwreg::RegisterAddr<POWER_HOST>(0x01); } in Get() 50 static auto Get() { return hwreg::RegisterAddr<INTRTX>(0x02); } in Get() 58 static auto Get() { return hwreg::RegisterAddr<INTRRX>(0x4); } in Get() 66 static auto Get() { return hwreg::RegisterAddr<INTRTXE>(0x06); } in Get() 74 static auto Get() { return hwreg::RegisterAddr<INTRRXE>(0x8); } in Get() 88 static auto Get() { return hwreg::RegisterAddr<INTRUSB>(0x0a); } in Get() 109 static auto Get() { return hwreg::RegisterAddr<FRAME>(0x0c); } in Get() 116 static auto Get() { return hwreg::RegisterAddr<INDEX>(0x0e); } in Get() [all …]
|
| A D | mt8167-usb-phy.h | 29 static auto Get() { return hwreg::RegisterAddr<USBPHYACR0>(0x00); } in Get() 41 static auto Get() { return hwreg::RegisterAddr<USBPHYACR1>(0x04); } in Get() 48 static auto Get() { return hwreg::RegisterAddr<USBPHYACR2>(0x08); } in Get() 61 static auto Get() { return hwreg::RegisterAddr<USBPHYACR4>(0x10); } in Get() 82 static auto Get() { return hwreg::RegisterAddr<USBPHYACR5>(0x14); } in Get() 99 static auto Get() { return hwreg::RegisterAddr<USBPHYACR6>(0x18); } in Get() 118 static auto Get() { return hwreg::RegisterAddr<U2PHYACR3>(0x1c); } in Get() 137 static auto Get() { return hwreg::RegisterAddr<U2PHYACR4>(0x20); } in Get() 169 static auto Get() { return hwreg::RegisterAddr<U2PHYDTM0>(0x68); } in Get() 195 static auto Get() { return hwreg::RegisterAddr<U2PHYDTM1>(0x6c); } in Get()
|
| /system/dev/display/intel-i915/ |
| A D | registers-transcoder.h | 133 hwreg::RegisterAddr<TransHVSync> HSync() { return GetReg<TransHVSync>(0x60008); } in HSync() 136 hwreg::RegisterAddr<TransHVSync> VSync() { return GetReg<TransHVSync>(0x60014); } in VSync() 137 hwreg::RegisterAddr<TransDdiFuncControl> DdiFuncControl() { in DdiFuncControl() 140 hwreg::RegisterAddr<TransConf> Conf() { return GetReg<TransConf>(0x70008); } in Conf() 142 hwreg::RegisterAddr<TransClockSelect> ClockSelect() { in ClockSelect() 145 return hwreg::RegisterAddr<TransClockSelect>(0x46140 + trans_ * 4); in ClockSelect() 147 hwreg::RegisterAddr<TransDataM> DataM() { return GetReg<TransDataM>(0x60030); } in DataM() 148 hwreg::RegisterAddr<TransDataN> DataN() { return GetReg<TransDataN>(0x60034); } in DataN() 149 hwreg::RegisterAddr<TransLinkM> LinkM() { return GetReg<TransLinkM>(0x60040); } in LinkM() 150 hwreg::RegisterAddr<TransLinkN> LinkN() { return GetReg<TransLinkN>(0x60044); } in LinkN() [all …]
|
| A D | registers.h | 42 static auto Get() { return hwreg::RegisterAddr<GmchGfxControl>(0); } in Get() 55 static auto Get() { return hwreg::RegisterAddr<BaseDsm>(0); } in Get() 78 static auto Get() { return hwreg::RegisterAddr<GMBus0>(0xc5100); } in Get() 92 static auto Get() { return hwreg::RegisterAddr<GMBus1>(0xc5104); } in Get() 103 static auto Get() { return hwreg::RegisterAddr<GMBus2>(0xc5108); } in Get() 109 static auto Get() { return hwreg::RegisterAddr<GMBus3>(0xc510c); } in Get() 117 static auto Get() { return hwreg::RegisterAddr<GMBus4>(0xc5110); } in Get() 198 static auto Get() { return hwreg::RegisterAddr<VgaCtl>(0x41000); } in Get() 218 return hwreg::RegisterAddr<GpioCtl>(0xc5020); in Get() 220 return hwreg::RegisterAddr<GpioCtl>(0xc501c); in Get() [all …]
|
| A D | registers-pipe.h | 342 hwreg::RegisterAddr<registers::PipeSourceSize> PipeSourceSize() { in PipeSourceSize() 372 return hwreg::RegisterAddr<registers::PlaneBufCfg>( in PlaneBufCfg() 377 return hwreg::RegisterAddr<PlaneWm>( in PlaneWatermark() 389 return hwreg::RegisterAddr<registers::PipeScalerCtrl>( in PipeScalerCtrl() 399 return hwreg::RegisterAddr<registers::PipeScalerWinSize>( in PipeScalerWinSize() 407 hwreg::RegisterAddr<registers::CursorBase> CursorBase() { in CursorBase() 411 hwreg::RegisterAddr<registers::CursorCtrl> CursorCtrl() { in CursorCtrl() 415 hwreg::RegisterAddr<registers::CursorPos> CursorPos() { in CursorPos() 429 hwreg::RegisterAddr<registers::CscMode> CscMode() { in CscMode() 440 template <class RegType> hwreg::RegisterAddr<RegType> GetReg() { in GetReg() [all …]
|
| A D | registers-ddi.h | 49 static auto Get(uint32_t offset) { return hwreg::RegisterAddr<SdeInterruptBase>(offset); } in Get() 71 return hwreg::RegisterAddr<HotplugCtrl>(ddi == DDI_E ? kOffset2 : kOffset); in Get() 105 static auto Get() { return hwreg::RegisterAddr<SouthFuseStrap>(0xc2014); } in Get() 146 static auto Get() { return hwreg::RegisterAddr<DisplayIoCtrlRegTxBmu>(0x6c00c); } in Get() 195 hwreg::RegisterAddr<registers::DdiBufControl> DdiBufControl() { in DdiBufControl() 198 hwreg::RegisterAddr<registers::DdiAuxControl> DdiAuxControl() { in DdiAuxControl() 202 hwreg::RegisterAddr<registers::DdiDpTransportControl> DdiDpTransportControl() { in DdiDpTransportControl() 205 hwreg::RegisterAddr<registers::DdiBufTransHi> DdiBufTransHi(int index) { in DdiBufTransHi() 208 hwreg::RegisterAddr<registers::DdiBufTransLo> DdiBufTransLo(int index) { in DdiBufTransLo() 213 template <class RegType> hwreg::RegisterAddr<RegType> GetReg() { in GetReg() [all …]
|
| A D | registers-dpll.h | 56 static auto Get() { return hwreg::RegisterAddr<DpllControl1>(0x6c058); } in Get() 77 static auto Get() { return hwreg::RegisterAddr<DpllControl2>(0x6c05c); } in Get() 89 return hwreg::RegisterAddr<DpllConfig1>(0x6c040 + ((dpll - 1) * 8)); in Get() 118 return hwreg::RegisterAddr<DpllConfig2>(0x6c044 + ((dpll - 1) * 8)); in Get() 130 return hwreg::RegisterAddr<DpllEnable>(0x46010); // LCPLL1_CTL in Get() 132 return hwreg::RegisterAddr<DpllEnable>(0x46014); // LCPLL2_CTL in Get() 134 return hwreg::RegisterAddr<DpllEnable>(0x46040); // WRPLL_CTL1 in Get() 136 return hwreg::RegisterAddr<DpllEnable>(0x46060); // WRPLL_CTL2 in Get() 150 static auto Get() { return hwreg::RegisterAddr<DpllStatus>(0x6c060); } in Get() 158 static auto Get() { return hwreg::RegisterAddr<Lcpll1Control>(0x46010); } in Get()
|
| A D | igd.cpp | 29 static auto Get() { return hwreg::RegisterAddr<GmchSwsciRegister>(0); } in Get() 48 static auto Get() { return hwreg::RegisterAddr<SciEntryParam>(0); } in Get() 62 static auto Get() { return hwreg::RegisterAddr<SciExitParam>(0); } in Get() 79 static auto Get() { return hwreg::RegisterAddr<GbdaSupportedCalls>(0); } in Get() 93 static auto Get() { return hwreg::RegisterAddr<GbdaPanelDetails>(0); } in Get()
|
| /system/dev/thermal/mtk-thermal/ |
| A D | mtk-thermal-reg.h | 23 static auto Get() { return hwreg::RegisterAddr<ArmPllCon1>(0x104); } in Get() 45 static auto Get() { return hwreg::RegisterAddr<PmicCmd>(0xa0); } in Get() 57 static auto Get() { return hwreg::RegisterAddr<PmicReadData>(0xa4); } in Get() 72 static auto Get() { return hwreg::RegisterAddr<TempMonCtl0>(0x00); } in Get() 105 static auto Get() { return hwreg::RegisterAddr<TempMonCtl1>(0x04); } in Get() 112 static auto Get() { return hwreg::RegisterAddr<TempMonCtl2>(0x08); } in Get() 120 static auto Get() { return hwreg::RegisterAddr<TempMsrCtl0>(0x38); } in Get() 137 static auto Get() { return hwreg::RegisterAddr<TempAhbPoll>(0x40); } in Get() 152 static auto Get() { return hwreg::RegisterAddr<TempAdcMux>(0x54); } in Get() 157 static auto Get() { return hwreg::RegisterAddr<TempAdcEn>(0x60); } in Get() [all …]
|
| /system/dev/block/mtk-sdmmc/ |
| A D | mtk-sdmmc-reg.h | 44 static auto Get() { return hwreg::RegisterAddr<MsdcCfg>(0x00); } in Get() 60 static auto Get() { return hwreg::RegisterAddr<MsdcIoCon>(0x04); } in Get() 70 static auto Get() { return hwreg::RegisterAddr<MsdcInt>(0x0c); } in Get() 93 static auto Get() { return hwreg::RegisterAddr<MsdcIntEn>(0x10); } in Get() 107 static auto Get() { return hwreg::RegisterAddr<MsdcFifoCs>(0x14); } in Get() 116 static auto Get() { return hwreg::RegisterAddr<MsdcRxData>(0x1c); } in Get() 130 static auto Get() { return hwreg::RegisterAddr<SdcCfg>(0x30); } in Get() 151 static auto Get() { return hwreg::RegisterAddr<SdcCmd>(0x34); } in Get() 207 static auto Get() { return hwreg::RegisterAddr<SdcArg>(0x38); } in Get() 269 static auto Get() { return hwreg::RegisterAddr<DmaCtrl>(0x98); } in Get() [all …]
|
| /system/dev/i2c/imx-i2c/ |
| A D | imx-i2c-regs.h | 15 static auto Get() { return hwreg::RegisterAddr<SlaveAddressReg>(0x0); } in Get() 21 static auto Get() { return hwreg::RegisterAddr<FreqReg>(0x4); } in Get() 32 static auto Get() { return hwreg::RegisterAddr<ControlReg>(0x8); } in Get() 44 static auto Get() { return hwreg::RegisterAddr<StatusReg>(0xC); } in Get() 51 static auto Get() { return hwreg::RegisterAddr<DataReg>(0x10); } in Get()
|
| /system/dev/thermal/aml-thermal-s905d2g/ |
| A D | aml-tsensor-regs.h | 75 static auto Get() { return hwreg::RegisterAddr<TsCfgReg1>(AML_TS_CFG_REG1); } in Get() 85 static auto Get() { return hwreg::RegisterAddr<TsCfgReg2>(AML_TS_CFG_REG2); } in Get() 93 static auto Get() { return hwreg::RegisterAddr<TsCfgReg4>(AML_TS_CFG_REG4); } in Get() 101 static auto Get() { return hwreg::RegisterAddr<TsCfgReg5>(AML_TS_CFG_REG5); } in Get() 109 static auto Get() { return hwreg::RegisterAddr<TsCfgReg6>(AML_TS_CFG_REG6); } in Get() 117 static auto Get() { return hwreg::RegisterAddr<TsCfgReg7>(AML_TS_CFG_REG7); } in Get() 124 static auto Get() { return hwreg::RegisterAddr<TsStat0>(AML_TS_STAT0); } in Get() 139 static auto Get() { return hwreg::RegisterAddr<TsStat1>(AML_TS_STAT1); } in Get()
|
| A D | hiu-registers.h | 29 static auto Get() { return hwreg::RegisterAddr<SysCpuClkControl0>(0x19C); } in Get()
|
| /system/dev/usb/dwc3/ |
| A D | dwc3-regs.h | 28 static auto Get() { return hwreg::RegisterAddr<GCTL>(0xc110); } in Get() 48 static auto Get() { return hwreg::RegisterAddr<GSTS>(0xc118); } in Get() 72 … static auto Get(uint32_t index) { return hwreg::RegisterAddr<GUSB2PHYCFG>(0xc118 + index * 0x4); } in Get() 110 static auto Get(uint32_t index) { return hwreg::RegisterAddr<GEVNTADR>(0xc400 + index * 0x10); } in Get() 118 static auto Get(uint32_t index) { return hwreg::RegisterAddr<GEVNTSIZ>(0xc408 + index * 0x10); } in Get() 139 static auto Get() { return hwreg::RegisterAddr<DCFG>(0xc700); } in Get() 164 static auto Get() { return hwreg::RegisterAddr<DCTL>(0xc704); } in Get() 184 static auto Get() { return hwreg::RegisterAddr<DEVTEN>(0xc708); } in Get() 200 static auto Get() { return hwreg::RegisterAddr<DSTS>(0xc70c); } in Get() 237 static auto Get() { return hwreg::RegisterAddr<DALEPENA>(0xc720); } in Get() [all …]
|
| /system/dev/display/vim-display/ |
| A D | registers.h | 156 template <class RegType> hwreg::RegisterAddr<RegType> GetReg() { in GetReg() 157 return hwreg::RegisterAddr<RegType>((RegType::kBaseAddr + 0x20 * index_) * 4); in GetReg() 164 static auto Get() { return hwreg::RegisterAddr<VpuVppMisc>(0x1d26 * 4); } in Get() 174 static auto Get() { return hwreg::RegisterAddr<VpuVppOsdScCtrl0>(0x1dc8 * 4); } in Get() 189 static auto Get() { return hwreg::RegisterAddr<VpuVppOsdScoHStartEnd>(0x1dca * 4); } in Get() 203 static auto Get() { return hwreg::RegisterAddr<VpuVppOsdSciWhM1>(0x1dc9 * 4); } in Get() 210 static auto Get() { return hwreg::RegisterAddr<VpuVppPostblendHSize>(0x1d21 * 4); } in Get() 329 hwreg::RegisterAddr<RegType> GetReg() { in GetReg() 330 return hwreg::RegisterAddr<RegType>((RegType::kBaseAddr + 0x20 * index_) * 4); in GetReg() 334 hwreg::RegisterAddr<RegType> GetRegNonstandard() { in GetRegNonstandard() [all …]
|
| /system/dev/serial/aml-uart/ |
| A D | registers.h | 50 static auto Get() { return hwreg::RegisterAddr<Control>(0x8); } in Get() 69 static auto Get() { return hwreg::RegisterAddr<Status>(0xC); } in Get() 77 static auto Get() { return hwreg::RegisterAddr<Misc>(0x10); } in Get() 87 static auto Get() { return hwreg::RegisterAddr<Reg5>(0x14); } in Get()
|
| /system/utest/libhwreg/ |
| A D | bitfields-test.cpp | 27 static auto Get() { return hwreg::RegisterAddr<TestReg32>(0); } in compilation_test() 154 static auto Get() { return hwreg::RegisterAddr<TestReg8>(0); } in reg_rsvdz_test() 160 static auto Get() { return hwreg::RegisterAddr<TestReg16>(0); } in reg_rsvdz_test() 168 static auto Get() { return hwreg::RegisterAddr<TestReg32>(0); } in reg_rsvdz_test() 175 static auto Get() { return hwreg::RegisterAddr<TestReg64>(0); } in reg_rsvdz_test() 222 static auto Get() { return hwreg::RegisterAddr<TestReg8>(0); } in reg_rsvdz_full_test() 228 static auto Get() { return hwreg::RegisterAddr<TestReg16>(0); } in reg_rsvdz_full_test() 234 static auto Get() { return hwreg::RegisterAddr<TestReg32>(0); } in reg_rsvdz_full_test() 288 static auto Get() { return hwreg::RegisterAddr<TestReg8>(0); } in reg_field_test() 393 static auto Get() { return hwreg::RegisterAddr<TestReg>(0); } in print_test() [all …]
|
| /system/dev/pci/amlogic-pcie/ |
| A D | aml-pcie-clk.cpp | 46 static auto Get() {return hwreg::RegisterAddr<MesonPLLControl0>(PCIE_PLL_CNTL0); } in Get() 65 static auto Get() {return hwreg::RegisterAddr<MesonPLLControl1>(PCIE_PLL_CNTL1); } in Get() 75 static auto Get() { return hwreg::RegisterAddr<MesonPLLControl6>(PCIE_PLL_CNTL6); } in Get()
|
| A D | aml-pcie-regs.h | 84 static auto Get() {return hwreg::RegisterAddr<PciBusReg>(PCIE_HEADER_BUS_REG_OFF); } in Get()
|
| /system/dev/board/mt8167s_ref/ |
| A D | mt8167-touch.cpp | 35 static auto Get() { return hwreg::RegisterAddr<PmicCmd>(0xa0 + kPmicOffset); } in Get() 46 static auto Get() { return hwreg::RegisterAddr<PmicReadData>(0xa4 + kPmicOffset); } in Get()
|
| A D | mt8167-sdio.cpp | 43 static auto Get() { return hwreg::RegisterAddr<PuPdCtrl4>(kGpioOffset); } in Get() 57 static auto Get() { return hwreg::RegisterAddr<PuPdCtrl5>(kGpioOffset + 0x10); } in Get()
|
| A D | mt8167-emmc.cpp | 46 static auto Get() { return hwreg::RegisterAddr<ClkMuxSel0>(kClkOffset); } in Get() 61 static auto Get() { return hwreg::RegisterAddr<MmPllCon1>(kPllOffset + 0x164); } in Get()
|
| /system/dev/pci/designware/ |
| A D | dw-pcie-hw.h | 21 static auto Get() {return hwreg::RegisterAddr<DebugR1>(DebugR1Offset); } in Get()
|
| /system/ulib/hwreg/include/hwreg/ |
| A D | bitfields.h | 183 template <class RegType> class RegisterAddr { 185 RegisterAddr(uint32_t reg_addr) : reg_addr_(reg_addr) {} in RegisterAddr() function
|