Lines Matching refs:devfs_path

106 devctl_bus_acquire(char *devfs_path, uint_t flags)  in devctl_bus_acquire()  argument
112 ((devfs_path != NULL) ? devfs_path : nullptr), flags); in devctl_bus_acquire()
114 if ((devfs_path == NULL) || ((flags != 0) && (flags != DC_EXCL))) { in devctl_bus_acquire()
120 return (dc_mkhndl(DEVCTL_BUS, devfs_path, oflags, NULL)); in devctl_bus_acquire()
129 devctl_device_acquire(char *devfs_path, uint_t flags) in devctl_device_acquire() argument
135 ((devfs_path != NULL) ? devfs_path : nullptr), flags); in devctl_device_acquire()
137 if ((devfs_path == NULL) || ((flags != 0) && (flags != DC_EXCL))) { in devctl_device_acquire()
143 return (dc_mkhndl(DEVCTL_DEVICE, devfs_path, oflags, NULL)); in devctl_device_acquire()
153 devctl_ap_acquire(char *devfs_path, uint_t flags) in devctl_ap_acquire() argument
159 ((devfs_path != NULL) ? devfs_path : nullptr), flags); in devctl_ap_acquire()
161 if ((devfs_path == NULL) || in devctl_ap_acquire()
171 return (dc_mkhndl(DEVCTL_AP, devfs_path, oflags, NULL)); in devctl_ap_acquire()
181 devctl_pm_bus_acquire(char *devfs_path, uint_t flags) in devctl_pm_bus_acquire() argument
187 ((devfs_path != NULL) ? devfs_path : nullptr), flags); in devctl_pm_bus_acquire()
189 if ((devfs_path == NULL) || ((flags != 0) && (flags != DC_EXCL))) { in devctl_pm_bus_acquire()
195 return (dc_mkhndl(DEVCTL_PM_BUS, devfs_path, oflags, NULL)); in devctl_pm_bus_acquire()
205 devctl_pm_dev_acquire(char *devfs_path, uint_t flags) in devctl_pm_dev_acquire() argument
211 ((devfs_path != NULL) ? devfs_path : nullptr), flags); in devctl_pm_dev_acquire()
213 if ((devfs_path == NULL) || ((flags != 0) && (flags != DC_EXCL))) { in devctl_pm_dev_acquire()
219 return (dc_mkhndl(DEVCTL_PM_DEV, devfs_path, oflags, NULL)); in devctl_pm_dev_acquire()