Searched refs:bus (Results 1 - 25 of 59) sorted by relevance

123

/macosx-10.10.1/pdisk-9/
H A DATA_media.h58 MEDIA open_ata_as_media(long bus, long device);
59 MEDIA open_atapi_as_media(long bus, long device);
62 char *linux_ata_name(long bus, long id);
H A Dpathname.c80 long bus; local
92 bus = path[9] - '0';
93 m = open_scsi_as_media(bus, id);
99 bus = path[8] - '0';
100 m = open_ata_as_media(bus, 0);
105 bus = path[8] - '0';
106 m = open_ata_as_media(bus, id);
116 bus = path[7] - 'a';
118 id += bus * 26;
150 long bus; local
[all...]
H A DSCSI_media.h59 MEDIA open_scsi_as_media(long bus, long device);
62 char *linux_scsi_name(long bus, long id);
H A DSCSI_media.c51 long bus; member in struct:SCSI_media
56 long bus; member in struct:bus_entry
74 long bus; member in struct:SCSI_media_iterator
88 long bus; member in struct:cache_item
126 long compute_id(long bus, long device);
127 int SCSI_ReadBlock(UInt32 id, UInt32 bus, UInt32 block_size, UInt32 block, UInt8 *address);
128 int SCSI_WriteBlock(UInt32 id, UInt32 bus, UInt32 block_size, UInt32 block, UInt8 *address);
129 int DoTestUnitReady(UInt8 targetID, int bus);
130 int DoReadCapacity(UInt32 id, UInt32 bus, UInt32 *blockCount, UInt32 *blockSize);
135 void fill_bus_entry(struct bus_entry *entry, long bus);
208 fill_bus_entry(struct bus_entry *entry, long bus) argument
287 open_scsi_as_media(long bus, long device) argument
439 DoTestUnitReady(UInt8 targetID, int bus) argument
479 SCSI_ReadBlock(UInt32 id, UInt32 bus, UInt32 block_size, UInt32 block, UInt8 *address) argument
528 SCSI_WriteBlock(UInt32 id, UInt32 bus, UInt32 block_size, UInt32 block, UInt8 *address) argument
576 DoReadCapacity(UInt32 id, UInt32 bus, UInt32 *blockCount, UInt32 *blockSize) argument
630 DoInquiry(UInt32 id, UInt32 bus, UInt32 *devType) argument
860 long bus; local
881 linux_scsi_name(long bus, long id) argument
947 probe_scsi_device(long bus, long id, int unsure) argument
964 lookup_scsi_device(long bus, long id, int *is_cdrom, int *unsure) argument
1006 lookup_scsi_index(long index, int is_cdrom, long *bus, long *id) argument
1040 add_to_cache(long bus, long id, int is_cdrom, int unsure) argument
[all...]
H A DATA_media.c85 long bus; member in struct:ATA_media_iterator
155 /* Identifies the bus protocol type. */
192 long compute_id(long bus, long device);
342 compute_id(long bus, long device) argument
349 if (bus == ata_mgr.bus_list[i]) {
354 /* bad bus id */
359 id = bus & 0xFF;
365 id = ((device & 0xFF) << 8) | (bus & 0xFF);
437 open_ata_as_media(long bus, long device) argument
454 id = compute_id(bus, devic
770 open_atapi_as_media(long bus, long device) argument
1190 long bus; local
1212 long bus; local
1224 linux_ata_name(long bus, long id) argument
[all...]
/macosx-10.10.1/xnu-2782.1.97/tools/lldbmacros/
H A Dpci.py42 def MakeMemMappedPciCfgAddr(bus, dev, func, offs):
44 bus, device, function, and offset
46 bus, dev, func, offs: int - bus, device, function, and offset that specifies
51 return GetMemMappedPciCfgAddrBase() | (bus << 20) | (dev << 15) | (func << 12) | offs
53 def DoPciCfgRead(bits, bus, dev, func, offs):
57 bus, dev, func, offs: int - PCI config bus, device, function and offset
61 phys_addr = MakeMemMappedPciCfgAddr(bus, dev, func, offs)
64 def DoPciCfgWrite(bits, bus, de
[all...]
/macosx-10.10.1/IOGraphics-485/tools/
H A Di2cexample.c94 IOOptionBits bus; local
108 for( bus = 0; bus < busCount; bus++ )
112 fprintf(stderr, "/* Bus %ld: */\n", bus);
114 kr = IOFBCopyI2CInterfaceForBus(framebuffer, bus, &interface);
H A Ditvview.c117 IOOptionBits bus; local
131 for( bus = 0; bus < busCount; bus++ )
135 kr = IOFBCopyI2CInterfaceForBus(framebuffer, bus, &interface);
146 printf("\nEDID using bus %ld:\n", bus);
149 printf("\niTV using bus %ld:\n", bus);
/macosx-10.10.1/IOPCIFamily-239.1.2/tools/
H A Dpcidump.c13 uint32_t bus, uint32_t device, uint32_t function,
26 param.address.pci.bus = bus;
41 uint32_t bus, uint32_t device, uint32_t function,
55 param.address.pci.bus = bus;
129 uint32_t bus, uint32_t device, uint32_t function)
137 space.es.busNum = bus;
187 uint32_t bus, uint32_t device, uint32_t fn,
206 data[off >> 2] = configRead32(connect, segment, bus, devic
12 configRead32(io_connect_t connect, uint32_t segment, uint32_t bus, uint32_t device, uint32_t function, uint32_t offset) argument
40 configWrite32(io_connect_t connect, uint32_t segment, uint32_t bus, uint32_t device, uint32_t function, uint32_t offset, uint32_t data) argument
128 lookService(uint32_t segment, uint32_t bus, uint32_t device, uint32_t function) argument
186 dumpDevice(io_connect_t connect, uint32_t segment, uint32_t bus, uint32_t device, uint32_t fn, uint32_t * maxBus, uint32_t * maxFn) argument
270 uint32_t bus, device, fn, maxFn; local
[all...]
H A Dpciutils3.1.7.patch.c90 + unsigned int bus :8; member in struct:IOACPIAddress::__anon2422
170 + param.address.pci.bus = d->bus;
220 + param.address.pci.bus = d->bus;
H A Dpciutils3.2.0.patch.c114 + param.address.pci.bus = d->bus;
159 + param.address.pci.bus = d->bus;
/macosx-10.10.1/IOFireWireFamily-456/IOFireWireFamily.kmodproj/
H A DIOFWPseudoAddressSpace.h211 @param bus Points to IOFireWireBus object.
217 IOFireWireBus* bus,
225 @param bus Points to IOFireWireBus object.
231 IOFireWireBus* bus,
239 @param bus Points to IOFireWireBus object.
245 IOFireWireBus* bus,
253 @param bus Points to IOFireWireBus object.
258 IOFireWireBus* bus,
264 @param bus Points to IOFireWireBus object.
272 IOFireWireBus* bus,
[all...]
H A DIOFWUserPhysicalAddressSpace.h52 IOFireWireBus * bus,
H A DIOFWUserPhysicalAddressSpace.cpp38 IOFireWireBus* bus,
43 if (!IOFWPhysicalAddressSpace::initWithDesc(bus, mem))
37 initWithDesc( IOFireWireBus* bus, IOMemoryDescriptor* mem) argument
H A DIOFWUserVectorCommand.h71 IOFireWireBus * bus,
H A DIOFWPhysicalAddressSpace.h130 @param bus Points to IOFireWireBus object.
132 virtual bool init( IOFireWireBus * bus );
136 @param bus Points to IOFireWireBus object.
139 virtual bool initWithDesc(IOFireWireBus *bus,
204 @param bus Points to IOFireWireBus object.
/macosx-10.10.1/IOGraphics-485/IOGraphicsFamily/IOKit/graphics/
H A DIOFramebufferPrivate.h294 IOReturn stopDDC1SendCommand(IOIndex bus, IOI2CBusTiming * timing);
295 void waitForDDCDataLine(IOIndex bus, IOI2CBusTiming * timing, UInt32 waitTime);
297 IOReturn readDDCBlock(IOIndex bus, IOI2CBusTiming * timing, UInt8 deviceAddress, UInt8 startAddress, UInt8 * data);
298 IOReturn i2cReadDDCciData(IOIndex bus, IOI2CBusTiming * timing, UInt8 deviceAddress, UInt8 count, UInt8 *buffer);
299 IOReturn i2cReadData(IOIndex bus, IOI2CBusTiming * timing, UInt8 deviceAddress, UInt8 count, UInt8 * buffer);
300 IOReturn i2cWriteData(IOIndex bus, IOI2CBusTiming * timing, UInt8 deviceAddress, UInt8 count, UInt8 * buffer);
302 void i2cStart(IOIndex bus, IOI2CBusTiming * timing);
303 void i2cStop(IOIndex bus, IOI2CBusTiming * timing);
304 void i2cSendAck(IOIndex bus, IOI2CBusTiming * timing);
305 void i2cSendNack(IOIndex bus, IOI2CBusTimin
[all...]
H A DIOFramebuffer.h274 @discussion IOFramebuffer subclasses may optionally implement this method to perform I2C bus requests on one of the buses they support. Alternatively they may implement the setDDCClock(), setDDCData(), readDDCClock(), readDDCData() methods and respond from getAttributeForConnection() to the kConnectionSupportsLLDDCSense attribute with success, in which case IOFramebuffer::doI2CRequest() will carry out a software implementation of I2C using the low level routines and conforming to the timing constraints passed in the timing parameter. Subclasses may pass timing parameters tuned for the specific bus, otherwise VESA DDC defaults will apply.
275 @timing event Subclasses may pass timing parameters tuned for the specific bus, otherwise if NULL, VESA DDC defaults will apply.
279 virtual IOReturn doI2CRequest( UInt32 bus, struct IOI2CBusTiming * timing, struct IOI2CRequest * request );
731 @abstract Sets the state of the I2C clock line on a bus.
732 @discussion Framebuffers making use of the IOFramebuffer::doI2CRequest() software implementation of I2C should implement this method to set the state of the I2C clock line on the given bus. Otherwise may be unimplemented.
733 @param bus Index of the bus.
737 virtual void setDDCClock( IOIndex bus, UInt32 value );
740 @abstract Sets the state of the I2C data line on a bus
[all...]
/macosx-10.10.1/IOFireWireAVC-422.4.0/IOFireWireAVC/
H A DIOFireWirePCRSpace.cpp55 // This message is received when a bus-reset start happens!
69 bool IOFireWirePCRSpace::init(IOFireWireBus *bus) argument
73 if(!IOFWPseudoAddressSpace::initFixed(bus,
104 // Register for messages from IOFireWireLocalNode to detect bus-resets!
105 IOFireWireController *pFireWireController = OSDynamicCast(IOFireWireController, bus);
118 fAVCTargetSpace = IOFireWireAVCTargetSpace::getAVCTargetSpace((IOFireWireController*)bus);
125 IOFireWirePCRSpace * IOFireWirePCRSpace::getPCRAddressSpace(IOFireWireBus *bus) argument
132 existing = bus->getAddressSpace(FWAddress(kCSRRegisterSpaceBaseAddressHi, kPCRBaseAddress));
139 if(!space->init(bus)) {
H A DIOFireWirePCRSpace.h96 virtual bool init(IOFireWireBus *bus);
99 @abstract returns the IOFireWirePCRSpace object for the given FireWire bus
100 @param bus The FireWire bus
102 static IOFireWirePCRSpace *getPCRAddressSpace(IOFireWireBus *bus);
/macosx-10.10.1/IOFireWireSBP2-425/IOFireWireSBP2/
H A DIOFireWireSBP2Login.h237 attempts to reconnect to the LUN after bus resets. The base FireWire services deliver bus
508 static void loginTimeoutStatic( void *refcon, IOReturn status, IOFireWireBus *bus, IOFWBusCommand *fwCmd );
509 virtual void loginTimeout( IOReturn status, IOFireWireBus *bus, IOFWBusCommand *fwCmd );
530 static void reconnectTimeoutStatic( void *refcon, IOReturn status, IOFireWireBus *bus, IOFWBusCommand *fwCmd );
531 virtual void reconnectTimeout( IOReturn status, IOFireWireBus *bus, IOFWBusCommand *fwCmd );
554 static void logoutTimeoutStatic( void *refcon, IOReturn status, IOFireWireBus *bus, IOFWBusCommand *fwCmd );
555 virtual void logoutTimeout( IOReturn status, IOFireWireBus *bus, IOFWBusCommand *fwCmd );
872 This is used internally for reconnecting to the device after bus resets and for certain other
1039 IOFireWireBus *bus, IOFWBusComman
[all...]
H A DIOFireWireSBP2ManagementORB.h210 IOFireWireBus *bus,
212 virtual void handleTimeout( IOReturn status, IOFireWireBus *bus, IOFWBusCommand *fwCmd );
/macosx-10.10.1/vim-55/runtime/syntax/
H A Dsensors.vim19 syn keyword sensorsKeyword bus chip label compute ignore set
/macosx-10.10.1/DiskArbitration-268/diskarbitrationd/
H A DDADisk.c242 io_service_t bus = IO_OBJECT_NULL; local
696 * Obtain the bus object.
704 while ( ( bus = IOIteratorNext( services ) ) )
706 if ( IORegistryEntryInPlane( bus, kIODeviceTreePlane ) ) break;
708 IOObjectRelease( bus );
713 if ( bus )
716 * Create the disk description -- bus name.
719 status = IORegistryEntryGetNameInPlane( bus, kIODeviceTreePlane, name );
729 * Create the disk description -- bus path.
732 status = ___IORegistryEntryGetPath( bus, kIODeviceTreePlan
[all...]
/macosx-10.10.1/IOGraphics-485/IOGraphicsFamily/
H A DIOFramebuffer.cpp9041 IOReturn IOFramebuffer::getDDCBlock( IOIndex bus, UInt32 blockNumber, argument
9066 i2cSend9Stops(bus, timing);
9070 err = readDDCBlock(bus, timing, 0xa0, startAddress, data);
9074 i2cSend9Stops(bus, timing);
9100 IOReturn IOFramebuffer::doI2CRequest( UInt32 bus, IOI2CBusTiming * timing, IOI2CRequest * request ) argument
9116 err = i2cReadData(bus, timing, request->sendAddress, request->sendBytes, (UInt8 *) request->sendBuffer);
9122 err = i2cWriteData(bus, timing, request->sendAddress, request->sendBytes, (UInt8 *) request->sendBuffer);
9130 err = i2cReadDDCciData(bus, timing, request->replyAddress, request->replyBytes, (UInt8 *) request->replyBuffer);
9134 err = i2cReadData(bus, timing, request->replyAddress, request->replyBytes, (UInt8 *) request->replyBuffer);
9170 IOReturn IOFramebuffer::stopDDC1SendCommand(IOIndex bus, IOI2CBusTimin argument
9214 i2cReadData(IOIndex bus, IOI2CBusTiming * timing, UInt8 deviceAddress, UInt8 count, UInt8 * buffer) argument
9240 i2cWriteData(IOIndex bus, IOI2CBusTiming * timing, UInt8 deviceAddress, UInt8 count, UInt8 * buffer) argument
9265 waitForDDCDataLine(IOIndex bus, IOI2CBusTiming * timing, UInt32 waitTime) argument
9299 readDDCBlock(IOIndex bus, IOI2CBusTiming * timing, UInt8 deviceAddress, UInt8 startAddress, UInt8 * data) argument
9331 i2cStart(IOIndex bus, IOI2CBusTiming * timing) argument
9354 i2cStop(IOIndex bus, IOI2CBusTiming * timing) argument
9385 i2cSendAck(IOIndex bus, IOI2CBusTiming * timing) argument
9418 i2cSendNack(IOIndex bus, IOI2CBusTiming * timing) argument
9453 i2cWaitForAck(IOIndex bus, IOI2CBusTiming * timing) argument
9487 i2cSendByte(IOIndex bus, IOI2CBusTiming * timing, UInt8 data) argument
9529 i2cReadByte(IOIndex bus, IOI2CBusTiming * timing, UInt8 *data) argument
9581 i2cWaitForBus(IOIndex bus, IOI2CBusTiming * timing) argument
9603 i2cReadDDCciData(IOIndex bus, IOI2CBusTiming * timing, UInt8 deviceAddress, UInt8 count, UInt8 *buffer) argument
9685 i2cRead(IOIndex bus, IOI2CBusTiming * timing, UInt8 deviceAddress, UInt8 numberOfBytes, UInt8 * data) argument
9731 i2cWrite(IOIndex bus, IOI2CBusTiming * timing, UInt8 deviceAddress, UInt8 numberOfBytes, UInt8 * data) argument
9777 i2cSend9Stops(IOIndex bus, IOI2CBusTiming * timing) argument
[all...]

Completed in 365 milliseconds

123