Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/
Ddevice.h1201 #define Z_DEVICE_API_TYPE(_class) _CONCAT(_class, _driver_api) argument
1211 #define DEVICE_API(_class, _name) const STRUCT_SECTION_ITERABLE(Z_DEVICE_API_TYPE(_class), _name) argument
1221 #define DEVICE_API_GET(_class, _dev) ((const struct Z_DEVICE_API_TYPE(_class) *)_dev->api) argument
1233 #define DEVICE_API_IS(_class, _dev) \ argument
1235 STRUCT_SECTION_START_EXTERN(Z_DEVICE_API_TYPE(_class)); \
1236 STRUCT_SECTION_END_EXTERN(Z_DEVICE_API_TYPE(_class)); \
1237 (DEVICE_API_GET(_class, _dev) < STRUCT_SECTION_END(Z_DEVICE_API_TYPE(_class)) && \
1238 DEVICE_API_GET(_class, _dev) >= STRUCT_SECTION_START(Z_DEVICE_API_TYPE(_class))); \