Searched refs:dev_info (Results 1 – 5 of 5) sorted by relevance
14 static const struct device *const dev_info[] = { variable23 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 …]
19 struct dev_info { struct27 static const struct dev_info led_dev_table[] = { argument
204 ACPI_DEVICE_INFO *dev_info; in dev_resource_enum_callback() local209 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()
265 if (!dev->dev_info) { in enum_all_dev()270 dev->dev_info->HardwareId.String ? dev->dev_info->HardwareId.String in enum_all_dev()
44 ACPI_DEVICE_INFO *dev_info; member