/drivers/acpi/ |
D | processor_core.c | 36 u32 acpi_id, phys_cpuid_t *apic_id) in map_lapic_id() argument 44 if (lapic->processor_id != acpi_id) in map_lapic_id() 52 int device_declaration, u32 acpi_id, phys_cpuid_t *apic_id) in map_x2apic_id() argument 60 if (device_declaration && (apic->uid == acpi_id)) { in map_x2apic_id() 69 int device_declaration, u32 acpi_id, phys_cpuid_t *apic_id) in map_lsapic_id() argument 78 if ((entry->length < 16) || (lsapic->uid != acpi_id)) in map_lsapic_id() 80 } else if (lsapic->processor_id != acpi_id) in map_lsapic_id() 91 int device_declaration, u32 acpi_id, phys_cpuid_t *mpidr) in map_gicc_mpidr() argument 104 if (device_declaration && (gicc->uid == acpi_id)) { in map_gicc_mpidr() 113 int type, u32 acpi_id) in map_madt_entry() argument [all …]
|
D | acpi_processor.c | 166 phys_cpuid_t physid, u32 acpi_id, int *pcpu) in acpi_map_cpu() argument 199 ret = acpi_map_cpu(pr->handle, pr->phys_id, pr->acpi_id, &pr->id); in acpi_processor_hotadd_init() 263 pr->acpi_id = object.processor.proc_id; in acpi_processor_get_info() 278 pr->acpi_id = value; in acpi_processor_get_info() 281 if (acpi_duplicate_processor_id(pr->acpi_id)) { in acpi_processor_get_info() 282 if (pr->acpi_id == 0xff) in acpi_processor_get_info() 288 pr->acpi_id); in acpi_processor_get_info() 293 pr->acpi_id); in acpi_processor_get_info() 297 pr->id = acpi_map_cpuid(pr->phys_id, pr->acpi_id); in acpi_processor_get_info() 333 pr->acpi_id)); in acpi_processor_get_info()
|
D | processor_pdc.c | 25 u32 acpi_id; in processor_physically_present() local 41 acpi_id = object.processor.proc_id; in processor_physically_present() 47 acpi_id = tmp; in processor_physically_present() 54 cpuid = acpi_get_cpuid(handle, type, acpi_id); in processor_physically_present()
|
D | bus.c | 729 const struct acpi_device_id **acpi_id, in __acpi_match_device() argument 763 if (acpi_id) in __acpi_match_device() 764 *acpi_id = id; in __acpi_match_device()
|
/drivers/xen/ |
D | xen-acpi-processor.c | 55 .u.set_pminfo.id = _pr->acpi_id, in push_cxx_to_hypervisor() 98 pr_debug("No _Cx for ACPI CPU %u\n", _pr->acpi_id); in push_cxx_to_hypervisor() 115 pr_debug("ACPI CPU%u - C-states uploaded.\n", _pr->acpi_id); in push_cxx_to_hypervisor() 128 ret, _pr->acpi_id); in push_cxx_to_hypervisor() 209 .u.set_pminfo.id = _pr->acpi_id, in push_pxx_to_hypervisor() 234 _pr->acpi_id, dst_perf->flags); in push_pxx_to_hypervisor() 247 pr_debug("ACPI CPU%u - P-states uploaded.\n", _pr->acpi_id); in push_pxx_to_hypervisor() 260 ret, _pr->acpi_id); in push_pxx_to_hypervisor() 272 if (__test_and_set_bit(_pr->acpi_id, acpi_ids_done)) { in upload_pm_data() 309 max_acpi_id = max(info->acpi_id, max_acpi_id); in get_max_acpi_id() [all …]
|
D | xen-acpi-cpuhotplug.c | 49 pr->acpi_id = object.processor.proc_id; in xen_acpi_processor_enable() 59 pr->acpi_id = value; in xen_acpi_processor_enable() 62 pr->id = xen_pcpu_id(pr->acpi_id); in xen_acpi_processor_enable() 68 pr->acpi_id); in xen_acpi_processor_enable() 183 pr->acpi_id); in xen_hotadd_cpu() 190 pr->acpi_id); in xen_hotadd_cpu() 196 op.u.cpu_add.acpi_id = pr->acpi_id; in xen_hotadd_cpu() 202 pr->acpi_id); in xen_hotadd_cpu()
|
D | pcpu.c | 359 int xen_pcpu_id(uint32_t acpi_id) in xen_pcpu_id() argument 372 if (acpi_id == op.u.pcpu_info.acpi_id) in xen_pcpu_id()
|
/drivers/iio/common/st_sensors/ |
D | st_sensors_i2c.c | 74 const struct acpi_device_id *acpi_id; in st_sensors_match_acpi_device() local 78 acpi_id = acpi_match_device(dev->driver->acpi_match_table, dev); in st_sensors_match_acpi_device() 79 if (!acpi_id) { in st_sensors_match_acpi_device() 83 driver_data = acpi_id->driver_data; in st_sensors_match_acpi_device()
|
/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_spi.c | 46 const struct acpi_device_id *acpi_id; in inv_mpu_probe() local 53 } else if ((acpi_id = acpi_match_device(spi->dev.driver->acpi_match_table, &spi->dev))) { in inv_mpu_probe() 54 chip_type = (enum inv_devices)acpi_id->driver_data; in inv_mpu_probe()
|
/drivers/gpio/ |
D | gpio-xlp.c | 315 const struct acpi_device_id *acpi_id; in xlp_gpio_probe() local 317 acpi_id = acpi_match_device(pdev->dev.driver->acpi_match_table, in xlp_gpio_probe() 319 if (!acpi_id || !acpi_id->driver_data) { in xlp_gpio_probe() 323 soc_type = (uintptr_t) acpi_id->driver_data; in xlp_gpio_probe()
|
D | gpio-dwapb.c | 706 const struct acpi_device_id *acpi_id; in dwapb_gpio_probe() local 708 acpi_id = acpi_match_device(dwapb_acpi_match, dev); in dwapb_gpio_probe() 709 if (acpi_id) { in dwapb_gpio_probe() 710 if (acpi_id->driver_data) in dwapb_gpio_probe() 711 gpio->flags = acpi_id->driver_data; in dwapb_gpio_probe()
|
/drivers/nfc/nxp-nci/ |
D | i2c.c | 333 static const struct acpi_device_id acpi_id[] = { variable 338 MODULE_DEVICE_TABLE(acpi, acpi_id); 344 .acpi_match_table = ACPI_PTR(acpi_id),
|
/drivers/net/phy/ |
D | mdio-xgene.c | 340 const struct acpi_device_id *acpi_id; in xgene_mdio_probe() local 342 acpi_id = acpi_match_device(xgene_mdio_acpi_match, &pdev->dev); in xgene_mdio_probe() 343 if (acpi_id) in xgene_mdio_probe() 344 mdio_id = (enum xgene_mdio_id)acpi_id->driver_data; in xgene_mdio_probe()
|
/drivers/input/touchscreen/ |
D | silead.c | 423 const struct acpi_device_id *acpi_id; in silead_ts_set_default_fw_name() local 428 acpi_id = acpi_match_device(dev->driver->acpi_match_table, dev); in silead_ts_set_default_fw_name() 429 if (!acpi_id) in silead_ts_set_default_fw_name() 433 "silead/%s.fw", acpi_id->id); in silead_ts_set_default_fw_name()
|
/drivers/ata/ |
D | ahci_xgene.c | 796 const struct acpi_device_id *acpi_id; in xgene_ahci_probe() local 800 acpi_id = acpi_match_device(xgene_ahci_acpi_match, &pdev->dev); in xgene_ahci_probe() 801 if (!acpi_id) { in xgene_ahci_probe() 804 } else if (acpi_id->driver_data) { in xgene_ahci_probe() 805 version = (enum xgene_ahci_version) acpi_id->driver_data; in xgene_ahci_probe()
|
/drivers/i2c/busses/ |
D | i2c-xgene-slimpro.c | 471 const struct acpi_device_id *acpi_id; in xgene_slimpro_i2c_probe() local 474 acpi_id = acpi_match_device(pdev->dev.driver->acpi_match_table, in xgene_slimpro_i2c_probe() 476 if (!acpi_id) in xgene_slimpro_i2c_probe() 479 version = (int)acpi_id->driver_data; in xgene_slimpro_i2c_probe()
|
/drivers/hwmon/ |
D | xgene-hwmon.c | 656 const struct acpi_device_id *acpi_id; in xgene_hwmon_probe() local 659 acpi_id = acpi_match_device(pdev->dev.driver->acpi_match_table, in xgene_hwmon_probe() 661 if (!acpi_id) in xgene_hwmon_probe() 664 version = (int)acpi_id->driver_data; in xgene_hwmon_probe()
|
/drivers/mfd/ |
D | axp20x.c | 828 const struct acpi_device_id *acpi_id; in axp20x_match_device() local 839 acpi_id = acpi_match_device(dev->driver->acpi_match_table, dev); in axp20x_match_device() 840 if (!acpi_id || !acpi_id->driver_data) { in axp20x_match_device() 844 axp20x->variant = (long)acpi_id->driver_data; in axp20x_match_device()
|
/drivers/power/supply/ |
D | max17042_battery.c | 1011 const struct acpi_device_id *acpi_id = NULL; in max17042_probe() local 1029 acpi_id = acpi_match_device(dev->driver->acpi_match_table, dev); in max17042_probe() 1030 if (!acpi_id) in max17042_probe() 1033 chip->chip_type = acpi_id->driver_data; in max17042_probe() 1085 if (acpi_id) in max17042_probe()
|
D | bq24257_charger.c | 955 const struct acpi_device_id *acpi_id; in bq24257_probe() local 973 acpi_id = acpi_match_device(dev->driver->acpi_match_table, in bq24257_probe() 975 if (!acpi_id) { in bq24257_probe() 979 bq->chip = (enum bq2425x_chip)acpi_id->driver_data; in bq24257_probe()
|
D | bq2415x_charger.c | 1532 const struct acpi_device_id *acpi_id = NULL; in bq2415x_probe() local 1551 acpi_id = in bq2415x_probe() 1554 if (!acpi_id) { in bq2415x_probe() 1559 name = kasprintf(GFP_KERNEL, "%s-%d", acpi_id->id, num); in bq2415x_probe() 1580 bq->chip = acpi_id->driver_data; in bq2415x_probe()
|
/drivers/perf/ |
D | xgene_pmu.c | 1560 const struct acpi_device_id *acpi_id; in acpi_pmu_dev_add() local 1570 acpi_id = xgene_pmu_acpi_match_type(xgene_pmu_acpi_type_match, adev); in acpi_pmu_dev_add() 1571 if (!acpi_id) in acpi_pmu_dev_add() 1574 ctx = acpi_get_pmu_hw_inf(xgene_pmu, adev, (u32)acpi_id->driver_data); in acpi_pmu_dev_add() 1873 const struct acpi_device_id *acpi_id; in xgene_pmu_probe() local 1875 acpi_id = acpi_match_device(xgene_pmu_acpi_match, &pdev->dev); in xgene_pmu_probe() 1876 if (acpi_id) in xgene_pmu_probe() 1877 version = (int) acpi_id->driver_data; in xgene_pmu_probe()
|
/drivers/rtc/ |
D | rtc-ds1307.c | 1612 const struct acpi_device_id *acpi_id; in ds1307_probe() local 1614 acpi_id = acpi_match_device(ACPI_PTR(ds1307_acpi_ids), in ds1307_probe() 1616 if (!acpi_id) in ds1307_probe() 1618 chip = &chips[acpi_id->driver_data]; in ds1307_probe() 1619 ds1307->type = acpi_id->driver_data; in ds1307_probe()
|
/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.c | 2046 const struct acpi_device_id *acpi_id; in xgene_enet_probe() local 2048 acpi_id = acpi_match_device(xgene_enet_acpi_match, &pdev->dev); in xgene_enet_probe() 2049 if (acpi_id) in xgene_enet_probe() 2050 pdata->enet_id = (enum xgene_enet_id) acpi_id->driver_data; in xgene_enet_probe()
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v1.c | 4534 const struct acpi_device_id *acpi_id; in hns_roce_get_cfg() local 4536 acpi_id = acpi_match_device(hns_roce_acpi_match, dev); in hns_roce_get_cfg() 4537 if (!acpi_id) { in hns_roce_get_cfg() 4541 hr_dev->hw = (const struct hns_roce_hw *) acpi_id->driver_data; in hns_roce_get_cfg()
|