Home
last modified time | relevance | path

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

12345

/Zephyr-latest/include/zephyr/drivers/
Duart.h332 __syscall int uart_err_check(const struct device *dev);
357 __syscall int uart_poll_in(const struct device *dev, unsigned char *p_char);
378 __syscall int uart_poll_in_u16(const struct device *dev, uint16_t *p_u16);
395 __syscall void uart_poll_out(const struct device *dev,
412 __syscall void uart_poll_out_u16(const struct device *dev, uint16_t out_u16);
432 __syscall int uart_configure(const struct device *dev,
449 __syscall int uart_config_get(const struct device *dev,
552 __syscall void uart_irq_tx_enable(const struct device *dev);
559 __syscall void uart_irq_tx_disable(const struct device *dev);
588 __syscall void uart_irq_rx_enable(const struct device *dev);
[all …]
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.h815 __syscall int can_get_core_clock(const struct device *dev, uint32_t *rate);
840 __syscall uint32_t can_get_bitrate_min(const struct device *dev);
865 __syscall uint32_t can_get_bitrate_max(const struct device *dev);
881 __syscall const struct can_timing *can_get_timing_min(const struct device *dev);
897 __syscall const struct can_timing *can_get_timing_max(const struct device *dev);
932 __syscall int can_calc_timing(const struct device *dev, struct can_timing *res,
948 __syscall const struct can_timing *can_get_timing_data_min(const struct device *dev);
972 __syscall const struct can_timing *can_get_timing_data_max(const struct device *dev);
1003 __syscall int can_calc_timing_data(const struct device *dev, struct can_timing *res,
1023 __syscall int can_set_timing_data(const struct device *dev,
[all …]
Dflash.h245 __syscall int flash_read(const struct device *dev, off_t offset, void *data,
276 __syscall int flash_write(const struct device *dev, off_t offset,
320 __syscall int flash_erase(const struct device *dev, off_t offset, size_t size);
350 __syscall int flash_get_size(const struct device *dev, uint64_t *size);
379 __syscall int flash_fill(const struct device *dev, uint8_t val, off_t offset, size_t size);
418 __syscall int flash_flatten(const struct device *dev, off_t offset, size_t size);
436 __syscall int flash_get_page_info_by_offs(const struct device *dev,
449 __syscall int flash_get_page_info_by_idx(const struct device *dev,
460 __syscall size_t flash_get_page_count(const struct device *dev);
511 __syscall int flash_sfdp_read(const struct device *dev, off_t offset,
[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 …]
Dstepper.h218 __syscall int stepper_enable(const struct device *dev, const bool enable);
240 __syscall int stepper_move_by(const struct device *dev, int32_t micro_steps);
265 __syscall int stepper_set_max_velocity(const struct device *dev, uint32_t micro_steps_per_second);
286 __syscall int stepper_set_micro_step_res(const struct device *dev,
310 __syscall int stepper_get_micro_step_res(const struct device *dev,
334 __syscall int stepper_set_reference_position(const struct device *dev, int32_t value);
357 __syscall int stepper_get_actual_position(const struct device *dev, int32_t *value);
383 __syscall int stepper_move_to(const struct device *dev, int32_t micro_steps);
405 __syscall int stepper_is_moving(const struct device *dev, bool *is_moving);
435 __syscall int stepper_run(const struct device *dev, enum stepper_direction direction,
[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 …]
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-latest/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-latest/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-latest/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-latest/include/zephyr/net/
Dsocket.h329 __syscall void *zsock_get_context_object(int sock);
346 __syscall int zsock_socket(int family, int type, int proto);
358 __syscall int zsock_socketpair(int family, int type, int proto, int *sv);
369 __syscall int zsock_close(int sock);
382 __syscall int zsock_shutdown(int sock, int how);
394 __syscall int zsock_bind(int sock, const struct sockaddr *addr,
407 __syscall int zsock_connect(int sock, const struct sockaddr *addr,
420 __syscall int zsock_listen(int sock, int backlog);
432 __syscall int zsock_accept(int sock, struct sockaddr *addr, socklen_t *addrlen);
444 __syscall ssize_t zsock_sendto(int sock, const void *buf, size_t len,
[all …]
/Zephyr-latest/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-latest/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);
551 __syscall int32_t k_sleep(k_timeout_t timeout);
585 __syscall int32_t k_usleep(int32_t us);
603 __syscall void k_busy_wait(uint32_t usec_to_wait);
625 __syscall void k_yield(void);
636 __syscall void k_wakeup(k_tid_t thread);
[all …]
/Zephyr-latest/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-latest/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-latest/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-latest/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-latest/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-latest/tests/subsys/llext/src/
Dsyscalls_ext.h9 __syscall int ext_syscall_ok(int a);
17 __syscall void ext_syscall_fail(void);
/Zephyr-latest/tests/kernel/mem_protect/userspace/src/
Dtest_syscall.h10 __syscall void missing_syscall(void);
11 __syscall void check_syscall_context(void);
/Zephyr-latest/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);

12345