Lines Matching +full:pre +full:- +full:declared
4 * SPDX-License-Identifier: Apache-2.0
157 * Otherwise, the node's full name in `node-name@unit-address` form.
181 * The device is declared with extern visibility, so a pointer to a global
277 * If this returns non-NULL, the device must be checked for readiness
280 * @param compat lowercase-and-underscores devicetree compatible
298 * If this returns non-NULL, the device must be checked for readiness before
301 * @param compat lowercase-and-underscores devicetree compatible
338 * This macro can be used at the top-level to declare a device, such
343 * device's init or per-instance config function, as the init function
374 * Fields in this are expected to be default-initialized to zero. The
376 * responsible for ensuring that any non-zero initialization is done
466 ret = 1 + (device_handle_t)(dev - STRUCT_SECTION_START(device)); in device_handle_get()
490 dev = &STRUCT_SECTION_START(device)[dev_handle - 1]; in device_from_handle()
502 * provides a visitor API supporting caller-specific interaction with each
505 * The visit is said to succeed if the visitor returns a non-negative value.
510 * @return A non-negative number to allow walking to continue, and a negative
540 const device_handle_t *rv = dev->deps; in device_required_handles_get()
576 const device_handle_t *rv = dev->deps; in device_injected_handles_get()
604 * The array contains a handle for each device that @p dev "supports" -- that
605 * is, devices that require @p dev directly -- as determined from the
620 const device_handle_t *rv = dev->deps; in device_supported_handles_get()
650 * another device; for example an I2C-based sensor driver will require an I2C
652 * statically-defined devicetree relationships or dependencies registered at
684 * another device; for example an I2C controller will support an I2C-based
685 * sensor driver. Supported devices can derive from statically-defined
769 * ``zephyr,deferred-init`` on devicetree) needs to be initialized manually via
771 * initialized via this call - one can not try to initialize a non
776 * @retval -ENOENT If device was not found - or isn't a deferred one.
777 * @retval -errno For other errors.
860 * object. Otherwise x86-64 builds will introduce padding between objects in the
939 if (dev->dt_meta == NULL) { in device_get_dt_nodelabels()
942 return dev->dt_meta->nl; in device_get_dt_nodelabels()
985 * @brief Init sub-priority of the device
987 * The sub-priority is defined by the devicetree ordinal, which ensures that
1042 * Anonymous unions require C11. Some pre-C11 gcc versions have early support for anonymous
1128 * Anonymous unions require C11. Some pre-C11 gcc versions have early support for anonymous
1221 #define DEVICE_API_GET(_class, _dev) ((const struct Z_DEVICE_API_TYPE(_class) *)_dev->api)