21 lines
492 B
C
21 lines
492 B
C
/*
|
|
* Copyright (c) 2017 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <syscall_handler.h>
|
|
#include <drivers/aio_comparator.h>
|
|
|
|
Z_SYSCALL_HANDLER(aio_cmp_disable, dev, index)
|
|
{
|
|
Z_OOPS(Z_SYSCALL_DRIVER_AIO_CMP(dev, disable));
|
|
return z_impl_aio_cmp_disable((struct device *)dev, index);
|
|
}
|
|
|
|
Z_SYSCALL_HANDLER(aio_cmp_get_pending_int, dev)
|
|
{
|
|
Z_OOPS(Z_SYSCALL_DRIVER_AIO_CMP(dev, get_pending_int));
|
|
return z_impl_aio_get_pending_int((struct device *)dev, index);
|
|
}
|