summaryrefslogtreecommitdiff
path: root/nrfdemo/build/mcuboot/zephyr/include/generated/syscalls/espi.h
diff options
context:
space:
mode:
Diffstat (limited to 'nrfdemo/build/mcuboot/zephyr/include/generated/syscalls/espi.h')
-rw-r--r--nrfdemo/build/mcuboot/zephyr/include/generated/syscalls/espi.h344
1 files changed, 0 insertions, 344 deletions
diff --git a/nrfdemo/build/mcuboot/zephyr/include/generated/syscalls/espi.h b/nrfdemo/build/mcuboot/zephyr/include/generated/syscalls/espi.h
deleted file mode 100644
index f1db415..0000000
--- a/nrfdemo/build/mcuboot/zephyr/include/generated/syscalls/espi.h
+++ /dev/null
@@ -1,344 +0,0 @@
-/* auto-generated by gen_syscalls.py, don't edit */
-
-#ifndef Z_INCLUDE_SYSCALLS_ESPI_H
-#define Z_INCLUDE_SYSCALLS_ESPI_H
-
-
-#include <zephyr/tracing/tracing_syscall.h>
-
-#ifndef _ASMLANGUAGE
-
-#include <stdarg.h>
-
-#include <syscall_list.h>
-#include <zephyr/syscall.h>
-
-#include <zephyr/linker/sections.h>
-
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-extern int z_impl_espi_config(const struct device * dev, struct espi_cfg * cfg);
-
-__pinned_func
-static inline int espi_config(const struct device * dev, struct espi_cfg * cfg)
-{
-#ifdef CONFIG_USERSPACE
- if (z_syscall_trap()) {
- union { uintptr_t x; const struct device * val; } parm0 = { .val = dev };
- union { uintptr_t x; struct espi_cfg * val; } parm1 = { .val = cfg };
- return (int) arch_syscall_invoke2(parm0.x, parm1.x, K_SYSCALL_ESPI_CONFIG);
- }
-#endif
- compiler_barrier();
- return z_impl_espi_config(dev, cfg);
-}
-
-#if defined(CONFIG_TRACING_SYSCALL)
-#ifndef DISABLE_SYSCALL_TRACING
-
-#define espi_config(dev, cfg) ({ int syscall__retval; sys_port_trace_syscall_enter(K_SYSCALL_ESPI_CONFIG, espi_config, dev, cfg); syscall__retval = espi_config(dev, cfg); sys_port_trace_syscall_exit(K_SYSCALL_ESPI_CONFIG, espi_config, dev, cfg, syscall__retval); syscall__retval; })
-#endif
-#endif
-
-
-extern bool z_impl_espi_get_channel_status(const struct device * dev, enum espi_channel ch);
-
-__pinned_func
-static inline bool espi_get_channel_status(const struct device * dev, enum espi_channel ch)
-{
-#ifdef CONFIG_USERSPACE
- if (z_syscall_trap()) {
- union { uintptr_t x; const struct device * val; } parm0 = { .val = dev };
- union { uintptr_t x; enum espi_channel val; } parm1 = { .val = ch };
- return (bool) arch_syscall_invoke2(parm0.x, parm1.x, K_SYSCALL_ESPI_GET_CHANNEL_STATUS);
- }
-#endif
- compiler_barrier();
- return z_impl_espi_get_channel_status(dev, ch);
-}
-
-#if defined(CONFIG_TRACING_SYSCALL)
-#ifndef DISABLE_SYSCALL_TRACING
-
-#define espi_get_channel_status(dev, ch) ({ bool syscall__retval; sys_port_trace_syscall_enter(K_SYSCALL_ESPI_GET_CHANNEL_STATUS, espi_get_channel_status, dev, ch); syscall__retval = espi_get_channel_status(dev, ch); sys_port_trace_syscall_exit(K_SYSCALL_ESPI_GET_CHANNEL_STATUS, espi_get_channel_status, dev, ch, syscall__retval); syscall__retval; })
-#endif
-#endif
-
-
-extern int z_impl_espi_read_request(const struct device * dev, struct espi_request_packet * req);
-
-__pinned_func
-static inline int espi_read_request(const struct device * dev, struct espi_request_packet * req)
-{
-#ifdef CONFIG_USERSPACE
- if (z_syscall_trap()) {
- union { uintptr_t x; const struct device * val; } parm0 = { .val = dev };
- union { uintptr_t x; struct espi_request_packet * val; } parm1 = { .val = req };
- return (int) arch_syscall_invoke2(parm0.x, parm1.x, K_SYSCALL_ESPI_READ_REQUEST);
- }
-#endif
- compiler_barrier();
- return z_impl_espi_read_request(dev, req);
-}
-
-#if defined(CONFIG_TRACING_SYSCALL)
-#ifndef DISABLE_SYSCALL_TRACING
-
-#define espi_read_request(dev, req) ({ int syscall__retval; sys_port_trace_syscall_enter(K_SYSCALL_ESPI_READ_REQUEST, espi_read_request, dev, req); syscall__retval = espi_read_request(dev, req); sys_port_trace_syscall_exit(K_SYSCALL_ESPI_READ_REQUEST, espi_read_request, dev, req, syscall__retval); syscall__retval; })
-#endif
-#endif
-
-
-extern int z_impl_espi_write_request(const struct device * dev, struct espi_request_packet * req);
-
-__pinned_func
-static inline int espi_write_request(const struct device * dev, struct espi_request_packet * req)
-{
-#ifdef CONFIG_USERSPACE
- if (z_syscall_trap()) {
- union { uintptr_t x; const struct device * val; } parm0 = { .val = dev };
- union { uintptr_t x; struct espi_request_packet * val; } parm1 = { .val = req };
- return (int) arch_syscall_invoke2(parm0.x, parm1.x, K_SYSCALL_ESPI_WRITE_REQUEST);
- }
-#endif
- compiler_barrier();
- return z_impl_espi_write_request(dev, req);
-}
-
-#if defined(CONFIG_TRACING_SYSCALL)
-#ifndef DISABLE_SYSCALL_TRACING
-
-#define espi_write_request(dev, req) ({ int syscall__retval; sys_port_trace_syscall_enter(K_SYSCALL_ESPI_WRITE_REQUEST, espi_write_request, dev, req); syscall__retval = espi_write_request(dev, req); sys_port_trace_syscall_exit(K_SYSCALL_ESPI_WRITE_REQUEST, espi_write_request, dev, req, syscall__retval); syscall__retval; })
-#endif
-#endif
-
-
-extern int z_impl_espi_read_lpc_request(const struct device * dev, enum lpc_peripheral_opcode op, uint32_t * data);
-
-__pinned_func
-static inline int espi_read_lpc_request(const struct device * dev, enum lpc_peripheral_opcode op, uint32_t * data)
-{
-#ifdef CONFIG_USERSPACE
- if (z_syscall_trap()) {
- union { uintptr_t x; const struct device * val; } parm0 = { .val = dev };
- union { uintptr_t x; enum lpc_peripheral_opcode val; } parm1 = { .val = op };
- union { uintptr_t x; uint32_t * val; } parm2 = { .val = data };
- return (int) arch_syscall_invoke3(parm0.x, parm1.x, parm2.x, K_SYSCALL_ESPI_READ_LPC_REQUEST);
- }
-#endif
- compiler_barrier();
- return z_impl_espi_read_lpc_request(dev, op, data);
-}
-
-#if defined(CONFIG_TRACING_SYSCALL)
-#ifndef DISABLE_SYSCALL_TRACING
-
-#define espi_read_lpc_request(dev, op, data) ({ int syscall__retval; sys_port_trace_syscall_enter(K_SYSCALL_ESPI_READ_LPC_REQUEST, espi_read_lpc_request, dev, op, data); syscall__retval = espi_read_lpc_request(dev, op, data); sys_port_trace_syscall_exit(K_SYSCALL_ESPI_READ_LPC_REQUEST, espi_read_lpc_request, dev, op, data, syscall__retval); syscall__retval; })
-#endif
-#endif
-
-
-extern int z_impl_espi_write_lpc_request(const struct device * dev, enum lpc_peripheral_opcode op, uint32_t * data);
-
-__pinned_func
-static inline int espi_write_lpc_request(const struct device * dev, enum lpc_peripheral_opcode op, uint32_t * data)
-{
-#ifdef CONFIG_USERSPACE
- if (z_syscall_trap()) {
- union { uintptr_t x; const struct device * val; } parm0 = { .val = dev };
- union { uintptr_t x; enum lpc_peripheral_opcode val; } parm1 = { .val = op };
- union { uintptr_t x; uint32_t * val; } parm2 = { .val = data };
- return (int) arch_syscall_invoke3(parm0.x, parm1.x, parm2.x, K_SYSCALL_ESPI_WRITE_LPC_REQUEST);
- }
-#endif
- compiler_barrier();
- return z_impl_espi_write_lpc_request(dev, op, data);
-}
-
-#if defined(CONFIG_TRACING_SYSCALL)
-#ifndef DISABLE_SYSCALL_TRACING
-
-#define espi_write_lpc_request(dev, op, data) ({ int syscall__retval; sys_port_trace_syscall_enter(K_SYSCALL_ESPI_WRITE_LPC_REQUEST, espi_write_lpc_request, dev, op, data); syscall__retval = espi_write_lpc_request(dev, op, data); sys_port_trace_syscall_exit(K_SYSCALL_ESPI_WRITE_LPC_REQUEST, espi_write_lpc_request, dev, op, data, syscall__retval); syscall__retval; })
-#endif
-#endif
-
-
-extern int z_impl_espi_send_vwire(const struct device * dev, enum espi_vwire_signal signal, uint8_t level);
-
-__pinned_func
-static inline int espi_send_vwire(const struct device * dev, enum espi_vwire_signal signal, uint8_t level)
-{
-#ifdef CONFIG_USERSPACE
- if (z_syscall_trap()) {
- union { uintptr_t x; const struct device * val; } parm0 = { .val = dev };
- union { uintptr_t x; enum espi_vwire_signal val; } parm1 = { .val = signal };
- union { uintptr_t x; uint8_t val; } parm2 = { .val = level };
- return (int) arch_syscall_invoke3(parm0.x, parm1.x, parm2.x, K_SYSCALL_ESPI_SEND_VWIRE);
- }
-#endif
- compiler_barrier();
- return z_impl_espi_send_vwire(dev, signal, level);
-}
-
-#if defined(CONFIG_TRACING_SYSCALL)
-#ifndef DISABLE_SYSCALL_TRACING
-
-#define espi_send_vwire(dev, signal, level) ({ int syscall__retval; sys_port_trace_syscall_enter(K_SYSCALL_ESPI_SEND_VWIRE, espi_send_vwire, dev, signal, level); syscall__retval = espi_send_vwire(dev, signal, level); sys_port_trace_syscall_exit(K_SYSCALL_ESPI_SEND_VWIRE, espi_send_vwire, dev, signal, level, syscall__retval); syscall__retval; })
-#endif
-#endif
-
-
-extern int z_impl_espi_receive_vwire(const struct device * dev, enum espi_vwire_signal signal, uint8_t * level);
-
-__pinned_func
-static inline int espi_receive_vwire(const struct device * dev, enum espi_vwire_signal signal, uint8_t * level)
-{
-#ifdef CONFIG_USERSPACE
- if (z_syscall_trap()) {
- union { uintptr_t x; const struct device * val; } parm0 = { .val = dev };
- union { uintptr_t x; enum espi_vwire_signal val; } parm1 = { .val = signal };
- union { uintptr_t x; uint8_t * val; } parm2 = { .val = level };
- return (int) arch_syscall_invoke3(parm0.x, parm1.x, parm2.x, K_SYSCALL_ESPI_RECEIVE_VWIRE);
- }
-#endif
- compiler_barrier();
- return z_impl_espi_receive_vwire(dev, signal, level);
-}
-
-#if defined(CONFIG_TRACING_SYSCALL)
-#ifndef DISABLE_SYSCALL_TRACING
-
-#define espi_receive_vwire(dev, signal, level) ({ int syscall__retval; sys_port_trace_syscall_enter(K_SYSCALL_ESPI_RECEIVE_VWIRE, espi_receive_vwire, dev, signal, level); syscall__retval = espi_receive_vwire(dev, signal, level); sys_port_trace_syscall_exit(K_SYSCALL_ESPI_RECEIVE_VWIRE, espi_receive_vwire, dev, signal, level, syscall__retval); syscall__retval; })
-#endif
-#endif
-
-
-extern int z_impl_espi_send_oob(const struct device * dev, struct espi_oob_packet * pckt);
-
-__pinned_func
-static inline int espi_send_oob(const struct device * dev, struct espi_oob_packet * pckt)
-{
-#ifdef CONFIG_USERSPACE
- if (z_syscall_trap()) {
- union { uintptr_t x; const struct device * val; } parm0 = { .val = dev };
- union { uintptr_t x; struct espi_oob_packet * val; } parm1 = { .val = pckt };
- return (int) arch_syscall_invoke2(parm0.x, parm1.x, K_SYSCALL_ESPI_SEND_OOB);
- }
-#endif
- compiler_barrier();
- return z_impl_espi_send_oob(dev, pckt);
-}
-
-#if defined(CONFIG_TRACING_SYSCALL)
-#ifndef DISABLE_SYSCALL_TRACING
-
-#define espi_send_oob(dev, pckt) ({ int syscall__retval; sys_port_trace_syscall_enter(K_SYSCALL_ESPI_SEND_OOB, espi_send_oob, dev, pckt); syscall__retval = espi_send_oob(dev, pckt); sys_port_trace_syscall_exit(K_SYSCALL_ESPI_SEND_OOB, espi_send_oob, dev, pckt, syscall__retval); syscall__retval; })
-#endif
-#endif
-
-
-extern int z_impl_espi_receive_oob(const struct device * dev, struct espi_oob_packet * pckt);
-
-__pinned_func
-static inline int espi_receive_oob(const struct device * dev, struct espi_oob_packet * pckt)
-{
-#ifdef CONFIG_USERSPACE
- if (z_syscall_trap()) {
- union { uintptr_t x; const struct device * val; } parm0 = { .val = dev };
- union { uintptr_t x; struct espi_oob_packet * val; } parm1 = { .val = pckt };
- return (int) arch_syscall_invoke2(parm0.x, parm1.x, K_SYSCALL_ESPI_RECEIVE_OOB);
- }
-#endif
- compiler_barrier();
- return z_impl_espi_receive_oob(dev, pckt);
-}
-
-#if defined(CONFIG_TRACING_SYSCALL)
-#ifndef DISABLE_SYSCALL_TRACING
-
-#define espi_receive_oob(dev, pckt) ({ int syscall__retval; sys_port_trace_syscall_enter(K_SYSCALL_ESPI_RECEIVE_OOB, espi_receive_oob, dev, pckt); syscall__retval = espi_receive_oob(dev, pckt); sys_port_trace_syscall_exit(K_SYSCALL_ESPI_RECEIVE_OOB, espi_receive_oob, dev, pckt, syscall__retval); syscall__retval; })
-#endif
-#endif
-
-
-extern int z_impl_espi_read_flash(const struct device * dev, struct espi_flash_packet * pckt);
-
-__pinned_func
-static inline int espi_read_flash(const struct device * dev, struct espi_flash_packet * pckt)
-{
-#ifdef CONFIG_USERSPACE
- if (z_syscall_trap()) {
- union { uintptr_t x; const struct device * val; } parm0 = { .val = dev };
- union { uintptr_t x; struct espi_flash_packet * val; } parm1 = { .val = pckt };
- return (int) arch_syscall_invoke2(parm0.x, parm1.x, K_SYSCALL_ESPI_READ_FLASH);
- }
-#endif
- compiler_barrier();
- return z_impl_espi_read_flash(dev, pckt);
-}
-
-#if defined(CONFIG_TRACING_SYSCALL)
-#ifndef DISABLE_SYSCALL_TRACING
-
-#define espi_read_flash(dev, pckt) ({ int syscall__retval; sys_port_trace_syscall_enter(K_SYSCALL_ESPI_READ_FLASH, espi_read_flash, dev, pckt); syscall__retval = espi_read_flash(dev, pckt); sys_port_trace_syscall_exit(K_SYSCALL_ESPI_READ_FLASH, espi_read_flash, dev, pckt, syscall__retval); syscall__retval; })
-#endif
-#endif
-
-
-extern int z_impl_espi_write_flash(const struct device * dev, struct espi_flash_packet * pckt);
-
-__pinned_func
-static inline int espi_write_flash(const struct device * dev, struct espi_flash_packet * pckt)
-{
-#ifdef CONFIG_USERSPACE
- if (z_syscall_trap()) {
- union { uintptr_t x; const struct device * val; } parm0 = { .val = dev };
- union { uintptr_t x; struct espi_flash_packet * val; } parm1 = { .val = pckt };
- return (int) arch_syscall_invoke2(parm0.x, parm1.x, K_SYSCALL_ESPI_WRITE_FLASH);
- }
-#endif
- compiler_barrier();
- return z_impl_espi_write_flash(dev, pckt);
-}
-
-#if defined(CONFIG_TRACING_SYSCALL)
-#ifndef DISABLE_SYSCALL_TRACING
-
-#define espi_write_flash(dev, pckt) ({ int syscall__retval; sys_port_trace_syscall_enter(K_SYSCALL_ESPI_WRITE_FLASH, espi_write_flash, dev, pckt); syscall__retval = espi_write_flash(dev, pckt); sys_port_trace_syscall_exit(K_SYSCALL_ESPI_WRITE_FLASH, espi_write_flash, dev, pckt, syscall__retval); syscall__retval; })
-#endif
-#endif
-
-
-extern int z_impl_espi_flash_erase(const struct device * dev, struct espi_flash_packet * pckt);
-
-__pinned_func
-static inline int espi_flash_erase(const struct device * dev, struct espi_flash_packet * pckt)
-{
-#ifdef CONFIG_USERSPACE
- if (z_syscall_trap()) {
- union { uintptr_t x; const struct device * val; } parm0 = { .val = dev };
- union { uintptr_t x; struct espi_flash_packet * val; } parm1 = { .val = pckt };
- return (int) arch_syscall_invoke2(parm0.x, parm1.x, K_SYSCALL_ESPI_FLASH_ERASE);
- }
-#endif
- compiler_barrier();
- return z_impl_espi_flash_erase(dev, pckt);
-}
-
-#if defined(CONFIG_TRACING_SYSCALL)
-#ifndef DISABLE_SYSCALL_TRACING
-
-#define espi_flash_erase(dev, pckt) ({ int syscall__retval; sys_port_trace_syscall_enter(K_SYSCALL_ESPI_FLASH_ERASE, espi_flash_erase, dev, pckt); syscall__retval = espi_flash_erase(dev, pckt); sys_port_trace_syscall_exit(K_SYSCALL_ESPI_FLASH_ERASE, espi_flash_erase, dev, pckt, syscall__retval); syscall__retval; })
-#endif
-#endif
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-#endif /* include guard */