/Linux-v4.19/drivers/uwb/ |
D | allocator.c | 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 [all …]
|
D | drp.c | 275 bitmap_and(mv->companion_mas.bm, rsv->mas.bm, conflicting_mas->bm, UWB_NUM_MAS); in handle_conflict_normal() 335 bitmap_andnot(mv->companion_mas.bm, rsv->mas.bm, in handle_conflict_expanding() 355 if (bitmap_intersects(rsv->mas.bm, conflicting_mas->bm, in uwb_drp_handle_conflict_rsv() 368 } else if (bitmap_intersects(rsv->mas.bm, conflicting_mas->bm, in uwb_drp_handle_conflict_rsv() 390 struct uwb_ie_drp *drp_ie, struct uwb_mas_bm *mas) in uwb_drp_process_target_accepted() argument 404 if (!bitmap_equal(rsv->mas.bm, mas->bm, UWB_NUM_MAS)) { in uwb_drp_process_target_accepted() 410 if (!bitmap_equal(rsv->mas.bm, mas->bm, UWB_NUM_MAS)) { in uwb_drp_process_target_accepted() 411 if (uwb_drp_avail_reserve_pending(rc, mas) == -EBUSY) { in uwb_drp_process_target_accepted() 418 drp_ie, mas); in uwb_drp_process_target_accepted() 421 bitmap_copy(mv->companion_mas.bm, mas->bm, in uwb_drp_process_target_accepted() [all …]
|
D | drp-avail.c | 74 int uwb_drp_avail_reserve_pending(struct uwb_rc *rc, struct uwb_mas_bm *mas) in uwb_drp_avail_reserve_pending() argument 79 if (!bitmap_subset(mas->bm, avail.bm, UWB_NUM_MAS)) in uwb_drp_avail_reserve_pending() 82 bitmap_andnot(rc->drp_avail.pending, rc->drp_avail.pending, mas->bm, UWB_NUM_MAS); in uwb_drp_avail_reserve_pending() 91 void uwb_drp_avail_reserve(struct uwb_rc *rc, struct uwb_mas_bm *mas) in uwb_drp_avail_reserve() argument 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() 103 void uwb_drp_avail_release(struct uwb_rc *rc, struct uwb_mas_bm *mas) in uwb_drp_avail_release() argument 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()
|
D | rsv.c | 340 bitmap_andnot(rsv->mas.bm, rsv->mas.bm, mv->companion_mas.bm, UWB_NUM_MAS); in uwb_rsv_set_state() 349 uwb_drp_avail_reserve(rsv->rc, &rsv->mas); in uwb_rsv_set_state() 360 bitmap_or(rsv->mas.bm, rsv->mas.bm, mv->companion_mas.bm, UWB_NUM_MAS); in uwb_rsv_set_state() 361 rsv->mas.safe += mv->companion_mas.safe; in uwb_rsv_set_state() 362 rsv->mas.unsafe += mv->companion_mas.unsafe; in uwb_rsv_set_state() 366 bitmap_andnot(mv->companion_mas.bm, rsv->mas.bm, mv->final_mas.bm, UWB_NUM_MAS); in uwb_rsv_set_state() 368 rsv->mas.safe = mv->final_mas.safe; in uwb_rsv_set_state() 369 rsv->mas.unsafe = mv->final_mas.unsafe; in uwb_rsv_set_state() 370 bitmap_copy(rsv->mas.bm, mv->final_mas.bm, UWB_NUM_MAS); in uwb_rsv_set_state() 371 bitmap_copy(rsv->mas.unsafe_bm, mv->final_mas.unsafe_bm, UWB_NUM_MAS); in uwb_rsv_set_state() [all …]
|
D | drp-ie.c | 141 struct uwb_mas_bm *mas) in uwb_drp_ie_from_bm() argument 151 bitmap_copy(tmp_bmp, mas->bm, UWB_NUM_MAS); in uwb_drp_ie_from_bm() 202 unsafe = rsv->mas.unsafe ? 1 : 0; in uwb_drp_ie_update() 231 uwb_drp_ie_from_bm(drp_ie, &rsv->mas); in uwb_drp_ie_update() 270 int mas; in uwb_drp_ie_single_zone_to_bm() local 273 for (mas = 0; mas < UWB_MAS_PER_ZONE; mas++) { in uwb_drp_ie_single_zone_to_bm() 274 mas_mask = 1 << mas; in uwb_drp_ie_single_zone_to_bm() 276 set_bit(zone * UWB_NUM_ZONES + mas, bm->bm); in uwb_drp_ie_single_zone_to_bm()
|
D | uwb-internal.h | 121 struct uwb_mas_bm mas; member 349 int uwb_drp_avail_reserve_pending(struct uwb_rc *rc, struct uwb_mas_bm *mas); 350 void uwb_drp_avail_reserve(struct uwb_rc *rc, struct uwb_mas_bm *mas); 351 void uwb_drp_avail_release(struct uwb_rc *rc, struct uwb_mas_bm *mas);
|
D | uwb-debug.c | 236 seq_printf(s, " %*pb\n", UWB_NUM_MAS, rsv->mas.bm); in reservations_show()
|
/Linux-v4.19/drivers/usb/wusbcore/ |
D | reservation.c | 21 const struct uwb_mas_bm *mas) in wusbhc_bwa_set() argument 23 if (mas == NULL) in wusbhc_bwa_set() 24 mas = &uwb_mas_bm_zero; in wusbhc_bwa_set() 25 return wusbhc->bwa_set(wusbhc, stream, mas); in wusbhc_bwa_set() 40 struct uwb_mas_bm mas; in wusbhc_rsv_complete_cb() local 45 uwb_rsv_get_usable_mas(rsv, &mas); in wusbhc_rsv_complete_cb() 47 UWB_NUM_MAS, mas.bm); in wusbhc_rsv_complete_cb() 48 wusbhc_bwa_set(wusbhc, rsv->stream, &mas); in wusbhc_rsv_complete_cb()
|
/Linux-v4.19/include/linux/ |
D | uwb.h | 260 struct uwb_mas_bm mas; member 271 static inline void uwb_mas_bm_copy_le(void *dst, const struct uwb_mas_bm *mas) in uwb_mas_bm_copy_le() argument 273 bitmap_copy_le(dst, mas->bm, UWB_NUM_MAS); in uwb_mas_bm_copy_le() 329 void uwb_rsv_get_usable_mas(struct uwb_rsv *orig_rsv, struct uwb_mas_bm *mas);
|
/Linux-v4.19/drivers/media/pci/saa7164/ |
D | saa7164-api.c | 625 u8 mas; in saa7164_api_set_dif() local 631 mas = 0xd0; in saa7164_api_set_dif() 633 mas = 0xe0; in saa7164_api_set_dif() 649 buf[0x0a] = mas; in saa7164_api_set_dif()
|
/Linux-v4.19/drivers/usb/host/ |
D | hwa-hc.c | 320 const struct uwb_mas_bm *mas) in __hwahc_op_bwa_set() argument 339 uwb_mas_bm_copy_le(mas_le, mas); in __hwahc_op_bwa_set()
|
/Linux-v4.19/tools/power/cpupower/po/ |
D | pt.po | 639 "- Tentando setar uma frequência específica, mas o regulador em nível de "
|