Searched refs:hal2_write (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/sound/mips/ |
H A D | hal2.c | 110 static inline void hal2_write(u32 val, u32 *reg) hal2_write() function 121 hal2_write(H2_READ_ADDR(addr), ®s->iar); hal2_i_read32() 124 hal2_write(H2_READ_ADDR(addr) | 0x1, ®s->iar); hal2_i_read32() 134 hal2_write(val, ®s->idr0); hal2_i_write16() 135 hal2_write(0, ®s->idr1); hal2_i_write16() 136 hal2_write(0, ®s->idr2); hal2_i_write16() 137 hal2_write(0, ®s->idr3); hal2_i_write16() 138 hal2_write(H2_WRITE_ADDR(addr), ®s->iar); hal2_i_write16() 146 hal2_write(val & 0xffff, ®s->idr0); hal2_i_write32() 147 hal2_write(val >> 16, ®s->idr1); hal2_i_write32() 148 hal2_write(0, ®s->idr2); hal2_i_write32() 149 hal2_write(0, ®s->idr3); hal2_i_write32() 150 hal2_write(H2_WRITE_ADDR(addr), ®s->iar); hal2_i_write32() 158 hal2_write(H2_READ_ADDR(addr), ®s->iar); hal2_i_setbit16() 160 hal2_write((hal2_read(®s->idr0) & 0xffff) | bit, ®s->idr0); hal2_i_setbit16() 161 hal2_write(0, ®s->idr1); hal2_i_setbit16() 162 hal2_write(0, ®s->idr2); hal2_i_setbit16() 163 hal2_write(0, ®s->idr3); hal2_i_setbit16() 164 hal2_write(H2_WRITE_ADDR(addr), ®s->iar); hal2_i_setbit16() 172 hal2_write(H2_READ_ADDR(addr), ®s->iar); hal2_i_clearbit16() 174 hal2_write((hal2_read(®s->idr0) & 0xffff) & ~bit, ®s->idr0); hal2_i_clearbit16() 175 hal2_write(0, ®s->idr1); hal2_i_clearbit16() 176 hal2_write(0, ®s->idr2); hal2_i_clearbit16() 177 hal2_write(0, ®s->idr3); hal2_i_clearbit16() 178 hal2_write(H2_WRITE_ADDR(addr), ®s->iar); hal2_i_clearbit16() 787 hal2_write(0, &hal2->ctl_regs->isr); hal2_detect() 790 hal2_write(H2_ISR_GLOBAL_RESET_N | H2_ISR_CODEC_RESET_N, hal2_detect()
|
Completed in 129 milliseconds