Lines Matching refs:adapter_nr

83 void diva_user_mode_idi_remove_adapter(int adapter_nr)  in diva_user_mode_idi_remove_adapter()  argument
90 if (a->adapter_nr == adapter_nr) { in diva_user_mode_idi_remove_adapter()
93 DBG_LOG(("DIDD: del adapter(%d)", a->adapter_nr)); in diva_user_mode_idi_remove_adapter()
112 DBG_LOG(("DIDD: del adapter(%d)", a->adapter_nr)); in diva_user_mode_idi_finit()
121 int diva_user_mode_idi_create_adapter(const DESCRIPTOR *d, int adapter_nr) in diva_user_mode_idi_create_adapter() argument
136 a->adapter_nr = adapter_nr; in diva_user_mode_idi_create_adapter()
139 adapter_nr, a->d.type, a->d.features, a->d.channels)); in diva_user_mode_idi_create_adapter()
157 DBG_TRC(("find_adapter: (%d)-(%d)", nr, a->adapter_nr)); in diva_um_idi_find_adapter()
158 if (a->adapter_nr == (int)nr) in diva_um_idi_find_adapter()
208 void *divas_um_idi_create_entity(dword adapter_nr, void *file) in divas_um_idi_create_entity() argument
241 if (!(a = diva_um_idi_find_adapter(adapter_nr))) { in divas_um_idi_create_entity()
247 DBG_LOG(("A: no adapter(%ld)", adapter_nr)); in divas_um_idi_create_entity()
263 DBG_LOG(("A(%ld), create E(%08x)", adapter_nr, e)); in divas_um_idi_create_entity()
272 int divas_um_idi_delete_entity(int adapter_nr, void *entity) in divas_um_idi_delete_entity() argument
293 DBG_LOG(("A(%d) remove E:%08x", adapter_nr, e)); in divas_um_idi_delete_entity()
325 DBG_TRC(("A(%d) E(%08x) read(%d)", a->adapter_nr, e, max_length)); in diva_um_idi_read()
338 DBG_TRC(("A(%d) E(%08x) read data", a->adapter_nr, e)); in diva_um_idi_read()
344 DBG_TRC(("A(%d) E(%08x) read rc", a->adapter_nr, e)); in diva_um_idi_read()
354 a->adapter_nr, e, ret)); in diva_um_idi_read()
373 DBG_TRC(("A(%d) E(%08x) read=%d", a->adapter_nr, e, ret)); in diva_um_idi_read()
405 DBG_TRC(("A(%d) E(%08x) write(%d)", a->adapter_nr, e, length)); in diva_um_idi_write()
413 DBG_ERR(("A: A(%d) E(%08x) rc pending", a->adapter_nr, e)); in diva_um_idi_write()
423 DBG_TRC(("A: A(%d) E(%08x) write error=%d", a->adapter_nr, in diva_um_idi_write()
433 DBG_LOG(("A(%d) get_features", a->adapter_nr)); in diva_um_idi_write()
437 a->adapter_nr)); in diva_um_idi_write()
461 DBG_TRC(("A(%d) REQ(%02d)-(%02d)-(%08x)", a->adapter_nr, in diva_um_idi_write()
483 DBG_TRC(("A(%d) E(%08x) write=%d", a->adapter_nr, e, ret)); in diva_um_idi_write()
542 e->adapter->adapter_nr, e)); in process_idi_request()
549 e->adapter->adapter_nr, e)); in process_idi_request()
555 e->adapter->adapter_nr, e)); in process_idi_request()
561 e->adapter->adapter_nr, e)); in process_idi_request()
566 e->adapter->adapter_nr, e, in process_idi_request()
585 e->adapter->adapter_nr, e, e->e.Id, e->e.Req, in process_idi_request()
602 e->adapter->adapter_nr, e)); in process_idi_request()
627 e->adapter->adapter_nr, e, e->e.Id, rc, e->e.RcCh)); in process_idi_rc()
633 e->adapter->adapter_nr, e)); in process_idi_rc()
650 e->adapter->adapter_nr, e)); in process_idi_rc()
670 e->adapter->adapter_nr, e)); in process_idi_rc()
692 e->adapter->adapter_nr, e, e->e.Id, ind, in process_idi_ind()
698 e->adapter->adapter_nr, e, e->e.Id, ind, in process_idi_ind()
709 e->adapter->adapter_nr, e, e->e.Id, ind, in process_idi_ind()
741 e->adapter->adapter_nr, e, rc)); in write_return_code()
876 e->adapter->adapter_nr, e, e->e.Id, e->e.Req, in divas_um_idi_entity_start_remove()