Searched refs:tplci (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/isdn/hardware/eicon/
H A Dmessage.c4855 PLCI *tplci = NULL; sig_ind() local
5137 tplci = plci->relatedPTYPLCI; sig_ind()
5138 rId = ((word)tplci->Id << 8) | tplci->adapter->Id; sig_ind()
5139 if (tplci->tel) rId |= EXT_CONTROLLER; sig_ind()
5162 sendf(tplci->appl, _FACILITY_I, rId, 0, "ws", 3, SS_Ind); sig_ind()
5315 tplci = plci->relatedPTYPLCI; sig_ind()
5316 if (tplci) tplci->ptyState = CONNECTED; sig_ind()
5347 tplci = plci->relatedPTYPLCI; sig_ind()
5348 rId = ((word)tplci->Id << 8) | tplci->adapter->Id; sig_ind()
5349 if (tplci->tel) rId |= EXT_CONTROLLER; sig_ind()
5364 sendf(tplci->appl, _FACILITY_I, rId, 0, "ws", 3, SS_Ind); sig_ind()
5386 sendf(tplci->appl, _FACILITY_I, rId, 0, "ws", 3, SS_Ind); sig_ind()
5562 tplci = plci->relatedPTYPLCI; sig_ind()
5563 if (tplci) tplci->ptyState = CONNECTED; sig_ind()
5784 tplci = a->AdvSignalPLCI; sig_ind()
5785 if (tplci->spoofed_msg) sig_ind()
5787 dbug(1, dprintf("***Spoofed Msg(0x%x)", tplci->spoofed_msg)); sig_ind()
5788 tplci->command = 0; sig_ind()
5789 tplci->internal_command = 0; sig_ind()
5790 x_Id = ((word)tplci->Id << 8) | tplci->adapter->Id | 0x80; sig_ind()
5791 switch (tplci->spoofed_msg) sig_ind()
5794 tplci->command = _CONNECT_I | RESPONSE; sig_ind()
5795 api_load_msg(&tplci->saved_msg, saved_parms); sig_ind()
5796 add_b1(tplci, &saved_parms[1], 0, tplci->B1_facilities); sig_ind()
5797 if (tplci->adapter->Info_Mask[tplci->appl->Id - 1] & 0x200) sig_ind()
5800 add_p(tplci, LLI, "\x01\x01"); sig_ind()
5802 add_s(tplci, CONN_NR, &saved_parms[2]); sig_ind()
5803 add_s(tplci, LLC, &saved_parms[4]); sig_ind()
5804 add_ai(tplci, &saved_parms[5]); sig_ind()
5805 tplci->State = INC_CON_ACCEPT; sig_ind()
5806 sig_req(tplci, CALL_RES, 0); sig_ind()
5807 send_req(tplci); sig_ind()
5812 start_internal_command(x_Id, tplci, select_b_command); sig_ind()
5816 if (!tplci->Sig.Id) sig_ind()
5819 sendf(tplci->appl, _MANUFACTURER_R | CONFIRM, x_Id, tplci->number, "dww", _DI_MANU_ID, _MANUFACTURER_R, _OUT_OF_PLCI); sig_ind()
5820 plci_remove(tplci); sig_ind()
5823 tplci->command = _MANUFACTURER_R; sig_ind()
5824 api_load_msg(&tplci->saved_msg, saved_parms); sig_ind()
5827 sig_req(tplci, CALL_REQ, 0); sig_ind()
5830 sig_req(tplci, LISTEN_REQ, 0); sig_ind()
5832 send_req(tplci); sig_ind()
5833 sendf(tplci->appl, _MANUFACTURER_R | CONFIRM, x_Id, tplci->number, "dww", _DI_MANU_ID, _MANUFACTURER_R, 0); sig_ind()
5837 sig_req(tplci, CALL_REQ, 0); sig_ind()
5838 send_req(tplci); sig_ind()
5842 if (!tplci->Sig.Id) sig_ind()
5845 sendf(tplci->appl, _CONNECT_R | CONFIRM, tplci->adapter->Id, 0, "w", _OUT_OF_PLCI); sig_ind()
5846 plci_remove(tplci); sig_ind()
5849 tplci->command = _CONNECT_R; sig_ind()
5850 api_load_msg(&tplci->saved_msg, saved_parms); sig_ind()
5851 add_s(tplci, CPN, &saved_parms[1]); sig_ind()
5852 add_s(tplci, DSA, &saved_parms[3]); sig_ind()
5853 add_ai(tplci, &saved_parms[9]); sig_ind()
5854 sig_req(tplci, CALL_REQ, 0); sig_ind()
5855 send_req(tplci); sig_ind()
5859 tplci->command = C_RETRIEVE_REQ; sig_ind()
5860 sig_req(tplci, CALL_RETRIEVE, 0); sig_ind()
5861 send_req(tplci); sig_ind()
5864 tplci->spoofed_msg = 0; sig_ind()
5865 if (tplci->internal_command == 0) sig_ind()
5866 next_internal_command(x_Id, tplci); sig_ind()
5919 for (i = 0, tplci = NULL; i < max_appl; i++) { sig_ind()
5923 tplci = a->codec_listen[i]; sig_ind()
5924 tplci->appl = &application[i]; sig_ind()
5929 if (!a->AdvSignalPLCI && !tplci) { sig_ind()
5932 tplci = a->AdvSignalPLCI; sig_ind()
5933 tplci->tel = ADV_VOICE; sig_ind()
5937 add_p(tplci, LLI, "\x01\x01"); sig_ind()
5939 add_p(tplci, CAI, voice_cai); sig_ind()
5940 add_p(tplci, OAD, a->TelOAD); sig_ind()
5941 add_p(tplci, OSA, a->TelOSA); sig_ind()
5942 add_p(tplci, SHIFT | 6, NULL); sig_ind()
5943 add_p(tplci, SIN, "\x02\x01\x00"); sig_ind()
5944 add_p(tplci, UID, "\x06\x43\x61\x70\x69\x32\x30"); sig_ind()
5945 sig_req(tplci, ASSIGN, DSIG_ID); sig_ind()
5948 tplci->appl = a->AdvSignalAppl; sig_ind()
5949 tplci->call_dir = CALL_DIR_OUT | CALL_DIR_ORIGINATE; sig_ind()
5950 send_req(tplci); sig_ind()
5955 if (!tplci) break; sig_ind()
5956 Id = ((word)tplci->Id << 8) | a->Id; sig_ind()
5958 sendf(tplci->appl, sig_ind()

Completed in 153 milliseconds