• Home
  • Raw
  • Download

Lines Matching refs:mask

458     UINT8   mask;  in bta_av_find_lcb()  local
463 mask = 1 << xx; /* the used mask for this lcb */ in bta_av_find_lcb()
464 if((mask & p_cb->conn_lcb) && 0 ==( bdcmp(p_cb->lcb[xx].addr, addr))) in bta_av_find_lcb()
469 p_cb->conn_lcb &= ~mask; /* clear the connect mask */ in bta_av_find_lcb()
1170 UINT8 mask; in bta_av_conn_chg() local
1185 mask = BTA_AV_HNDL_TO_MSK(index); in bta_av_conn_chg()
1211 p_cb->conn_audio |= mask; in bta_av_conn_chg()
1216 p_cb->conn_video |= mask; in bta_av_conn_chg()
1219 if ((old_msk & mask) == 0) in bta_av_conn_chg()
1275 if ((p_cb->conn_audio & mask) && bta_av_cb.audio_open_cnt) in bta_av_conn_chg()
1282 p_cb->conn_audio &= ~mask; in bta_av_conn_chg()
1283 p_cb->conn_video &= ~mask; in bta_av_conn_chg()
1423 UINT8 mask; in bta_av_sig_chg() local
1435 mask = 1 << xx; in bta_av_sig_chg()
1439 if((!(mask & p_cb->conn_lcb)) && (p_cb->p_scb[xx] != NULL)) in bta_av_sig_chg()
1451 p_cb->conn_lcb |= mask; /* mark it as used */ in bta_av_sig_chg()
1505 mask = 1 << (xx + 1); in bta_av_sig_chg()
1506 if ((mask & p_lcb->conn_msk) && (p_cb->p_scb[xx]) && in bta_av_sig_chg()
1532 UINT8 mask; in bta_av_sig_timer() local
1540 mask = 1 << xx; in bta_av_sig_timer()
1541 if(mask & p_cb->conn_lcb) in bta_av_sig_timer()
1981 UINT8 mask; in bta_av_dereg_comp() local
1990 mask = BTA_AV_HNDL_TO_MSK(p_scb->hdi); in bta_av_dereg_comp()
1993 p_cb->reg_audio &= ~mask; in bta_av_dereg_comp()
1994 if ((p_cb->conn_audio & mask) && bta_av_cb.audio_open_cnt) in bta_av_dereg_comp()
1999 p_cb->conn_audio &= ~mask; in bta_av_dereg_comp()
2027 p_cb->reg_video &= ~mask; in bta_av_dereg_comp()
2029 p_cb->conn_video &= ~mask; in bta_av_dereg_comp()