Lines Matching refs:mas
26 int col, mas, safe_mas, unsafe_mas; in uwb_rsv_fill_column_alloc() local
36 for (mas = 0; mas < UWB_MAS_PER_ZONE; mas++ ) { in uwb_rsv_fill_column_alloc()
37 if (bm[col * UWB_MAS_PER_ZONE + mas] == 0) { in uwb_rsv_fill_column_alloc()
48 bm[col * UWB_MAS_PER_ZONE + mas] = c; in uwb_rsv_fill_column_alloc()
56 int mas, col, rows; in uwb_rsv_fill_row_alloc() local
63 for (mas = UWB_MAS_PER_ZONE - 1; mas >= 0; mas--) { in uwb_rsv_fill_row_alloc()
64 if (ri->avail[mas] == 1) { in uwb_rsv_fill_row_alloc()
73 if (bm[col * UWB_NUM_ZONES + mas] != UWB_RSV_MAS_NOT_AVAIL) { in uwb_rsv_fill_row_alloc()
74 bm[col * UWB_NUM_ZONES + mas] = c; in uwb_rsv_fill_row_alloc()
208 int col, mas; in get_row_descriptors() local
211 for (mas = 0; mas < UWB_MAS_PER_ZONE; mas ++) { in get_row_descriptors()
212 ri->avail[mas] = 1; in get_row_descriptors()
214 if (bm[col * UWB_NUM_ZONES + mas] == UWB_RSV_MAS_NOT_AVAIL) { in get_row_descriptors()
216 ri->avail[mas]=0; in get_row_descriptors()
225 int mas; in uwb_rsv_fill_column_info() local
235 for (mas = 0; mas < UWB_MAS_PER_ZONE; mas ++) { in uwb_rsv_fill_column_info()
236 if (!bm[column * UWB_NUM_ZONES + mas]) { in uwb_rsv_fill_column_info()
240 rci->highest_mas[available] = mas; in uwb_rsv_fill_column_info()
249 start_block = mas; in uwb_rsv_fill_column_info()