Lines Matching refs:val
431 ai_write_wrap_reg(si_t *sih, uint32 offset, uint32 val) in ai_write_wrap_reg() argument
435 W_REG(sii->osh, (uint32 *)((uint8 *)ai+offset), val); in ai_write_wrap_reg()
484 ai_corereg(si_t *sih, uint coreidx, uint regoff, uint mask, uint val) in ai_corereg() argument
497 ASSERT((val & ~mask) == 0); in ai_corereg()
548 if (mask || val) { in ai_corereg()
549 w = (R_REG(sii->osh, r) & ~mask) | val; in ai_corereg()
627 ai_core_cflags_wo(si_t *sih, uint32 mask, uint32 val) in ai_core_cflags_wo() argument
637 ASSERT((val & ~mask) == 0); in ai_core_cflags_wo()
639 if (mask || val) { in ai_core_cflags_wo()
640 w = ((R_REG(sii->osh, &ai->ioctrl) & ~mask) | val); in ai_core_cflags_wo()
646 ai_core_cflags(si_t *sih, uint32 mask, uint32 val) in ai_core_cflags() argument
656 ASSERT((val & ~mask) == 0); in ai_core_cflags()
658 if (mask || val) { in ai_core_cflags()
659 w = ((R_REG(sii->osh, &ai->ioctrl) & ~mask) | val); in ai_core_cflags()
667 ai_core_sflags(si_t *sih, uint32 mask, uint32 val) in ai_core_sflags() argument
677 ASSERT((val & ~mask) == 0); in ai_core_sflags()
680 if (mask || val) { in ai_core_sflags()
681 w = ((R_REG(sii->osh, &ai->iostatus) & ~mask) | val); in ai_core_sflags()