Home
last modified time | relevance | path

Searched refs:device (Results 1 – 25 of 68) sorted by relevance

123

/xnu-11215/iokit/Kernel/
H A DIOPerfControl.cpp45 [](IOService *device) { in init() argument
49 [](IOService *device) { in init() argument
308 threadGroupForDextService(IOService *device) in threadGroupForDextService() argument
310 assert(device); in threadGroupForDextService()
312 if (!device->hasUserServer()) { in threadGroupForDextService()
334 clientData.device = device; in registerDevice()
336 if (device) { in registerDevice()
373 shared->interface.unregisterDevice(device); in unregisterDevice()
387 clientData.device = nullptr; in unregisterDevice()
814 if (clientData && clientData->device) { in registerPerformanceController()
[all …]
H A DIOMapper.cpp168 IOMapper::copyMapperForDevice(IOService * device) in copyMapperForDevice() argument
170 return copyMapperForDeviceWithIndex(device, 0); in copyMapperForDevice()
174 IOMapper::copyMapperForDeviceWithIndex(IOService * device, unsigned int index) in copyMapperForDeviceWithIndex() argument
181 obj = device->copyProperty("iommu-parent"); in copyMapperForDeviceWithIndex()
221 snprintf(name, sizeof(name), "%s.DMA.%s", kmodname, device->getName()); in copyMapperForDeviceWithIndex()
/xnu-11215/iokit/IOKit/perfcontrol/
H A DIOPerfControl.h55 virtual IOReturn registerDevice(IOService *driver, IOService *device);
65 virtual void unregisterDevice(IOService *driver, IOService *device);
91 virtual uint64_t workSubmit(IOService *device, WorkSubmitArgs *args = nullptr);
118 virtual uint64_t workSubmitAndBegin(IOService *device, WorkSubmitArgs *submitArgs = nullptr,
128 virtual void workBegin(IOService *device, uint64_t token, WorkBeginArgs *args = nullptr);
154 …virtual void workEnd(IOService *device, uint64_t token, WorkEndArgs *args = nullptr, bool done = t…
189 bool workSubmitWithContext(IOService *device, OSObject *context, WorkSubmitArgs *args = nullptr);
200 void workBeginWithContext(IOService *device, OSObject *context, WorkBeginArgs *args = nullptr);
214 …void workEndWithContext(IOService *device, OSObject *context, WorkEndArgs *args = nullptr, bool do…
240 void workUpdateWithContext(IOService *device, OSObject *context, WorkUpdateArgs *args = nullptr);
[all …]
/xnu-11215/osfmk/device/
H A DMakefile10 device.defs
25 EXTRA_DATAFILES = device.defs device_types.defs
34 device.modulemap
59 INSTALL_MI_DIR = device
63 EXPORT_MI_DIR = device
76 ${DEVICE_FILES}: device.defs
H A Ddevice.modulemap1 module Darwin.device [system] {
2 header "device/device_types.h"
8 header "device/device_port.h"
H A Ddevice_types.defs62 * Common definitions for device interface types.
103 import <device/device_types.h>;
/xnu-11215/SETUP/config/
H A Dconfig.h96 struct device { struct
103 struct device *d_next; /* Next one in list */ argument
148 extern struct device *dtab;
177 void init_dev(struct device *dp);
178 void newdev(struct device *dp);
179 void dev_param(struct device *dp, const char *str, long num);
H A Dparser.y63 struct device cur;
64 struct device *curp = 0;
261 newdev(struct device *dp) in newdev()
263 register struct device *np; in newdev()
265 np = (struct device *) malloc(sizeof *np); in newdev()
276 init_dev(struct device *dp) in init_dev()
H A Dexterns.c55 struct device *dtab;
H A Dmkioconf.c81 struct device *dp; in pseudo_inits()
/xnu-11215/pexpert/arm/
H A Dpe_serial.c79 serial_device_t device; member
135 return (serial_irq_status & device_fns->device) == 0; in irq_initialized()
158 get_serial_functions(serial_device_t device) in get_serial_functions() argument
162 if (fns->device == device) { in get_serial_functions()
390 .device = SERIAL_APPLE_UART
632 .device = SERIAL_DOCKCHANNEL
700 .device = SERIAL_PL011_UART
1120 serial_irq_enable(serial_device_t device) in serial_irq_enable() argument
1128 serial_irq_status &= ~device; in serial_irq_enable()
1142 serial_irq_action(serial_device_t device) in serial_irq_action() argument
[all …]
/xnu-11215/libsyscall/mach/
H A Derr_iokit.sub49 "(iokit/common) no such device", // 0x2c0
52 "(iokit/common) device read locked", // 0x2c3
53 "(iokit/common) device write locked", // 0x2c4
62 "(iokit/common) device not open", // 0x2cd
67 "(iokit/common) device(s) still open", // 0x2d2
72 "(iokit/common) device offline", // 0x2d7
74 "(iokit/common) device not attached", // 0x2d9
84 "(iokit/common) no power to device", // 0x2e3
90 "(iokit/common) the device is not working properly!", // 0x2e9
94 "(iokit/common) device not responding", // 0x2ed
[all …]
H A Derr_kern.sub106 "(os/unix) device does not exist",
115 "(os/unix) block device required for operation",
116 "(os/unix) mount device busy",
118 "(os/unix) cross device link",
119 "(os/unix) device does not exist",
125 "(os/unix) object is not a tty-like device",
128 "(os/unix) no space is left on device",
135 "(os/unix) operation on device would block",
/xnu-11215/config/
H A DMASTER170 pseudo-device gif 1 # <gif>
171 pseudo-device dummy 2 # <dummy>
172 pseudo-device stf 1 # <stf>
318 # embedded device
476 # Network loopback device
491 pseudo-device ptmx 1 init ptmx_init
494 # memory device
495 pseudo-device mdevdevice 1 init mdevinit
499 # packet filter device
504 # fsevents device
[all …]
/xnu-11215/pexpert/pexpert/arm/
H A Dprotos.h52 kern_return_t serial_irq_enable(serial_device_t device);
53 kern_return_t serial_irq_action(serial_device_t device);
54 bool serial_irq_filter(serial_device_t device);
/xnu-11215/bsd/kern/
H A Dkern_symfile.c86 dev_t device; member
99 dev_t device = *(dev_t*) p1; in file_ioctl() local
128 p1 = &ref->device; in kern_ioctl_file_extents()
232 dev_t device; in kern_open_file_for_direct_io() local
320 device = va.va_devid; in kern_open_file_for_direct_io()
323 p1 = &device; in kern_open_file_for_direct_io()
369 device = va.va_rdev; in kern_open_file_for_direct_io()
379 ref->device = device; in kern_open_file_for_direct_io()
587 *partition_device_result = device; in kern_open_file_for_direct_io()
607 p1 = &device; in kern_open_file_for_direct_io()
[all …]
/xnu-11215/osfmk/i386/
H A Dio_port.h76 device_t device,
79 device_t device);
/xnu-11215/osfmk/
H A DMakefile15 device \
53 device \
/xnu-11215/bsd/miscfs/devfs/
H A DREADME19 a "devnode" struct, that holds information about the device
22 a directory entry, and contains the default name of the device,
39 (e.g. to find the root device)
50 point to the same device will use the same "devnode" struct, and through
74 Because non device nodes (directories and symlinks) have their own
92 a driver decides to remove a device from the backing tree, the FS
/xnu-11215/iokit/IOKit/
H A DIOMapper.h103 static OSPtr<IOMapper> copyMapperForDevice(IOService * device);
104 static OSPtr<IOMapper> copyMapperForDeviceWithIndex(IOService * device, unsigned int index);
/xnu-11215/iokit/DriverKit/
H A DIOInterruptDispatchSource.iig58 * A driver can run code in response to an interrupt from a device, specified as an IOService
69 … * @param provider The IOService object representing the HW device producing the interrupt.
83 …* @brief Returns the type of interrupt used for a device supplying hardware interrupts, by i…
84 … * @param provider The IOService object representing the HW device producing the interrupt.
H A DIODMACommand.iig102 * @param device The device (typically an IOPCIDevice instance that will be
114 IOService * device,
H A DIOService.iig76 * IOService represents an device or OS service in IOKit and DriverKit.
241 * kIOServicePowerCapabilityOn the device and system are fully powered
242 * kIOServicePowerCapabilityLow the device is in a reduced power state while the system is running
251 * @discussion A driver may allow a device to enter a lower power state.
253 * kIOServicePowerCapabilityLow the device is in a reduced power state while the system is running
334 … your driver such that an occasional delay will not affect the proper functioning of your device.
341 * Pass the largest value possible that works for your device. This will minimize power
470 IOService * device,
/xnu-11215/osfmk/vm/
H A Ddevice_vm.c141 __unused memory_object_t device, in device_pager_setup() argument
182 memory_object_t device, in device_pager_populate_object() argument
192 device_object = device_pager_lookup(device); in device_pager_populate_object()
/xnu-11215/tools/lldbmacros/
H A Dioreg.py1273 def __init__(self, device, driver, base_vector_number, name): argument
1287 self.device = device
1298 self.name, hex(self.base_vector_number), str(self.device), str(self.driver))
1301 def makeInterruptControllerDevice(device, driver): argument
1316 base_vector = LookupKeyInPropTable(device.fPropertyTable, BASE_VECTOR_PROPERTY)
1319 … device_name = LookupKeyInPropTable(device.fPropertyTable, INTERRUPT_CONTROLLER_NAME_PROPERTY)
1330 return InterruptControllerDevice(device, driver, base_vector_number, device_name)

123