Lines Matching defs:elementStruct
770 IOHIDElementStruct elementStruct;
774 if (!getElementStruct(IOHIDElementGetCookie(element), &elementStruct))
778 if ((elementStruct.type != kIOHIDElementTypeFeature) && (elementStruct.type != kIOHIDElementTypeOutput))
782 if (elementStruct.valueLocation < fCurrentValuesMappedMemorySize)
784 IOHIDElementValue * elementValue = (IOHIDElementValue *)(fCurrentValuesMappedMemory + elementStruct.valueLocation);
803 IOHIDElementStruct elementStruct;
809 if (!element || !getElementStruct(IOHIDElementGetCookie(element), &elementStruct) || (elementStruct.type == kIOHIDElementTypeCollection))
813 // get ptr to shared memory for this elementStruct
814 if (elementStruct.valueLocation < fCurrentValuesMappedMemorySize)
816 IOHIDElementValue * elementValue = (IOHIDElementValue *)(fCurrentValuesMappedMemory + elementStruct.valueLocation);
1809 IOHIDElementStruct *elementStruct = 0;
1814 if ( getElementStructPtr(cookie, &elementStruct, &index, &dataRef) )
1816 element = (IOHIDElementRef)createElement(dataRef, elementStruct, index, 0, fElementCache);
1877 bool IOHIDDeviceClass::getElementStruct(IOHIDElementCookie elementCookie, IOHIDElementStruct * elementStruct)
1904 if (elementStruct)
1905 *elementStruct = tempElement;