Searched refs:DEVICE_API_IS (Results 1 – 11 of 11) sorted by relevance
/Zephyr-latest/tests/kernel/device/src/ |
D | abstract_driver.h | 27 __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()
|
D | main.c | 421 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/ |
D | pwm_shell.c | 131 return device_is_ready(dev) && DEVICE_API_IS(pwm, dev); in device_is_pwm_and_ready()
|
/Zephyr-latest/drivers/comparator/ |
D | comparator_shell.c | 221 return device_is_ready(dev) && DEVICE_API_IS(comparator, dev); in device_is_comp_and_ready()
|
/Zephyr-latest/subsys/fb/ |
D | cfb.c | 467 __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/ |
D | led_shell.c | 335 return device_is_ready(dev) && DEVICE_API_IS(led, dev); in device_is_led_and_ready()
|
/Zephyr-latest/drivers/stepper/ |
D | stepper_shell.c | 72 return DEVICE_API_IS(stepper, dev) && device_is_ready(dev); in stepper_device_check()
|
/Zephyr-latest/include/zephyr/ |
D | device.h | 1233 #define DEVICE_API_IS(_class, _dev) \ macro
|
/Zephyr-latest/drivers/can/ |
D | can_shell.c | 73 return DEVICE_API_IS(can, dev) && device_is_ready(dev); in can_device_check()
|
/Zephyr-latest/drivers/sensor/ |
D | sensor_shell.c | 174 return DEVICE_API_IS(sensor, dev); in sensor_device_check()
|
/Zephyr-latest/doc/kernel/drivers/ |
D | index.rst | 131 use :c:macro:`DEVICE_API_IS()` to verify the API's type.
|