Home
last modified time | relevance | path

Searched refs:hal2_read (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/sound/mips/
Dhal2.c87 #define H2_INDIRECT_WAIT(regs) while (hal2_read(&regs->isr) & H2_ISR_TSTATUS);
92 static inline u32 hal2_read(u32 *reg) in hal2_read() function
110 ret = hal2_read(&regs->idr0) & 0xffff; in hal2_i_read32()
113 ret |= (hal2_read(&regs->idr0) & 0xffff) << 16; in hal2_i_read32()
147 hal2_write((hal2_read(&regs->idr0) & 0xffff) | bit, &regs->idr0); in hal2_i_setbit16()
161 hal2_write((hal2_read(&regs->idr0) & 0xffff) & ~bit, &regs->idr0); in hal2_i_clearbit16()
756 rev = hal2_read(&hal2->ctl_regs->rev); in hal2_detect()