Lines Matching refs:ncci_state
821 a->ncci_state[ncci] = IDLE; in get_ncci()
957 a->ncci_state[ncci] = IDLE; in ncci_remove()
987 a->ncci_state[ncci] = IDLE; in ncci_remove()
2746 if (a->ncci_state[ncci] == INC_CON_PENDING) { in connect_b3_res()
2749 a->ncci_state[ncci] = OUTG_REJ_PENDING; in connect_b3_res()
2756 a->ncci_state[ncci] = INC_ACT_PENDING; in connect_b3_res()
2854 if (a->ncci_state[ncci] == INC_ACT_PENDING) { in connect_b3_a_res()
2855 a->ncci_state[ncci] = CONNECTED; in connect_b3_a_res()
2878 if ((a->ncci_state[ncci] == CONNECTED) in disconnect_b3_req()
2879 || (a->ncci_state[ncci] == OUTG_CON_PENDING) in disconnect_b3_req()
2880 || (a->ncci_state[ncci] == INC_CON_PENDING) in disconnect_b3_req()
2881 || (a->ncci_state[ncci] == INC_ACT_PENDING)) in disconnect_b3_req()
2883 a->ncci_state[ncci] = OUTG_DIS_PENDING; in disconnect_b3_req()
2963 && (a->ncci_state[ncci] == INC_DIS_PENDING)) in disconnect_b3_res()
2969 plci->adapter->ncci_state[ncci] = IDLE; in disconnect_b3_res()
2996 if ((a->ncci_state[ncci] == CONNECTED) in data_b3_req()
2997 || (a->ncci_state[ncci] == INC_ACT_PENDING)) in data_b3_req()
3107 if (a->ncci_state[ncci] == CONNECTED) in reset_b3_req()
3115 if (a->ncci_state[ncci] == CONNECTED) in reset_b3_req()
3145 if (a->ncci_state[ncci] == INC_RES_PENDING) in reset_b3_res()
3147 a->ncci_state[ncci] = CONNECTED; in reset_b3_res()
3168 if (a->ncci_state[ncci] == INC_ACT_PENDING) { in connect_b3_t90_a_res()
3169 a->ncci_state[ncci] = CONNECTED; in connect_b3_t90_a_res()
3171 else if (a->ncci_state[ncci] == INC_CON_PENDING) { in connect_b3_t90_a_res()
3172 a->ncci_state[ncci] = CONNECTED; in connect_b3_t90_a_res()
3482 if ((a->ncci_plci[ncci] == plci->Id) && (a->ncci_state[ncci] == CONNECTED)) in manufacturer_req()
3484 a->ncci_state[ncci] = OUTG_DIS_PENDING; in manufacturer_req()
4120 a->ncci_state[ncci] = INC_ACT_PENDING; in control_rc()
4126 a->ncci_state[ncci] = OUTG_CON_PENDING; in control_rc()
4348 if (a->ncci_state[ncci] == CONNECTED) in control_rc()
4350 a->ncci_state[ncci] = OUTG_DIS_PENDING; in control_rc()
4502 a->ncci_state[ncci] = OUTG_CON_PENDING; in control_rc()
4660 if (!(data->Flags & 4) && a->ncci_state[ncci]) in data_rc()
4688 if (a->ncci_state[ncci] && (a->ncci_plci[ncci] == plci->Id)) in data_ack()
6361 byte len, ncci_state; in nl_ind() local
6531 if (((a->ncci_state[ncci] == INC_ACT_PENDING) || (a->ncci_state[ncci] == OUTG_CON_PENDING)) in nl_ind()
6535 a->ncci_state[ncci] = INC_ACT_PENDING; in nl_ind()
6755 dbug(1, dprintf("EDATA ncci=0x%x state=%d code=%02x", ncci, a->ncci_state[ncci], in nl_ind()
6762 && (a->ncci_state[ncci] == OUTG_CON_PENDING) in nl_ind()
6779 if ((a->ncci_state[ncci] == OUTG_CON_PENDING) in nl_ind()
6784 a->ncci_state[ncci] = INC_ACT_PENDING; in nl_ind()
6794 if ((a->ncci_state[ncci] == INC_ACT_PENDING) in nl_ind()
6807 if (a->ncci_state[ncci] == CONNECTED) in nl_ind()
6810 a->ncci_state[ncci] = INC_DIS_PENDING; in nl_ind()
6822 if ((a->ncci_state[ncci] == INC_ACT_PENDING) in nl_ind()
6844 dbug(1, dprintf("EDATA ncci=0x%x state=%d", ncci, a->ncci_state[ncci])); in nl_ind()
6854 ch, a->ncci_state[ncci], a->ncci_plci[ncci], plci->Id, plci->State)); in nl_ind()
6857 if (a->ncci_state[ncci] == IDLE) in nl_ind()
6862 a->ncci_state[ncci] = INC_CON_PENDING; in nl_ind()
6883 if (a->ncci_state[ncci] != OUTG_CON_PENDING) in nl_ind()
6885 a->ncci_state[ncci] = INC_ACT_PENDING; in nl_ind()
6890 if ((a->ncci_state[ncci] == OUTG_CON_PENDING) in nl_ind()
6894 a->ncci_state[ncci] = INC_ACT_PENDING; in nl_ind()
6904 a->ncci_state[ncci] = INC_ACT_PENDING; in nl_ind()
6924 ncci_state = a->ncci_state[ncci]; in nl_ind()
6973 && ((ncci_state == INC_DIS_PENDING) || (ncci_state == IDLE))) in nl_ind()
6975 if (ncci_state == IDLE) in nl_ind()
6997 if ((ncci_state == OUTG_REJ_PENDING) in nl_ind()
7007 a->ncci_state[ncci] = INC_RES_PENDING; in nl_ind()
7011 a->ncci_state[ncci] = CONNECTED; in nl_ind()
7027 if (((a->ncci_state[ncci] != CONNECTED) && (plci->B2_prot == 1)) /* transparent */ in nl_ind()
7028 || (a->ncci_state[ncci] == IDLE) in nl_ind()
7029 || (a->ncci_state[ncci] == INC_DIS_PENDING)) in nl_ind()
7034 if ((a->ncci_state[ncci] != CONNECTED) in nl_ind()
7035 && (a->ncci_state[ncci] != OUTG_DIS_PENDING) in nl_ind()
7036 && (a->ncci_state[ncci] != OUTG_REJ_PENDING)) in nl_ind()
8689 if ((a->ncci_state[ncci] == CONNECTED) in send_data()
8690 || (a->ncci_state[ncci] == INC_ACT_PENDING) in send_data()