Lines Matching refs:DESCRIPTOR
45 static DESCRIPTOR HandleTable[NEW_MAX_DESCRIPTORS];
66 static DESCRIPTOR MAdapter = {IDI_DIMAINT, /* Adapter Type */
76 static DESCRIPTOR DAdapter = {IDI_DADAPTER, /* Adapter Type */
87 static void diva_notify_adapter_change(DESCRIPTOR *d, int removal);
108 static int diva_didd_add_descriptor(DESCRIPTOR *d) { in diva_didd_add_descriptor()
173 static int diva_didd_read_adapter_array(DESCRIPTOR *buffer, int length) { in diva_didd_read_adapter_array()
177 length /= sizeof(DESCRIPTOR); in diva_didd_read_adapter_array()
185 memcpy(&buffer[dst], &HandleTable[src], sizeof(DESCRIPTOR)); in diva_didd_read_adapter_array()
191 memcpy(&buffer[dst], &MAdapter, sizeof(DESCRIPTOR)); in diva_didd_read_adapter_array()
197 memcpy(&buffer[dst], &DAdapter, sizeof(DESCRIPTOR)); in diva_didd_read_adapter_array()
236 if (diva_didd_add_descriptor((DESCRIPTOR *)pinfo->descriptor) < 0) { in diva_dadapter_request()
253 if (diva_didd_read_adapter_array((DESCRIPTOR *)pinfo->buffer, in diva_dadapter_request()
309 static void diva_notify_adapter_change(DESCRIPTOR *d, int removal) { in diva_notify_adapter_change()