Lines Matching refs:NL
1062 dbug(1, dprintf("D-channel X.25 plci->NL.Id:%0x", plci->NL.Id)); in plci_remove()
1063 if (plci->NL.Id && !plci->nl_remove_id) in plci_remove()
1613 if (plci->NL.Id && !plci->nl_remove_id) in disconnect_req()
2645 if (!plci->NL.Id in connect_b3_req()
2652 plci->channels, plci->NL.Id, plci->call_dir, plci->SuppState)); in connect_b3_req()
2686 if (plci->NL.Id && !plci->nl_remove_id) in connect_b3_req()
3330 msg->length, plci->Id, plci->tel, plci->NL.Id, plci->appl, plci->SuppState)); in select_b_req()
3601 if (plci->NL.Id && !plci->nl_remove_id) in manufacturer_req()
3959 plci->NL.XNum = 1; in callback()
6007 if (plci->NL.Id && !plci->nl_remove_id) { in sig_ind()
6063 if (plci->NL.Id && !plci->nl_remove_id) in sig_ind()
6569 ch = plci->NL.IndCh; in nl_ind()
6576 plci->NL.Id, Id, plci->Id, plci->tel, plci->State, ch, plci->channels, plci->NL.Ind & 0x0f)); in nl_ind()
6582 plci->NL.RNR = 2; /* discard */ in nl_ind()
6586 if ((plci->NL.Ind & 0x0f) == N_CONNECT) in nl_ind()
6592 plci->NL.RNR = 2; /* discard */ in nl_ind()
6598 plci->NL.RNR = 1; /* flow control */ in nl_ind()
6607 plci->NL.RNR = 2; in nl_ind()
6611 if (((plci->NL.Ind & 0x0f) == N_UDATA) in nl_ind()
6619 if (plci->NL.complete == 1) in nl_ind()
6621 byte *data = &plci->NL.RBuffer->P[0]; in nl_ind()
6623 if ((plci->NL.RBuffer->length >= 12) in nl_ind()
6685 plci->NL.RNR = 2; in nl_ind()
6690 if (plci->NL.complete == 2) in nl_ind()
6692 if (((plci->NL.Ind & 0x0f) == N_UDATA) in nl_ind()
6757 (plci->NL.RNum < 2) ? 0 : plci->RData[1].PLength, in nl_ind()
6778 if ((plci->NL.Ind & 0x0f) == N_CONNECT || in nl_ind()
6779 (plci->NL.Ind & 0x0f) == N_CONNECT_ACK || in nl_ind()
6780 (plci->NL.Ind & 0x0f) == N_DISC || in nl_ind()
6781 (plci->NL.Ind & 0x0f) == N_EDATA || in nl_ind()
6782 (plci->NL.Ind & 0x0f) == N_DISC_ACK) in nl_ind()
6792 for (i = 0; i < plci->NL.RLength; i++) plci->ncpi_buffer[4 + i] = plci->NL.RBuffer->P[i]; in nl_ind()
6794 plci->ncpi_buffer[1] = (byte)(plci->NL.Ind & N_D_BIT ? 1 : 0); in nl_ind()
6800 if (plci->NL.RLength >= sizeof(T30_INFO)) in nl_ind()
6802 dbug(1, dprintf("FaxStatus %04x", ((T30_INFO *)plci->NL.RBuffer->P)->code)); in nl_ind()
6804 PUT_WORD(&(plci->ncpi_buffer[1]), ((T30_INFO *)plci->NL.RBuffer->P)->rate_div_2400 * 2400); in nl_ind()
6805 fax_feature_bits = GET_WORD(&((T30_INFO *)plci->NL.RBuffer->P)->feature_bits_low); in nl_ind()
6806 …i = (((T30_INFO *)plci->NL.RBuffer->P)->resolution & T30_RESOLUTION_R8_0770_OR_200) ? 0x0001 : 0x0… in nl_ind()
6822 PUT_WORD(&(plci->ncpi_buffer[5]), ((T30_INFO *)plci->NL.RBuffer->P)->data_format); in nl_ind()
6823 plci->ncpi_buffer[7] = ((T30_INFO *)plci->NL.RBuffer->P)->pages_low; in nl_ind()
6824 plci->ncpi_buffer[8] = ((T30_INFO *)plci->NL.RBuffer->P)->pages_high; in nl_ind()
6826 if (((T30_INFO *)plci->NL.RBuffer->P)->station_id_len) in nl_ind()
6830 plci->ncpi_buffer[++len] = ((T30_INFO *)plci->NL.RBuffer->P)->station_id[i]; in nl_ind()
6832 if (((plci->NL.Ind & 0x0f) == N_DISC) || ((plci->NL.Ind & 0x0f) == N_DISC_ACK)) in nl_ind()
6834 if (((T30_INFO *)plci->NL.RBuffer->P)->code < ARRAY_SIZE(fax_info)) in nl_ind()
6835 info = fax_info[((T30_INFO *)plci->NL.RBuffer->P)->code]; in nl_ind()
6843 …i = offsetof(T30_INFO, station_id) + T30_MAX_STATION_ID_LENGTH + ((T30_INFO *)plci->NL.RBuffer->P)… in nl_ind()
6844 while (i < plci->NL.RBuffer->length) in nl_ind()
6845 plci->ncpi_buffer[++len] = plci->NL.RBuffer->P[i++]; in nl_ind()
6849 fax_feature_bits = GET_WORD(&((T30_INFO *)plci->NL.RBuffer->P)->feature_bits_low); in nl_ind()
6853 if (((plci->NL.Ind & 0x0f) == N_CONNECT_ACK) in nl_ind()
6854 || (((plci->NL.Ind & 0x0f) == N_CONNECT) in nl_ind()
6856 || (((plci->NL.Ind & 0x0f) == N_EDATA) in nl_ind()
6857 && ((((T30_INFO *)plci->NL.RBuffer->P)->code == EDATA_T30_TRAIN_OK) in nl_ind()
6858 || (((T30_INFO *)plci->NL.RBuffer->P)->code == EDATA_T30_DIS) in nl_ind()
6859 || (((T30_INFO *)plci->NL.RBuffer->P)->code == EDATA_T30_DTC)))) in nl_ind()
6863 if (((plci->NL.Ind & 0x0f) == N_DISC) in nl_ind()
6864 || ((plci->NL.Ind & 0x0f) == N_DISC_ACK) in nl_ind()
6865 || (((plci->NL.Ind & 0x0f) == N_EDATA) in nl_ind()
6866 && (((T30_INFO *)plci->NL.RBuffer->P)->code == EDATA_T30_EOP_CAPI))) in nl_ind()
6874 if (((plci->NL.Ind & 0x0f) == N_DISC) || ((plci->NL.Ind & 0x0f) == N_DISC_ACK)) in nl_ind()
6876 if (plci->NL.RLength != 0) in nl_ind()
6878 info = rtp_info[plci->NL.RBuffer->P[0]]; in nl_ind()
6879 plci->ncpi_buffer[0] = plci->NL.RLength - 1; in nl_ind()
6880 for (i = 1; i < plci->NL.RLength; i++) in nl_ind()
6881 plci->ncpi_buffer[i] = plci->NL.RBuffer->P[i]; in nl_ind()
6887 plci->NL.RNR = 2; in nl_ind()
6889 switch (plci->NL.Ind & 0x0f) { in nl_ind()
6894 ((T30_INFO *)plci->NL.RBuffer->P)->code)); in nl_ind()
6899 && (((T30_INFO *)plci->NL.RBuffer->P)->code == EDATA_T30_DIS) in nl_ind()
6904 ((T30_INFO *)(plci->fax_connect_info_buffer))->code = ((T30_INFO *)plci->NL.RBuffer->P)->code; in nl_ind()
6914 switch (((T30_INFO *)plci->NL.RBuffer->P)->code) in nl_ind()
6957 switch (((T30_INFO *)plci->NL.RBuffer->P)->code) in nl_ind()
6975 ((T30_INFO *)(plci->fax_connect_info_buffer))->code = ((T30_INFO *)plci->NL.RBuffer->P)->code; in nl_ind()
7154 …if (!(udata_forwarding_table[plci->NL.RBuffer->P[0] >> 5] & (1L << (plci->NL.RBuffer->P[0] & 0x1f)… in nl_ind()
7158 plci->NL.R = plci->RData; in nl_ind()
7159 plci->NL.RNum = 1; in nl_ind()
7168 plci->NL.RNR = 2; in nl_ind()
7176 plci->NL.RNR = 1; /* flow control */ in nl_ind()
7197 plci->NL.RNR = 1; in nl_ind()
7201 plci->NL.RNR = 2; in nl_ind()
7215 plci->NL.RNR = 1; in nl_ind()
7221 APPLptr->DataFlags[Num] = (plci->Id << 8) | (plci->NL.Ind >> 4); in nl_ind()
7225 plci->RFlags = plci->NL.Ind >> 4; in nl_ind()
7227 plci->NL.R = plci->RData; in nl_ind()
7228 if ((plci->NL.RLength != 0) in nl_ind()
7236 if ((plci->NL.RBuffer->P[0] & V120_HEADER_EXTEND_BIT) || (plci->NL.RLength == 1)) in nl_ind()
7240 if (plci->NL.RBuffer->P[0] & V120_HEADER_BREAK_BIT) in nl_ind()
7242 if (plci->NL.RBuffer->P[0] & (V120_HEADER_C1_BIT | V120_HEADER_C2_BIT)) in nl_ind()
7244 plci->NL.RNum = 2; in nl_ind()
7248 if ((plci->NL.Ind & 0x0f) == N_UDATA) in nl_ind()
7251 else if ((plci->B3_prot == B3_RTP) && ((plci->NL.Ind & 0x0f) == N_BDATA)) in nl_ind()
7254 plci->NL.RNum = 1; in nl_ind()
7261 plci->NL.RNR = 2; in nl_ind()
7285 plci->NL.Id = 0; in get_plci()
8736 plci->nl_remove_id = plci->NL.Id; in nl_req_ncci()
8773 e = &plci->NL; in send_req()
8843 plci->NL.XNum = 2; in send_data()
8844 plci->NL.Req = plci->nl_req = (byte)((data->Flags & 0x07) << 4 | N_DATA); in send_data()
8851 plci->NL.Req = plci->nl_req = (byte)N_UDATA; in send_data()
8854 plci->NL.Req = plci->nl_req = (byte)N_BDATA; in send_data()
8857 plci->NL.Req = plci->nl_req = (byte)((data->Flags & 0x07) << 4 | N_DATA); in send_data()
8859 plci->NL.X = plci->NData; in send_data()
8860 plci->NL.ReqCh = a->ncci_ch[ncci]; in send_data()
8861 dbug(1, dprintf("%x:DREQ(%x:%x)", a->Id, plci->NL.Id, plci->NL.Req)); in send_data()
8864 a->request(&plci->NL); in send_data()
8874 plci->NL.ReqCh = a->ncci_ch[ncci]; in send_data()
8875 plci->NL.Req = plci->nl_req = N_DISC; in send_data()
8876 a->request(&plci->NL); in send_data()
9457 if (!plci->NL.Id && c_ind_mask_empty(plci)) in plci_remove_check()
9621 plci->NL.X = plci->NData; in dtmf_enable_receiver()
9622 plci->NL.ReqCh = 0; in dtmf_enable_receiver()
9623 plci->NL.Req = plci->nl_req = (byte) N_UDATA; in dtmf_enable_receiver()
9624 plci->adapter->request(&plci->NL); in dtmf_enable_receiver()
9654 plci->NL.X = plci->NData; in dtmf_send_digits()
9655 plci->NL.ReqCh = 0; in dtmf_send_digits()
9656 plci->NL.Req = plci->nl_req = (byte) N_UDATA; in dtmf_send_digits()
9657 plci->adapter->request(&plci->NL); in dtmf_send_digits()
9990 || !plci->NL.Id || plci->nl_remove_id) in dtmf_request()
10899 plci->NL.X = plci->NData; in xconnect_query_addresses()
10900 plci->NL.ReqCh = 0; in xconnect_query_addresses()
10901 plci->NL.Req = plci->nl_req = (byte) N_UDATA; in xconnect_query_addresses()
10902 plci->adapter->request(&plci->NL); in xconnect_query_addresses()
11247 plci->NL.X = plci->NData; in xconnect_write_coefs_process()
11248 plci->NL.ReqCh = 0; in xconnect_write_coefs_process()
11249 plci->NL.Req = plci->nl_req = (byte) N_UDATA; in xconnect_write_coefs_process()
11250 plci->adapter->request(&plci->NL); in xconnect_write_coefs_process()
11295 && notify_plci->NL.Id && !notify_plci->nl_remove_id) in mixer_notify_update()
11897 || !plci->NL.Id || plci->nl_remove_id in li_check_main_plci()
11941 || !plci_b->NL.Id || plci_b->nl_remove_id in li_check_plci_b()
12004 || !plci_b->NL.Id || plci_b->nl_remove_id in li2_check_plci_b()
12394 || !plci->NL.Id || plci->nl_remove_id in mixer_request()
12602 && notify_plci->NL.Id && !notify_plci->nl_remove_id) in mixer_remove()
12863 else if (!plci->State || !plci->NL.Id || plci->nl_remove_id) in ec_request()
12955 else if (!plci->State || !plci->NL.Id || plci->nl_remove_id) in ec_request()
13655 && plci->NL.Id && !plci->nl_remove_id) in adjust_b_process()
14122 plci->NL.X = plci->NData; in fax_connect_ack_command()
14123 plci->NL.ReqCh = 0; in fax_connect_ack_command()
14124 plci->NL.Req = plci->nl_req = (byte) N_CONNECT_ACK; in fax_connect_ack_command()
14125 plci->adapter->request(&plci->NL); in fax_connect_ack_command()
14169 plci->NL.X = plci->NData; in fax_edata_ack_command()
14170 plci->NL.ReqCh = 0; in fax_edata_ack_command()
14171 plci->NL.Req = plci->nl_req = (byte) N_EDATA; in fax_edata_ack_command()
14172 plci->adapter->request(&plci->NL); in fax_edata_ack_command()
14209 plci->NL.X = plci->NData; in fax_connect_info_command()
14210 plci->NL.ReqCh = 0; in fax_connect_info_command()
14211 plci->NL.Req = plci->nl_req = (byte) N_EDATA; in fax_connect_info_command()
14212 plci->adapter->request(&plci->NL); in fax_connect_info_command()
14368 plci->NL.X = plci->NData; in rtp_connect_b3_req_command()
14369 plci->NL.ReqCh = 0; in rtp_connect_b3_req_command()
14370 plci->NL.Req = plci->nl_req = (byte) N_UDATA; in rtp_connect_b3_req_command()
14371 plci->adapter->request(&plci->NL); in rtp_connect_b3_req_command()
14419 plci->NL.X = plci->NData; in rtp_connect_b3_res_command()
14420 plci->NL.ReqCh = 0; in rtp_connect_b3_res_command()
14421 plci->NL.Req = plci->nl_req = (byte) N_UDATA; in rtp_connect_b3_res_command()
14422 plci->adapter->request(&plci->NL); in rtp_connect_b3_res_command()
14446 if (!plci->NL.Id) in hold_save_command()
14668 if (plci->nl_req || !plci->NL.Id || plci->nl_remove_id) { in channel_xmit_xon()
14677 plci->NL.Req = plci->nl_req = (byte)N_XON; in channel_xmit_xon()
14678 plci->NL.ReqCh = ch; in channel_xmit_xon()
14679 plci->NL.X = plci->NData; in channel_xmit_xon()
14680 plci->NL.XNum = 1; in channel_xmit_xon()
14684 plci->adapter->request(&plci->NL); in channel_xmit_xon()