Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/samples/boards/reel_board/mesh_badge/src/
Dperiphs.c15 static const struct device *const dev_info[] = { variable
24 if (sensor_sample_fetch(dev_info[DEV_IDX_HDC1010])) { in get_hdc1010_val()
26 dev_info[DEV_IDX_HDC1010]->name); in get_hdc1010_val()
30 if (sensor_channel_get(dev_info[DEV_IDX_HDC1010], in get_hdc1010_val()
35 if (sensor_channel_get(dev_info[DEV_IDX_HDC1010], in get_hdc1010_val()
45 if (sensor_sample_fetch(dev_info[DEV_IDX_MMA8652])) { in get_mma8652_val()
47 dev_info[DEV_IDX_MMA8652]->name); in get_mma8652_val()
51 if (sensor_channel_get(dev_info[DEV_IDX_MMA8652], in get_mma8652_val()
61 if (sensor_sample_fetch(dev_info[DEV_IDX_APDS9960])) { in get_apds9960_val()
63 dev_info[DEV_IDX_APDS9960]->name); in get_apds9960_val()
[all …]
/Zephyr-Core-3.5.0/samples/drivers/led_xec/src/
Dmain.c19 struct dev_info { struct
27 static const struct dev_info led_dev_table[] = { argument
/Zephyr-Core-3.5.0/lib/acpi/
Dacpi.c280 ACPI_DEVICE_INFO *dev_info; in dev_resource_enum_callback() local
285 status = AcpiGetObjectInfo(obj_handle, &dev_info); in dev_resource_enum_callback()
297 child_dev->dev_info = dev_info; in dev_resource_enum_callback()
603 if (!child_dev->res_lst || !child_dev->dev_info || in acpi_device_get()
604 !child_dev->dev_info->HardwareId.Length) { in acpi_device_get()
608 if (!strcmp(hid, child_dev->dev_info->HardwareId.String)) { in acpi_device_get()
609 if (child_dev->dev_info->UniqueId.Length) { in acpi_device_get()
610 inst_id = atoi(child_dev->dev_info->UniqueId.String); in acpi_device_get()
/Zephyr-Core-3.5.0/include/zephyr/acpi/
Dacpi.h24 ACPI_DEVICE_INFO *dev_info; member