Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/usb/usba/
H A Dusbai.c1010 usba_evdata_t *evdata; in usb_register_hotplug_cbs() local
1030 evdata = usba_get_evdata(dip); in usb_register_hotplug_cbs()
1043 NULL, &evdata->ev_rm_cb_id) != DDI_SUCCESS) { in usb_register_hotplug_cbs()
1061 NULL, &evdata->ev_ins_cb_id) != DDI_SUCCESS) { in usb_register_hotplug_cbs()
1106 usba_evdata_t *evdata; in usb_register_event_cbs() local
1120 evdata = usba_get_evdata(dip); in usb_register_event_cbs()
1132 NULL, &evdata->ev_rm_cb_id) != DDI_SUCCESS) { in usb_register_event_cbs()
1147 NULL, &evdata->ev_ins_cb_id) != DDI_SUCCESS) { in usb_register_event_cbs()
1162 NULL, &evdata->ev_resume_cb_id) != DDI_SUCCESS) { in usb_register_event_cbs()
1177 NULL, &evdata->ev_suspend_cb_id) != DDI_SUCCESS) { in usb_register_event_cbs()
[all …]
H A Dusbai_util.c2380 usba_evdata_t *evdata; in usba_common_register_events() local
2386 evdata = usba_get_evdata(dip); in usba_common_register_events()
2394 cookie, event_cb, NULL, &evdata->ev_rm_cb_id); in usba_common_register_events()
2405 NULL, &evdata->ev_ins_cb_id); in usba_common_register_events()
2415 cookie, event_cb, NULL, &evdata->ev_suspend_cb_id); in usba_common_register_events()
2425 &evdata->ev_resume_cb_id); in usba_common_register_events()
2444 usba_evdata_t *evdata; in usba_common_unregister_events() local
2448 evdata = usba_get_evdata(dip); in usba_common_unregister_events()
2450 if (evdata->ev_rm_cb_id != NULL) { in usba_common_unregister_events()
2451 (void) ddi_remove_event_handler(evdata->ev_rm_cb_id); in usba_common_unregister_events()
[all …]
H A Dusba.c552 usba_evdata_t *evdata; in usba_get_evdata() local
559 evdata = usba_device->usb_evdata; in usba_get_evdata()
560 while (evdata) { in usba_get_evdata()
561 if (evdata->ev_dip == dip) { in usba_get_evdata()
564 return (evdata); in usba_get_evdata()
566 evdata = evdata->ev_next; in usba_get_evdata()
569 evdata = kmem_zalloc(sizeof (usba_evdata_t), KM_SLEEP); in usba_get_evdata()
570 evdata->ev_dip = dip; in usba_get_evdata()
571 evdata->ev_next = usba_device->usb_evdata; in usba_get_evdata()
572 usba_device->usb_evdata = evdata; in usba_get_evdata()
[all …]