Home
last modified time | relevance | path

Searched refs:cfg_copy (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/counter/
Dcounter_handlers.c89 struct counter_alarm_cfg cfg_copy; in z_vrfy_counter_set_channel_alarm() local
92 K_OOPS(k_usermode_from_copy(&cfg_copy, alarm_cfg, sizeof(cfg_copy))); in z_vrfy_counter_set_channel_alarm()
93 K_OOPS(K_SYSCALL_VERIFY_MSG(cfg_copy.callback == NULL, in z_vrfy_counter_set_channel_alarm()
97 (const struct counter_alarm_cfg *)&cfg_copy); in z_vrfy_counter_set_channel_alarm()
115 struct counter_top_cfg cfg_copy; in z_vrfy_counter_set_top_value() local
118 K_OOPS(k_usermode_from_copy(&cfg_copy, cfg, sizeof(cfg_copy))); in z_vrfy_counter_set_top_value()
119 K_OOPS(K_SYSCALL_VERIFY_MSG(cfg_copy.callback == NULL, in z_vrfy_counter_set_top_value()
123 &cfg_copy); in z_vrfy_counter_set_top_value()
/Zephyr-latest/drivers/espi/
Despi_handlers.c14 struct espi_cfg cfg_copy; in z_vrfy_espi_config() local
17 K_OOPS(k_usermode_from_copy(&cfg_copy, cfg, in z_vrfy_espi_config()
20 return z_impl_espi_config(dev, &cfg_copy); in z_vrfy_espi_config()