Searched refs:_class (Results 1 – 1 of 1) sorted by relevance
1201 #define Z_DEVICE_API_TYPE(_class) _CONCAT(_class, _driver_api) argument1211 #define DEVICE_API(_class, _name) const STRUCT_SECTION_ITERABLE(Z_DEVICE_API_TYPE(_class), _name) argument1221 #define DEVICE_API_GET(_class, _dev) ((const struct Z_DEVICE_API_TYPE(_class) *)_dev->api) argument1233 #define DEVICE_API_IS(_class, _dev) \ argument1235 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))); \