/linux/arch/arm64/kernel/ |
A D | smp.c | 480 if (cpu_logical_map(i) == hwid) in is_mpidr_duplicate() 525 u64 hwid = processor->arm_mpidr; in acpi_map_gic_cpu_interface() local 532 if (hwid & ~MPIDR_HWID_BITMASK || hwid == INVALID_HWID) { in acpi_map_gic_cpu_interface() 537 if (is_mpidr_duplicate(cpu_count, hwid)) { in acpi_map_gic_cpu_interface() 543 if (cpu_logical_map(0) == hwid) { in acpi_map_gic_cpu_interface() 546 hwid); in acpi_map_gic_cpu_interface() 558 set_cpu_logical_map(cpu_count, hwid); in acpi_map_gic_cpu_interface() 632 u64 hwid = of_get_cpu_hwid(dn, 0); in of_parse_and_init_cpus() local 634 if (hwid & ~MPIDR_HWID_BITMASK) in of_parse_and_init_cpus() 649 if (hwid == cpu_logical_map(0)) { in of_parse_and_init_cpus() [all …]
|
/linux/drivers/pwm/ |
A 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()
|
A 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/arch/arm/kernel/ |
A 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/include/net/ |
A D | erspan.h | 141 static inline void set_hwid(struct erspan_md2 *md2, u8 hwid) in set_hwid() argument 143 md2->hwid = hwid & 0xf; in set_hwid() 144 md2->hwid_upper = (hwid >> 4) & 0x3; in set_hwid() 149 return (md2->hwid_upper << 4) + md2->hwid; in get_hwid() 265 u32 id, u8 direction, u16 hwid, in erspan_build_header_v2() argument 315 set_hwid(md2, hwid); in erspan_build_header_v2()
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | test_tunnel_kern.c | 152 __u8 hwid = 7; in _erspan_set_tunnel() local 156 md.u.md2.hwid = hwid & 0xf; in _erspan_set_tunnel() 157 md.u.md2.hwid_upper = (hwid >> 4) & 0x3; in _erspan_set_tunnel() 203 (md.u.md2.hwid_upper << 4) + md.u.md2.hwid, in _erspan_get_tunnel() 237 __u8 hwid = 17; in _ip4ip6erspan_set_tunnel() local 241 md.u.md2.hwid = hwid & 0xf; in _ip4ip6erspan_set_tunnel() 242 md.u.md2.hwid_upper = (hwid >> 4) & 0x3; in _ip4ip6erspan_set_tunnel() 289 (md.u.md2.hwid_upper << 4) + md.u.md2.hwid, in _ip4ip6erspan_get_tunnel()
|
/linux/tools/include/uapi/linux/ |
A D | erspan.h | 30 hwid:4; member 35 __u8 hwid:4, member
|
/linux/include/uapi/linux/ |
A D | erspan.h | 30 hwid:4; member 35 __u8 hwid:4, member
|
/linux/drivers/input/touchscreen/ |
A 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/arch/arm64/include/asm/ |
A 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/arch/ia64/kernel/ |
A 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/drivers/clk/ |
A 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/drivers/mfd/ |
A 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/arch/x86/include/asm/ |
A D | mce.h | 325 #define HWID_MCATYPE(hwid, mcatype) (((hwid) << 16) | (mcatype)) argument 334 struct smca_hwid *hwid; member
|
/linux/drivers/clk/qcom/ |
A D | clk-cpu-8996.c | 432 u64 hwid; in qcom_cpu_clk_msm8996_acd_init() local 437 hwid = read_cpuid_mpidr() & CPU_AFINITY_MASK; in qcom_cpu_clk_msm8996_acd_init() 443 if (PWRCL_CPU_REG_MASK == (hwid | PWRCL_CPU_REG_MASK)) { in qcom_cpu_clk_msm8996_acd_init() 448 if (PERFCL_CPU_REG_MASK == (hwid | PERFCL_CPU_REG_MASK)) { in qcom_cpu_clk_msm8996_acd_init()
|
/linux/arch/powerpc/platforms/pseries/ |
A D | mobility.c | 432 int hwid; in prod_single() local 434 hwid = get_hard_smp_processor_id(target_cpu); in prod_single() 435 hvrc = plpar_hcall_norets(H_PROD, hwid); in prod_single() 439 target_cpu, hwid, hvrc); in prod_single()
|
/linux/drivers/acpi/ |
A D | bus.c | 790 struct acpi_hardware_id *hwid) in __acpi_match_device_cls() argument 806 if (strncmp(buf, &hwid->id[(i - 1) * 2], 2)) in __acpi_match_device_cls() 819 struct acpi_hardware_id *hwid; in __acpi_match_device() local 828 list_for_each_entry(hwid, &device->pnp.ids, list) { in __acpi_match_device() 832 if (id->id[0] && !strcmp((char *)id->id, hwid->id)) in __acpi_match_device() 834 if (id->cls && __acpi_match_device_cls(id, hwid)) in __acpi_match_device() 843 if (!strcmp(ACPI_DT_NAMESPACE_HID, hwid->id)) in __acpi_match_device()
|
A D | scan.c | 1170 struct acpi_hardware_id *hwid; in acpi_device_is_battery() local 1172 list_for_each_entry(hwid, &adev->pnp.ids, list) in acpi_device_is_battery() 1173 if (!strcmp("PNP0C0A", hwid->id)) in acpi_device_is_battery() 1927 struct acpi_hardware_id *hwid; in acpi_scan_init_hotplug() local 1933 list_for_each_entry(hwid, &adev->pnp.ids, list) { in acpi_scan_init_hotplug() 1936 handler = acpi_scan_match_handler(hwid->id, NULL); in acpi_scan_init_hotplug() 2117 struct acpi_hardware_id *hwid; in acpi_scan_attach_handler() local 2120 list_for_each_entry(hwid, &device->pnp.ids, list) { in acpi_scan_attach_handler() 2124 handler = acpi_scan_match_handler(hwid->id, &devid); in acpi_scan_attach_handler()
|
/linux/arch/openrisc/kernel/ |
A 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/drivers/edac/ |
A D | mce_amd.c | 1048 struct smca_hwid *hwid; in decode_smca_error() local 1056 hwid = smca_banks[m->bank].hwid; in decode_smca_error() 1057 if (!hwid) in decode_smca_error() 1060 bank_type = hwid->bank_type; in decode_smca_error()
|
/linux/drivers/tty/ |
A D | mxser.c | 381 u8 oldmcr, hwid; in mxser_must_get_hwid() local 389 if ((hwid = inb(io + UART_MCR)) != 0) { in mxser_must_get_hwid() 394 hwid = mxser_get_must_hardware_id(io); in mxser_must_get_hwid() 396 if (hwid == Gpci_uart_info[i].type) in mxser_must_get_hwid() 397 return hwid; in mxser_must_get_hwid() 1537 enum mxser_must_hwid hwid = port->board->must_hwid; in mxser_receive_chars_new() local 1540 if (hwid == MOXA_OTHER_UART) in mxser_receive_chars_new() 1546 if (hwid == MOXA_MUST_MU150_HWID) in mxser_receive_chars_new() 1563 enum mxser_must_hwid hwid = port->board->must_hwid; in mxser_receive_chars_old() local 1575 if (hwid && (status & UART_LSR_OE)) in mxser_receive_chars_old() [all …]
|
/linux/drivers/iio/pressure/ |
A D | zpa2326.h | 64 unsigned int hwid,
|
/linux/drivers/media/pci/ddbridge/ |
A D | ddbridge-main.c | 224 dev->link[0].ids.hwid = ddbreadl(dev, 0); in ddb_probe() 228 dev->link[0].ids.hwid, dev->link[0].ids.regmapid); in ddb_probe()
|
/linux/arch/x86/kernel/cpu/mce/ |
A D | amd.c | 130 if (!b->hwid) in smca_get_bank_type() 133 return b->hwid->bank_type; in smca_get_bank_type() 290 if (smca_banks[bank].hwid && smca_banks[bank].hwid->hwid_mcatype != 0) in smca_configure() 304 smca_banks[bank].hwid = s_hwid; in smca_configure() 1235 if (smca_banks[bank].hwid->count == 1) in get_name()
|
/linux/arch/powerpc/mm/ |
A D | numa.c | 649 long rc, hwid; in __vphn_get_associativity() local 662 hwid = cpu_to_phys_id[lcpu]; in __vphn_get_associativity() 664 hwid = get_hard_smp_processor_id(lcpu); in __vphn_get_associativity() 666 rc = hcall_vphn(hwid, VPHN_FLAG_VCPU, associativity); in __vphn_get_associativity()
|