Searched refs:REG_RD (Results 1 – 11 of 11) sorted by relevance
| /system/dev/audio/intel-hda/controller/ |
| A D | debug.cpp | 46 out_regs.gcap = REG_RD(®s()->gcap); in SnapshotRegs() 47 out_regs.vmin = REG_RD(®s()->vmin); in SnapshotRegs() 48 out_regs.vmaj = REG_RD(®s()->vmaj); in SnapshotRegs() 81 uint16_t gcap = REG_RD(®s()->gcap); in SnapshotRegs() 91 sout.lpib = REG_RD(&sin.lpib); in SnapshotRegs() 92 sout.cbl = REG_RD(&sin.cbl); in SnapshotRegs() 93 sout.lvi = REG_RD(&sin.lvi); in SnapshotRegs() 94 sout.fifod = REG_RD(&sin.fifod); in SnapshotRegs() 95 sout.fmt = REG_RD(&sin.fmt); in SnapshotRegs() 96 sout.bdpl = REG_RD(&sin.bdpl); in SnapshotRegs() [all …]
|
| A D | intel-hda-irq.cpp | 38 uint8_t rirbsts = REG_RD(®s()->rirbsts); in SnapshotRIRB() 40 unsigned int rirb_wr_ptr = REG_RD(®s()->rirbwp) & rirb_mask_; in SnapshotRIRB() 230 uint8_t corbsts = REG_RD(®s()->corbsts); in ProcessCORB() 273 ZX_DEBUG_ASSERT(corb_wr_ptr_ == REG_RD(®s()->corbwp)); in ComputeCORBSpaceLocked() 275 unsigned int corb_rd_ptr = REG_RD(®s()->corbrp) & corb_mask_; in ComputeCORBSpaceLocked() 310 uint16_t statests = REG_RD(®s()->statests) & HDA_REG_STATESTS_MASK; in ProcessControllerIRQ() 353 uint32_t intsts = REG_RD(®s()->intsts); in HandleIrq()
|
| A D | intel-hda-controller-init.cpp | 40 if (REG_RD(®s()->gctl) & HDA_REG_GCTL_HWINIT) { in ResetControllerHW() 47 uint16_t gcap = REG_RD(®s()->gcap); in ResetControllerHW() 77 return (REG_RD(®s()->gctl) & HDA_REG_GCTL_HWINIT) == 0; in ResetControllerHW() 95 return (REG_RD(®s()->gctl) & HDA_REG_GCTL_HWINIT) != 0; in ResetControllerHW() 295 gcap = REG_RD(®s()->gcap); in SetupStreamDescriptors() 338 uint8_t tmp = REG_RD(size_reg); in SetupCommandBufferSize() 445 bool gcap_64bit_ok = HDA_REG_GCAP_64OK(REG_RD(®s()->gcap)); in SetupCommandBuffer() 509 uint32_t offset = REG_RD(®s()->llch); in ProbeAudioDSP() 523 cap = REG_RD(&pp_regs->ppch); in ProbeAudioDSP() 590 major = REG_RD(®s()->vmaj); in InitInternal() [all …]
|
| A D | intel-hda-stream.cpp | 132 if (REG_RD(®s->ctl_sts.w) & HDA_SD_REG_CTRL_RUN) { in Reset() 145 auto val = REG_RD(®s->ctl_sts.w); in Reset() 164 auto val = REG_RD(®s->ctl_sts.w); in Reset() 227 fifo_depth_ = REG_RD(®s_->fifod); in SetStreamFormat() 330 uint8_t sts = REG_RD(®s_->ctl_sts.b.sts); in ProcessStreamIRQ() 355 msg.ring_buffer_pos = REG_RD(®s_->lpib); in ProcessStreamIRQ()
|
| A D | intel-hda-controller.cpp | 287 resp.ihda_vmaj = REG_RD(®s()->vmaj); in ProcessClientRequest() 288 resp.ihda_vmin = REG_RD(®s()->vmin); in ProcessClientRequest()
|
| A D | intel-hda-dsp.cpp | 173 uint32_t ppsts = REG_RD(&pp_regs()->ppsts); in ProcessIRQ()
|
| /system/dev/audio/intel-hda/dsp/ |
| A D | debug.cpp | 10 LOG(INFO, "ADSPCS 0x%08x\n", REG_RD(®s()->adspcs)); in DumpRegs() 11 LOG(INFO, "ADSPIC 0x%08x\n", REG_RD(®s()->adspic)); in DumpRegs() 12 LOG(INFO, "ADSPIS 0x%08x\n", REG_RD(®s()->adspis)); in DumpRegs() 13 LOG(INFO, "ADSPIC2 0x%08x\n", REG_RD(®s()->adspic2)); in DumpRegs() 14 LOG(INFO, "ADSPIS2 0x%08x\n", REG_RD(®s()->adspis2)); in DumpRegs() 15 LOG(INFO, "HIPCT 0x%08x\n", REG_RD(®s()->hipct)); in DumpRegs() 16 LOG(INFO, "HIPCTE 0x%08x\n", REG_RD(®s()->hipcte)); in DumpRegs() 17 LOG(INFO, "HIPCI 0x%08x\n", REG_RD(®s()->hipci)); in DumpRegs() 18 LOG(INFO, "HIPCIE 0x%08x\n", REG_RD(®s()->hipcie)); in DumpRegs() 19 LOG(INFO, "HIPCCTL 0x%08x\n", REG_RD(®s()->hipcctl)); in DumpRegs() [all …]
|
| A D | intel-dsp-code-loader.cpp | 27 LOG(INFO, "CTL_STS=0x%08x\n", REG_RD(®s_->stream.ctl_sts.w)); in DumpRegisters() 28 LOG(INFO, " LPIB=0x%08x\n", REG_RD(®s_->stream.lpib)); in DumpRegisters() 29 LOG(INFO, " CBL=0x%08x\n", REG_RD(®s_->stream.cbl)); in DumpRegisters() 30 LOG(INFO, " LVI=0x%04x\n", REG_RD(®s_->stream.lvi)); in DumpRegisters() 31 LOG(INFO, " FIFOD=0x%04x\n", REG_RD(®s_->stream.fifod)); in DumpRegisters() 32 LOG(INFO, " FMT=0x%04x\n", REG_RD(®s_->stream.fmt)); in DumpRegisters() 33 LOG(INFO, " BDPL=0x%08x\n", REG_RD(®s_->stream.bdpl)); in DumpRegisters() 34 LOG(INFO, " BDPU=0x%08x\n", REG_RD(®s_->stream.bdpu)); in DumpRegisters() 35 LOG(INFO, " SPBFCH=0x%08x\n", REG_RD(®s_->spbfch)); in DumpRegisters() 36 LOG(INFO, "SPBFCTL=0x%08x\n", REG_RD(®s_->spbfctl)); in DumpRegisters() [all …]
|
| A D | intel-audio-dsp.cpp | 556 return ((REG_RD(&fw_regs()->fw_status) & in LoadFirmware() 562 st, REG_RD(&fw_regs()->fw_status)); in LoadFirmware() 575 st, REG_RD(&fw_regs()->fw_status)); in LoadFirmware() 592 uint32_t val = REG_RD(®s()->adspcs); in IsCoreEnabled() 611 return (REG_RD(®s()->adspcs) & in ResetCore() 621 return (REG_RD(®s()->adspcs) & in UnResetCore() 631 return (REG_RD(®s()->adspcs) & in PowerDownCore() 655 uint32_t adspis = REG_RD(®s()->adspis); in ProcessIrq() 658 uint32_t w = REG_RD(®s()->cldma.stream.ctl_sts.w); in ProcessIrq() 662 IpcMessage message(REG_RD(®s()->hipct), REG_RD(®s()->hipcte)); in ProcessIrq() [all …]
|
| /system/ulib/intel-hda/include/intel-hda/utils/ |
| A D | intel-hda-registers.h | 357 static inline T REG_RD(const T* reg) { in REG_RD() function 370 REG_WR(reg, static_cast<T>((REG_RD(reg) & ~clr_bits) | set_bits)); in REG_MOD()
|
| /system/uapp/ihda/ |
| A D | intel_hda_controller.cpp | 180 uint16_t gcap = REG_RD(®s.gcap); in DumpRegs()
|
Completed in 22 milliseconds