Lines Matching refs:appl
188 void *TransmitBufferSet(APPL *appl, dword ref) in TransmitBufferSet() argument
190 appl->xbuffer_used[ref] = true; in TransmitBufferSet()
191 DBG_PRV1(("%d:xbuf_used(%d)", appl->Id, ref + 1)) in TransmitBufferSet()
195 void *TransmitBufferGet(APPL *appl, void *p) in TransmitBufferGet() argument
197 if (appl->xbuffer_internal[(dword)(long)p]) in TransmitBufferGet()
198 return appl->xbuffer_internal[(dword)(long)p]; in TransmitBufferGet()
200 return appl->xbuffer_ptr[(dword)(long)p]; in TransmitBufferGet()
203 void TransmitBufferFree(APPL *appl, void *p) in TransmitBufferFree() argument
205 appl->xbuffer_used[(dword)(long)p] = false; in TransmitBufferFree()
206 DBG_PRV1(("%d:xbuf_free(%d)", appl->Id, ((dword)(long)p) + 1)) in TransmitBufferFree()
209 void *ReceiveBufferGet(APPL *appl, int Num) in ReceiveBufferGet() argument
211 return &appl->ReceiveBuffer[Num * appl->MaxDataLength]; in ReceiveBufferGet()
225 void sendf(APPL *appl, word command, dword Id, word Number, byte *format, ...) in sendf() argument
237 if (!appl) in sendf()
241 appl->Id, command, (byte *) format)) in sendf()
243 PUT_WORD(&msg.header.appl_id, appl->Id); in sendf()
246 Number = appl->Number++; in sendf()
340 capi_ctr_handle_message(&card->capi_ctrl, appl->Id, dmb); in sendf()
724 static void diva_register_appl(struct capi_ctr *ctrl, __u16 appl, in diva_register_appl() argument
743 DBG_TRC(("application register Id=%d", appl)) in diva_register_appl()
745 if (appl > MAX_APPL) { in diva_register_appl()
756 DBG_LOG(("CAPI_REGISTER - Id = %d", appl)) in diva_register_appl()
769 if (application[appl - 1].Id == appl) { in diva_register_appl()
814 this = &application[appl - 1]; in diva_register_appl()
817 this->Id = appl; in diva_register_appl()
820 adapter[i].CIP_Mask[appl - 1] = 0; in diva_register_appl()
848 static void diva_release_appl(struct capi_ctr *ctrl, __u16 appl) in diva_release_appl() argument
851 APPL *this = &application[appl - 1]; in diva_release_appl()
854 DBG_TRC(("application %d(%d) cleanup", this->Id, appl)) in diva_release_appl()