| /xnu-11215/bsd/kern/ |
| H A D | tty_dev.c | 186 if (driver) { in tty_dev_register() 188 tty_dev_head = driver; in tty_dev_register() 212 struct tty_dev_t *driver; in pty_get_driver() local 213 for (driver = tty_dev_head; driver != NULL; driver = driver->next) { in pty_get_driver() 214 if ((driver->primary == major || driver->replica == major)) { in pty_get_driver() 218 return driver; in pty_get_driver() 226 *out_driver = driver; in pty_get_ioctl() 228 if (driver && driver->open) { in pty_get_ioctl() 241 if (driver && driver->free) { in pty_free_ioctl() 251 if (driver && driver->name) { in pty_get_name() [all …]
|
| H A D | kern_sig.c | 1835 boolean_t driver = task_is_driver(task); in set_thread_extra_flags() local 1870 if (driver) { in set_thread_extra_flags() 1881 vm_shared_region_reslide_stale(driver); in set_thread_extra_flags()
|
| /xnu-11215/bsd/dev/dtrace/ |
| H A D | fbt_blacklist.c | 294 X86_ONLY(com.apple.driver.AppleACPIEC) 295 X86_ONLY(com.apple.driver.AppleACPIPlatform) 296 ARM_ONLY(com.apple.driver.AppleARMPlatform) 297 X86_ONLY(com.apple.driver.AppleEFI) 298 X86_ONLY(com.apple.driver.AppleIntelCPUPowerManagement) 299 ARM_ONLY(com.apple.driver.AppleInterruptController) 300 X86_ONLY(com.apple.driver.AppleRTC)
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOCatalogue.cpp | 364 OSDictionary * driver; in exchangeDrivers() local 366 driver = (OSDictionary *)array->getObject(count); in exchangeDrivers() 373 if (personality->isEqualTo(driver)) { in exchangeDrivers() 465 OSDictionary * driver; in addDrivers() local 468 driver = (OSDictionary *)array->getObject(count); in addDrivers() 476 if (personality->isEqualTo(driver)) { in addDrivers() 611 IOCatalogue::isModuleLoaded(OSDictionary * driver, OSObject ** kextRef) const in isModuleLoaded() argument 620 if (!driver) { in isModuleLoaded() 631 driver->getObject(kIOPersonalityPublisherKey)); in isModuleLoaded() 658 IOCatalogue::isModuleLoaded(OSDictionary * driver, OSSharedPtr<OSObject>& kextRef) const in isModuleLoaded() argument [all …]
|
| H A D | IOPerfControl.cpp | 21 IOPerfControlClient::init(IOService *driver, uint64_t maxWorkCapacity) in init() argument 151 IOPerfControlClient::copyClient(IOService *driver, uint64_t maxWorkCapacity) in copyClient() argument 154 if (!client || !client->init(driver, maxWorkCapacity)) { in copyClient() 328 IOPerfControlClient::registerDevice(IOService *driver, IOService *device) in registerDevice() argument 352 ret = shared->interface.registerDriverDevice(driver, device, &clientData.driverState); in registerDevice() 365 IOPerfControlClient::unregisterDevice(IOService *driver, IOService *device) in unregisterDevice() argument 371 shared->interface.unregisterDriverDevice(driver, device, &clientData.driverState); in unregisterDevice()
|
| H A D | IOServicePM.cpp | 1395 fInsertInterestSet->setObject(driver); in registerInterestedDriver() 1427 if (!driver) { in deRegisterInterestedDriver() 1453 waitForPMDriverCall( driver ); in deRegisterInterestedDriver() 1477 IOService * driver; in handleInterestChanged() local 1486 list->appendNewInformee(driver); in handleInterestChanged() 1496 informee = list->findItem(driver); in handleInterestChanged() 1503 list->removeFromList(driver); in handleInterestChanged() 4275 IOService * driver; in driverInformPowerChange() local 4298 driver = informee->whatObject; in driverInformPowerChange() 4302 ADDR(driver->getMetaClass()), in driverInformPowerChange() [all …]
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | IOWorkGroup.iig | 47 … Applications that open user clients to a DriverKit driver can send a workgroup to use in the driv… 50 * workgroup port with os_workgroup_copy_port(). To send the workgroup port to the driver, use: 52 …* const char * name = "Work Group Name"; // This must match the name the driver used in IOWorkGrou… 60 …* Once the workgroup port has been sent to the driver, the driver should be notified with a user-d…
|
| H A D | IOEventLink.iig | 60 * Applications that open user clients to a DriverKit driver can set up an eventlink 66 * to the driver, use: 68 …* const char * name = "Event Link Name"; // This must match the name the driver used in IOEventLin… 76 …* Once the remote eventlink port has been sent to the driver, the driver should be notified with a… 77 …* or other existing signaling mechanism. The driver should handle this by activating the IOEventLi…
|
| H A D | IOService.iig | 79 * IOKit provides driver lifecycle management through the IOService APIs. 237 …* @discussion DriverKit notifies of changes in power of a provider. The driver should make itself… 251 * @discussion A driver may allow a device to enter a lower power state. 262 …* @discussion Allows a driver to ignore power desires of its children, similar to powerOverrideOn… 273 … IOServiceOpen() call. The type parameter of that call is passed here. The driver should respond to 286 …An IOService interface or IOUserClient subclass may be created from a plist property of the driver. 334 …* your driver such that an occasional delay will not affect the proper functioning of your de… 335 …* However, if this is not possible, your driver can inform power management when a time-criti… 338 …* nanoseconds that can be tolerated by the driver. This value is hardware dependent and is re…
|
| H A D | IOUserClient.iig | 93 * This field should be set by the driver to an OSData object it created with 95 …* It is an error for the driver to set this field if structureOutputDescriptor was pa… 194 * @param dispatch NULL when called in the driver. The IOUserClient::ExternalMethod() 218 * To deliver the asynchronous results the driver calls AsyncCompletion().
|
| H A D | IOInterruptDispatchSource.iig | 58 * A driver can run code in response to an interrupt from a device, specified as an IOService
|
| H A D | IODMACommand.iig | 86 * to/from a driver allocated bounce buffer.
|
| /xnu-11215/iokit/IOKit/perfcontrol/ |
| H A D | IOPerfControl.h | 31 virtual bool init(IOService *driver, uint64_t maxWorkCapacity); 43 static IOPerfControlClient *copyClient(IOService *driver, uint64_t maxWorkCapacity); 55 virtual IOReturn registerDevice(IOService *driver, IOService *device); 65 virtual void unregisterDevice(IOService *driver, IOService *device);
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IOCatalogue.h | 155 bool isModuleLoaded( OSDictionary * driver, OSObject ** kextRef ) const; 157 bool isModuleLoaded( OSDictionary * driver, OSSharedPtr<OSObject>& kextRef ) const;
|
| H A D | IOService.h | 1854 virtual void joinPMtree( IOService * driver );
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | ioreg.py | 618 driver = CastIOKitClass(next.whatObject, 'IOService *') 619 name = GetRegistryEntryName(driver) 620 reg_id = CastIOKitClass(driver, 'IORegistryEntry *').reserved.fRegistryEntryID; 1273 def __init__(self, device, driver, base_vector_number, name): argument 1288 self.driver = driver 1298 self.name, hex(self.base_vector_number), str(self.device), str(self.driver)) 1301 def makeInterruptControllerDevice(device, driver): argument 1318 base_vector = LookupKeyInPropTable(driver.fPropertyTable, BASE_VECTOR_PROPERTY) 1321 … device_name = LookupKeyInPropTable(driver.fPropertyTable, INTERRUPT_CONTROLLER_NAME_PROPERTY) 1330 return InterruptControllerDevice(device, driver, base_vector_number, device_name)
|
| /xnu-11215/osfmk/kern/ |
| H A D | test_lock.c | 370 thread_t driver; member 425 if (ctx->driver == self) { in smr_sleepable_stress_idx() 523 ctx.driver = current_thread(); in smr_sleepable_stress_test() 547 clear_wait(ctx.driver, THREAD_AWAKENED); in smr_sleepable_stress_test()
|
| /xnu-11215/tools/tests/testkext/testkext.xcodeproj/ |
| H A D | project.pbxproj | 384 MODULE_NAME = com.yourcompany.driver.testvmx; 403 MODULE_NAME = com.yourcompany.driver.testvmx; 425 MODULE_NAME = com.yourcompany.driver.testthreadcall; 443 MODULE_NAME = com.yourcompany.driver.testthreadcall;
|
| /xnu-11215/doc/lifecycle/ |
| H A D | hibernation.md | 48 BSD level, grabs its extents and searches for a polling driver willing to work 50 * The BSD code makes an ioctl to the storage driver to get the partition base 107 so that the PPL hmac driver can be used during hibernation resume. Certain 127 driver supports this. 148 * The image header is written to the start of the file and the polling driver 231 called to restore the rest of memory, using the polled mode driver, before 235 * The polling driver is closed down and regular wake proceeds. 276 * The PPL hibernation driver also keeps track of every PPL-owned page being
|
| /xnu-11215/doc/debugging/ |
| H A D | task_ref.md | 52 -> task_com.apple.driver.AppleHV 53 -> task_com.apple.driver.AppleHV
|
| H A D | debugging.md | 319 (lldb) addkext -N com.apple.driver.AppleT8103PCIeC
|
| /xnu-11215/bsd/miscfs/devfs/ |
| H A D | README | 67 (I hope) devices that go direct from the backing node to the driver 92 a driver decides to remove a device from the backing tree, the FS
|
| /xnu-11215/libkern/kmod/libkmod.xcodeproj/ |
| H A D | project.pbxproj | 364 MODULE_NAME = com.apple.driver.libkmodtest;
|
| /xnu-11215/libsyscall/mach/ |
| H A D | err_iokit.sub | 127 "(iokit/usb) device is not high speed, ehci driver returns error", // 0x049
|
| /xnu-11215/iokit/IOKit/pwr_mgt/ |
| H A D | RootDomain.h | 274 void requestUserActive(IOService *driver, const char *reason);
|