Home
last modified time | relevance | path

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

/Linux-v6.6/sound/mips/
Dhal2.c97 static inline void hal2_write(u32 val, u32 *reg) in hal2_write() function
108 hal2_write(H2_READ_ADDR(addr), &regs->iar); in hal2_i_read32()
111 hal2_write(H2_READ_ADDR(addr) | 0x1, &regs->iar); in hal2_i_read32()
121 hal2_write(val, &regs->idr0); in hal2_i_write16()
122 hal2_write(0, &regs->idr1); in hal2_i_write16()
123 hal2_write(0, &regs->idr2); in hal2_i_write16()
124 hal2_write(0, &regs->idr3); in hal2_i_write16()
125 hal2_write(H2_WRITE_ADDR(addr), &regs->iar); in hal2_i_write16()
133 hal2_write(val & 0xffff, &regs->idr0); in hal2_i_write32()
134 hal2_write(val >> 16, &regs->idr1); in hal2_i_write32()
[all …]