Lines Matching refs:Id
159 if (!a->Id) in find_free_id()
176 if (ControllerMap[card->Id] == controller) { in find_card_by_ctrl()
191 DBG_PRV1(("%d:xbuf_used(%d)", appl->Id, ref + 1)) in TransmitBufferSet()
206 DBG_PRV1(("%d:xbuf_free(%d)", appl->Id, ((dword)(long)p) + 1)) in TransmitBufferFree()
225 void sendf(APPL *appl, word command, dword Id, word Number, byte *format, ...) in sendf() argument
241 appl->Id, command, (byte *) format)) in sendf()
243 PUT_WORD(&msg.header.appl_id, appl->Id); in sendf()
249 PUT_DWORD(&msg.header.controller, Id); in sendf()
340 capi_ctr_handle_message(&card->capi_ctrl, appl->Id, dmb); in sendf()
428 clean_adapter(card->Id - 1, &free_mem_q); in divacapi_remove_card()
430 ControllerMap[card->Id], card->Id)) in divacapi_remove_card()
431 ControllerMap[card->Id] = 0; in divacapi_remove_card()
476 DBG_TRC(("cb:Id=%x,Rc=%x,Ind=%x", e->Id, e->Rc, e->Ind)) in sync_callback()
525 card->Id = find_free_id(); in diva_add_card()
546 a = &adapter[card->Id - 1]; in diva_add_card()
549 ControllerMap[card->Id] = (byte) (ctrl->cnr); in diva_add_card()
551 DBG_TRC(("AddAdapterMap (%d) -> (%d)", ctrl->cnr, card->Id)) in diva_add_card()
575 a->Id = (byte) card->Id; in diva_add_card()
579 a->plci[k].Sig.user[0] = (word) (card->Id - 1); in diva_add_card()
584 a->plci[k].NL.user[0] = (word) ((card->Id - 1) | 0x8000); in diva_add_card()
589 a->profile.Number = card->Id; in diva_add_card()
678 for (i = card->Id; i < max_adapter; i++) { in diva_add_card()
769 if (application[appl - 1].Id == appl) { in diva_register_appl()
817 this->Id = appl; in diva_register_appl()
840 CapiRegister(this->Id); in diva_register_appl()
854 DBG_TRC(("application %d(%d) cleanup", this->Id, appl)) in diva_release_appl()
862 if (this->Id) { in diva_release_appl()
863 CapiRelease(this->Id); in diva_release_appl()
866 this->Id = 0; in diva_release_appl()
896 DBG_PRV1(("Write - appl = %d, cmd = 0x%x", this->Id, command)) in diva_send_message()
905 if (!this->Id) { in diva_send_message()
911 msg->header.controller = ControllerMap[card->Id] in diva_send_message()
1015 if (e->Req && (a->FlowControlIdTable[e->ReqCh] == e->Id)) { in DIRequest()