Lines Matching refs:ccb_priority
1265 p_ccb->local_cid, p_ccb->ccb_priority); in l2cu_enqueue_ccb()
1280 if (p_ccb->ccb_priority < p_ccb1->ccb_priority) in l2cu_enqueue_ccb()
1314 if (p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].num_ccb == 0 ) in l2cu_enqueue_ccb()
1317 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].p_first_ccb = p_ccb; in l2cu_enqueue_ccb()
1319 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].p_serve_ccb = p_ccb; in l2cu_enqueue_ccb()
1321 … p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].quota = L2CAP_GET_PRIORITY_QUOTA(p_ccb->ccb_priority); in l2cu_enqueue_ccb()
1324 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].num_ccb++; in l2cu_enqueue_ccb()
1362 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].num_ccb--; in l2cu_dequeue_ccb()
1365 if (p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].num_ccb == 0 ) in l2cu_dequeue_ccb()
1367 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].p_first_ccb = NULL; in l2cu_dequeue_ccb()
1368 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].p_serve_ccb = NULL; in l2cu_dequeue_ccb()
1373 if ( p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].p_first_ccb == p_ccb ) in l2cu_dequeue_ccb()
1375 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].p_first_ccb = p_ccb->p_next_ccb; in l2cu_dequeue_ccb()
1378 if ( p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].p_serve_ccb == p_ccb ) in l2cu_dequeue_ccb()
1381 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].p_serve_ccb in l2cu_dequeue_ccb()
1382 = p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].p_first_ccb; in l2cu_dequeue_ccb()
1425 if (p_ccb->ccb_priority != priority) in l2cu_change_pri_ccb()
1435 p_ccb->ccb_priority = priority; in l2cu_change_pri_ccb()
1443 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].num_ccb = 0; in l2cu_change_pri_ccb()
1444 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].p_first_ccb = NULL; in l2cu_change_pri_ccb()
1445 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].p_serve_ccb = NULL; in l2cu_change_pri_ccb()
1447 p_ccb->ccb_priority = priority; in l2cu_change_pri_ccb()
1449 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].p_first_ccb = p_ccb; in l2cu_change_pri_ccb()
1450 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].p_serve_ccb = p_ccb; in l2cu_change_pri_ccb()
1451 … p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].quota = L2CAP_GET_PRIORITY_QUOTA(p_ccb->ccb_priority); in l2cu_change_pri_ccb()
1452 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].num_ccb = 1; in l2cu_change_pri_ccb()
1527 p_ccb->ccb_priority = L2CAP_CHNL_PRIORITY_LOW; in l2cu_allocate_ccb()
3129 … p_ccb->ccb_priority, p_ccb->local_cid, GKI_queue_length(&p_ccb->xmit_hold_q)); in l2cu_get_next_channel_in_rr()
3134 ||( p_ccb->p_next_ccb->ccb_priority != p_ccb->ccb_priority )) in l2cu_get_next_channel_in_rr()
3193 p_serve_ccb->ccb_priority, in l2cu_get_next_channel_in_rr()
3194 p_lcb->rr_serv[p_serve_ccb->ccb_priority].quota, in l2cu_get_next_channel_in_rr()