Home
last modified time | relevance | path

Searched refs:evdata (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai.c1013 usba_evdata_t *evdata; in usb_register_hotplug_cbs() local
1033 evdata = usba_get_evdata(dip); in usb_register_hotplug_cbs()
1046 NULL, &evdata->ev_rm_cb_id) != DDI_SUCCESS) { in usb_register_hotplug_cbs()
1064 NULL, &evdata->ev_ins_cb_id) != DDI_SUCCESS) { in usb_register_hotplug_cbs()
1109 usba_evdata_t *evdata; in usb_register_event_cbs() local
1123 evdata = usba_get_evdata(dip); in usb_register_event_cbs()
1135 NULL, &evdata->ev_rm_cb_id) != DDI_SUCCESS) { in usb_register_event_cbs()
1150 NULL, &evdata->ev_ins_cb_id) != DDI_SUCCESS) { in usb_register_event_cbs()
1165 NULL, &evdata->ev_resume_cb_id) != DDI_SUCCESS) { in usb_register_event_cbs()
1180 NULL, &evdata->ev_suspend_cb_id) != DDI_SUCCESS) { in usb_register_event_cbs()
[all …]
H A Dusbai_util.c2381 usba_evdata_t *evdata; in usba_common_register_events() local
2387 evdata = usba_get_evdata(dip); in usba_common_register_events()
2395 cookie, event_cb, NULL, &evdata->ev_rm_cb_id); in usba_common_register_events()
2406 NULL, &evdata->ev_ins_cb_id); in usba_common_register_events()
2416 cookie, event_cb, NULL, &evdata->ev_suspend_cb_id); in usba_common_register_events()
2426 &evdata->ev_resume_cb_id); in usba_common_register_events()
2445 usba_evdata_t *evdata; in usba_common_unregister_events() local
2449 evdata = usba_get_evdata(dip); in usba_common_unregister_events()
2451 if (evdata->ev_rm_cb_id != NULL) { in usba_common_unregister_events()
2452 (void) ddi_remove_event_handler(evdata->ev_rm_cb_id); in usba_common_unregister_events()
[all …]
H A Dusba.c554 usba_evdata_t *evdata; in usba_get_evdata() local
561 evdata = usba_device->usb_evdata; in usba_get_evdata()
562 while (evdata) { in usba_get_evdata()
563 if (evdata->ev_dip == dip) { in usba_get_evdata()
566 return (evdata); in usba_get_evdata()
568 evdata = evdata->ev_next; in usba_get_evdata()
571 evdata = kmem_zalloc(sizeof (usba_evdata_t), KM_SLEEP); in usba_get_evdata()
572 evdata->ev_dip = dip; in usba_get_evdata()
573 evdata->ev_next = usba_device->usb_evdata; in usba_get_evdata()
574 usba_device->usb_evdata = evdata; in usba_get_evdata()
[all …]