Searched refs:source (Results 1 - 25 of 39) sorted by relevance

12

/xnu-2422.115.4/iokit/IOKit/
H A DIOInterruptController.h53 int source; member in struct:IOInterruptVector
80 virtual IOReturn registerInterrupt(IOService *nub, int source,
84 virtual IOReturn unregisterInterrupt(IOService *nub, int source);
86 virtual IOReturn getInterruptType(IOService *nub, int source,
89 virtual IOReturn enableInterrupt(IOService *nub, int source);
90 virtual IOReturn disableInterrupt(IOService *nub, int source);
91 virtual IOReturn causeInterrupt(IOService *nub, int source);
95 int source);
133 virtual IOReturn registerInterrupt(IOService *nub, int source,
137 virtual IOReturn unregisterInterrupt(IOService *nub, int source);
[all...]
H A DIOInterrupts.h56 void *nub, int source);
H A DIOCPU.h136 virtual IOReturn registerInterrupt(IOService *nub, int source,
141 virtual IOReturn getInterruptType(IOService *nub, int source,
144 virtual IOReturn enableInterrupt(IOService *nub, int source);
145 virtual IOReturn disableInterrupt(IOService *nub, int source);
146 virtual IOReturn causeInterrupt(IOService *nub, int source);
149 int source);
H A DIODeviceTreeSupport.h118 IOReturn IODTGetInterruptOptions( IORegistryEntry * regEntry, int source, IOOptionBits * options );
H A DIOService.h148 IOService * nub, int source );
1065 @discussion This method installs a C function interrupt handler to be called at primary interrupt time for a device's interrupt. Only one handler may be installed per interrupt source. IOInterruptEventSource provides a work loop based abstraction for interrupt delivery that may be more appropriate for work loop based drivers.
1066 @param source The index of the interrupt source in the device.
1068 @param handler The C function to be called at primary interrupt time when the interrupt occurs. The handler should process the interrupt by clearing the interrupt, or by disabling the source.
1070 @result An IOReturn code.<br><code>kIOReturnNoInterrupt</code> is returned if the source is not valid; <code>kIOReturnNoResources</code> is returned if the interrupt already has an installed handler. */
1072 virtual IOReturn registerInterrupt(int source, OSObject *target,
1079 @param source The index of the interrupt source in the device.
1080 @result An IOReturn code (<code>kIOReturnNoInterrupt</code> is returned if the source i
[all...]
/xnu-2422.115.4/libkern/zlib/
H A Dcompress.c43 Compresses the source buffer into the destination buffer. The level
45 length of the source buffer. Upon entry, destLen is the total size of the
53 int ZEXPORT compress2 (dest, destLen, source, sourceLen, level)
56 const Bytef *source;
63 stream.next_in = (Bytef*)source;
66 /* Check for source > 64K on 16-bit machine: */
93 int ZEXPORT compress (dest, destLen, source, sourceLen)
96 const Bytef *source;
99 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION);
H A Duncompr.c43 Decompresses the source buffer into the destination buffer. sourceLen is
44 the byte length of the source buffer. Upon entry, destLen is the total
57 int ZEXPORT uncompress (dest, destLen, source, sourceLen)
60 const Bytef *source;
66 stream.next_in = (Bytef*)source;
68 /* Check for source > 64K on 16-bit machine: */
H A Dzutil.c176 void zmemcpy(dest, source, len)
178 const Bytef* source;
183 *dest++ = *source++; /* ??? to be unrolled */
H A Dinflate.c80 * source file infback.c to provide a call-back interface to inflate for
1352 int ZEXPORT inflateCopy(dest, source)
1354 z_streamp source;
1362 if (dest == Z_NULL || source == Z_NULL || source->state == Z_NULL ||
1363 source->zalloc == (alloc_func)0 || source->zfree == (free_func)0)
1365 state = (struct inflate_state FAR *)source->state;
1369 ZALLOC(source, 1, sizeof(struct inflate_state));
1374 ZALLOC(source,
[all...]
/xnu-2422.115.4/iokit/Kernel/
H A DIOInterruptController.cpp55 IOReturn IOInterruptController::registerInterrupt(IOService *nub, int source, argument
74 vectorData = interruptSources[source].vectorData;
81 // Check if the interrupt source can/should be shared.
83 IODTGetInterruptOptions(nub, source, &options);
87 (getInterruptType(nub, source, &interruptType) == kIOReturnSuccess) &&
116 // Save the nub and source for the original consumer.
118 originalSource = vector->source;
171 vector->source = 0;
193 error = vector->sharedController->registerInterrupt(nub, source, target,
202 vector->source
218 unregisterInterrupt(IOService *nub, int source) argument
260 getInterruptType(IOService *nub, int source, int *interruptType) argument
280 enableInterrupt(IOService *nub, int source) argument
312 disableInterrupt(IOService *nub, int source) argument
337 causeInterrupt(IOService *nub, int source) argument
359 handleInterrupt(void *refCon, IOService *nub, int source) argument
481 registerInterrupt(IOService *nub, int source, void *target, IOInterruptHandler handler, void *refCon) argument
549 unregisterInterrupt(IOService *nub, int source) argument
607 enableInterrupt(IOService *nub, int source) argument
639 disableInterrupt(IOService *nub, int source) argument
[all...]
H A DIOInterruptEventSource.cpp250 (void */*refcon*/, IOService */*prov*/, int /*source*/)
267 (void */*refcon*/, IOService *prov, int source)
271 prov->disableInterrupt(source); /* disable the interrupt */
286 (void *refcon, IOService *prov, int source)
289 disableInterruptOccurred(refcon, prov, source);
291 normalInterruptOccurred(refcon, prov, source);
266 disableInterruptOccurred(void * , IOService *prov, int source) argument
285 interruptOccurred(void *refcon, IOService *prov, int source) argument
H A DIOFilterInterruptEventSource.cpp153 (void */*refcon*/, IOService */*prov*/, int /*source*/)
174 (void */*refcon*/, IOService *prov, int source)
191 prov->disableInterrupt(source); /* disable the interrupt */
173 disableInterruptOccurred(void * , IOService *prov, int source) argument
H A DIOCPU.cpp262 void PE_cpu_signal(cpu_id_t source, cpu_id_t target) argument
264 IOCPU *sourceCPU = OSDynamicCast(IOCPU, (OSObject *)source);
698 int source,
705 if (source >= numCPUs) return kIOReturnNoResources;
707 vector = &vectors[source];
721 vector->source = source;
741 int /*source*/,
752 int /*source*/)
759 int /*source*/)
697 registerInterrupt(IOService *nub, int source, void *target, IOInterruptHandler handler, void *refCon) argument
772 handleInterrupt(void * , IOService * , int source) argument
[all...]
H A DIOService.cpp3660 source = OSDynamicCast(OSSet, current); local
3662 while ((service = (IOService *) source->getAnyObject()))
3682 source->removeObject(service);
3684 source->release();
5403 IOReturn IOService::resolveInterrupt(IOService *nub, int source) argument
5429 interruptControllerName = OSDynamicCast(OSSymbol,array->getObject(source));
5438 data = OSDynamicCast(OSData, array->getObject(source));
5443 interruptSources[source].interruptController = interruptController;
5444 interruptSources[source].vectorData = data;
5449 IOReturn IOService::lookupInterrupt(int source, boo argument
5479 registerInterrupt(int source, OSObject *target, IOInterruptAction handler, void *refCon) argument
5495 unregisterInterrupt(int source) argument
5507 getInterruptType(int source, int *interruptType) argument
5519 enableInterrupt(int source) argument
5531 disableInterrupt(int source) argument
5543 causeInterrupt(int source) argument
[all...]
/xnu-2422.115.4/iokit/Examples/drvGenericInterruptController/
H A DGenericInterruptController.h52 virtual IOReturn getInterruptType(IOService *nub, int source,
61 IOService *nub, int source);
H A DGenericInterruptController.cpp91 // Just like any interrupt source, you must enable it to receive interrupts.
105 int source,
110 // Given the nub and source, set interruptType to level or edge.
124 int source)
153 vector->nub, vector->source);
104 getInterruptType(IOService *nub, int source, int *interruptType) argument
122 handleInterrupt(void * refCon, IOService * nub, int source) argument
/xnu-2422.115.4/bsd/miscfs/devfs/
H A Ddevfsdefs.h32 * Redistribution and use in source and binary forms, with or without
35 * 1. Redistributions of source code must retain the above copyright
293 dn_copy_times(devnode_t * target, devnode_t * source) argument
296 target->dn_atime = source->dn_atime;
297 target->dn_mtime = source->dn_mtime;
298 target->dn_ctime = source->dn_ctime;
/xnu-2422.115.4/iokit/IOKit/platform/
H A DAppleNMI.h65 virtual IOReturn handleInterrupt(void *refCon, IOService *nub, int source);
/xnu-2422.115.4/pexpert/i386/
H A Dpe_interrupt.c75 __unused int source,
84 /*vector->source = source; IGNORED */
74 PE_install_interrupt_handler(void *nub, __unused int source, void *target, IOInterruptHandler handler, void *refCon) argument
/xnu-2422.115.4/libkern/libkern/
H A Dzlib.h45 2. Altered source versions must be plainly marked as such, and must not be
47 3. This notice may not be removed or altered from any source distribution.
607 z_streamp source));
609 Sets the destination stream as a complete copy of the source stream.
619 enough memory, Z_STREAM_ERROR if the source stream state was inconsistent
620 (such as zalloc being NULL). msg is left unchanged in both source and
631 deflateReset returns Z_OK if success, or Z_STREAM_ERROR if the source
651 deflateParams returns Z_OK if success, Z_STREAM_ERROR if the source
666 specific input data. Read the deflate.c source code for the meaning of the
694 deflatePrime returns Z_OK if success, or Z_STREAM_ERROR if the source
[all...]
/xnu-2422.115.4/pexpert/pexpert/
H A Dpexpert.h125 void *nub, int source,
285 cpu_id_t source,
/xnu-2422.115.4/libsyscall/xcodescripts/
H A Dcreate-syscalls.pl235 my $source = "__".$$sym{c_sym}.".s";
236 my $custom = File::Spec->join($dir, $source);
239 $$sym{is_custom} = $source;
/xnu-2422.115.4/osfmk/x86_64/
H A Dcopyio.c231 copyio_phys(addr64_t source, addr64_t sink, vm_size_t csize, int which) argument
239 vaddr = (user_addr_t)source;
242 paddr = (char *)source;
303 lop = (unsigned int)(PAGE_SIZE - (src64 & (PAGE_SIZE - 1))); /* No, source is smaller */
327 flush_dcache64(src64, csize, 1); /* If requested, flush source before move */
339 flush_dcache64(src64, csize, 1); /* If requested, flush source after move */
345 src64 += csize; /* Bump source to next physical address */
/xnu-2422.115.4/osfmk/vm/
H A Dpmap.h94 addr64_t source,
322 pmap_t source,
/xnu-2422.115.4/osfmk/gssd/
H A Dgssd_mach.defs96 in source : gssd_string;

Completed in 140 milliseconds

12