/Linux-v5.4/arch/arm64/kernel/ |
D | smp.c | 442 u64 hwid; in of_get_cpu_mpidr() local 455 hwid = of_read_number(cell, of_n_addr_cells(dn)); in of_get_cpu_mpidr() 459 if (hwid & ~MPIDR_HWID_BITMASK) { in of_get_cpu_mpidr() 463 return hwid; in of_get_cpu_mpidr() 472 static bool __init is_mpidr_duplicate(unsigned int cpu, u64 hwid) in is_mpidr_duplicate() argument 477 if (cpu_logical_map(i) == hwid) in is_mpidr_duplicate() 519 u64 hwid = processor->arm_mpidr; in acpi_map_gic_cpu_interface() local 522 pr_debug("skipping disabled CPU entry with 0x%llx MPIDR\n", hwid); in acpi_map_gic_cpu_interface() 526 if (hwid & ~MPIDR_HWID_BITMASK || hwid == INVALID_HWID) { in acpi_map_gic_cpu_interface() 527 pr_err("skipping CPU entry with invalid MPIDR 0x%llx\n", hwid); in acpi_map_gic_cpu_interface() [all …]
|
/Linux-v5.4/arch/arm/mach-imx/devices/ |
D | platform-sdhci-esdhc-imx.c | 11 #define imx_sdhci_esdhc_imx_data_entry_single(soc, _devid, _id, hwid) \ argument 15 .iobase = soc ## _ESDHC ## hwid ## _BASE_ADDR, \ 16 .irq = soc ## _INT_ESDHC ## hwid, \ 19 #define imx_sdhci_esdhc_imx_data_entry(soc, devid, id, hwid) \ argument 20 [id] = imx_sdhci_esdhc_imx_data_entry_single(soc, devid, id, hwid)
|
D | platform-spi_imx.c | 9 #define imx_spi_imx_data_entry_single(soc, type, _devid, _id, hwid, _size) \ argument 13 .iobase = soc ## _ ## type ## hwid ## _BASE_ADDR, \ 15 .irq = soc ## _INT_ ## type ## hwid, \ 18 #define imx_spi_imx_data_entry(soc, type, devid, id, hwid, size) \ argument 19 [id] = imx_spi_imx_data_entry_single(soc, type, devid, id, hwid, size)
|
/Linux-v5.4/arch/arm/kernel/ |
D | devtree.c | 89 u32 hwid; in arm_dt_init_cpu_maps() local 109 hwid = be32_to_cpu(*cell++); in arm_dt_init_cpu_maps() 111 } while (!hwid && prop_bytes > 0); in arm_dt_init_cpu_maps() 113 if (prop_bytes || (hwid & ~MPIDR_HWID_BITMASK)) { in arm_dt_init_cpu_maps() 126 if (WARN(tmp_map[j] == hwid, in arm_dt_init_cpu_maps() 141 if (hwid == mpidr) { in arm_dt_init_cpu_maps() 156 tmp_map[i] = hwid; in arm_dt_init_cpu_maps()
|
/Linux-v5.4/include/net/ |
D | erspan.h | 129 static inline void set_hwid(struct erspan_md2 *md2, u8 hwid) in set_hwid() argument 131 md2->hwid = hwid & 0xf; in set_hwid() 132 md2->hwid_upper = (hwid >> 4) & 0x3; in set_hwid() 137 return (md2->hwid_upper << 4) + md2->hwid; in get_hwid() 250 u32 id, u8 direction, u16 hwid, in erspan_build_header_v2() argument 300 set_hwid(md2, hwid); in erspan_build_header_v2()
|
D | ip6_tunnel.h | 42 __u16 hwid; /* hwid */ member
|
/Linux-v5.4/include/uapi/linux/ |
D | erspan.h | 30 hwid:4; member 35 __u8 hwid:4, member
|
/Linux-v5.4/tools/include/uapi/linux/ |
D | erspan.h | 30 hwid:4; member 35 __u8 hwid:4, member
|
/Linux-v5.4/tools/testing/selftests/bpf/progs/ |
D | test_tunnel_kern.c | 155 __u8 hwid = 7; in _erspan_set_tunnel() local 159 md.u.md2.hwid = hwid & 0xf; in _erspan_set_tunnel() 160 md.u.md2.hwid_upper = (hwid >> 4) & 0x3; in _erspan_set_tunnel() 206 (md.u.md2.hwid_upper << 4) + md.u.md2.hwid, in _erspan_get_tunnel() 240 __u8 hwid = 17; in _ip4ip6erspan_set_tunnel() local 244 md.u.md2.hwid = hwid & 0xf; in _ip4ip6erspan_set_tunnel() 245 md.u.md2.hwid_upper = (hwid >> 4) & 0x3; in _ip4ip6erspan_set_tunnel() 292 (md.u.md2.hwid_upper << 4) + md.u.md2.hwid, in _ip4ip6erspan_get_tunnel()
|
/Linux-v5.4/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-v5.4/drivers/pwm/ |
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-v5.4/arch/ia64/kernel/ |
D | irq.c | 56 void set_irq_affinity_info (unsigned int irq, int hwid, int redir) in set_irq_affinity_info() argument 60 cpumask_of(cpu_logical_id(hwid))); in set_irq_affinity_info()
|
/Linux-v5.4/drivers/mfd/ |
D | madera-core.c | 432 unsigned int hwid; in madera_dev_init() local 537 ret = regmap_read(madera->regmap, MADERA_SOFTWARE_RESET, &hwid); in madera_dev_init() 543 switch (hwid) { in madera_dev_init() 614 dev_err(madera->dev, "Unknown device ID: %x\n", hwid); in madera_dev_init() 620 dev_err(madera->dev, "Device ID 0x%x not a %s\n", hwid, in madera_dev_init()
|
/Linux-v5.4/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-v5.4/arch/x86/include/asm/ |
D | mce.h | 315 #define HWID_MCATYPE(hwid, mcatype) (((hwid) << 16) | (mcatype)) argument 325 struct smca_hwid *hwid; member
|
/Linux-v5.4/drivers/edac/ |
D | mce_amd.c | 948 struct smca_hwid *hwid; in decode_smca_error() local 956 hwid = smca_banks[m->bank].hwid; in decode_smca_error() 957 if (!hwid) in decode_smca_error() 960 bank_type = hwid->bank_type; in decode_smca_error() 973 (hwid->xec_bitmap & BIT_ULL(xec))) { in decode_smca_error()
|
/Linux-v5.4/drivers/acpi/ |
D | bus.c | 704 struct acpi_hardware_id *hwid) in __acpi_match_device_cls() argument 720 if (strncmp(buf, &hwid->id[(i - 1) * 2], 2)) in __acpi_match_device_cls() 733 struct acpi_hardware_id *hwid; in __acpi_match_device() local 742 list_for_each_entry(hwid, &device->pnp.ids, list) { in __acpi_match_device() 746 if (id->id[0] && !strcmp((char *)id->id, hwid->id)) in __acpi_match_device() 748 if (id->cls && __acpi_match_device_cls(id, hwid)) in __acpi_match_device() 757 if (!strcmp(ACPI_DT_NAMESPACE_HID, hwid->id)) in __acpi_match_device()
|
D | scan.c | 1079 struct acpi_hardware_id *hwid; in acpi_device_is_battery() local 1081 list_for_each_entry(hwid, &adev->pnp.ids, list) in acpi_device_is_battery() 1082 if (!strcmp("PNP0C0A", hwid->id)) in acpi_device_is_battery() 1780 struct acpi_hardware_id *hwid; in acpi_scan_init_hotplug() local 1786 list_for_each_entry(hwid, &adev->pnp.ids, list) { in acpi_scan_init_hotplug() 1789 handler = acpi_scan_match_handler(hwid->id, NULL); in acpi_scan_init_hotplug() 1927 struct acpi_hardware_id *hwid; in acpi_scan_attach_handler() local 1930 list_for_each_entry(hwid, &device->pnp.ids, list) { in acpi_scan_attach_handler() 1934 handler = acpi_scan_match_handler(hwid->id, &devid); in acpi_scan_attach_handler()
|
D | property.c | 384 struct acpi_hardware_id *hwid; in acpi_init_properties() local 398 list_for_each_entry(hwid, &adev->pnp.ids, list) { in acpi_init_properties() 399 if (!strcmp(hwid->id, ACPI_DT_NAMESPACE_HID)) { in acpi_init_properties()
|
/Linux-v5.4/arch/openrisc/kernel/ |
D | setup.c | 153 u32 hwid; in setup_find_cpu_node() local 157 if (of_property_read_u32(cpun, "reg", &hwid)) in setup_find_cpu_node() 159 if (hwid == cpu) in setup_find_cpu_node()
|
/Linux-v5.4/drivers/iio/pressure/ |
D | zpa2326.h | 64 unsigned int hwid,
|
/Linux-v5.4/drivers/media/pci/ddbridge/ |
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-v5.4/net/netfilter/ |
D | nft_tunnel.c | 260 uint8_t hwid, dir; in nft_tunnel_obj_erspan_init() local 283 hwid = nla_get_u8(tb[NFTA_TUNNEL_KEY_ERSPAN_V2_HWID]); in nft_tunnel_obj_erspan_init() 286 set_hwid(&opts->u.erspan.u.md2, hwid); in nft_tunnel_obj_erspan_init()
|
/Linux-v5.4/arch/x86/kernel/cpu/mce/ |
D | amd.c | 127 if (!b->hwid) in smca_get_bank_type() 130 return b->hwid->bank_type; in smca_get_bank_type() 269 if (smca_banks[bank].hwid) in smca_configure() 283 smca_banks[bank].hwid = s_hwid; in smca_configure() 1190 if (smca_banks[bank].hwid->count == 1) in get_name()
|
/Linux-v5.4/net/ipv6/ |
D | ip6_gre.c | 1028 t->parms.hwid, in ip6erspan_tunnel_xmit() 1175 t->parms.hwid = p->hwid; in ip6gre_tnl_copy_tnl_parm() 1714 u16 hwid = nla_get_u16(data[IFLA_GRE_ERSPAN_HWID]); in ip6erspan_tap_validate() local 1716 if (hwid & ~(HWID_MASK >> HWID_OFFSET)) in ip6erspan_tap_validate() 1741 parms->hwid = nla_get_u16(data[IFLA_GRE_ERSPAN_HWID]); in ip6erspan_set_version() 2125 if (nla_put_u16(skb, IFLA_GRE_ERSPAN_HWID, p->hwid)) in ip6gre_fill_info()
|