Lines Matching refs:kIOReturnSuccess
271 &element_index) != kIOReturnSuccess) { in _getStateIndices()
287 res = kIOReturnSuccess; in _getStateIndices()
310 …_getStateIndices(channel_id, new_state_id, &channel_index, &new_state_index) == kIOReturnSuccess) { in setChannelState()
345 if (_getStateIndices(channel_id, state_id, &channel_index, &state_index) == kIOReturnSuccess) { in overrideChannelState()
402 result = kIOReturnSuccess; in handleOverrideChannelStateByIndices()
421 if (_getStateIndices(channel_id, state_id, &channel_index, &state_index) == kIOReturnSuccess) { in incrementChannelState()
479 result = kIOReturnSuccess; in handleIncrementChannelStateByIndices()
561 if (getFirstElementIndex(channel_id, &element_index) == kIOReturnSuccess) { in handleSetStateID()
570 …if (copyElementValues(element_index, (IOReportElementValues *)&state_values) != kIOReturnSuccess) { in handleSetStateID()
663 if (res != kIOReturnSuccess) { in handleSetStateByIndices()
704 if (res != kIOReturnSuccess) { in handleSetStateByIndices()
751 if (getChannelIndices(channel_id, &channel_index, &element_index) == kIOReturnSuccess) { in _getStateValue()
752 if (updateChannelValues(channel_index) == kIOReturnSuccess) { in _getStateValue()
792 if (getChannelIndex(channel_id, &channel_index) == kIOReturnSuccess) { in getStateLastChannelUpdateTime()
832 result = kIOReturnSuccess; goto finish; in updateChannelValues()
869 result = kIOReturnSuccess; in updateChannelValues()