Searched refs:device_handle_t (Results 1 – 4 of 4) sorted by relevance
72 typedef int16_t device_handle_t; typedef431 Z_DEVICE_DEPS_CONST device_handle_t *deps;457 static inline device_handle_t device_handle_get(const struct device *dev) in device_handle_get()459 device_handle_t ret = DEVICE_HANDLE_NULL; in device_handle_get()466 ret = 1 + (device_handle_t)(dev - STRUCT_SECTION_START(device)); in device_handle_get()481 device_from_handle(device_handle_t dev_handle) in device_from_handle()537 static inline const device_handle_t *540 const device_handle_t *rv = dev->deps; in device_required_handles_get()573 static inline const device_handle_t *576 const device_handle_t *rv = dev->deps; in device_injected_handles_get()[all …]
147 static int device_visitor(const device_handle_t *handles, in device_visitor()154 device_handle_t dh = handles[i]; in device_visitor()171 const device_handle_t *handles = device_required_handles_get(dev, &handle_count); in device_required_foreach()181 const device_handle_t *handles = device_supported_handles_get(dev, &handle_count); in device_supported_foreach()
24 static device_handle_t init_order[10];115 static bool check_handle(device_handle_t hdl, in check_handle()116 const device_handle_t *hdls, in check_handle()119 const device_handle_t *hdle = hdls + nhdls; in check_handle()157 const device_handle_t *hdls; in ZTEST()245 const device_handle_t *hdls; in ZTEST()279 const device_handle_t *hdls; in ZTEST()
104 device_handle_t *rv = domain->deps; in power_domain_add_or_remove()105 device_handle_t dev_handle = -1; in power_domain_add_or_remove()