Lines Matching refs:link_state
82 p_lcb->link_state = LST_DISCONNECTED; in l2cu_allocate_lcb()
184 if ((p_lcb->link_state == LST_CONNECTED) || in l2cu_release_lcb()
185 (p_lcb->link_state == LST_DISCONNECTING)) in l2cu_release_lcb()
1534 if ((p_lcb->link_state == LST_CONNECTED) || in l2cu_start_post_bond_timer()
1535 (p_lcb->link_state == LST_CONNECTING) || in l2cu_start_post_bond_timer()
1536 (p_lcb->link_state == LST_DISCONNECTING)) { in l2cu_start_post_bond_timer()
1541 p_lcb->link_state = LST_DISCONNECTING; in l2cu_start_post_bond_timer()
1623 if (p_lcb->link_state == LST_CONNECTED) { in l2cu_release_ccb()
1636 } else if (p_lcb->link_state == LST_CONNECTING) { in l2cu_release_ccb()
2165 p_lcb->link_state = LST_CONNECTING_WAIT_SWITCH; in l2cu_create_conn_br_edr()
2179 p_lcb->link_state = LST_CONNECTING; in l2cu_create_conn_br_edr()
2243 p_lcb->link_state = LST_CONNECTING; in l2cu_create_conn_after_switch()
2288 if ((p_lcb->in_use) && (p_lcb->link_state == state)) { in l2cu_find_lcb_by_state()
2321 (p_lcb->link_state == LST_DISCONNECTING)) { in l2cu_lcb_disconnecting()
2577 if (p_lcb->link_state == LST_CONNECTED) p_ccb->chnl_state = CST_OPEN; in l2cu_initialize_fixed_ccb()
2630 p_lcb->link_state = LST_DISCONNECTING; in l2cu_no_dynamic_ccbs()
2636 p_lcb->link_state = LST_DISCONNECTING; in l2cu_no_dynamic_ccbs()
2641 p_lcb->link_state = LST_DISCONNECTING; in l2cu_no_dynamic_ccbs()