Lines Matching refs:kIOReturnSuccess
273 &element_index) != kIOReturnSuccess) {
291 res = kIOReturnSuccess;
314 if (_getStateIndices(channel_id, new_state_id, &channel_index, &new_state_index) == kIOReturnSuccess) {
349 if (_getStateIndices(channel_id, state_id, &channel_index, &state_index) == kIOReturnSuccess) {
407 result = kIOReturnSuccess;
426 if (_getStateIndices(channel_id, state_id, &channel_index, &state_index) == kIOReturnSuccess) {
486 result = kIOReturnSuccess;
571 if (getFirstElementIndex(channel_id, &element_index) == kIOReturnSuccess) {
581 if (copyElementValues(element_index, (IOReportElementValues *)&state_values) != kIOReturnSuccess) {
674 if (res != kIOReturnSuccess) {
715 if (res != kIOReturnSuccess) {
762 if (getChannelIndices(channel_id, &channel_index, &element_index) == kIOReturnSuccess) {
764 if (updateChannelValues(channel_index) == kIOReturnSuccess) {
806 if (getChannelIndex(channel_id, &channel_index) == kIOReturnSuccess) {
847 result = kIOReturnSuccess; goto finish;
884 result = kIOReturnSuccess;