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()
1536 if ((p_lcb->link_state == LST_CONNECTED) || in l2cu_start_post_bond_timer()
1537 (p_lcb->link_state == LST_CONNECTING) || in l2cu_start_post_bond_timer()
1538 (p_lcb->link_state == LST_DISCONNECTING)) { in l2cu_start_post_bond_timer()
1543 p_lcb->link_state = LST_DISCONNECTING; in l2cu_start_post_bond_timer()
1625 if (p_lcb->link_state == LST_CONNECTED) { in l2cu_release_ccb()
1638 } 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()
2241 p_lcb->link_state = LST_CONNECTING; in l2cu_create_conn_after_switch()
2287 if ((p_lcb->in_use) && (p_lcb->link_state == state)) { in l2cu_find_lcb_by_state()
2320 (p_lcb->link_state == LST_DISCONNECTING)) { in l2cu_lcb_disconnecting()
2563 if (p_lcb->link_state == LST_CONNECTED) p_ccb->chnl_state = CST_OPEN; in l2cu_initialize_fixed_ccb()
2616 p_lcb->link_state = LST_DISCONNECTING; in l2cu_no_dynamic_ccbs()
2622 p_lcb->link_state = LST_DISCONNECTING; in l2cu_no_dynamic_ccbs()
2627 p_lcb->link_state = LST_DISCONNECTING; in l2cu_no_dynamic_ccbs()