Home
last modified time | relevance | path

Searched refs:acpi_id (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.6.21/drivers/acpi/
Dprocessor_core.c33 u32 acpi_id, phys_cpuid_t *apic_id) in map_lapic_id() argument
41 if (lapic->processor_id != acpi_id) in map_lapic_id()
49 int device_declaration, u32 acpi_id, phys_cpuid_t *apic_id) in map_x2apic_id() argument
57 if (device_declaration && (apic->uid == acpi_id)) { in map_x2apic_id()
66 int device_declaration, u32 acpi_id, phys_cpuid_t *apic_id) in map_lsapic_id() argument
75 if ((entry->length < 16) || (lsapic->uid != acpi_id)) in map_lsapic_id()
77 } else if (lsapic->processor_id != acpi_id) in map_lsapic_id()
88 int device_declaration, u32 acpi_id, phys_cpuid_t *mpidr) in map_gicc_mpidr() argument
101 if (device_declaration && (gicc->uid == acpi_id)) { in map_gicc_mpidr()
113 int device_declaration, u32 acpi_id, in map_rintc_hartid() argument
[all …]
Dacpi_processor.c188 phys_cpuid_t physid, u32 acpi_id, int *pcpu) in acpi_map_cpu() argument
221 ret = acpi_map_cpu(pr->handle, pr->phys_id, pr->acpi_id, &pr->id); in acpi_processor_hotadd_init()
283 pr->acpi_id = object.processor.proc_id; in acpi_processor_get_info()
297 pr->acpi_id = value; in acpi_processor_get_info()
300 if (acpi_duplicate_processor_id(pr->acpi_id)) { in acpi_processor_get_info()
301 if (pr->acpi_id == 0xff) in acpi_processor_get_info()
307 pr->acpi_id); in acpi_processor_get_info()
312 pr->acpi_id); in acpi_processor_get_info()
316 pr->id = acpi_map_cpuid(pr->phys_id, pr->acpi_id); in acpi_processor_get_info()
360 dev_dbg(&device->dev, "Processor [%d:%d]\n", pr->id, pr->acpi_id); in acpi_processor_get_info()
[all …]
Dbus.c838 const struct acpi_device_id **acpi_id, in __acpi_match_device() argument
872 if (acpi_id) in __acpi_match_device()
873 *acpi_id = id; in __acpi_match_device()
/linux-6.6.21/drivers/xen/
Dxen-acpi-processor.c56 .u.set_pminfo.id = _pr->acpi_id, in push_cxx_to_hypervisor()
99 pr_debug("No _Cx for ACPI CPU %u\n", _pr->acpi_id); in push_cxx_to_hypervisor()
116 pr_debug("ACPI CPU%u - C-states uploaded.\n", _pr->acpi_id); in push_cxx_to_hypervisor()
129 ret, _pr->acpi_id); in push_cxx_to_hypervisor()
210 .u.set_pminfo.id = _pr->acpi_id, in push_pxx_to_hypervisor()
235 _pr->acpi_id, dst_perf->flags); in push_pxx_to_hypervisor()
248 pr_debug("ACPI CPU%u - P-states uploaded.\n", _pr->acpi_id); in push_pxx_to_hypervisor()
261 ret, _pr->acpi_id); in push_pxx_to_hypervisor()
273 if (__test_and_set_bit(_pr->acpi_id, acpi_ids_done)) { in upload_pm_data()
310 max_acpi_id = max(info->acpi_id, max_acpi_id); in get_max_acpi_id()
[all …]
Dpcpu.c64 uint32_t acpi_id; member
256 pcpu->acpi_id = info->acpi_id; in create_and_register_pcpu()
391 bool __init xen_processor_present(uint32_t acpi_id) in xen_processor_present() argument
398 if (pcpu->acpi_id == acpi_id) { in xen_processor_present()
/linux-6.6.21/include/acpi/
Dprocessor.h225 u32 acpi_id; member
355 phys_cpuid_t acpi_get_phys_id(acpi_handle, int type, u32 acpi_id);
356 phys_cpuid_t acpi_map_madt_entry(u32 acpi_id);
357 int acpi_map_cpuid(phys_cpuid_t phys_id, u32 acpi_id);
358 int acpi_get_cpuid(acpi_handle, int type, u32 acpi_id);
/linux-6.6.21/include/xen/
Dxen.h84 bool __init xen_processor_present(uint32_t acpi_id);
87 static inline bool xen_processor_present(uint32_t acpi_id) in xen_processor_present() argument
/linux-6.6.21/drivers/ata/
Dahci_qoriq.c259 const struct acpi_device_id *acpi_id; in ahci_qoriq_probe() local
272 acpi_id = acpi_match_device(ahci_qoriq_acpi_match, &pdev->dev); in ahci_qoriq_probe()
273 if (!(of_id || acpi_id)) in ahci_qoriq_probe()
283 qoriq_priv->type = (enum ahci_qoriq_type)acpi_id->driver_data; in ahci_qoriq_probe()
Dahci_xgene.c788 const struct acpi_device_id *acpi_id; in xgene_ahci_probe() local
792 acpi_id = acpi_match_device(xgene_ahci_acpi_match, &pdev->dev); in xgene_ahci_probe()
793 if (!acpi_id) { in xgene_ahci_probe()
796 } else if (acpi_id->driver_data) { in xgene_ahci_probe()
797 version = (enum xgene_ahci_version) acpi_id->driver_data; in xgene_ahci_probe()
/linux-6.6.21/drivers/video/backlight/
Dlp855x_bl.c398 const struct acpi_device_id *acpi_id = NULL; in lp855x_probe() local
418 acpi_id = acpi_match_device(dev->driver->acpi_match_table, dev); in lp855x_probe()
419 if (!acpi_id) in lp855x_probe()
422 lp->chipname = acpi_id->id; in lp855x_probe()
423 lp->chip_id = acpi_id->driver_data; in lp855x_probe()
/linux-6.6.21/drivers/nfc/nxp-nci/
Di2c.c337 static const struct acpi_device_id acpi_id[] = { variable
343 MODULE_DEVICE_TABLE(acpi, acpi_id);
349 .acpi_match_table = ACPI_PTR(acpi_id),
/linux-6.6.21/drivers/net/mdio/
Dmdio-xgene.c339 const struct acpi_device_id *acpi_id; in xgene_mdio_probe() local
341 acpi_id = acpi_match_device(xgene_mdio_acpi_match, &pdev->dev); in xgene_mdio_probe()
342 if (acpi_id) in xgene_mdio_probe()
343 mdio_id = (enum xgene_mdio_id)acpi_id->driver_data; in xgene_mdio_probe()
/linux-6.6.21/drivers/i2c/busses/
Di2c-xgene-slimpro.c474 const struct acpi_device_id *acpi_id; in xgene_slimpro_i2c_probe() local
477 acpi_id = acpi_match_device(pdev->dev.driver->acpi_match_table, in xgene_slimpro_i2c_probe()
479 if (!acpi_id) in xgene_slimpro_i2c_probe()
482 version = (int)acpi_id->driver_data; in xgene_slimpro_i2c_probe()
/linux-6.6.21/drivers/hwmon/
Dxgene-hwmon.c657 const struct acpi_device_id *acpi_id; in xgene_hwmon_probe() local
660 acpi_id = acpi_match_device(pdev->dev.driver->acpi_match_table, in xgene_hwmon_probe()
662 if (!acpi_id) { in xgene_hwmon_probe()
667 version = (int)acpi_id->driver_data; in xgene_hwmon_probe()
/linux-6.6.21/sound/soc/codecs/
Dtas2781-i2c.c684 const struct acpi_device_id *acpi_id; in tasdevice_i2c_probe() local
695 acpi_id = acpi_match_device(i2c->dev.driver->acpi_match_table, in tasdevice_i2c_probe()
697 if (!acpi_id) { in tasdevice_i2c_probe()
702 tas_priv->chip_id = acpi_id->driver_data; in tasdevice_i2c_probe()
/linux-6.6.21/drivers/input/touchscreen/
Dsilead.c617 const struct acpi_device_id *acpi_id; in silead_ts_set_default_fw_name() local
622 acpi_id = acpi_match_device(dev->driver->acpi_match_table, dev); in silead_ts_set_default_fw_name()
623 if (!acpi_id) in silead_ts_set_default_fw_name()
627 "silead/%s.fw", acpi_id->id); in silead_ts_set_default_fw_name()
/linux-6.6.21/include/xen/interface/
Dplatform.h431 uint32_t acpi_id; member
445 uint32_t acpi_id; member
/linux-6.6.21/scripts/mod/
Dfile2alias.c608 char acpi_id[sizeof(*id)]; in do_pnp_device_entry() local
615 for (j = 0; j < sizeof(acpi_id); j++) in do_pnp_device_entry()
616 acpi_id[j] = toupper((*id)[j]); in do_pnp_device_entry()
618 "MODULE_ALIAS(\"acpi*:%s:*\");\n", acpi_id); in do_pnp_device_entry()
666 char acpi_id[PNP_ID_LEN]; in do_pnp_card_entries() local
673 for (k = 0; k < sizeof(acpi_id); k++) in do_pnp_card_entries()
674 acpi_id[k] = toupper(id[k]); in do_pnp_card_entries()
676 "MODULE_ALIAS(\"acpi*:%s:*\");\n", acpi_id); in do_pnp_card_entries()
/linux-6.6.21/drivers/power/supply/
Dbq24257_charger.c953 const struct acpi_device_id *acpi_id; in bq24257_probe() local
971 acpi_id = acpi_match_device(dev->driver->acpi_match_table, in bq24257_probe()
973 if (!acpi_id) { in bq24257_probe()
977 bq->chip = (enum bq2425x_chip)acpi_id->driver_data; in bq24257_probe()
Dmax17042_battery.c1035 const struct acpi_device_id *acpi_id = NULL; in max17042_probe() local
1053 acpi_id = acpi_match_device(dev->driver->acpi_match_table, dev); in max17042_probe()
1054 if (!acpi_id) in max17042_probe()
1057 chip->chip_type = acpi_id->driver_data; in max17042_probe()
1109 if (acpi_id) in max17042_probe()
Dbq2415x_charger.c1532 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()
/linux-6.6.21/drivers/mfd/
Daxp20x.c1134 const struct acpi_device_id *acpi_id; in axp20x_match_device() local
1145 acpi_id = acpi_match_device(dev->driver->acpi_match_table, dev); in axp20x_match_device()
1146 if (!acpi_id || !acpi_id->driver_data) { in axp20x_match_device()
1150 axp20x->variant = (long)acpi_id->driver_data; in axp20x_match_device()
/linux-6.6.21/sound/soc/intel/boards/
Dsof_sdw.c775 .acpi_id = "10EC1308",
1021 static inline int find_codec_info_acpi(const u8 *acpi_id) in find_codec_info_acpi() argument
1025 if (!acpi_id[0]) in find_codec_info_acpi()
1029 if (!memcmp(codec_info_list[i].acpi_id, acpi_id, ACPI_ID_LEN)) in find_codec_info_acpi()
1708 info->acpi_id, j++); in sof_card_dai_links_create()
Dsof_sdw_common.h85 const u8 acpi_id[ACPI_ID_LEN]; member
/linux-6.6.21/drivers/perf/
Dxgene_pmu.c1553 const struct acpi_device_id *acpi_id; in acpi_pmu_dev_add() local
1560 acpi_id = xgene_pmu_acpi_match_type(xgene_pmu_acpi_type_match, adev); in acpi_pmu_dev_add()
1561 if (!acpi_id) in acpi_pmu_dev_add()
1564 ctx = acpi_get_pmu_hw_inf(xgene_pmu, adev, (u32)acpi_id->driver_data); in acpi_pmu_dev_add()
1862 const struct acpi_device_id *acpi_id; in xgene_pmu_probe() local
1864 acpi_id = acpi_match_device(xgene_pmu_acpi_match, &pdev->dev); in xgene_pmu_probe()
1865 if (acpi_id) in xgene_pmu_probe()
1866 version = (int) acpi_id->driver_data; in xgene_pmu_probe()

12