Lines Matching refs:drp_avail
51 bitmap_fill(rc->drp_avail.global, UWB_NUM_MAS); in uwb_drp_avail_init()
52 bitmap_fill(rc->drp_avail.local, UWB_NUM_MAS); in uwb_drp_avail_init()
53 bitmap_fill(rc->drp_avail.pending, UWB_NUM_MAS); in uwb_drp_avail_init()
63 bitmap_and(avail->bm, rc->drp_avail.global, rc->drp_avail.local, UWB_NUM_MAS); in uwb_drp_available()
64 bitmap_and(avail->bm, avail->bm, rc->drp_avail.pending, UWB_NUM_MAS); in uwb_drp_available()
82 bitmap_andnot(rc->drp_avail.pending, rc->drp_avail.pending, mas->bm, UWB_NUM_MAS); in uwb_drp_avail_reserve_pending()
93 bitmap_or(rc->drp_avail.pending, rc->drp_avail.pending, mas->bm, UWB_NUM_MAS); in uwb_drp_avail_reserve()
94 bitmap_andnot(rc->drp_avail.local, rc->drp_avail.local, mas->bm, UWB_NUM_MAS); in uwb_drp_avail_reserve()
95 rc->drp_avail.ie_valid = false; in uwb_drp_avail_reserve()
105 bitmap_or(rc->drp_avail.local, rc->drp_avail.local, mas->bm, UWB_NUM_MAS); in uwb_drp_avail_release()
106 bitmap_or(rc->drp_avail.pending, rc->drp_avail.pending, mas->bm, UWB_NUM_MAS); in uwb_drp_avail_release()
107 rc->drp_avail.ie_valid = false; in uwb_drp_avail_release()
121 bitmap_and(avail.bm, rc->drp_avail.global, rc->drp_avail.local, UWB_NUM_MAS); in uwb_drp_avail_ie_update()
123 rc->drp_avail.ie.hdr.element_id = UWB_IE_DRP_AVAILABILITY; in uwb_drp_avail_ie_update()
124 rc->drp_avail.ie.hdr.length = UWB_NUM_MAS / 8; in uwb_drp_avail_ie_update()
125 uwb_mas_bm_copy_le(rc->drp_avail.ie.bmp, &avail); in uwb_drp_avail_ie_update()
126 rc->drp_avail.ie_valid = true; in uwb_drp_avail_ie_update()
282 bitmap_copy(rc->drp_avail.global, bmp, UWB_NUM_MAS); in uwbd_evt_handle_rc_drp_avail()
283 rc->drp_avail.ie_valid = false; in uwbd_evt_handle_rc_drp_avail()