Searched refs:hal2_read (Results 1 – 1 of 1) sorted by relevance
87 #define H2_INDIRECT_WAIT(regs) while (hal2_read(®s->isr) & H2_ISR_TSTATUS);92 static inline u32 hal2_read(u32 *reg) in hal2_read() function110 ret = hal2_read(®s->idr0) & 0xffff; in hal2_i_read32()113 ret |= (hal2_read(®s->idr0) & 0xffff) << 16; in hal2_i_read32()147 hal2_write((hal2_read(®s->idr0) & 0xffff) | bit, ®s->idr0); in hal2_i_setbit16()161 hal2_write((hal2_read(®s->idr0) & 0xffff) & ~bit, ®s->idr0); in hal2_i_clearbit16()756 rev = hal2_read(&hal2->ctl_regs->rev); in hal2_detect()