Home
last modified time | relevance | path

Searched refs:UWB_NUM_ZONES (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/staging/uwb/
Dallocator.c20 for (col = ci->csi.start_col; col < UWB_NUM_ZONES; col += ci->csi.interval) { in uwb_rsv_fill_column_alloc()
61 for (col = 0; col < UWB_NUM_ZONES; col++) { in uwb_rsv_fill_row_alloc()
62 if (bm[col * UWB_NUM_ZONES + mas] != UWB_RSV_MAS_NOT_AVAIL) { in uwb_rsv_fill_row_alloc()
63 bm[col * UWB_NUM_ZONES + mas] = c; in uwb_rsv_fill_row_alloc()
149 for (col = start_col; col < UWB_NUM_ZONES; col += interval) { in uwb_rsv_find_best_column_set()
185 ai->safe_allocated_mases = (UWB_NUM_ZONES / interval) * num_safe_mas; in uwb_rsv_find_best_column_set()
186 ai->unsafe_allocated_mases = (UWB_NUM_ZONES / interval) * num_unsafe_mas; in uwb_rsv_find_best_column_set()
202 for (col = 1; col < UWB_NUM_ZONES; col++) { in get_row_descriptors()
203 if (bm[col * UWB_NUM_ZONES + mas] == UWB_RSV_MAS_NOT_AVAIL) { in get_row_descriptors()
225 if (!bm[column * UWB_NUM_ZONES + mas]) { in uwb_rsv_fill_column_info()
[all …]
Ddrp-ie.c117 drp_ie = kzalloc(struct_size(drp_ie, allocs, UWB_NUM_ZONES), in uwb_drp_ie_alloc()
142 for (z = 0; z < UWB_NUM_ZONES; z++) { in uwb_drp_ie_from_bm()
264 set_bit(zone * UWB_NUM_ZONES + mas, bm->bm); in uwb_drp_ie_single_zone_to_bm()
298 for (zone = 0; zone < UWB_NUM_ZONES; zone++) { in uwb_drp_ie_to_bm()
Duwb-internal.h148 unsigned char bm[UWB_MAS_PER_ZONE * UWB_NUM_ZONES];
149 struct uwb_rsv_col_info ci[UWB_NUM_ZONES];
/Linux-v5.4/drivers/staging/uwb/include/
Dspec.h41 enum { UWB_NUM_ZONES = 16 }; enumerator
46 #define UWB_MAS_PER_ZONE (UWB_NUM_MAS / UWB_NUM_ZONES)
51 #define UWB_USABLE_MAS_PER_ROW (UWB_NUM_ZONES - 1)