Lines Matching refs:link_state
70 p_lcb->link_state = LST_DISCONNECTED; in l2cu_allocate_lcb()
187 if ((p_lcb->link_state == LST_CONNECTED) || in l2cu_release_lcb()
188 (p_lcb->link_state == LST_DISCONNECTING)) in l2cu_release_lcb()
1500 if ((p_lcb->link_state == LST_CONNECTED) || in l2cu_start_post_bond_timer()
1501 (p_lcb->link_state == LST_CONNECTING) || in l2cu_start_post_bond_timer()
1502 (p_lcb->link_state == LST_DISCONNECTING)) { in l2cu_start_post_bond_timer()
1507 p_lcb->link_state = LST_DISCONNECTING; in l2cu_start_post_bond_timer()
1581 if (p_lcb->link_state == LST_CONNECTED) { in l2cu_release_ccb()
1594 } else if (p_lcb->link_state == LST_CONNECTING) { in l2cu_release_ccb()
2077 p_lcb->link_state = LST_CONNECTING_WAIT_SWITCH; in l2cu_create_conn_br_edr()
2089 p_lcb->link_state = LST_CONNECTING; in l2cu_create_conn_br_edr()
2150 if ((p_lcb->in_use) && (p_lcb->link_state == state)) { in l2cu_find_lcb_by_state()
2183 (p_lcb->link_state == LST_DISCONNECTING)) { in l2cu_lcb_disconnecting()
2434 if (p_lcb->link_state == LST_CONNECTED) p_ccb->chnl_state = CST_OPEN; in l2cu_initialize_fixed_ccb()
2484 p_lcb->link_state = LST_DISCONNECTING; in l2cu_no_dynamic_ccbs()
2490 p_lcb->link_state = LST_DISCONNECTING; in l2cu_no_dynamic_ccbs()
2495 p_lcb->link_state = LST_DISCONNECTING; in l2cu_no_dynamic_ccbs()