Searched refs:hwid (Results 1 - 25 of 40) sorted by path

12

/linux-master/drivers/iio/pressure/
H A Dzpa2326.h56 * @hwid: Expected device hardware id.
64 unsigned int hwid,
H A Dzpa2326.c1610 unsigned int hwid,
1666 if (id != hwid) {
1607 zpa2326_probe(struct device *parent, const char *name, int irq, unsigned int hwid, struct regmap *regmap) argument
/linux-master/include/uapi/linux/
H A Derspan.h30 hwid:4; member in struct:erspan_md2
35 __u8 hwid:4, member in struct:erspan_md2
/linux-master/tools/include/uapi/linux/
H A Derspan.h30 hwid:4; member in struct:erspan_md2
35 __u8 hwid:4, member in struct:erspan_md2
/linux-master/arch/arm/kernel/
H A Ddevtree.c86 u32 hwid = of_get_cpu_hwid(cpu, 0); local
94 if (hwid & ~MPIDR_HWID_BITMASK) {
107 if (WARN(tmp_map[j] == hwid,
122 if (hwid == mpidr) {
137 tmp_map[i] = hwid;
/linux-master/arch/arm64/include/asm/
H A Dsmp.h51 static inline void set_cpu_logical_map(unsigned int cpu, u64 hwid) argument
53 __cpu_logical_map[cpu] = hwid;
/linux-master/arch/arm64/kernel/
H A Dsmp.c473 static bool __init is_mpidr_duplicate(unsigned int cpu, u64 hwid) argument
478 if (cpu_logical_map(i) == hwid)
524 u64 hwid = processor->arm_mpidr; local
527 pr_debug("skipping disabled CPU entry with 0x%llx MPIDR\n", hwid);
531 if (hwid & ~MPIDR_HWID_BITMASK || hwid == INVALID_HWID) {
532 pr_err("skipping CPU entry with invalid MPIDR 0x%llx\n", hwid);
536 if (is_mpidr_duplicate(cpu_count, hwid)) {
537 pr_err("duplicate CPU MPIDR 0x%llx in MADT\n", hwid);
542 if (cpu_logical_map(0) == hwid) {
631 u64 hwid = of_get_cpu_hwid(dn, 0); local
[all...]
/linux-master/arch/powerpc/kernel/
H A Dsetup-common.c419 __be32 hwid; local
421 hwid = be32_to_cpu(hw_ids[i]);
423 DBG(" thread %d -> cpu %d (hard id %d)\n", i, cpu, hwid);
427 cpu_to_phys_id[cpu] = hwid;
/linux-master/arch/powerpc/mm/
H A Dnuma.c651 long rc, hwid; local
664 hwid = cpu_to_phys_id[lcpu];
666 hwid = get_hard_smp_processor_id(lcpu);
668 rc = hcall_vphn(hwid, VPHN_FLAG_VCPU, associativity);
/linux-master/arch/powerpc/platforms/pseries/
H A Dmobility.c495 int hwid; local
497 hwid = get_hard_smp_processor_id(target_cpu);
498 hvrc = plpar_hcall_norets(H_PROD, hwid);
501 pr_err_ratelimited("H_PROD of CPU %u (hwid %d) error: %ld\n",
502 target_cpu, hwid, hvrc);
/linux-master/arch/powerpc/xmon/
H A Dxmon.c2785 unsigned int hwid = get_hard_smp_processor_id(cpu); local
2789 opal_xive_dump(XIVE_DUMP_TM_HYP, hwid);
2790 opal_xive_dump(XIVE_DUMP_TM_POOL, hwid);
2791 opal_xive_dump(XIVE_DUMP_TM_OS, hwid);
2792 opal_xive_dump(XIVE_DUMP_TM_USER, hwid);
2793 opal_xive_dump(XIVE_DUMP_VP, hwid);
2794 opal_xive_dump(XIVE_DUMP_EMU_STATE, hwid);
/linux-master/arch/x86/kernel/cpu/mce/
H A Damd.c74 #define HWID_MCATYPE(hwid, mcatype) (((hwid) << 16) | (mcatype))
78 u32 hwid_mcatype; /* (hwid,mcatype) tuple */
82 const struct smca_hwid *hwid; member in struct:smca_bank
142 if (!b->hwid)
145 return b->hwid->bank_type;
320 this_cpu_ptr(smca_banks)[bank].hwid = s_hwid;
/linux-master/drivers/acpi/
H A Dbus.c839 struct acpi_hardware_id *hwid)
855 if (strncmp(buf, &hwid->id[(i - 1) * 2], 2))
868 struct acpi_hardware_id *hwid; local
877 list_for_each_entry(hwid, &device->pnp.ids, list) {
881 if (id->id[0] && !strcmp((char *)id->id, hwid->id))
883 if (id->cls && __acpi_match_device_cls(id, hwid))
892 if (!strcmp(ACPI_DT_NAMESPACE_HID, hwid->id))
838 __acpi_match_device_cls(const struct acpi_device_id *id, struct acpi_hardware_id *hwid) argument
H A Dproperty.c543 struct acpi_hardware_id *hwid; local
557 list_for_each_entry(hwid, &adev->pnp.ids, list) {
558 if (!strcmp(hwid->id, ACPI_DT_NAMESPACE_HID)) {
H A Dscan.c1218 struct acpi_hardware_id *hwid; local
1220 list_for_each_entry(hwid, &adev->pnp.ids, list)
1221 if (!strcmp("PNP0C0A", hwid->id))
2014 struct acpi_hardware_id *hwid; local
2020 list_for_each_entry(hwid, &adev->pnp.ids, list) {
2023 handler = acpi_scan_match_handler(hwid->id, NULL);
2222 struct acpi_hardware_id *hwid; local
2225 list_for_each_entry(hwid, &device->pnp.ids, list) {
2229 handler = acpi_scan_match_handler(hwid->id, &devid);
/linux-master/drivers/clk/
H A Dclk-s2mps11.c127 enum sec_device_type hwid = platform_get_device_id(pdev)->driver_data; local
140 switch (hwid) {
164 if (i == S2MPS11_CLK_CP && hwid == S2MPS14X)
/linux-master/drivers/clk/qcom/
H A Dclk-cpu-8996.c520 u64 hwid; local
536 hwid = read_cpuid_mpidr();
537 if ((hwid & CPU_CLUSTER_AFFINITY_MASK) == PWRCL_AFFINITY_MASK)
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_aca.c29 #define ACA_BANK_HWID(type, hwid, mcatype) [ACA_HWIP_TYPE_##type] = {hwid, mcatype}
39 int hwid; member in struct:aca_hwip
181 int hwid, mcatype; local
188 if (!hwip->hwid)
192 hwid = ACA_REG__IPID__HARDWAREID(ipid);
195 return hwip->hwid == hwid && hwip->mcatype == mcatype;
709 info->hwid = ACA_REG__IPID__HARDWAREID(ipid);
797 seq_printf(m, "aca entry[%d].info: socketid:%d aid:%d hwid
[all...]
H A Damdgpu_aca.h114 int hwid; member in struct:aca_bank_info
H A Damdgpu_mca.c426 seq_printf(m, "mca entry[%d].info: socketid:%d aid:%d hwid:0x%03x mcatype:0x%04x\n",
427 idx, entry->info.socket_id, entry->info.aid, entry->info.hwid, entry->info.mcatype);
H A Damdgpu_mca.h99 int hwid; member in struct:mca_bank_info
/linux-master/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_6_ppt.c102 [AMDGPU_MCA_IP_##_ip] = { .hwid = _hwid, .mcatype = _type, }
106 uint16_t hwid; member in struct:mca_bank_ipid
2600 info->hwid = REG_GET_FIELD(ipid, MCMP1_IPIDT0, HardwareID);
2659 uint16_t hwid, mcatype; local
2662 hwid = REG_GET_FIELD(val, MCMP1_IPIDT0, HardwareID);
2668 if (!ipid->hwid)
2671 if (ipid->hwid == hwid && ipid->mcatype == mcatype)
/linux-master/drivers/input/touchscreen/
H A Dbu21029_ts.c267 __be16 hwid; local
282 sizeof(hwid), (u8 *)&hwid);
288 if (be16_to_cpu(hwid) != SUPPORTED_HWID) {
290 "unsupported HW ID 0x%x\n", be16_to_cpu(hwid));
/linux-master/drivers/isdn/hardware/mISDN/
H A Dhfcmulti.c141 * hwid:
142 * NOTE: only one hwid value must be given once
219 static uint hwid = HWID_NONE; variable
238 module_param(hwid, uint, S_IRUGO | S_IWUSR); /* The hardware ID */
5498 switch (hwid) {
/linux-master/drivers/media/pci/ddbridge/
H A Dddbridge-core.c1459 if ((devids->hwid & 0x00ffffff) >= 0x00010007)
3005 dev->link[0].ids.hwid, dev->link[0].ids.regmapid);
3013 return sprintf(buf, "0x%08X\n", dev->link[0].ids.hwid);
3074 __ATTR_RO(hwid),

Completed in 393 milliseconds

12