/linux-master/include/uapi/linux/ |
H A D | erspan.h | 30 hwid:4; member in struct:erspan_md2 35 __u8 hwid:4, member in struct:erspan_md2
|
/linux-master/tools/include/uapi/linux/ |
H A D | erspan.h | 30 hwid:4; member in struct:erspan_md2 35 __u8 hwid:4, member in struct:erspan_md2
|
/linux-master/drivers/pwm/ |
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;
|
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);
|
/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;
|
/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/include/net/ |
H A D | erspan.h | 144 static inline void set_hwid(struct erspan_md2 *md2, u8 hwid) argument 146 md2->hwid = hwid & 0xf; 147 md2->hwid_upper = (hwid >> 4) & 0x3; 152 return (md2->hwid_upper << 4) + md2->hwid; 268 u32 id, u8 direction, u16 hwid, 318 set_hwid(md2, hwid); 267 erspan_build_header_v2(struct sk_buff *skb, u32 id, u8 direction, u16 hwid, bool truncate, bool is_ipv4) argument
|
H A D | ip6_tunnel.h | 42 __u16 hwid; /* hwid */ member in struct:__ip6_tnl_parm
|
/linux-master/drivers/of/ |
H A D | cpu.c | 57 u64 hwid; local 67 hwid = of_read_number(cell, ac); 68 if (arch_match_cpu_phys_id(cpu, hwid)) {
|
/linux-master/drivers/iio/pressure/ |
H A D | zpa2326.h | 56 * @hwid: Expected device hardware id. 64 unsigned int hwid,
|
/linux-master/drivers/input/touchscreen/ |
H A D | bu21029_ts.c | 267 __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/clk/ |
H A D | clk-s2mps11.c | 127 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/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/gpu/drm/amd/amdgpu/ |
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...] |
H A D | amdgpu_mca.h | 99 int hwid; member in struct:mca_bank_info
|
/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/drivers/mfd/ |
H A D | madera-core.c | 457 unsigned int hwid; local 591 ret = regmap_read(madera->regmap, MADERA_SOFTWARE_RESET, &hwid); 597 switch (hwid) { 668 dev_err(madera->dev, "Unknown device ID: %x\n", hwid); 674 dev_err(madera->dev, "Device ID 0x%x not a %s\n", hwid,
|
/linux-master/drivers/acpi/ |
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
|
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);
|
/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/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/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/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/drivers/clk/qcom/ |
H A D | clk-cpu-8996.c | 520 u64 hwid; local 536 hwid = read_cpuid_mpidr(); 537 if ((hwid & CPU_CLUSTER_AFFINITY_MASK) == PWRCL_AFFINITY_MASK)
|