Lines Matching refs:device
65 devctl_attach(const char *device)
68 return (devctl_simple_request(DEV_ATTACH, device, 0));
72 devctl_detach(const char *device, bool force)
75 return (devctl_simple_request(DEV_DETACH, device, force ?
80 devctl_enable(const char *device)
83 return (devctl_simple_request(DEV_ENABLE, device, 0));
87 devctl_disable(const char *device, bool force_detach)
90 return (devctl_simple_request(DEV_DISABLE, device, force_detach ?
95 devctl_suspend(const char *device)
98 return (devctl_simple_request(DEV_SUSPEND, device, 0));
102 devctl_resume(const char *device)
105 return (devctl_simple_request(DEV_RESUME, device, 0));
109 devctl_set_driver(const char *device, const char *driver, bool force)
114 if (strlcpy(req.dr_name, device, sizeof(req.dr_name)) >=
126 devctl_clear_driver(const char *device, bool force)
129 return (devctl_simple_request(DEV_CLEAR_DRIVER, device, force ?
134 devctl_rescan(const char *device)
137 return (devctl_simple_request(DEV_RESCAN, device, 0));
141 devctl_delete(const char *device, bool force)
144 return (devctl_simple_request(DEV_DELETE, device, force ?
163 devctl_reset(const char *device, bool detach)
166 return (devctl_simple_request(DEV_RESET, device, detach ?