Home
last modified time | relevance | path

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

/linux-3.4.99/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()
134 return drp_ie; in uwb_drp_ie_alloc()
141 static void uwb_drp_ie_from_bm(struct uwb_ie_drp *drp_ie, in uwb_drp_ie_from_bm() argument
150 zones = drp_ie->allocs; in uwb_drp_ie_from_bm()
179 drp_ie->allocs[i].zone_bm = cpu_to_le16(zones[i].zone_bm); in uwb_drp_ie_from_bm()
180 drp_ie->allocs[i].mas_bm = cpu_to_le16(zones[i].mas_bm); in uwb_drp_ie_from_bm()
183 drp_ie->hdr.length = sizeof(struct uwb_ie_drp) - sizeof(struct uwb_ie_hdr) in uwb_drp_ie_from_bm()
[all …]
Ddrp.c112 if (rsv->drp_ie != NULL) { in uwb_rc_send_all_drp_ie()
113 num_bytes += rsv->drp_ie->hdr.length + 2; in uwb_rc_send_all_drp_ie()
137 if (rsv->drp_ie != NULL) { in uwb_rc_send_all_drp_ie()
138 memcpy(IEDataptr, rsv->drp_ie, in uwb_rc_send_all_drp_ie()
139 rsv->drp_ie->hdr.length + 2); in uwb_rc_send_all_drp_ie()
140 IEDataptr += rsv->drp_ie->hdr.length + 2; in uwb_rc_send_all_drp_ie()
246 static void handle_conflict_normal(struct uwb_ie_drp *drp_ie, in handle_conflict_normal() argument
256 action = evaluate_conflict_action(drp_ie, ext_beacon_slot, rsv, uwb_rsv_status(rsv)); in handle_conflict_normal()
289 static void handle_conflict_expanding(struct uwb_ie_drp *drp_ie, int ext_beacon_slot, in handle_conflict_expanding() argument
300 action = evaluate_conflict_action(drp_ie, ext_beacon_slot, rsv, 0); in handle_conflict_expanding()
[all …]
Drsv.c707 struct uwb_ie_drp *drp_ie) in uwb_rsv_match() argument
712 stream = uwb_ie_drp_stream_index(drp_ie); in uwb_rsv_match()
721 if (uwb_ie_drp_owner(drp_ie)) in uwb_rsv_match()
732 struct uwb_ie_drp *drp_ie) in uwb_rsv_new_target() argument
748 rsv->type = uwb_ie_drp_type(drp_ie); in uwb_rsv_new_target()
749 rsv->stream = uwb_ie_drp_stream_index(drp_ie); in uwb_rsv_new_target()
750 uwb_drp_ie_to_bm(&rsv->mas, drp_ie); in uwb_rsv_new_target()
807 struct uwb_ie_drp *drp_ie) in uwb_rsv_find() argument
812 if (uwb_rsv_match(rsv, src, drp_ie)) in uwb_rsv_find()
816 if (uwb_ie_drp_owner(drp_ie)) in uwb_rsv_find()
[all …]
Duwb-internal.h337 struct uwb_ie_drp *drp_ie);
342 void uwb_drp_ie_to_bm(struct uwb_mas_bm *bm, const struct uwb_ie_drp *drp_ie);
/linux-3.4.99/include/linux/
Duwb.h261 struct uwb_ie_drp *drp_ie; member