Lines Matching refs:hwid
420 int hwid = KAIF_WPPRIV2ID(wp); in kaif_wapt_arm() local
422 ASSERT(BT_TEST(&kaif_waptmap, hwid)); in kaif_wapt_arm()
433 kaif_drreg.dr_addr[hwid] = wp->wp_addr; in kaif_wapt_arm()
435 kaif_drreg.dr_ctl &= ~KREG_DRCTL_WP_MASK(hwid); in kaif_wapt_arm()
436 kaif_drreg.dr_ctl |= KREG_DRCTL_WP_LENRW(hwid, wp->wp_size - 1, rw); in kaif_wapt_arm()
437 kaif_drreg.dr_ctl |= KREG_DRCTL_WPEN(hwid); in kaif_wapt_arm()
445 int hwid = KAIF_WPPRIV2ID(wp); in kaif_wapt_disarm() local
447 ASSERT(BT_TEST(&kaif_waptmap, hwid)); in kaif_wapt_disarm()
449 kaif_drreg.dr_addr[hwid] = 0; in kaif_wapt_disarm()
450 kaif_drreg.dr_ctl &= ~(KREG_DRCTL_WP_MASK(hwid) | in kaif_wapt_disarm()
451 KREG_DRCTL_WPEN_MASK(hwid)); in kaif_wapt_disarm()
459 int hwid = KAIF_WPPRIV2ID(wp); in kaif_wapt_match() local
460 uint32_t mask = KREG_DRSTAT_WP_MASK(hwid); in kaif_wapt_match()
464 ASSERT(BT_TEST(&kaif_waptmap, hwid)); in kaif_wapt_match()