/linux-6.1.9/arch/arm64/kernel/ |
D | smp.c | 475 static bool __init is_mpidr_duplicate(unsigned int cpu, u64 hwid) in is_mpidr_duplicate() argument 480 if (cpu_logical_map(i) == hwid) in is_mpidr_duplicate() 526 u64 hwid = processor->arm_mpidr; in acpi_map_gic_cpu_interface() local 529 pr_debug("skipping disabled CPU entry with 0x%llx MPIDR\n", hwid); in acpi_map_gic_cpu_interface() 533 if (hwid & ~MPIDR_HWID_BITMASK || hwid == INVALID_HWID) { in acpi_map_gic_cpu_interface() 534 pr_err("skipping CPU entry with invalid MPIDR 0x%llx\n", hwid); in acpi_map_gic_cpu_interface() 538 if (is_mpidr_duplicate(cpu_count, hwid)) { in acpi_map_gic_cpu_interface() 539 pr_err("duplicate CPU MPIDR 0x%llx in MADT\n", hwid); in acpi_map_gic_cpu_interface() 544 if (cpu_logical_map(0) == hwid) { in acpi_map_gic_cpu_interface() 547 hwid); in acpi_map_gic_cpu_interface() [all …]
|
/linux-6.1.9/drivers/pwm/ |
D | pwm-ab8500.c | 25 unsigned int hwid; member 47 1 << ab8500->hwid, 0); in ab8500_pwm_apply() 66 reg = AB8500_PWM_OUT_CTRL1_REG + (ab8500->hwid * 2); in ab8500_pwm_apply() 80 1 << ab8500->hwid, 1 << ab8500->hwid); in ab8500_pwm_apply() 112 ab8500->hwid = pdev->id - 1; in ab8500_pwm_probe()
|
D | pwm-sprd.c | 53 static u32 sprd_pwm_read(struct sprd_pwm_chip *spc, u32 hwid, u32 reg) in sprd_pwm_read() argument 55 u32 offset = reg + (hwid << SPRD_PWM_REGS_SHIFT); in sprd_pwm_read() 60 static void sprd_pwm_write(struct sprd_pwm_chip *spc, u32 hwid, in sprd_pwm_write() argument 63 u32 offset = reg + (hwid << SPRD_PWM_REGS_SHIFT); in sprd_pwm_write()
|
/linux-6.1.9/arch/arm/kernel/ |
D | devtree.c | 87 u32 hwid = of_get_cpu_hwid(cpu, 0); in arm_dt_init_cpu_maps() local 95 if (hwid & ~MPIDR_HWID_BITMASK) { in arm_dt_init_cpu_maps() 108 if (WARN(tmp_map[j] == hwid, in arm_dt_init_cpu_maps() 123 if (hwid == mpidr) { in arm_dt_init_cpu_maps() 138 tmp_map[i] = hwid; in arm_dt_init_cpu_maps()
|
/linux-6.1.9/include/net/ |
D | erspan.h | 144 static inline void set_hwid(struct erspan_md2 *md2, u8 hwid) in set_hwid() argument 146 md2->hwid = hwid & 0xf; in set_hwid() 147 md2->hwid_upper = (hwid >> 4) & 0x3; in set_hwid() 152 return (md2->hwid_upper << 4) + md2->hwid; in get_hwid() 268 u32 id, u8 direction, u16 hwid, in erspan_build_header_v2() argument 318 set_hwid(md2, hwid); in erspan_build_header_v2()
|
D | ip6_tunnel.h | 42 __u16 hwid; /* hwid */ member
|
/linux-6.1.9/tools/include/uapi/linux/ |
D | erspan.h | 30 hwid:4; member 35 __u8 hwid:4, member
|
/linux-6.1.9/include/uapi/linux/ |
D | erspan.h | 30 hwid:4; member 35 __u8 hwid:4, member
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_tunnel_kern.c | 169 __u8 hwid = 7; in erspan_set_tunnel() local 173 md.u.md2.hwid = hwid & 0xf; in erspan_set_tunnel() 174 md.u.md2.hwid_upper = (hwid >> 4) & 0x3; in erspan_set_tunnel() 215 (md.u.md2.hwid_upper << 4) + md.u.md2.hwid, in erspan_get_tunnel() 249 __u8 hwid = 17; in ip4ip6erspan_set_tunnel() local 253 md.u.md2.hwid = hwid & 0xf; in ip4ip6erspan_set_tunnel() 254 md.u.md2.hwid_upper = (hwid >> 4) & 0x3; in ip4ip6erspan_set_tunnel() 296 (md.u.md2.hwid_upper << 4) + md.u.md2.hwid, in ip4ip6erspan_get_tunnel()
|
/linux-6.1.9/drivers/input/touchscreen/ |
D | bu21029_ts.c | 267 __be16 hwid; in bu21029_start_chip() local 282 sizeof(hwid), (u8 *)&hwid); in bu21029_start_chip() 288 if (be16_to_cpu(hwid) != SUPPORTED_HWID) { in bu21029_start_chip() 290 "unsupported HW ID 0x%x\n", be16_to_cpu(hwid)); in bu21029_start_chip()
|
/linux-6.1.9/arch/arm64/include/asm/ |
D | smp.h | 51 static inline void set_cpu_logical_map(unsigned int cpu, u64 hwid) in set_cpu_logical_map() argument 53 __cpu_logical_map[cpu] = hwid; in set_cpu_logical_map()
|
/linux-6.1.9/arch/ia64/kernel/ |
D | irq.c | 57 void set_irq_affinity_info (unsigned int irq, int hwid, int redir) in set_irq_affinity_info() argument 61 cpumask_of(cpu_logical_id(hwid))); in set_irq_affinity_info()
|
/linux-6.1.9/drivers/clk/ |
D | clk-s2mps11.c | 127 enum sec_device_type hwid = platform_get_device_id(pdev)->driver_data; in s2mps11_clk_probe() local 140 switch (hwid) { in s2mps11_clk_probe() 164 if (i == S2MPS11_CLK_CP && hwid == S2MPS14X) in s2mps11_clk_probe()
|
/linux-6.1.9/drivers/mfd/ |
D | madera-core.c | 458 unsigned int hwid; in madera_dev_init() local 592 ret = regmap_read(madera->regmap, MADERA_SOFTWARE_RESET, &hwid); in madera_dev_init() 598 switch (hwid) { in madera_dev_init() 669 dev_err(madera->dev, "Unknown device ID: %x\n", hwid); in madera_dev_init() 675 dev_err(madera->dev, "Device ID 0x%x not a %s\n", hwid, in madera_dev_init()
|
/linux-6.1.9/arch/openrisc/kernel/ |
D | setup.c | 157 u32 hwid; in setup_find_cpu_node() local 161 if (of_property_read_u32(cpun, "reg", &hwid)) in setup_find_cpu_node() 163 if (hwid == cpu) in setup_find_cpu_node()
|
/linux-6.1.9/arch/powerpc/platforms/pseries/ |
D | mobility.c | 503 int hwid; in prod_single() local 505 hwid = get_hard_smp_processor_id(target_cpu); in prod_single() 506 hvrc = plpar_hcall_norets(H_PROD, hwid); in prod_single() 510 target_cpu, hwid, hvrc); in prod_single()
|
/linux-6.1.9/drivers/clk/qcom/ |
D | clk-cpu-8996.c | 463 u64 hwid; in qcom_cpu_clk_msm8996_acd_init() local 468 hwid = read_cpuid_mpidr() & CPU_AFINITY_MASK; in qcom_cpu_clk_msm8996_acd_init() 474 if (PWRCL_CPU_REG_MASK == (hwid | PWRCL_CPU_REG_MASK)) { in qcom_cpu_clk_msm8996_acd_init() 479 if (PERFCL_CPU_REG_MASK == (hwid | PERFCL_CPU_REG_MASK)) { in qcom_cpu_clk_msm8996_acd_init()
|
/linux-6.1.9/drivers/acpi/ |
D | bus.c | 830 struct acpi_hardware_id *hwid) in __acpi_match_device_cls() argument 846 if (strncmp(buf, &hwid->id[(i - 1) * 2], 2)) in __acpi_match_device_cls() 859 struct acpi_hardware_id *hwid; in __acpi_match_device() local 868 list_for_each_entry(hwid, &device->pnp.ids, list) { in __acpi_match_device() 872 if (id->id[0] && !strcmp((char *)id->id, hwid->id)) in __acpi_match_device() 874 if (id->cls && __acpi_match_device_cls(id, hwid)) in __acpi_match_device() 883 if (!strcmp(ACPI_DT_NAMESPACE_HID, hwid->id)) in __acpi_match_device()
|
D | scan.c | 1178 struct acpi_hardware_id *hwid; in acpi_device_is_battery() local 1180 list_for_each_entry(hwid, &adev->pnp.ids, list) in acpi_device_is_battery() 1181 if (!strcmp("PNP0C0A", hwid->id)) in acpi_device_is_battery() 1956 struct acpi_hardware_id *hwid; in acpi_scan_init_hotplug() local 1962 list_for_each_entry(hwid, &adev->pnp.ids, list) { in acpi_scan_init_hotplug() 1965 handler = acpi_scan_match_handler(hwid->id, NULL); in acpi_scan_init_hotplug() 2147 struct acpi_hardware_id *hwid; in acpi_scan_attach_handler() local 2150 list_for_each_entry(hwid, &device->pnp.ids, list) { in acpi_scan_attach_handler() 2154 handler = acpi_scan_match_handler(hwid->id, &devid); in acpi_scan_attach_handler()
|
/linux-6.1.9/drivers/iio/pressure/ |
D | zpa2326.h | 64 unsigned int hwid,
|
/linux-6.1.9/arch/x86/kernel/cpu/mce/ |
D | amd.c | 74 #define HWID_MCATYPE(hwid, mcatype) (((hwid) << 16) | (mcatype)) argument 82 const struct smca_hwid *hwid; member 153 if (!b->hwid) in smca_get_bank_type() 156 return b->hwid->bank_type; in smca_get_bank_type() 326 this_cpu_ptr(smca_banks)[bank].hwid = s_hwid; in smca_configure()
|
/linux-6.1.9/drivers/media/pci/ddbridge/ |
D | ddbridge-main.c | 215 dev->link[0].ids.hwid = ddbreadl(dev, 0); in ddb_probe() 219 dev->link[0].ids.hwid, dev->link[0].ids.regmapid); in ddb_probe()
|
/linux-6.1.9/drivers/tty/ |
D | mxser.c | 393 u8 oldmcr, hwid; in mxser_must_get_hwid() local 406 hwid = mxser_get_must_hardware_id(io); in mxser_must_get_hwid() 408 if (hwid == Gpci_uart_info[i].type) in mxser_must_get_hwid() 409 return hwid; in mxser_must_get_hwid() 1481 enum mxser_must_hwid hwid = port->board->must_hwid; in mxser_receive_chars_new() local 1484 if (hwid == MOXA_OTHER_UART) in mxser_receive_chars_new() 1490 if (hwid == MOXA_MUST_MU150_HWID) in mxser_receive_chars_new() 1505 enum mxser_must_hwid hwid = port->board->must_hwid; in mxser_receive_chars_old() local 1515 if (hwid && (status & UART_LSR_OE)) in mxser_receive_chars_old() 1548 if (hwid) in mxser_receive_chars_old()
|
/linux-6.1.9/arch/powerpc/mm/ |
D | numa.c | 648 long rc, hwid; in __vphn_get_associativity() local 661 hwid = cpu_to_phys_id[lcpu]; in __vphn_get_associativity() 663 hwid = get_hard_smp_processor_id(lcpu); in __vphn_get_associativity() 665 rc = hcall_vphn(hwid, VPHN_FLAG_VCPU, associativity); in __vphn_get_associativity()
|
/linux-6.1.9/net/netfilter/ |
D | nft_tunnel.c | 290 uint8_t hwid, dir; in nft_tunnel_obj_erspan_init() local 316 hwid = nla_get_u8(tb[NFTA_TUNNEL_KEY_ERSPAN_V2_HWID]); in nft_tunnel_obj_erspan_init() 319 set_hwid(&opts->u.erspan.u.md2, hwid); in nft_tunnel_obj_erspan_init()
|