• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/IOFWDVComponents-207.4.1/

Lines Matching defs:device

72 #define kDVDeviceInfo 			'ddin'	// DV device info
73 #define kMaxInstances 10 // max clients attached to a device
77 #define kIDHSeedAtomType 'seed' // seed for device atom validity
78 #define kIDHDevicePresentType 'pres' // is device present?
92 // describes a device on the firewire bus
113 IsochComponentInstancePtr fOpenClients[kMaxDeviceClients]; // component instances doing I/O to/from device
115 ComponentInstance deviceControlInstance; // device control component instance
117 QTAtomContainer deviceContainer; // contains device database
118 SInt16 deviceControlCount; // number of clients using device control
119 SInt16 readLocks; // num clients that have device open for reads
120 SInt16 writeLocks; // num clients that have device open for writes
121 Boolean fActive; // device is currently online
124 UInt8 fConnected; // Number of times device has been selected (via IDHSetDeviceConfiguration)
126 UInt8 fNoAVC; // True if device doesn't do AVC commands
143 DeviceDescription deviceDescription[kDVMaxDevicesActive]; // description of each device
146 UInt32 seed; // keep track of device lists
161 QTAtomSpec currentConfig; // current device config set by client
163 UInt16 fClientIndex; // into device client list
171 Boolean hasDeviceControl; // does this client have device control?
293 // Send notification if the device matches the client's desired device
431 // look for device in device container
889 // and ones that are device management related, whose notifications will
912 // Send notification if the device matches the client's desired device
961 // refcon is 1-based device index.
1005 // Get the current device's output-signal mode, and set the signal mode approprietely
1174 static void deviceArrived(void *refcon, DVDevice *device, UInt32 index, UInt32 refound)
1188 //syslog(LOG_INFO,"deviceArrived: device 0x%x\n", index);
1192 // device index is 1-based.
1196 // look for existing device
1198 // Get device back to old state, set fActive to true after everything is restored, not before!
1199 deviceDescriptionPtr->fDevice = device;
1220 deviceDescriptionPtr->fDevice = device;
1242 // create device description atom structure
1246 // add a device atom
1251 // add the unique 64 bit FireWire GUID id to device atom
1253 0, 0, sizeof(device->fGUID), &device->fGUID, nil);
1261 // add the IDH unique id to device atom
1266 // create a device status structure and add it to the device atom
1651 result = findDeviceDescriptionforDevice( ih, ih->deviceID, &deviceDescriptionPtr); // find the device
1670 // if user is opening for read, make sure device isn't already opened for writes
1687 // if user is opening for write, make sure device isn't already opened
1703 // Setup device->component pointer
1725 result = findDeviceDescriptionforDevice( ih, ih->deviceID, &deviceDescriptionPtr); // find the device
1731 if( --deviceDescriptionPtr->readLocks <= 0) // is device completely freed by clients?
1751 if( --deviceDescriptionPtr->writeLocks <= 0) // is device completely freed by clients?
2017 // create device atom list now
2042 // save each active device
2097 // device already in use, please close device first
2124 // Open device
2137 // if this client had a previous connection, close that and if it had device control,
2146 // Close device if nobody else has it open and it hasn't been unplugged already
2240 ih->permissions = 0; // make sure device is closed
2305 result = findDeviceDescriptionforDevice( ih, deviceID, &deviceDescriptionPtr); // find description for this device
2311 // find device status for this device
2315 // Ask device what it's currently configured to transmit
2604 // All should be good here from a device stand point, now open the device
2717 // find the local copy of this device container