Home
last modified time | relevance | path

Searched refs:dev_info (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/
Dperiphs.c14 static const struct device *const dev_info[] = { variable
23 if (sensor_sample_fetch(dev_info[DEV_IDX_HDC1010])) { in get_hdc1010_val()
25 dev_info[DEV_IDX_HDC1010]->name); in get_hdc1010_val()
29 if (sensor_channel_get(dev_info[DEV_IDX_HDC1010], in get_hdc1010_val()
34 if (sensor_channel_get(dev_info[DEV_IDX_HDC1010], in get_hdc1010_val()
44 if (sensor_sample_fetch(dev_info[DEV_IDX_MMA8652])) { in get_mma8652_val()
46 dev_info[DEV_IDX_MMA8652]->name); in get_mma8652_val()
50 if (sensor_channel_get(dev_info[DEV_IDX_MMA8652], in get_mma8652_val()
60 if (sensor_sample_fetch(dev_info[DEV_IDX_APDS9960])) { in get_apds9960_val()
62 dev_info[DEV_IDX_APDS9960]->name); in get_apds9960_val()
[all …]
/Zephyr-latest/samples/drivers/led/xec/src/
Dmain.c19 struct dev_info { struct
27 static const struct dev_info led_dev_table[] = { argument
/Zephyr-latest/lib/acpi/
Dacpi.c204 ACPI_DEVICE_INFO *dev_info; in dev_resource_enum_callback() local
209 status = AcpiGetObjectInfo(obj_handle, &dev_info); in dev_resource_enum_callback()
219 if (!(dev_info->Valid & ACPI_VALID_HID)) { in dev_resource_enum_callback()
225 child_dev->dev_info = dev_info; in dev_resource_enum_callback()
624 if (!child_dev->res_lst || !child_dev->dev_info || in acpi_device_get()
625 !child_dev->dev_info->HardwareId.Length) { in acpi_device_get()
629 if (!strcmp(hid, child_dev->dev_info->HardwareId.String)) { in acpi_device_get()
630 if (uid && child_dev->dev_info->UniqueId.Length) { in acpi_device_get()
631 if (!strcmp(child_dev->dev_info->UniqueId.String, uid)) { in acpi_device_get()
Dacpi_shell.c265 if (!dev->dev_info) { in enum_all_dev()
270 dev->dev_info->HardwareId.String ? dev->dev_info->HardwareId.String in enum_all_dev()
/Zephyr-latest/include/zephyr/acpi/
Dacpi.h44 ACPI_DEVICE_INFO *dev_info; member