/Zephyr-Core-3.7.0/drivers/can/ |
D | can_handlers.c | 10 static int z_vrfy_can_calc_timing(const struct device *dev, struct can_timing *res, in z_vrfy_can_calc_timing() argument 16 K_OOPS(K_SYSCALL_DRIVER_CAN(dev, get_core_clock)); in z_vrfy_can_calc_timing() 19 err = z_impl_can_calc_timing(dev, &res_copy, bitrate, sample_pnt); in z_vrfy_can_calc_timing() 26 static inline int z_vrfy_can_set_timing(const struct device *dev, in z_vrfy_can_set_timing() argument 31 K_OOPS(K_SYSCALL_DRIVER_CAN(dev, set_timing)); in z_vrfy_can_set_timing() 34 return z_impl_can_set_timing(dev, &timing_copy); in z_vrfy_can_set_timing() 38 static inline int z_vrfy_can_get_core_clock(const struct device *dev, in z_vrfy_can_get_core_clock() argument 41 K_OOPS(K_SYSCALL_DRIVER_CAN(dev, get_core_clock)); in z_vrfy_can_get_core_clock() 44 return z_impl_can_get_core_clock(dev, rate); in z_vrfy_can_get_core_clock() 48 static inline uint32_t z_vrfy_can_get_bitrate_min(const struct device *dev) in z_vrfy_can_get_bitrate_min() argument [all …]
|
/Zephyr-Core-3.7.0/drivers/display/ |
D | display_rm68200.c | 89 static int rm68200_dcs_write(const struct device *dev, uint8_t cmd, uint8_t *buf, in rm68200_dcs_write() argument 92 const struct rm68200_config *config = dev->config; in rm68200_dcs_write() 97 static int rm68200_write(const struct device *dev, const uint16_t x, in rm68200_write() argument 105 static int rm68200_blanking_off(const struct device *dev) in rm68200_blanking_off() argument 107 const struct rm68200_config *config = dev->config; in rm68200_blanking_off() 116 static int rm68200_blanking_on(const struct device *dev) in rm68200_blanking_on() argument 118 const struct rm68200_config *config = dev->config; in rm68200_blanking_on() 127 static int rm68200_set_pixel_format(const struct device *dev, in rm68200_set_pixel_format() argument 130 const struct rm68200_config *config = dev->config; in rm68200_set_pixel_format() 139 static int rm68200_set_orientation(const struct device *dev, in rm68200_set_orientation() argument [all …]
|
/Zephyr-Core-3.7.0/drivers/auxdisplay/ |
D | auxdisplay_handlers.c | 10 static inline int z_vrfy_auxdisplay_display_on(const struct device *dev) in z_vrfy_auxdisplay_display_on() argument 12 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY)); in z_vrfy_auxdisplay_display_on() 13 return z_impl_auxdisplay_display_on(dev); in z_vrfy_auxdisplay_display_on() 17 static inline int z_vrfy_auxdisplay_display_off(const struct device *dev) in z_vrfy_auxdisplay_display_off() argument 19 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY)); in z_vrfy_auxdisplay_display_off() 20 return z_impl_auxdisplay_display_off(dev); in z_vrfy_auxdisplay_display_off() 24 static inline int z_vrfy_auxdisplay_cursor_set_enabled(const struct device *dev, bool enabled) in z_vrfy_auxdisplay_cursor_set_enabled() argument 26 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY)); in z_vrfy_auxdisplay_cursor_set_enabled() 27 return z_impl_auxdisplay_cursor_set_enabled(dev, enabled); in z_vrfy_auxdisplay_cursor_set_enabled() 31 static inline int z_vrfy_auxdisplay_position_blinking_set_enabled(const struct device *dev, in z_vrfy_auxdisplay_position_blinking_set_enabled() argument [all …]
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/ |
D | uart.h | 141 typedef void (*uart_irq_callback_user_data_t)(const struct device *dev, 149 typedef void (*uart_irq_config_func_t)(const struct device *dev); 324 typedef void (*uart_callback_t)(const struct device *dev, 342 int (*callback_set)(const struct device *dev, 346 int (*tx)(const struct device *dev, const uint8_t *buf, size_t len, 348 int (*tx_abort)(const struct device *dev); 350 int (*rx_enable)(const struct device *dev, uint8_t *buf, size_t len, 352 int (*rx_buf_rsp)(const struct device *dev, uint8_t *buf, size_t len); 353 int (*rx_disable)(const struct device *dev); 356 int (*tx_u16)(const struct device *dev, const uint16_t *buf, [all …]
|
D | edac.h | 43 typedef void (*edac_notify_callback_f)(const struct device *dev, void *data); 52 int (*inject_set_param1)(const struct device *dev, uint64_t value); 53 int (*inject_get_param1)(const struct device *dev, uint64_t *value); 54 int (*inject_set_param2)(const struct device *dev, uint64_t value); 55 int (*inject_get_param2)(const struct device *dev, uint64_t *value); 56 int (*inject_set_error_type)(const struct device *dev, uint32_t value); 57 int (*inject_get_error_type)(const struct device *dev, uint32_t *value); 58 int (*inject_error_trigger)(const struct device *dev); 61 int (*ecc_error_log_get)(const struct device *dev, uint64_t *value); 62 int (*ecc_error_log_clear)(const struct device *dev); [all …]
|
D | counter.h | 122 typedef void (*counter_alarm_callback_t)(const struct device *dev, 165 typedef void (*counter_top_callback_t)(const struct device *dev, 212 typedef int (*counter_api_start)(const struct device *dev); 213 typedef int (*counter_api_stop)(const struct device *dev); 214 typedef int (*counter_api_get_value)(const struct device *dev, 216 typedef int (*counter_api_get_value_64)(const struct device *dev, 218 typedef int (*counter_api_set_alarm)(const struct device *dev, 221 typedef int (*counter_api_cancel_alarm)(const struct device *dev, 223 typedef int (*counter_api_set_top_value)(const struct device *dev, 225 typedef uint32_t (*counter_api_get_pending_int)(const struct device *dev); [all …]
|
D | auxdisplay.h | 147 typedef int (*auxdisplay_display_on_t)(const struct device *dev); 154 typedef int (*auxdisplay_display_off_t)(const struct device *dev); 161 typedef int (*auxdisplay_cursor_set_enabled_t)(const struct device *dev, bool enabled); 168 typedef int (*auxdisplay_position_blinking_set_enabled_t)(const struct device *dev, 176 typedef int (*auxdisplay_cursor_shift_set_t)(const struct device *dev, uint8_t direction, 184 typedef int (*auxdisplay_cursor_position_set_t)(const struct device *dev, 193 typedef int (*auxdisplay_cursor_position_get_t)(const struct device *dev, int16_t *x, 201 typedef int (*auxdisplay_display_position_set_t)(const struct device *dev, 210 typedef int (*auxdisplay_display_position_get_t)(const struct device *dev, int16_t *x, 218 typedef int (*auxdisplay_capabilities_get_t)(const struct device *dev, [all …]
|
/Zephyr-Core-3.7.0/drivers/virtualization/ |
D | virt_ivshmem_handlers.c | 11 static inline size_t z_vrfy_ivshmem_get_mem(const struct device *dev, in z_vrfy_ivshmem_get_mem() argument 14 K_OOPS(K_SYSCALL_DRIVER_IVSHMEM(dev, get_mem)); in z_vrfy_ivshmem_get_mem() 17 return z_impl_ivshmem_get_mem(dev, memmap); in z_vrfy_ivshmem_get_mem() 21 static inline uint32_t z_vrfy_ivshmem_get_id(const struct device *dev) in z_vrfy_ivshmem_get_id() argument 23 K_OOPS(K_SYSCALL_DRIVER_IVSHMEM(dev, get_id)); in z_vrfy_ivshmem_get_id() 25 return z_impl_ivshmem_get_id(dev); in z_vrfy_ivshmem_get_id() 29 static inline uint16_t z_vrfy_ivshmem_get_vectors(const struct device *dev) in z_vrfy_ivshmem_get_vectors() argument 31 K_OOPS(K_SYSCALL_DRIVER_IVSHMEM(dev, get_vectors)); in z_vrfy_ivshmem_get_vectors() 33 return z_impl_ivshmem_get_vectors(dev); in z_vrfy_ivshmem_get_vectors() 37 static inline int z_vrfy_ivshmem_int_peer(const struct device *dev, in z_vrfy_ivshmem_int_peer() argument [all …]
|
/Zephyr-Core-3.7.0/include/zephyr/pm/ |
D | device_runtime.h | 38 int pm_device_runtime_auto_enable(const struct device *dev); 57 int pm_device_runtime_enable(const struct device *dev); 72 int pm_device_runtime_disable(const struct device *dev); 97 int pm_device_runtime_get(const struct device *dev); 119 int pm_device_runtime_put(const struct device *dev); 145 int pm_device_runtime_put_async(const struct device *dev, k_timeout_t delay); 159 bool pm_device_runtime_is_enabled(const struct device *dev); 170 int pm_device_runtime_usage(const struct device *dev); 174 static inline int pm_device_runtime_auto_enable(const struct device *dev) 176 ARG_UNUSED(dev); [all …]
|
/Zephyr-Core-3.7.0/drivers/gnss/ |
D | gnss_emul.c | 33 const struct device *dev; member 49 static void gnss_emul_lock_sem(const struct device *dev) in gnss_emul_lock_sem() argument 51 struct gnss_emul_data *data = dev->data; in gnss_emul_lock_sem() 56 static void gnss_emul_unlock_sem(const struct device *dev) in gnss_emul_unlock_sem() argument 58 struct gnss_emul_data *data = dev->data; in gnss_emul_unlock_sem() 63 static void gnss_emul_update_fix_timestamp(const struct device *dev, bool resuming) in gnss_emul_update_fix_timestamp() argument 65 struct gnss_emul_data *data = dev->data; in gnss_emul_update_fix_timestamp() 76 static bool gnss_emul_fix_is_acquired(const struct device *dev) in gnss_emul_fix_is_acquired() argument 78 struct gnss_emul_data *data = dev->data; in gnss_emul_fix_is_acquired() 86 static void gnss_emul_clear_fix_timestamp(const struct device *dev) in gnss_emul_clear_fix_timestamp() argument [all …]
|
/Zephyr-Core-3.7.0/tests/drivers/counter/maxim_ds3231_api/src/ |
D | test_counter.c | 18 static void top_handler(const struct device *dev, void *user_data); 30 typedef void (*counter_test_func_t)(const struct device *dev); 32 typedef bool (*counter_capability_func_t)(const struct device *dev); 35 static void counter_setup_instance(const struct device *dev) in counter_setup_instance() argument 40 static void counter_tear_down_instance(const struct device *dev) in counter_tear_down_instance() argument 49 top_cfg.ticks = counter_get_max_top_value(dev); in counter_tear_down_instance() 50 err = counter_set_top_value(dev, &top_cfg); in counter_tear_down_instance() 54 err = counter_set_top_value(dev, &top_cfg); in counter_tear_down_instance() 58 "%s: Setting top value to default failed", dev->name); in counter_tear_down_instance() 60 err = counter_stop(dev); in counter_tear_down_instance() [all …]
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/usb/ |
D | uhc.h | 125 const struct device *dev; member 139 typedef int (*uhc_event_cb_t)(const struct device *dev, 191 static inline bool uhc_is_initialized(const struct device *dev) in uhc_is_initialized() argument 193 struct uhc_data *data = dev->data; in uhc_is_initialized() 205 static inline bool uhc_is_enabled(const struct device *dev) in uhc_is_enabled() argument 207 struct uhc_data *data = dev->data; in uhc_is_enabled() 216 int (*lock)(const struct device *dev); 217 int (*unlock)(const struct device *dev); 219 int (*init)(const struct device *dev); 220 int (*enable)(const struct device *dev); [all …]
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/usb_c/ |
D | usbc_tcpc.h | 121 typedef int (*tcpc_vconn_control_cb_t)(const struct device *dev, 123 typedef int (*tcpc_vconn_discharge_cb_t)(const struct device *dev, 125 typedef void (*tcpc_alert_handler_cb_t)(const struct device *dev, void *data, 129 int (*init)(const struct device *dev); 130 int (*get_cc)(const struct device *dev, enum tc_cc_voltage_state *cc1, 132 int (*select_rp_value)(const struct device *dev, enum tc_rp_value rp); 133 int (*get_rp_value)(const struct device *dev, enum tc_rp_value *rp); 134 int (*set_cc)(const struct device *dev, enum tc_cc_pull pull); 135 void (*set_vconn_discharge_cb)(const struct device *dev, tcpc_vconn_discharge_cb_t cb); 136 void (*set_vconn_cb)(const struct device *dev, tcpc_vconn_control_cb_t vconn_cb); [all …]
|
D | usbc_ppc.h | 50 typedef void (*usbc_ppc_event_cb_t)(const struct device *dev, void *data, enum usbc_ppc_event ev); 54 int (*is_dead_battery_mode)(const struct device *dev); 55 int (*exit_dead_battery_mode)(const struct device *dev); 56 int (*is_vbus_source)(const struct device *dev); 57 int (*is_vbus_sink)(const struct device *dev); 58 int (*set_snk_ctrl)(const struct device *dev, bool enable); 59 int (*set_src_ctrl)(const struct device *dev, bool enable); 60 int (*set_vbus_discharge)(const struct device *dev, bool enable); 61 int (*is_vbus_present)(const struct device *dev); 62 int (*set_event_handler)(const struct device *dev, usbc_ppc_event_cb_t handler, void *data); [all …]
|
/Zephyr-Core-3.7.0/drivers/counter/ |
D | counter_handlers.c | 14 static inline int z_vrfy_counter_##name(const struct device *dev) \ 16 K_OOPS(K_SYSCALL_DRIVER_COUNTER(dev, name)); \ 17 return z_impl_counter_ ## name((const struct device *)dev); \ 28 static inline bool z_vrfy_counter_is_counting_up(const struct device *dev) in COUNTER_HANDLER() 30 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_COUNTER)); in COUNTER_HANDLER() 31 return z_impl_counter_is_counting_up((const struct device *)dev); in COUNTER_HANDLER() 35 static inline uint8_t z_vrfy_counter_get_num_of_channels(const struct device *dev) in z_vrfy_counter_get_num_of_channels() argument 37 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_COUNTER)); in z_vrfy_counter_get_num_of_channels() 38 return z_impl_counter_get_num_of_channels((const struct device *)dev); in z_vrfy_counter_get_num_of_channels() 42 static inline uint32_t z_vrfy_counter_get_frequency(const struct device *dev) in z_vrfy_counter_get_frequency() argument [all …]
|
/Zephyr-Core-3.7.0/tests/drivers/uart/uart_pm/src/ |
D | main.c | 15 static void polling_verify(const struct device *dev, bool is_async, bool active) in polling_verify() argument 26 uart_poll_out(dev, outs[i]); in polling_verify() 32 err = uart_poll_in(dev, &c); in polling_verify() 36 uart_poll_out(dev, outs[i]); in polling_verify() 43 err = uart_poll_in(dev, &c); in polling_verify() 48 err = uart_poll_in(dev, &c); in polling_verify() 53 static void async_callback(const struct device *dev, struct uart_event *evt, void *ctx) in async_callback() argument 66 static bool async_verify(const struct device *dev, bool active) in async_verify() argument 73 err = uart_callback_set(dev, async_callback, (void *)&tx_done); in async_verify() 91 err = uart_rx_enable(dev, rxbuf, sizeof(rxbuf), 1 * USEC_PER_MSEC); in async_verify() [all …]
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/virtualization/ |
D | ivshmem.h | 29 typedef size_t (*ivshmem_get_mem_f)(const struct device *dev, 32 typedef uint32_t (*ivshmem_get_id_f)(const struct device *dev); 34 typedef uint16_t (*ivshmem_get_vectors_f)(const struct device *dev); 36 typedef int (*ivshmem_int_peer_f)(const struct device *dev, 39 typedef int (*ivshmem_register_handler_f)(const struct device *dev, 45 typedef size_t (*ivshmem_get_rw_mem_section_f)(const struct device *dev, 48 typedef size_t (*ivshmem_get_output_mem_section_f)(const struct device *dev, 52 typedef uint32_t (*ivshmem_get_state_f)(const struct device *dev, 55 typedef int (*ivshmem_set_state_f)(const struct device *dev, 58 typedef uint32_t (*ivshmem_get_max_peers_f)(const struct device *dev); [all …]
|
/Zephyr-Core-3.7.0/subsys/usb/usb_c/ |
D | usbc_pe_snk_states.c | 21 void pe_snk_init(const struct device *dev) in pe_snk_init() argument 23 struct usbc_port_data *data = dev->data; in pe_snk_init() 27 pe_set_data_role(dev, TC_ROLE_UFP); in pe_snk_init() 35 pe_set_state(dev, PE_SNK_STARTUP); in pe_snk_init() 41 void sink_dpm_requests(const struct device *dev) in sink_dpm_requests() argument 43 struct usbc_port_data *data = dev->data; in sink_dpm_requests() 49 if (common_dpm_requests(dev)) { in sink_dpm_requests() 60 pe_set_state(dev, PE_SNK_GET_SOURCE_CAP); in sink_dpm_requests() 71 const struct device *dev = pe->dev; in pe_snk_startup_entry() local 76 prl_reset(dev); in pe_snk_startup_entry() [all …]
|
D | usbc_pe_src_states.c | 29 void pe_src_init(const struct device *dev) in pe_src_init() argument 31 struct usbc_port_data *data = dev->data; in pe_src_init() 35 pe_set_data_role(dev, TC_ROLE_DFP); in pe_src_init() 45 pe_set_state(dev, PE_SRC_STARTUP); in pe_src_init() 51 bool source_dpm_requests(const struct device *dev) in source_dpm_requests() argument 53 struct usbc_port_data *data = dev->data; in source_dpm_requests() 58 pe_set_state(dev, PE_GET_SINK_CAP); in source_dpm_requests() 62 pe_set_state(dev, PE_SRC_TRANSITION_SUPPLY); in source_dpm_requests() 74 const struct device *dev = pe->dev; in send_src_caps() local 75 struct usbc_port_data *data = dev->data; in send_src_caps() [all …]
|
D | usbc_pe_common.c | 27 bool common_dpm_requests(const struct device *dev) in common_dpm_requests() argument 29 struct usbc_port_data *data = dev->data; in common_dpm_requests() 36 pe_set_state(dev, PE_DRS_SEND_SWAP); in common_dpm_requests() 39 pe_set_state(dev, PE_SEND_SOFT_RESET); in common_dpm_requests() 50 void pe_subsys_init(const struct device *dev) in pe_subsys_init() argument 52 struct usbc_port_data *data = dev->data; in pe_subsys_init() 56 pe->dev = dev; in pe_subsys_init() 65 void pe_start(const struct device *dev) in pe_start() argument 67 struct usbc_port_data *data = dev->data; in pe_start() 75 void pe_suspend(const struct device *dev) in pe_suspend() argument [all …]
|
/Zephyr-Core-3.7.0/drivers/w1/ |
D | w1_handlers.c | 10 static inline int z_vrfy_w1_reset_bus(const struct device *dev) in z_vrfy_w1_reset_bus() argument 12 K_OOPS(K_SYSCALL_DRIVER_W1(dev, reset_bus)); in z_vrfy_w1_reset_bus() 14 return z_impl_w1_reset_bus((const struct device *)dev); in z_vrfy_w1_reset_bus() 18 static inline int z_vrfy_w1_read_bit(const struct device *dev) in z_vrfy_w1_read_bit() argument 20 K_OOPS(K_SYSCALL_DRIVER_W1(dev, read_bit)); in z_vrfy_w1_read_bit() 22 return z_impl_w1_read_bit((const struct device *)dev); in z_vrfy_w1_read_bit() 26 static inline int z_vrfy_w1_write_bit(const struct device *dev, bool bit) in z_vrfy_w1_write_bit() argument 28 K_OOPS(K_SYSCALL_DRIVER_W1(dev, write_bit)); in z_vrfy_w1_write_bit() 30 return z_impl_w1_write_bit((const struct device *)dev, bit); in z_vrfy_w1_write_bit() 34 static inline int z_vrfy_w1_read_byte(const struct device *dev) in z_vrfy_w1_read_byte() argument [all …]
|
/Zephyr-Core-3.7.0/tests/drivers/bbram/emul/src/ |
D | main.c | 16 const struct device *const dev = DEVICE_DT_GET(BBRAM_NODELABEL); in ZTEST() local 19 zassert_true(device_is_ready(dev), "Device is not ready"); in ZTEST() 21 zassert_ok(bbram_get_size(dev, &size)); in ZTEST() 27 const struct device *const dev = DEVICE_DT_GET(BBRAM_NODELABEL); in ZTEST() local 30 zassert_equal(bbram_read(dev, 0, 0, buffer), -EFAULT); in ZTEST() 31 zassert_equal(bbram_read(dev, 0, BBRAM_SIZE + 1, buffer), -EFAULT); in ZTEST() 32 zassert_equal(bbram_read(dev, BBRAM_SIZE - 1, 2, buffer), -EFAULT); in ZTEST() 33 zassert_equal(bbram_write(dev, 0, 0, buffer), -EFAULT); in ZTEST() 34 zassert_equal(bbram_write(dev, 0, BBRAM_SIZE + 1, buffer), -EFAULT); in ZTEST() 35 zassert_equal(bbram_write(dev, BBRAM_SIZE - 1, 2, buffer), -EFAULT); in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/tests/drivers/udc/src/ |
D | main.c | 28 static int test_udc_event_handler(const struct device *dev, in test_udc_event_handler() argument 34 static void event_ep_request(const struct device *dev, struct udc_event event) in event_ep_request() argument 41 err = udc_ep_buf_free(dev, event.buf); in event_ep_request() 54 const struct device *dev = p1; in test_udc_thread() local 80 event_ep_request(dev, event); in test_udc_thread() 91 static void test_udc_ep_try_config(const struct device *dev, in test_udc_ep_try_config() argument 97 err = udc_ep_try_config(dev, ed->bEndpointAddress, in test_udc_ep_try_config() 112 err = udc_ep_try_config(dev, ed->bEndpointAddress, in test_udc_ep_try_config() 119 static void test_udc_ep_enable(const struct device *dev, in test_udc_ep_enable() argument 127 err1 = udc_ep_enable(dev, ed->bEndpointAddress, ed->bmAttributes, in test_udc_ep_enable() [all …]
|
/Zephyr-Core-3.7.0/tests/drivers/counter/counter_basic_api/src/ |
D | test_counter.c | 19 static void top_handler(const struct device *dev, void *user_data); 132 typedef void (*counter_test_func_t)(const struct device *dev); 134 typedef bool (*counter_capability_func_t)(const struct device *dev); 136 static inline uint32_t get_counter_period_us(const struct device *dev) in get_counter_period_us() argument 139 if (period_devs[i] == dev) { in get_counter_period_us() 150 static void counter_setup_instance(const struct device *dev) in counter_setup_instance() argument 158 static void counter_tear_down_instance(const struct device *dev) in counter_tear_down_instance() argument 167 top_cfg.ticks = counter_get_max_top_value(dev); in counter_tear_down_instance() 168 err = counter_set_top_value(dev, &top_cfg); in counter_tear_down_instance() 172 err = counter_set_top_value(dev, &top_cfg); in counter_tear_down_instance() [all …]
|
/Zephyr-Core-3.7.0/drivers/flash/ |
D | flash_handlers.c | 10 static inline int z_vrfy_flash_read(const struct device *dev, off_t offset, in z_vrfy_flash_read() argument 13 K_OOPS(K_SYSCALL_DRIVER_FLASH(dev, read)); in z_vrfy_flash_read() 15 return z_impl_flash_read((const struct device *)dev, offset, in z_vrfy_flash_read() 21 static inline int z_vrfy_flash_write(const struct device *dev, off_t offset, in z_vrfy_flash_write() argument 24 K_OOPS(K_SYSCALL_DRIVER_FLASH(dev, write)); in z_vrfy_flash_write() 26 return z_impl_flash_write((const struct device *)dev, offset, in z_vrfy_flash_write() 31 static inline int z_vrfy_flash_erase(const struct device *dev, off_t offset, in z_vrfy_flash_erase() argument 34 K_OOPS(K_SYSCALL_DRIVER_FLASH(dev, erase)); in z_vrfy_flash_erase() 35 return z_impl_flash_erase((const struct device *)dev, offset, size); in z_vrfy_flash_erase() 39 static inline size_t z_vrfy_flash_get_write_block_size(const struct device *dev) in z_vrfy_flash_get_write_block_size() argument [all …]
|