Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/
Ddevice.h72 typedef int16_t device_handle_t; typedef
431 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 …]
/Zephyr-latest/kernel/
Ddevice.c147 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()
/Zephyr-latest/tests/lib/devicetree/devices/src/
Dmain.c24 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()
/Zephyr-latest/subsys/pm/
Ddevice.c104 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()