Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/uwb/
Ddrp-ie.c126 struct uwb_ie_drp *drp_ie; in uwb_drp_ie_alloc() local
128 drp_ie = kzalloc(sizeof(struct uwb_ie_drp) + in uwb_drp_ie_alloc()
131 if (drp_ie) in uwb_drp_ie_alloc()
132 drp_ie->hdr.element_id = UWB_IE_DRP; in uwb_drp_ie_alloc()
133 return drp_ie; in uwb_drp_ie_alloc()
140 static void uwb_drp_ie_from_bm(struct uwb_ie_drp *drp_ie, in uwb_drp_ie_from_bm() argument
149 zones = drp_ie->allocs; in uwb_drp_ie_from_bm()
178 drp_ie->allocs[i].zone_bm = cpu_to_le16(zones[i].zone_bm); in uwb_drp_ie_from_bm()
179 drp_ie->allocs[i].mas_bm = cpu_to_le16(zones[i].mas_bm); in uwb_drp_ie_from_bm()
182 drp_ie->hdr.length = sizeof(struct uwb_ie_drp) - sizeof(struct uwb_ie_hdr) in uwb_drp_ie_from_bm()
[all …]
Ddrp.c113 if (rsv->drp_ie != NULL) { in uwb_rc_send_all_drp_ie()
114 num_bytes += rsv->drp_ie->hdr.length + 2; in uwb_rc_send_all_drp_ie()
139 if (rsv->drp_ie != NULL) { in uwb_rc_send_all_drp_ie()
140 memcpy(IEDataptr, rsv->drp_ie, in uwb_rc_send_all_drp_ie()
141 rsv->drp_ie->hdr.length + 2); in uwb_rc_send_all_drp_ie()
142 IEDataptr += rsv->drp_ie->hdr.length + 2; in uwb_rc_send_all_drp_ie()
250 static void handle_conflict_normal(struct uwb_ie_drp *drp_ie, in handle_conflict_normal() argument
260 action = evaluate_conflict_action(drp_ie, ext_beacon_slot, rsv, uwb_rsv_status(rsv)); in handle_conflict_normal()
293 static void handle_conflict_expanding(struct uwb_ie_drp *drp_ie, int ext_beacon_slot, in handle_conflict_expanding() argument
304 action = evaluate_conflict_action(drp_ie, ext_beacon_slot, rsv, 0); in handle_conflict_expanding()
[all …]
Drsv.c720 struct uwb_ie_drp *drp_ie) in uwb_rsv_match() argument
725 stream = uwb_ie_drp_stream_index(drp_ie); in uwb_rsv_match()
734 if (uwb_ie_drp_owner(drp_ie)) in uwb_rsv_match()
745 struct uwb_ie_drp *drp_ie) in uwb_rsv_new_target() argument
761 rsv->type = uwb_ie_drp_type(drp_ie); in uwb_rsv_new_target()
762 rsv->stream = uwb_ie_drp_stream_index(drp_ie); in uwb_rsv_new_target()
763 uwb_drp_ie_to_bm(&rsv->mas, drp_ie); in uwb_rsv_new_target()
820 struct uwb_ie_drp *drp_ie) in uwb_rsv_find() argument
825 if (uwb_rsv_match(rsv, src, drp_ie)) in uwb_rsv_find()
829 if (uwb_ie_drp_owner(drp_ie)) in uwb_rsv_find()
[all …]
Duwb-internal.h340 struct uwb_ie_drp *drp_ie);
345 void uwb_drp_ie_to_bm(struct uwb_mas_bm *bm, const struct uwb_ie_drp *drp_ie);
/Linux-v4.19/include/linux/
Duwb.h261 struct uwb_ie_drp *drp_ie; member