Home
last modified time | relevance | path

Searched refs:__syscall (Results 1 – 25 of 103) sorted by relevance

12345

/Zephyr-Core-3.7.0/tests/kernel/mem_protect/syscalls/src/
Dtest_syscalls.h11 __syscall int string_alloc_copy(char *src);
13 __syscall int string_copy(char *src);
15 __syscall int to_copy(char *dest);
17 __syscall size_t string_nlen(char *src, size_t maxlen, int *err);
19 __syscall int syscall_arg64(uint64_t arg);
21 __syscall uint64_t syscall_arg64_big(uint32_t arg1, uint32_t arg2, uint64_t arg3,
24 __syscall bool syscall_context(void);
26 __syscall uint32_t more_args(uint32_t arg1, uint32_t arg2, uint32_t arg3,
/Zephyr-Core-3.7.0/include/zephyr/sys/
Datomic_c.h20 __syscall bool atomic_cas(atomic_t *target, atomic_val_t old_value,
23 __syscall bool atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value,
26 __syscall atomic_val_t atomic_add(atomic_t *target, atomic_val_t value);
28 __syscall atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value);
46 __syscall atomic_val_t atomic_set(atomic_t *target, atomic_val_t value);
48 __syscall atomic_ptr_val_t atomic_ptr_set(atomic_ptr_t *target, atomic_ptr_val_t value);
62 __syscall atomic_val_t atomic_or(atomic_t *target, atomic_val_t value);
64 __syscall atomic_val_t atomic_xor(atomic_t *target, atomic_val_t value);
66 __syscall atomic_val_t atomic_and(atomic_t *target, atomic_val_t value);
68 __syscall atomic_val_t atomic_nand(atomic_t *target, atomic_val_t value);
Dlibc-hooks.h29 __syscall int zephyr_read_stdin(char *buf, int nbytes);
31 __syscall int zephyr_write_stdout(const void *buf, int nbytes);
36 __syscall int zephyr_fputc(int c, FILE * stream);
41 __syscall size_t zephyr_fwrite(const void *ZRESTRICT ptr, size_t size,
/Zephyr-Core-3.7.0/include/zephyr/mgmt/
Dupdatehub.h48 __syscall void updatehub_autohandler(void);
59 __syscall enum updatehub_response updatehub_probe(void);
74 __syscall enum updatehub_response updatehub_update(void);
84 __syscall int updatehub_confirm(void);
91 __syscall int updatehub_reboot(void);
/Zephyr-Core-3.7.0/include/zephyr/
Dkernel.h345 __syscall k_thread_stack_t *k_thread_stack_alloc(size_t size, int flags);
359 __syscall int k_thread_stack_free(k_thread_stack_t *stack);
409 __syscall k_tid_t k_thread_create(struct k_thread *new_thread,
498 __syscall int k_thread_stack_space_get(const struct k_thread *thread,
537 __syscall int k_thread_join(struct k_thread *thread, k_timeout_t timeout);
553 __syscall int32_t k_sleep(k_timeout_t timeout);
587 __syscall int32_t k_usleep(int32_t us);
605 __syscall void k_busy_wait(uint32_t usec_to_wait);
627 __syscall void k_yield(void);
638 __syscall void k_wakeup(k_tid_t thread);
[all …]
/Zephyr-Core-3.7.0/include/zephyr/drivers/
Dhwinfo.h94 __syscall ssize_t hwinfo_get_device_id(uint8_t *buffer, size_t length);
110 __syscall int hwinfo_get_device_eui64(uint8_t *buffer);
134 __syscall int hwinfo_get_reset_cause(uint32_t *cause);
147 __syscall int hwinfo_clear_reset_cause(void);
162 __syscall int hwinfo_get_supported_reset_cause(uint32_t *supported);
Dcounter.h257 __syscall bool counter_is_counting_up(const struct device *dev);
274 __syscall uint8_t counter_get_num_of_channels(const struct device *dev);
292 __syscall uint32_t counter_get_frequency(const struct device *dev);
312 __syscall uint32_t counter_us_to_ticks(const struct device *dev, uint64_t us);
330 __syscall uint64_t counter_ticks_to_us(const struct device *dev, uint32_t ticks);
345 __syscall uint32_t counter_get_max_top_value(const struct device *dev);
363 __syscall int counter_start(const struct device *dev);
382 __syscall int counter_stop(const struct device *dev);
400 __syscall int counter_get_value(const struct device *dev, uint32_t *ticks);
419 __syscall int counter_get_value_64(const struct device *dev, uint64_t *ticks);
[all …]
Dcan.h824 __syscall int can_get_core_clock(const struct device *dev, uint32_t *rate);
841 __syscall uint32_t can_get_bitrate_min(const struct device *dev);
878 __syscall uint32_t can_get_bitrate_max(const struct device *dev);
915 __syscall const struct can_timing *can_get_timing_min(const struct device *dev);
931 __syscall const struct can_timing *can_get_timing_max(const struct device *dev);
966 __syscall int can_calc_timing(const struct device *dev, struct can_timing *res,
982 __syscall const struct can_timing *can_get_timing_data_min(const struct device *dev);
1006 __syscall const struct can_timing *can_get_timing_data_max(const struct device *dev);
1037 __syscall int can_calc_timing_data(const struct device *dev, struct can_timing *res,
1057 __syscall int can_set_timing_data(const struct device *dev,
[all …]
Dflash.h232 __syscall int flash_read(const struct device *dev, off_t offset, void *data,
263 __syscall int flash_write(const struct device *dev, off_t offset,
307 __syscall int flash_erase(const struct device *dev, off_t offset, size_t size);
339 __syscall int flash_fill(const struct device *dev, uint8_t val, off_t offset, size_t size);
378 __syscall int flash_flatten(const struct device *dev, off_t offset, size_t size);
396 __syscall int flash_get_page_info_by_offs(const struct device *dev,
409 __syscall int flash_get_page_info_by_idx(const struct device *dev,
420 __syscall size_t flash_get_page_count(const struct device *dev);
471 __syscall int flash_sfdp_read(const struct device *dev, off_t offset,
499 __syscall int flash_read_jedec_id(const struct device *dev, uint8_t *id);
[all …]
Dauxdisplay.h323 __syscall int auxdisplay_display_on(const struct device *dev);
345 __syscall int auxdisplay_display_off(const struct device *dev);
368 __syscall int auxdisplay_cursor_set_enabled(const struct device *dev,
393 __syscall int auxdisplay_position_blinking_set_enabled(const struct device *dev,
421 __syscall int auxdisplay_cursor_shift_set(const struct device *dev,
454 __syscall int auxdisplay_cursor_position_set(const struct device *dev,
487 __syscall int auxdisplay_cursor_position_get(const struct device *dev,
515 __syscall int auxdisplay_display_position_set(const struct device *dev,
548 __syscall int auxdisplay_display_position_get(const struct device *dev,
572 __syscall int auxdisplay_capabilities_get(const struct device *dev,
[all …]
Dps2.h76 __syscall int ps2_config(const struct device *dev,
97 __syscall int ps2_write(const struct device *dev, uint8_t value);
115 __syscall int ps2_read(const struct device *dev, uint8_t *value);
132 __syscall int ps2_enable_callback(const struct device *dev);
153 __syscall int ps2_disable_callback(const struct device *dev);
Dw1.h114 __syscall int w1_change_bus_lock(const struct device *dev, bool lock);
191 __syscall int w1_reset_bus(const struct device *dev);
208 __syscall int w1_read_bit(const struct device *dev);
226 __syscall int w1_write_bit(const struct device *dev, const bool bit);
243 __syscall int w1_read_byte(const struct device *dev);
261 __syscall int w1_write_byte(const struct device *dev, uint8_t byte);
280 __syscall int w1_read_block(const struct device *dev, uint8_t *buffer, size_t len);
292 __syscall int w1_write_block(const struct device *dev,
303 __syscall size_t w1_get_slave_count(const struct device *dev);
327 __syscall int w1_configure(const struct device *dev,
[all …]
Dled.h138 __syscall int led_blink(const struct device *dev, uint32_t led,
163 __syscall int led_get_info(const struct device *dev, uint32_t led,
194 __syscall int led_set_brightness(const struct device *dev, uint32_t led,
226 __syscall int led_write_channels(const struct device *dev,
255 __syscall int led_set_channel(const struct device *dev,
280 __syscall int led_set_color(const struct device *dev, uint32_t led,
304 __syscall int led_on(const struct device *dev, uint32_t led);
323 __syscall int led_off(const struct device *dev, uint32_t led);
Despi_saf.h219 __syscall int espi_saf_config(const struct device *dev,
245 __syscall int espi_saf_set_protection_regions(
271 __syscall int espi_saf_activate(const struct device *dev);
291 __syscall bool espi_saf_get_channel_status(const struct device *dev);
315 __syscall int espi_saf_flash_read(const struct device *dev,
344 __syscall int espi_saf_flash_write(const struct device *dev,
373 __syscall int espi_saf_flash_erase(const struct device *dev,
402 __syscall int espi_saf_flash_unsuccess(const struct device *dev,
/Zephyr-Core-3.7.0/tests/subsys/logging/log_benchmark/src/
Dtest_helpers.h11 __syscall void test_helpers_log_setup(void);
12 __syscall int test_helpers_cycle_get(void);
13 __syscall bool test_helpers_log_dropped_pending(void);
/Zephyr-Core-3.7.0/include/zephyr/drivers/virtualization/
Divshmem.h98 __syscall size_t ivshmem_get_mem(const struct device *dev,
117 __syscall uint32_t ivshmem_get_id(const struct device *dev);
134 __syscall uint16_t ivshmem_get_vectors(const struct device *dev);
153 __syscall int ivshmem_int_peer(const struct device *dev,
180 __syscall int ivshmem_register_handler(const struct device *dev,
204 __syscall size_t ivshmem_get_rw_mem_section(const struct device *dev,
225 __syscall size_t ivshmem_get_output_mem_section(const struct device *dev,
247 __syscall uint32_t ivshmem_get_state(const struct device *dev,
267 __syscall int ivshmem_set_state(const struct device *dev,
286 __syscall uint32_t ivshmem_get_max_peers(const struct device *dev);
[all …]
/Zephyr-Core-3.7.0/include/zephyr/kernel/mm/
Ddemand_paging.h159 __syscall void k_mem_paging_stats_get(struct k_mem_paging_stats_t *stats);
171 __syscall
183 __syscall void k_mem_paging_histogram_eviction_get(
194 __syscall void k_mem_paging_histogram_backing_store_page_in_get(
205 __syscall void k_mem_paging_histogram_backing_store_page_out_get(
/Zephyr-Core-3.7.0/include/zephyr/net/
Dsocket.h329 __syscall void *zsock_get_context_object(int sock);
348 __syscall int zsock_socket(int family, int type, int proto);
362 __syscall int zsock_socketpair(int family, int type, int proto, int *sv);
375 __syscall int zsock_close(int sock);
390 __syscall int zsock_shutdown(int sock, int how);
404 __syscall int zsock_bind(int sock, const struct sockaddr *addr,
419 __syscall int zsock_connect(int sock, const struct sockaddr *addr,
434 __syscall int zsock_listen(int sock, int backlog);
448 __syscall int zsock_accept(int sock, struct sockaddr *addr, socklen_t *addrlen);
462 __syscall ssize_t zsock_sendto(int sock, const void *buf, size_t len,
[all …]
/Zephyr-Core-3.7.0/samples/subsys/llext/edk/app/include/
Dapp_api.h27 __syscall int publish(enum Channels channel, void *data,
29 __syscall int receive(enum Channels channel, void *data,
31 __syscall int register_subscriber(enum Channels channel,
/Zephyr-Core-3.7.0/include/zephyr/logging/
Dlog_ctrl.h88 __syscall void log_panic(void);
96 __syscall bool log_process(void);
103 __syscall uint32_t log_buffered_cnt(void);
175 __syscall uint32_t log_filter_set(struct log_backend const *const backend,
197 __syscall uint32_t log_frontend_filter_set(int16_t source_id, uint32_t level);
/Zephyr-Core-3.7.0/include/zephyr/drivers/misc/timeaware_gpio/
Dtimeaware_gpio.h76 __syscall int tgpio_port_get_time(const struct device *dev, uint64_t *current_time);
93 __syscall int tgpio_port_get_cycles_per_second(const struct device *dev, uint32_t *cycles);
111 __syscall int tgpio_pin_disable(const struct device *dev, uint32_t pin);
129 __syscall int tgpio_pin_config_ext_timestamp(const struct device *dev, uint32_t pin,
151 __syscall int tgpio_pin_periodic_output(const struct device *dev, uint32_t pin,
174 __syscall int tgpio_pin_read_ts_ec(const struct device *dev, uint32_t pin, uint64_t *timestamp,
/Zephyr-Core-3.7.0/tests/subsys/llext/simple/src/
Dsyscalls_ext.h9 __syscall int ext_syscall_ok(int a);
17 __syscall void ext_syscall_fail(void);
/Zephyr-Core-3.7.0/tests/arch/arm/arm_thread_swap/src/
Dtest_syscalls.h11 __syscall void test_arm_user_syscall(void);
12 __syscall void test_arm_cpu_write_reg(void);
/Zephyr-Core-3.7.0/tests/kernel/mem_protect/userspace/src/
Dtest_syscall.h10 __syscall void missing_syscall(void);
11 __syscall void check_syscall_context(void);
/Zephyr-Core-3.7.0/tests/benchmarks/footprints/src/
Duserspace.h10 __syscall int dummy_syscall(void);
11 __syscall int validation_overhead_syscall(void);

12345