---
title: executeCommand
framework: kernel
role: pseudoSymbol
path: kernel/ioatadevice/1813893-executecommand
---

# executeCommand

Submit IO requests

## Declaration

```occ
virtual IOReturn executeCommand(
 IOATACommand *command); 
```

## Parameters

- `command`: pointer to a valid IOATACommand with the command to be executed.

## Return Value

Return Value kIOSuccess (0) if the command was successfully queued in the controller.

## See Also

### Miscellaneous

- [allocCommand](kernel/ioatadevice/1813891-alloccommand.md)
- [freeCommand](kernel/ioatadevice/1813895-freecommand.md)
- [getDeviceType](kernel/ioatadevice/1813897-getdevicetype.md)
- [getUnitID](kernel/ioatadevice/1813899-getunitid.md)
- [matchLocation](kernel/ioatadevice/1813901-matchlocation.md)
- [matchPropertyTable(OSDictionary *)](kernel/ioatadevice/1813903-matchpropertytable.md)
- [matchPropertyTable(OSDictionary *, SInt32 *)](kernel/ioatadevice/1813905-matchpropertytable.md)
- [notifyEvent](kernel/ioatadevice/1813907-notifyevent.md)
- [provideBusInfo](kernel/ioatadevice/1813909-providebusinfo.md)
- [provideConfig](kernel/ioatadevice/1813911-provideconfig.md)
- [selectConfig](kernel/ioatadevice/1813913-selectconfig.md)
