Lines Matching refs:hdc
20 HotplugHandlerClass *hdc = HOTPLUG_HANDLER_GET_CLASS(plug_handler); in hotplug_handler_pre_plug() local
22 if (hdc->pre_plug) { in hotplug_handler_pre_plug()
23 hdc->pre_plug(plug_handler, plugged_dev, errp); in hotplug_handler_pre_plug()
31 HotplugHandlerClass *hdc = HOTPLUG_HANDLER_GET_CLASS(plug_handler); in hotplug_handler_plug() local
33 if (hdc->plug) { in hotplug_handler_plug()
34 hdc->plug(plug_handler, plugged_dev, errp); in hotplug_handler_plug()
42 HotplugHandlerClass *hdc = HOTPLUG_HANDLER_GET_CLASS(plug_handler); in hotplug_handler_unplug_request() local
44 if (hdc->unplug_request) { in hotplug_handler_unplug_request()
45 hdc->unplug_request(plug_handler, plugged_dev, errp); in hotplug_handler_unplug_request()
53 HotplugHandlerClass *hdc = HOTPLUG_HANDLER_GET_CLASS(plug_handler); in hotplug_handler_unplug() local
55 if (hdc->unplug) { in hotplug_handler_unplug()
56 hdc->unplug(plug_handler, plugged_dev, errp); in hotplug_handler_unplug()