Searched refs:DEVICE_API_IS (Results 1 – 22 of 22) 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/i2c/ |
D | i2c_shell.c | 343 return DEVICE_API_IS(i2c, dev) || DEVICE_API_IS(i3c, dev); in device_is_i2c() 345 return DEVICE_API_IS(i2c, dev); in device_is_i2c()
|
/Zephyr-latest/drivers/dac/ |
D | dac_shell.c | 99 return DEVICE_API_IS(dac, dev); in device_is_dac()
|
/Zephyr-latest/drivers/serial/ |
D | uart_shell.c | 16 return DEVICE_API_IS(uart, dev); in device_is_uart()
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_shell.c | 131 return DEVICE_API_IS(pwm, dev); in device_is_pwm()
|
/Zephyr-latest/drivers/watchdog/ |
D | wdt_shell.c | 165 return DEVICE_API_IS(wdt, dev); in device_is_wdt()
|
/Zephyr-latest/drivers/spi/ |
D | spi_shell.c | 33 return DEVICE_API_IS(spi, dev); in device_is_spi()
|
/Zephyr-latest/drivers/rtc/ |
D | rtc_shell.c | 222 return DEVICE_API_IS(rtc, dev); in device_is_rtc()
|
/Zephyr-latest/drivers/counter/ |
D | counter_timer_shell.c | 202 return DEVICE_API_IS(counter, dev); in device_is_counter()
|
/Zephyr-latest/drivers/comparator/ |
D | comparator_shell.c | 221 return DEVICE_API_IS(comparator, dev); in device_is_comp()
|
/Zephyr-latest/drivers/eeprom/ |
D | eeprom_shell.c | 218 return DEVICE_API_IS(eeprom, dev); in device_is_eeprom()
|
/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_API_IS(led, dev); in device_is_led()
|
/Zephyr-latest/drivers/stepper/ |
D | stepper_shell.c | 75 return DEVICE_API_IS(stepper, dev); in device_is_stepper()
|
/Zephyr-latest/drivers/regulator/ |
D | regulator_shell.c | 527 return DEVICE_API_IS(regulator, dev); in device_is_regulator()
|
/Zephyr-latest/include/zephyr/ |
D | device.h | 1340 #define DEVICE_API_IS(_class, _dev) \ macro
|
/Zephyr-latest/drivers/flash/ |
D | flash_shell.c | 741 return DEVICE_API_IS(flash, dev); in device_is_flash()
|
/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 | 180 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.
|
/Zephyr-latest/doc/releases/ |
D | release-notes-4.1.rst | 990 :c:macro:`DEVICE_API_IS` macro has been introduced to allow to check if a device supports a
|