/Zephyr-latest/drivers/can/ |
D | can_handlers.c | 16 K_OOPS(K_SYSCALL_DRIVER_CAN(dev, get_core_clock)); in z_vrfy_can_calc_timing() 17 K_OOPS(k_usermode_from_copy(&res_copy, res, sizeof(res_copy))); in z_vrfy_can_calc_timing() 20 K_OOPS(k_usermode_to_copy(res, &res_copy, sizeof(*res))); in z_vrfy_can_calc_timing() 31 K_OOPS(K_SYSCALL_DRIVER_CAN(dev, set_timing)); in z_vrfy_can_set_timing() 32 K_OOPS(k_usermode_from_copy(&timing_copy, timing, sizeof(timing_copy))); in z_vrfy_can_set_timing() 41 K_OOPS(K_SYSCALL_DRIVER_CAN(dev, get_core_clock)); in z_vrfy_can_get_core_clock() 42 K_OOPS(K_SYSCALL_MEMORY_WRITE(rate, sizeof(*rate))); in z_vrfy_can_get_core_clock() 50 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_CAN)); in z_vrfy_can_get_bitrate_min() 58 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_CAN)); in z_vrfy_can_get_bitrate_max() 66 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_CAN)); in z_vrfy_can_get_timing_min() [all …]
|
/Zephyr-latest/drivers/espi/ |
D | espi_handlers.c | 16 K_OOPS(K_SYSCALL_DRIVER_ESPI(dev, config)); in z_vrfy_espi_config() 17 K_OOPS(k_usermode_from_copy(&cfg_copy, cfg, in z_vrfy_espi_config() 27 K_OOPS(K_SYSCALL_DRIVER_ESPI(dev, get_channel_status)); in z_vrfy_espi_get_channel_status() 40 K_OOPS(K_SYSCALL_DRIVER_ESPI(dev, read_lpc_request)); in z_vrfy_espi_read_lpc_request() 43 K_OOPS(k_usermode_to_copy(data, &data_copy, sizeof(uint8_t))); in z_vrfy_espi_read_lpc_request() 55 K_OOPS(K_SYSCALL_DRIVER_ESPI(dev, write_lpc_request)); in z_vrfy_espi_write_lpc_request() 56 K_OOPS(k_usermode_from_copy(&data_copy, data, sizeof(*data))); in z_vrfy_espi_write_lpc_request() 66 K_OOPS(K_SYSCALL_DRIVER_ESPI(dev, send_vwire)); in z_vrfy_espi_send_vwire() 79 K_OOPS(K_SYSCALL_DRIVER_ESPI(dev, receive_vwire)); in z_vrfy_espi_receive_vwire() 82 K_OOPS(k_usermode_to_copy(level, &level_copy, sizeof(uint8_t))); in z_vrfy_espi_receive_vwire() [all …]
|
/Zephyr-latest/drivers/rtc/ |
D | rtc_handlers.c | 12 K_OOPS(K_SYSCALL_DRIVER_RTC(dev, set_time)); in z_vrfy_rtc_set_time() 13 K_OOPS(K_SYSCALL_MEMORY_READ(timeptr, sizeof(struct rtc_time))); in z_vrfy_rtc_set_time() 20 K_OOPS(K_SYSCALL_DRIVER_RTC(dev, get_time)); in z_vrfy_rtc_get_time() 21 K_OOPS(K_SYSCALL_MEMORY_WRITE(timeptr, sizeof(struct rtc_time))); in z_vrfy_rtc_get_time() 30 K_OOPS(K_SYSCALL_DRIVER_RTC(dev, alarm_get_supported_fields)); in z_vrfy_rtc_alarm_get_supported_fields() 31 K_OOPS(K_SYSCALL_MEMORY_WRITE(mask, sizeof(uint16_t))); in z_vrfy_rtc_alarm_get_supported_fields() 39 K_OOPS(K_SYSCALL_DRIVER_RTC(dev, alarm_set_time)); in z_vrfy_rtc_alarm_set_time() 40 K_OOPS(K_SYSCALL_MEMORY_READ(timeptr, sizeof(struct rtc_time))); in z_vrfy_rtc_alarm_set_time() 48 K_OOPS(K_SYSCALL_DRIVER_RTC(dev, alarm_get_time)); in z_vrfy_rtc_alarm_get_time() 49 K_OOPS(K_SYSCALL_MEMORY_WRITE(mask, sizeof(uint16_t))); in z_vrfy_rtc_alarm_get_time() [all …]
|
/Zephyr-latest/drivers/virtualization/ |
D | virt_ivshmem_handlers.c | 14 K_OOPS(K_SYSCALL_DRIVER_IVSHMEM(dev, get_mem)); in z_vrfy_ivshmem_get_mem() 15 K_OOPS(K_SYSCALL_MEMORY_WRITE(memmap, sizeof(uintptr_t))); in z_vrfy_ivshmem_get_mem() 23 K_OOPS(K_SYSCALL_DRIVER_IVSHMEM(dev, get_id)); in z_vrfy_ivshmem_get_id() 31 K_OOPS(K_SYSCALL_DRIVER_IVSHMEM(dev, get_vectors)); in z_vrfy_ivshmem_get_vectors() 40 K_OOPS(K_SYSCALL_DRIVER_IVSHMEM(dev, int_peer)); in z_vrfy_ivshmem_int_peer() 50 K_OOPS(K_SYSCALL_DRIVER_IVSHMEM(dev, register_handler)); in z_vrfy_ivshmem_register_handler() 51 K_OOPS(K_SYSCALL_OBJ(signal, K_OBJ_POLL_SIGNAL)); in z_vrfy_ivshmem_register_handler() 62 K_OOPS(K_SYSCALL_DRIVER_IVSHMEM(dev, get_rw_mem_section)); in z_vrfy_ivshmem_get_rw_mem_section() 63 K_OOPS(K_SYSCALL_MEMORY_WRITE(memmap, sizeof(uintptr_t))); in z_vrfy_ivshmem_get_rw_mem_section() 73 K_OOPS(K_SYSCALL_DRIVER_IVSHMEM(dev, get_output_mem_section)); in z_vrfy_ivshmem_get_output_mem_section() [all …]
|
/Zephyr-latest/drivers/flash/ |
D | flash_handlers.c | 14 K_OOPS(K_SYSCALL_DRIVER_FLASH(dev, read)); in z_vrfy_flash_read() 15 K_OOPS(K_SYSCALL_MEMORY_WRITE(data, len)); in z_vrfy_flash_read() 25 K_OOPS(K_SYSCALL_DRIVER_FLASH(dev, write)); in z_vrfy_flash_write() 26 K_OOPS(K_SYSCALL_MEMORY_READ(data, len)); in z_vrfy_flash_write() 35 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_FLASH)); in z_vrfy_flash_erase() 42 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_FLASH)); in z_vrfy_flash_get_size() 43 K_OOPS(K_SYSCALL_MEMORY_WRITE(size, sizeof(*size))); in z_vrfy_flash_get_size() 50 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_FLASH)); in z_vrfy_flash_get_write_block_size() 57 K_OOPS(K_SYSCALL_DRIVER_FLASH(dev, get_parameters)); in z_vrfy_flash_get_parameters() 65 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_FLASH)); in z_vrfy_flash_fill() [all …]
|
/Zephyr-latest/drivers/counter/ |
D | counter_handlers.c | 16 K_OOPS(K_SYSCALL_DRIVER_COUNTER(dev, name)); \ 30 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_COUNTER)); in COUNTER_HANDLER() 37 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_COUNTER)); in z_vrfy_counter_get_num_of_channels() 44 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_COUNTER)); in z_vrfy_counter_get_frequency() 52 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_COUNTER)); in z_vrfy_counter_us_to_ticks() 61 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_COUNTER)); in z_vrfy_counter_ticks_to_us() 70 K_OOPS(K_SYSCALL_DRIVER_COUNTER(dev, get_value)); in z_vrfy_counter_get_value() 71 K_OOPS(K_SYSCALL_MEMORY_WRITE(ticks, sizeof(*ticks))); in z_vrfy_counter_get_value() 79 K_OOPS(K_SYSCALL_DRIVER_COUNTER(dev, get_value_64)); in z_vrfy_counter_get_value_64() 80 K_OOPS(K_SYSCALL_MEMORY_WRITE(ticks, sizeof(*ticks))); in z_vrfy_counter_get_value_64() [all …]
|
/Zephyr-latest/drivers/smbus/ |
D | smbus_handlers.c | 14 K_OOPS(K_SYSCALL_DRIVER_SMBUS(dev, configure)); in z_vrfy_smbus_configure() 23 K_OOPS(K_SYSCALL_DRIVER_SMBUS(dev, get_config)); in z_vrfy_smbus_get_config() 24 K_OOPS(K_SYSCALL_MEMORY_WRITE(dev_config, sizeof(uint32_t))); in z_vrfy_smbus_get_config() 33 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_SMBUS)); in z_vrfy_smbus_quick() 42 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_SMBUS)); in z_vrfy_smbus_byte_write() 51 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_SMBUS)); in z_vrfy_smbus_byte_read() 52 K_OOPS(K_SYSCALL_MEMORY_WRITE(byte, sizeof(uint8_t))); in z_vrfy_smbus_byte_read() 62 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_SMBUS)); in z_vrfy_smbus_byte_data_write() 72 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_SMBUS)); in z_vrfy_smbus_byte_data_read() 73 K_OOPS(K_SYSCALL_MEMORY_WRITE(byte, sizeof(uint8_t))); in z_vrfy_smbus_byte_data_read() [all …]
|
/Zephyr-latest/drivers/serial/ |
D | uart_handlers.c | 13 K_OOPS(K_SYSCALL_DRIVER_UART(dev, op_)); \ 20 K_OOPS(K_SYSCALL_DRIVER_UART(dev, op_)); \ 30 K_OOPS(K_SYSCALL_DRIVER_UART(dev, poll_in)); in UART_SIMPLE() 31 K_OOPS(K_SYSCALL_MEMORY_WRITE(p_char, sizeof(unsigned char))); in UART_SIMPLE() 39 K_OOPS(K_SYSCALL_DRIVER_UART(dev, poll_in)); in z_vrfy_uart_poll_in_u16() 40 K_OOPS(K_SYSCALL_MEMORY_WRITE(p_u16, sizeof(uint16_t))); in z_vrfy_uart_poll_in_u16() 48 K_OOPS(K_SYSCALL_DRIVER_UART(dev, poll_out)); in z_vrfy_uart_poll_out() 56 K_OOPS(K_SYSCALL_DRIVER_UART(dev, poll_out)); in z_vrfy_uart_poll_out_u16() 65 K_OOPS(K_SYSCALL_DRIVER_UART(dev, config_get)); in z_vrfy_uart_config_get() 66 K_OOPS(K_SYSCALL_MEMORY_WRITE(cfg, sizeof(struct uart_config))); in z_vrfy_uart_config_get() [all …]
|
/Zephyr-latest/drivers/auxdisplay/ |
D | auxdisplay_handlers.c | 12 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY)); in z_vrfy_auxdisplay_display_on() 19 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY)); in z_vrfy_auxdisplay_display_off() 26 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY)); in z_vrfy_auxdisplay_cursor_set_enabled() 34 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY)); in z_vrfy_auxdisplay_position_blinking_set_enabled() 42 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY)); in z_vrfy_auxdisplay_cursor_shift_set() 51 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY)); in z_vrfy_auxdisplay_cursor_position_set() 59 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY)); in z_vrfy_auxdisplay_cursor_position_get() 68 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY)); in z_vrfy_auxdisplay_display_position_set() 76 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY)); in z_vrfy_auxdisplay_display_position_get() 84 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY)); in z_vrfy_auxdisplay_capabilities_get() [all …]
|
/Zephyr-latest/drivers/fuel_gauge/ |
D | fuel_gauge_syscall_handlers.c | 16 K_OOPS(K_SYSCALL_DRIVER_FUEL_GAUGE(dev, get_property)); in z_vrfy_fuel_gauge_get_prop() 18 K_OOPS(k_usermode_from_copy(&k_val, val, sizeof(union fuel_gauge_prop_val))); in z_vrfy_fuel_gauge_get_prop() 22 K_OOPS(k_usermode_to_copy(val, &k_val, sizeof(union fuel_gauge_prop_val))); in z_vrfy_fuel_gauge_get_prop() 36 K_OOPS(K_SYSCALL_DRIVER_FUEL_GAUGE(dev, get_property)); in z_vrfy_fuel_gauge_get_props() 38 K_OOPS(k_usermode_from_copy(k_vals, vals, len * sizeof(union fuel_gauge_prop_val))); in z_vrfy_fuel_gauge_get_props() 39 K_OOPS(k_usermode_from_copy(k_props, props, len * sizeof(fuel_gauge_prop_t))); in z_vrfy_fuel_gauge_get_props() 43 K_OOPS(k_usermode_to_copy(vals, k_vals, len * sizeof(union fuel_gauge_prop_val))); in z_vrfy_fuel_gauge_get_props() 53 K_OOPS(K_SYSCALL_DRIVER_FUEL_GAUGE(dev, set_property)); in z_vrfy_fuel_gauge_set_prop() 69 K_OOPS(K_SYSCALL_DRIVER_FUEL_GAUGE(dev, set_property)); in z_vrfy_fuel_gauge_set_props() 71 K_OOPS(k_usermode_from_copy(k_vals, vals, len * sizeof(union fuel_gauge_prop_val))); in z_vrfy_fuel_gauge_set_props() [all …]
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_handlers.c | 14 K_OOPS(K_SYSCALL_DRIVER_GPIO(port, pin_configure)); in z_vrfy_gpio_pin_configure() 26 K_OOPS(K_SYSCALL_DRIVER_GPIO(port, pin_get_config)); in z_vrfy_gpio_pin_get_config() 27 K_OOPS(K_SYSCALL_MEMORY_WRITE(flags, sizeof(gpio_flags_t))); in z_vrfy_gpio_pin_get_config() 37 K_OOPS(K_SYSCALL_DRIVER_GPIO(port, port_get_raw)); in z_vrfy_gpio_port_get_raw() 38 K_OOPS(K_SYSCALL_MEMORY_WRITE(value, sizeof(gpio_port_value_t))); in z_vrfy_gpio_port_get_raw() 48 K_OOPS(K_SYSCALL_DRIVER_GPIO(port, port_set_masked_raw)); in z_vrfy_gpio_port_set_masked_raw() 58 K_OOPS(K_SYSCALL_DRIVER_GPIO(port, port_set_bits_raw)); in z_vrfy_gpio_port_set_bits_raw() 67 K_OOPS(K_SYSCALL_DRIVER_GPIO(port, port_clear_bits_raw)); in z_vrfy_gpio_port_clear_bits_raw() 76 K_OOPS(K_SYSCALL_DRIVER_GPIO(port, port_toggle_bits)); in z_vrfy_gpio_port_toggle_bits() 85 K_OOPS(K_SYSCALL_DRIVER_GPIO(port, pin_interrupt_configure)); in z_vrfy_gpio_pin_interrupt_configure() [all …]
|
/Zephyr-latest/drivers/w1/ |
D | w1_handlers.c | 12 K_OOPS(K_SYSCALL_DRIVER_W1(dev, reset_bus)); in z_vrfy_w1_reset_bus() 20 K_OOPS(K_SYSCALL_DRIVER_W1(dev, read_bit)); in z_vrfy_w1_read_bit() 28 K_OOPS(K_SYSCALL_DRIVER_W1(dev, write_bit)); in z_vrfy_w1_write_bit() 36 K_OOPS(K_SYSCALL_DRIVER_W1(dev, read_byte)); in z_vrfy_w1_read_byte() 44 K_OOPS(K_SYSCALL_DRIVER_W1(dev, write_byte)); in z_vrfy_w1_write_byte() 53 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_W1)); in z_vrfy_w1_read_block() 54 K_OOPS(K_SYSCALL_MEMORY_WRITE(buffer, len)); in z_vrfy_w1_read_block() 64 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_W1)); in z_vrfy_w1_write_block() 65 K_OOPS(K_SYSCALL_MEMORY_READ(buffer, len)); in z_vrfy_w1_write_block() 74 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_W1)); in z_vrfy_w1_change_bus_lock() [all …]
|
/Zephyr-latest/drivers/sensor/ |
D | sensor_handlers.c | 15 K_OOPS(K_SYSCALL_DRIVER_SENSOR(dev, attr_set)); in z_vrfy_sensor_attr_set() 16 K_OOPS(K_SYSCALL_MEMORY_READ(val, sizeof(struct sensor_value))); in z_vrfy_sensor_attr_set() 27 K_OOPS(K_SYSCALL_DRIVER_SENSOR(dev, attr_get)); in z_vrfy_sensor_attr_get() 28 K_OOPS(K_SYSCALL_MEMORY_WRITE(val, sizeof(struct sensor_value))); in z_vrfy_sensor_attr_get() 36 K_OOPS(K_SYSCALL_DRIVER_SENSOR(dev, sample_fetch)); in z_vrfy_sensor_sample_fetch() 44 K_OOPS(K_SYSCALL_DRIVER_SENSOR(dev, sample_fetch)); in z_vrfy_sensor_sample_fetch_chan() 54 K_OOPS(K_SYSCALL_DRIVER_SENSOR(dev, channel_get)); in z_vrfy_sensor_channel_get() 55 K_OOPS(K_SYSCALL_MEMORY_WRITE(val, sizeof(struct sensor_value))); in z_vrfy_sensor_channel_get() 65 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_SENSOR)); in z_vrfy_sensor_get_decoder() 66 K_OOPS(K_SYSCALL_MEMORY_READ(decoder, sizeof(struct sensor_decoder_api))); in z_vrfy_sensor_get_decoder() [all …]
|
/Zephyr-latest/drivers/i3c/ |
D | i3c_handlers.c | 14 K_OOPS(K_SYSCALL_DRIVER_I3C(dev, do_ccc)); in z_vrfy_i3c_do_ccc() 15 K_OOPS(K_SYSCALL_MEMORY_READ(payload, sizeof(*payload))); in z_vrfy_i3c_do_ccc() 16 K_OOPS(K_SYSCALL_MEMORY_WRITE(payload, sizeof(*payload))); in z_vrfy_i3c_do_ccc() 19 K_OOPS(K_SYSCALL_MEMORY_ARRAY_READ(payload->ccc.data, in z_vrfy_i3c_do_ccc() 22 K_OOPS(K_SYSCALL_MEMORY_ARRAY_WRITE(payload->ccc.data, in z_vrfy_i3c_do_ccc() 28 K_OOPS(K_SYSCALL_MEMORY_ARRAY_READ(payload->targets.payloads, in z_vrfy_i3c_do_ccc() 31 K_OOPS(K_SYSCALL_MEMORY_ARRAY_WRITE(payload->targets.payloads, in z_vrfy_i3c_do_ccc() 54 K_OOPS(K_SYSCALL_MEMORY(copy[i].buf, copy[i].len, in copy_i3c_msgs_and_transfer() 64 K_OOPS(K_SYSCALL_MEMORY_READ(target, sizeof(*target))); in z_vrfy_i3c_transfer() 65 K_OOPS(K_SYSCALL_OBJ(target->bus, K_OBJ_DRIVER_I3C)); in z_vrfy_i3c_transfer() [all …]
|
/Zephyr-latest/drivers/bbram/ |
D | bbram_handlers.c | 12 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_BBRAM)); in z_vrfy_bbram_check_invalid() 19 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_BBRAM)); in z_vrfy_bbram_check_standby_power() 26 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_BBRAM)); in z_vrfy_bbram_check_power() 33 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_BBRAM)); in z_vrfy_bbram_get_size() 34 K_OOPS(K_SYSCALL_MEMORY_WRITE(size, sizeof(size_t))); in z_vrfy_bbram_get_size() 42 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_BBRAM)); in z_vrfy_bbram_read() 43 K_OOPS(K_SYSCALL_MEMORY_WRITE(data, size)); in z_vrfy_bbram_read() 51 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_BBRAM)); in z_vrfy_bbram_write() 52 K_OOPS(K_SYSCALL_MEMORY_READ(data, size)); in z_vrfy_bbram_write()
|
/Zephyr-latest/drivers/led/ |
D | led_handlers.c | 13 K_OOPS(K_SYSCALL_DRIVER_LED(dev, blink)); in z_vrfy_led_blink() 22 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_LED)); in z_vrfy_led_get_info() 23 K_OOPS(K_SYSCALL_MEMORY_WRITE(info, sizeof(*info))); in z_vrfy_led_get_info() 32 K_OOPS(K_SYSCALL_DRIVER_LED(dev, set_brightness)); in z_vrfy_led_set_brightness() 42 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_LED)); in z_vrfy_led_write_channels() 43 K_OOPS(K_SYSCALL_MEMORY_READ(buf, num_channels)); in z_vrfy_led_write_channels() 51 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_LED)); in z_vrfy_led_set_channel() 59 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_LED)); in z_vrfy_led_set_color() 60 K_OOPS(K_SYSCALL_MEMORY_READ(color, num_colors)); in z_vrfy_led_set_color() 67 K_OOPS(K_SYSCALL_DRIVER_LED(dev, on)); in z_vrfy_led_on() [all …]
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_handlers.c | 15 K_OOPS(K_SYSCALL_DRIVER_PWM(dev, set_cycles)); in z_vrfy_pwm_set_cycles() 25 K_OOPS(K_SYSCALL_DRIVER_PWM(dev, get_cycles_per_sec)); in z_vrfy_pwm_get_cycles_per_sec() 26 K_OOPS(K_SYSCALL_MEMORY_WRITE(cycles, sizeof(uint64_t))); in z_vrfy_pwm_get_cycles_per_sec() 37 K_OOPS(K_SYSCALL_DRIVER_PWM(dev, enable_capture)); in z_vrfy_pwm_enable_capture() 45 K_OOPS(K_SYSCALL_DRIVER_PWM(dev, disable_capture)); in z_vrfy_pwm_disable_capture() 60 K_OOPS(K_SYSCALL_DRIVER_PWM(dev, configure_capture)); in z_vrfy_pwm_capture_cycles() 61 K_OOPS(K_SYSCALL_DRIVER_PWM(dev, enable_capture)); in z_vrfy_pwm_capture_cycles() 62 K_OOPS(K_SYSCALL_DRIVER_PWM(dev, disable_capture)); in z_vrfy_pwm_capture_cycles() 67 K_OOPS(k_usermode_to_copy(period_cycles, &period, in z_vrfy_pwm_capture_cycles() 72 K_OOPS(k_usermode_to_copy(pulse_cycles, &pulse, in z_vrfy_pwm_capture_cycles()
|
/Zephyr-latest/drivers/ps2/ |
D | ps2_handlers.c | 13 K_OOPS(K_SYSCALL_DRIVER_PS2(dev, config)); in z_vrfy_ps2_config() 14 K_OOPS(K_SYSCALL_VERIFY_MSG(callback_isr == NULL, in z_vrfy_ps2_config() 22 K_OOPS(K_SYSCALL_DRIVER_PS2(dev, write)); in z_vrfy_ps2_write() 29 K_OOPS(K_SYSCALL_DRIVER_PS2(dev, read)); in z_vrfy_ps2_read() 30 K_OOPS(K_SYSCALL_MEMORY_WRITE(value, sizeof(uint8_t))); in z_vrfy_ps2_read() 37 K_OOPS(K_SYSCALL_DRIVER_PS2(dev, enable_callback)); in z_vrfy_ps2_enable_callback() 44 K_OOPS(K_SYSCALL_DRIVER_PS2(dev, disable_callback)); in z_vrfy_ps2_disable_callback()
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_handlers.c | 14 K_OOPS(K_SYSCALL_DRIVER_I2C(dev, configure)); in z_vrfy_i2c_configure() 22 K_OOPS(K_SYSCALL_DRIVER_I2C(dev, get_config)); in z_vrfy_i2c_get_config() 23 K_OOPS(K_SYSCALL_MEMORY_WRITE(dev_config, sizeof(uint32_t))); in z_vrfy_i2c_get_config() 44 K_OOPS(K_SYSCALL_MEMORY(copy[i].buf, copy[i].len, in copy_msgs_and_transfer() 55 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_I2C)); in z_vrfy_i2c_transfer() 62 K_OOPS(K_SYSCALL_VERIFY(num_msgs >= 1 && num_msgs < 32)); in z_vrfy_i2c_transfer() 65 K_OOPS(K_SYSCALL_MEMORY_ARRAY_READ(msgs, num_msgs, in z_vrfy_i2c_transfer() 76 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_I2C)); in z_vrfy_i2c_target_driver_register() 83 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_I2C)); in z_vrfy_i2c_target_driver_unregister() 90 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_I2C)); in z_vrfy_i2c_recover_bus()
|
/Zephyr-latest/subsys/rtio/ |
D | rtio_handlers.c | 57 K_OOPS(K_SYSCALL_OBJ(r, K_OBJ_RTIO)); in z_vrfy_rtio_release_buffer() 65 K_OOPS(K_SYSCALL_OBJ(r, K_OBJ_RTIO)); in z_vrfy_rtio_cqe_get_mempool_buffer() 66 K_OOPS(K_SYSCALL_MEMORY_READ(cqe, sizeof(struct rtio_cqe))); in z_vrfy_rtio_cqe_get_mempool_buffer() 67 K_OOPS(K_SYSCALL_MEMORY_READ(buff, sizeof(void *))); in z_vrfy_rtio_cqe_get_mempool_buffer() 68 K_OOPS(K_SYSCALL_MEMORY_READ(buff_len, sizeof(uint32_t))); in z_vrfy_rtio_cqe_get_mempool_buffer() 82 K_OOPS(K_SYSCALL_OBJ(r, K_OBJ_RTIO)); in z_vrfy_rtio_sqe_copy_in_get_handles() 84 K_OOPS(K_SYSCALL_MEMORY_ARRAY_READ(sqes, sqe_count, sizeof(struct rtio_sqe))); in z_vrfy_rtio_sqe_copy_in_get_handles() 103 K_OOPS(true); in z_vrfy_rtio_sqe_copy_in_get_handles() 117 K_OOPS(K_SYSCALL_OBJ(r, K_OBJ_RTIO)); in z_vrfy_rtio_cqe_copy_out() 119 K_OOPS(K_SYSCALL_MEMORY_ARRAY_WRITE(cqes, cqe_count, sizeof(struct rtio_cqe))); in z_vrfy_rtio_cqe_copy_out() [all …]
|
/Zephyr-latest/drivers/adc/ |
D | adc_handlers.c | 16 K_OOPS(K_SYSCALL_DRIVER_ADC(dev, channel_setup)); in z_vrfy_adc_channel_setup() 17 K_OOPS(k_usermode_from_copy(&channel_cfg, in z_vrfy_adc_channel_setup() 58 K_OOPS(K_SYSCALL_DRIVER_ADC(dev, read)); in z_vrfy_adc_read() 59 K_OOPS(K_SYSCALL_VERIFY_MSG(copy_sequence(&sequence, &options, in z_vrfy_adc_read() 63 K_OOPS(K_SYSCALL_VERIFY_MSG(sequence.options->callback == NULL, in z_vrfy_adc_read() 79 K_OOPS(K_SYSCALL_DRIVER_ADC(dev, read_async)); in z_vrfy_adc_read_async() 80 K_OOPS(K_SYSCALL_VERIFY_MSG(copy_sequence(&sequence, &options, in z_vrfy_adc_read_async() 84 K_OOPS(K_SYSCALL_VERIFY_MSG(sequence.options->callback == NULL, in z_vrfy_adc_read_async() 87 K_OOPS(K_SYSCALL_OBJ(async, K_OBJ_POLL_SIGNAL)); in z_vrfy_adc_read_async()
|
/Zephyr-latest/drivers/mbox/ |
D | mbox_handlers.c | 14 K_OOPS(K_SYSCALL_DRIVER_MBOX(dev, send)); in z_vrfy_mbox_send() 15 K_OOPS(K_SYSCALL_MEMORY_READ(msg, sizeof(struct mbox_msg))); in z_vrfy_mbox_send() 16 K_OOPS(K_SYSCALL_MEMORY_READ(msg->data, msg->size)); in z_vrfy_mbox_send() 24 K_OOPS(K_SYSCALL_DRIVER_MBOX(dev, mtu_get)); in z_vrfy_mbox_mtu_get() 32 K_OOPS(K_SYSCALL_DRIVER_MBOX(dev, max_channels_get)); in z_vrfy_mbox_max_channels_get() 42 K_OOPS(K_SYSCALL_DRIVER_MBOX(dev, set_enabled)); in z_vrfy_mbox_set_enabled()
|
/Zephyr-latest/drivers/misc/timeaware_gpio/ |
D | timeaware_gpio_handlers.c | 11 K_OOPS(Z_SYSCALL_DRIVER_TGPIO(port, get_time)); in z_vrfy_tgpio_port_get_time() 12 K_OOPS(Z_SYSCALL_MEMORY_WRITE(current_time, sizeof(uint64_t))); in z_vrfy_tgpio_port_get_time() 20 K_OOPS(Z_SYSCALL_DRIVER_TGPIO(port, cyc_per_sec)); in z_vrfy_tgpio_port_get_cycles_per_second() 21 K_OOPS(Z_SYSCALL_MEMORY_WRITE(cycles, sizeof(uint32_t))); in z_vrfy_tgpio_port_get_cycles_per_second() 31 K_OOPS(Z_SYSCALL_DRIVER_TGPIO(port, set_perout)); in z_vrfy_tgpio_pin_periodic_output() 39 K_OOPS(Z_SYSCALL_DRIVER_TGPIO(port, pin_disable)); in z_vrfy_tgpio_pin_disable() 47 K_OOPS(Z_SYSCALL_DRIVER_TGPIO(port, config_ext_ts)); in z_vrfy_tgpio_pin_config_ext_timestamp() 56 K_OOPS(Z_SYSCALL_DRIVER_TGPIO(port, read_ts_ec)); in z_vrfy_tgpio_pin_read_ts_ec()
|
/Zephyr-latest/drivers/retained_mem/ |
D | retained_mem_handlers.c | 12 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_RETAINED_MEM)); in z_vrfy_retained_mem_size() 20 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_RETAINED_MEM)); in z_vrfy_retained_mem_read() 21 K_OOPS(K_SYSCALL_MEMORY_WRITE(buffer, size)); in z_vrfy_retained_mem_read() 29 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_RETAINED_MEM)); in z_vrfy_retained_mem_write() 30 K_OOPS(K_SYSCALL_MEMORY_READ(buffer, size)); in z_vrfy_retained_mem_write() 37 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_RETAINED_MEM)); in z_vrfy_retained_mem_clear()
|
/Zephyr-latest/drivers/spi/ |
D | spi_handlers.c | 26 K_OOPS(K_SYSCALL_MEMORY_ARRAY_READ(bufs->buffers, in copy_and_check() 43 K_OOPS(K_SYSCALL_MEMORY(buf->buf, buf->len, writable)); in copy_and_check() 79 K_OOPS(K_SYSCALL_MEMORY_READ(config, sizeof(*config))); in z_vrfy_spi_transceive() 80 K_OOPS(K_SYSCALL_DRIVER_SPI(dev, transceive)); in z_vrfy_spi_transceive() 86 K_OOPS(K_SYSCALL_MEMORY_READ(tx_bufs, in z_vrfy_spi_transceive() 89 K_OOPS(K_SYSCALL_VERIFY(tx_bufs_copy.count < 32)); in z_vrfy_spi_transceive() 98 K_OOPS(K_SYSCALL_MEMORY_READ(rx_bufs, in z_vrfy_spi_transceive() 101 K_OOPS(K_SYSCALL_VERIFY(rx_bufs_copy.count < 32)); in z_vrfy_spi_transceive() 108 K_OOPS(K_SYSCALL_OBJ(config_copy.cs.gpio.port, in z_vrfy_spi_transceive() 122 K_OOPS(K_SYSCALL_MEMORY_READ(config, sizeof(*config))); in z_vrfy_spi_release() [all …]
|