/linux-master/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
H A D | smu_v13_0_6_ppt.c | 102 [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/include/net/ |
H A D | ip_tunnels.h | 135 u16 hwid; /* ERSPAN hardware ID */ member in struct:ip_tunnel
|
/linux-master/drivers/acpi/ |
H A D | scan.c | 1218 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);
|
H A D | property.c | 543 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 D | bus.c | 839 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
|
/linux-master/net/ipv6/ |
H A D | ip6_gre.c | 1060 t->parms.hwid, 1220 t->parms.hwid = p->hwid; 1755 u16 hwid = nla_get_u16(data[IFLA_GRE_ERSPAN_HWID]); local 1757 if (hwid & ~(HWID_MASK >> HWID_OFFSET)) 1782 parms->hwid = nla_get_u16(data[IFLA_GRE_ERSPAN_HWID]); 2165 if (nla_put_u16(skb, IFLA_GRE_ERSPAN_HWID, p->hwid))
|
/linux-master/net/ipv4/ |
H A D | ip_gre.c | 717 tunnel->dir, tunnel->hwid, 1238 t->hwid = nla_get_u16(data[IFLA_GRE_ERSPAN_HWID]); 1239 if (t->hwid & ~(HWID_MASK >> HWID_OFFSET)) 1564 if (nla_put_u16(skb, IFLA_GRE_ERSPAN_HWID, t->hwid))
|
/linux-master/arch/powerpc/kernel/ |
H A D | setup-common.c | 419 __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/xmon/ |
H A D | xmon.c | 2785 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/powerpc/mm/ |
H A D | numa.c | 651 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/drivers/pwm/ |
H A D | pwm-sprd.c | 56 static u32 sprd_pwm_read(struct sprd_pwm_chip *spc, u32 hwid, u32 reg) argument 58 u32 offset = reg + (hwid << SPRD_PWM_REGS_SHIFT); 63 static void sprd_pwm_write(struct sprd_pwm_chip *spc, u32 hwid, argument 66 u32 offset = reg + (hwid << SPRD_PWM_REGS_SHIFT);
|
H A D | pwm-ab8500.c | 27 unsigned int hwid; member in struct:ab8500_pwm_chip 96 1 << ab8500->hwid, 0); 115 reg = AB8500_PWM_OUT_CTRL1_REG + (ab8500->hwid * 2); 130 1 << ab8500->hwid, 1 << ab8500->hwid); 154 if (!(ctrl7 & 1 << ab8500->hwid)) { 160 AB8500_PWM_OUT_CTRL1_REG + (ab8500->hwid * 2), 166 AB8500_PWM_OUT_CTRL2_REG + (ab8500->hwid * 2), 205 ab8500->hwid = pdev->id - 1;
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_mca.h | 99 int hwid; member in struct:mca_bank_info
|
H A D | amdgpu_mca.c | 426 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 D | amdgpu_aca.h | 114 int hwid; member in struct:aca_bank_info
|
H A D | amdgpu_aca.c | 29 #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...] |
/linux-master/arch/x86/kernel/cpu/mce/ |
H A D | amd.c | 74 #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/net/netfilter/ |
H A D | nft_tunnel.c | 290 uint8_t hwid, dir; local 316 hwid = nla_get_u8(tb[NFTA_TUNNEL_KEY_ERSPAN_V2_HWID]); 319 set_hwid(&opts->u.erspan.u.md2, hwid);
|
/linux-master/drivers/tty/ |
H A D | mxser.c | 393 u8 oldmcr, hwid; local 406 hwid = mxser_get_must_hardware_id(io); 408 if (hwid == Gpci_uart_info[i].type) 409 return hwid; 1482 enum mxser_must_hwid hwid = port->board->must_hwid; local 1485 if (hwid == MOXA_OTHER_UART) 1491 if (hwid == MOXA_MUST_MU150_HWID) 1506 enum mxser_must_hwid hwid = port->board->must_hwid; local 1516 if (hwid && (status & UART_LSR_OE)) 1549 if (hwid) [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_tunnel_kern.c | 173 __u8 hwid = 7; local 177 BPF_CORE_WRITE_BITFIELD(&md.u.md2, hwid, (hwid & 0xf)); 178 BPF_CORE_WRITE_BITFIELD(&md.u.md2, hwid_upper, (hwid >> 4) & 0x3); 216 bpf_printk("\tdirection %d hwid %x timestamp %u\n", 219 BPF_CORE_READ_BITFIELD(&md.u.md2, hwid), 253 __u8 hwid = 17; local 257 BPF_CORE_WRITE_BITFIELD(&md.u.md2, hwid, (hwid & 0xf)); 258 BPF_CORE_WRITE_BITFIELD(&md.u.md2, hwid_upper, (hwid >> [all...] |
/linux-master/drivers/media/pci/ddbridge/ |
H A D | ddbridge-main.c | 215 dev->link[0].ids.hwid = ddbreadl(dev, 0); 219 dev->link[0].ids.hwid, dev->link[0].ids.regmapid);
|
/linux-master/arch/arm64/kernel/ |
H A D | smp.c | 473 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/platforms/pseries/ |
H A D | mobility.c | 495 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/arm64/include/asm/ |
H A D | smp.h | 51 static inline void set_cpu_logical_map(unsigned int cpu, u64 hwid) argument 53 __cpu_logical_map[cpu] = hwid;
|
/linux-master/arch/arm/kernel/ |
H A D | devtree.c | 86 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;
|