Home
last modified time | relevance | path

Searched refs:DEVICE_API_IS (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/tests/kernel/device/src/
Dabstract_driver.h27 __ASSERT_NO_MSG(DEVICE_API_IS(abstract, dev)); in z_impl_abstract_do_this()
36 __ASSERT_NO_MSG(DEVICE_API_IS(abstract, dev)); in z_impl_abstract_do_that()
Dmain.c421 zexpect_true(DEVICE_API_IS(abstract, dev)); in ZTEST()
424 zexpect_true(DEVICE_API_IS(abstract, dev)); in ZTEST()
427 zexpect_false(DEVICE_API_IS(abstract, dev)); in ZTEST()
/Zephyr-latest/drivers/pwm/
Dpwm_shell.c131 return device_is_ready(dev) && DEVICE_API_IS(pwm, dev); in device_is_pwm_and_ready()
/Zephyr-latest/drivers/comparator/
Dcomparator_shell.c221 return device_is_ready(dev) && DEVICE_API_IS(comparator, dev); in device_is_comp_and_ready()
/Zephyr-latest/subsys/fb/
Dcfb.c467 __ASSERT_NO_MSG(DEVICE_API_IS(display, dev)); in cfb_framebuffer_finalize()
569 __ASSERT_NO_MSG(DEVICE_API_IS(display, dev)); in cfb_framebuffer_init()
/Zephyr-latest/drivers/led/
Dled_shell.c335 return device_is_ready(dev) && DEVICE_API_IS(led, dev); in device_is_led_and_ready()
/Zephyr-latest/drivers/stepper/
Dstepper_shell.c72 return DEVICE_API_IS(stepper, dev) && device_is_ready(dev); in stepper_device_check()
/Zephyr-latest/include/zephyr/
Ddevice.h1233 #define DEVICE_API_IS(_class, _dev) \ macro
/Zephyr-latest/drivers/can/
Dcan_shell.c73 return DEVICE_API_IS(can, dev) && device_is_ready(dev); in can_device_check()
/Zephyr-latest/drivers/sensor/
Dsensor_shell.c174 return DEVICE_API_IS(sensor, dev); in sensor_device_check()
/Zephyr-latest/doc/kernel/drivers/
Dindex.rst131 use :c:macro:`DEVICE_API_IS()` to verify the API's type.