• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/isdn/hardware/eicon/

Lines Matching defs:appl

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