Searched refs:device_handle_t (Results 1 – 4 of 4) sorted by relevance
72 typedef int16_t device_handle_t; typedef528 Z_DEVICE_DEPS_CONST device_handle_t *deps;554 static inline device_handle_t device_handle_get(const struct device *dev) in device_handle_get()556 device_handle_t ret = DEVICE_HANDLE_NULL; in device_handle_get()563 ret = 1 + (device_handle_t)(dev - STRUCT_SECTION_START(device)); in device_handle_get()578 device_from_handle(device_handle_t dev_handle) in device_from_handle()634 static inline const device_handle_t *637 const device_handle_t *rv = dev->deps; in device_required_handles_get()670 static inline const device_handle_t *673 const device_handle_t *rv = dev->deps; in device_injected_handles_get()[all …]
180 static int device_visitor(const device_handle_t *handles, in device_visitor()187 device_handle_t dh = handles[i]; in device_visitor()204 const device_handle_t *handles = device_required_handles_get(dev, &handle_count); in device_required_foreach()214 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()