| /linux/drivers/pwm/ |
| H A D | pwm-ab8500.c | 27 unsigned int hwid; member 96 1 << ab8500->hwid, 0); in ab8500_pwm_apply() 115 reg = AB8500_PWM_OUT_CTRL1_REG + (ab8500->hwid * 2); in ab8500_pwm_apply() 130 1 << ab8500->hwid, 1 << ab8500->hwid); in ab8500_pwm_apply() 154 if (!(ctrl7 & 1 << ab8500->hwid)) { in ab8500_pwm_get_state() 160 AB8500_PWM_OUT_CTRL1_REG + (ab8500->hwid * 2), in ab8500_pwm_get_state() 166 AB8500_PWM_OUT_CTRL2_REG + (ab8500->hwid * 2), in ab8500_pwm_get_state() 205 ab8500->hwid = pdev->id - 1; in ab8500_pwm_probe()
|
| H A D | pwm-sprd.c | 55 static u32 sprd_pwm_read(struct sprd_pwm_chip *spc, u32 hwid, u32 reg) in sprd_pwm_read() argument 57 u32 offset = reg + (hwid << SPRD_PWM_REGS_SHIFT); in sprd_pwm_read() 62 static void sprd_pwm_write(struct sprd_pwm_chip *spc, u32 hwid, in sprd_pwm_write() argument 65 u32 offset = reg + (hwid << SPRD_PWM_REGS_SHIFT); in sprd_pwm_write()
|
| /linux/arch/arm64/kernel/ |
| H A D | smp.c | 476 static bool __init is_mpidr_duplicate(unsigned int cpu, u64 hwid) in is_mpidr_duplicate() argument 481 if (cpu_logical_map(i) == hwid) in is_mpidr_duplicate() 575 u64 hwid = processor->arm_mpidr; in acpi_map_gic_cpu_interface() local 579 pr_debug("skipping disabled CPU entry with 0x%llx MPIDR\n", hwid); in acpi_map_gic_cpu_interface() 583 if (hwid & ~MPIDR_HWID_BITMASK || hwid == INVALID_HWID) { in acpi_map_gic_cpu_interface() 584 pr_err("skipping CPU entry with invalid MPIDR 0x%llx\n", hwid); in acpi_map_gic_cpu_interface() 588 if (is_mpidr_duplicate(cpu_count, hwid)) { in acpi_map_gic_cpu_interface() 589 pr_err("duplicate CPU MPIDR 0x%llx in MADT\n", hwid); in acpi_map_gic_cpu_interface() 594 if (cpu_logical_map(0) == hwid) { in acpi_map_gic_cpu_interface() 597 hwid); in acpi_map_gic_cpu_interface() [all …]
|
| /linux/include/net/ |
| H A 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()
|
| H A D | ip6_tunnel.h | 42 __u16 hwid; /* hwid */ member
|
| H A D | ip_tunnels.h | 175 u16 hwid; /* ERSPAN hardware ID */ member
|
| /linux/tools/include/uapi/linux/ |
| H A D | erspan.h | 30 hwid:4; member 35 __u8 hwid:4, member
|
| /linux/include/uapi/linux/ |
| H A D | erspan.h | 30 hwid:4; member 35 __u8 hwid:4, member
|
| /linux/drivers/input/touchscreen/ |
| H A D | bu21029_ts.c | 268 __be16 hwid; in bu21029_start_chip() local 283 sizeof(hwid), (u8 *)&hwid); in bu21029_start_chip() 289 if (be16_to_cpu(hwid) != SUPPORTED_HWID) { in bu21029_start_chip() 291 "unsupported HW ID 0x%x\n", be16_to_cpu(hwid)); in bu21029_start_chip()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_tunnel_kern.c | 184 __u8 hwid = 7; in erspan_set_tunnel() 188 BPF_CORE_WRITE_BITFIELD(&md.u.md2, hwid, (hwid & 0xf)); in erspan_set_tunnel() 189 BPF_CORE_WRITE_BITFIELD(&md.u.md2, hwid_upper, (hwid >> 4) & 0x3); in erspan_set_tunnel() 227 bpf_printk("\tdirection %d hwid %x timestamp %u\n", in erspan_get_tunnel() 230 BPF_CORE_READ_BITFIELD(&md.u.md2, hwid), in erspan_get_tunnel() 264 __u8 hwid = 17; in ip4ip6erspan_set_tunnel() 268 BPF_CORE_WRITE_BITFIELD(&md.u.md2, hwid, (hwid & 0xf)); in ip4ip6erspan_set_tunnel() 269 BPF_CORE_WRITE_BITFIELD(&md.u.md2, hwid_upper, (hwid >> in ip4ip6erspan_set_tunnel() 185 __u8 hwid = 7; erspan_set_tunnel() local 265 __u8 hwid = 17; ip4ip6erspan_set_tunnel() local [all...] |
| /linux/drivers/clk/ |
| H A D | clk-s2mps11.c | 128 enum sec_device_type hwid = platform_get_device_id(pdev)->driver_data; in s2mps11_clk_probe() local 143 switch (hwid) { in s2mps11_clk_probe() 170 if (i == S2MPS11_CLK_CP && hwid == S2MPS14X) in s2mps11_clk_probe()
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | mobility.c | 496 int hwid; in prod_single() local 498 hwid = get_hard_smp_processor_id(target_cpu); in prod_single() 499 hvrc = plpar_hcall_norets(H_PROD, hwid); in prod_single() 503 target_cpu, hwid, hvrc); in prod_single()
|
| /linux/drivers/acpi/ |
| H A D | bus.c | 976 struct acpi_hardware_id *hwid) in __acpi_match_device_cls() argument 992 if (strncmp(buf, &hwid->id[(i - 1) * 2], 2)) in __acpi_match_device_cls() 1005 struct acpi_hardware_id *hwid; in __acpi_match_device() local 1014 list_for_each_entry(hwid, &device->pnp.ids, list) { in __acpi_match_device() 1018 if (id->id[0] && !strcmp((char *)id->id, hwid->id)) in __acpi_match_device() 1020 if (id->cls && __acpi_match_device_cls(id, hwid)) in __acpi_match_device() 1029 if (!strcmp(ACPI_DT_NAMESPACE_HID, hwid->id)) in __acpi_match_device()
|
| H A D | scan.c | 1242 struct acpi_hardware_id *hwid; in acpi_device_is_battery() local 1244 list_for_each_entry(hwid, &adev->pnp.ids, list) in acpi_device_is_battery() 1245 if (!strcmp("PNP0C0A", hwid->id)) in acpi_device_is_battery() 2056 struct acpi_hardware_id *hwid; in acpi_scan_init_hotplug() local 2062 list_for_each_entry(hwid, &adev->pnp.ids, list) { in acpi_scan_init_hotplug() 2065 handler = acpi_scan_match_handler(hwid->id, NULL); in acpi_scan_init_hotplug() 2311 struct acpi_hardware_id *hwid; in acpi_scan_attach_handler() local 2314 list_for_each_entry(hwid, &device->pnp.ids, list) { in acpi_scan_attach_handler() 2318 handler = acpi_scan_match_handler(hwid->id, &devid); in acpi_scan_attach_handler()
|
| H A D | property.c | 588 struct acpi_hardware_id *hwid; in acpi_init_properties() local 602 list_for_each_entry(hwid, &adev->pnp.ids, list) { in acpi_init_properties() 603 if (!strcmp(hwid->id, ACPI_DT_NAMESPACE_HID)) { in acpi_init_properties()
|
| /linux/drivers/iio/pressure/ |
| H A D | zpa2326.h | 64 unsigned int hwid,
|
| /linux/drivers/clk/qcom/ |
| H A D | clk-cpu-8996.c | 519 u64 hwid; in qcom_cpu_clk_msm8996_acd_init() local 535 hwid = read_cpuid_mpidr(); in qcom_cpu_clk_msm8996_acd_init() 536 if ((hwid & CPU_CLUSTER_AFFINITY_MASK) == PWRCL_AFFINITY_MASK) in qcom_cpu_clk_msm8996_acd_init()
|
| /linux/net/ipv6/ |
| H A D | ip6_gre.c | 1042 t->parms.hwid, in ip6erspan_tunnel_xmit() 1204 t->parms.hwid = p->hwid; in ip6gre_tnl_copy_tnl_parm() 1726 u16 hwid = nla_get_u16(data[IFLA_GRE_ERSPAN_HWID]); in ip6erspan_tap_validate() local 1728 if (hwid & ~(HWID_MASK >> HWID_OFFSET)) in ip6erspan_tap_validate() 1753 parms->hwid = nla_get_u16(data[IFLA_GRE_ERSPAN_HWID]); in ip6erspan_set_version() 2134 if (nla_put_u16(skb, IFLA_GRE_ERSPAN_HWID, p->hwid)) in ip6gre_fill_info()
|
| /linux/drivers/platform/chrome/ |
| H A D | chromeos_acpi.c | 201 DEV_ATTR(hwid, HWID)
|
| /linux/net/ipv4/ |
| H A D | ip_gre.c | 744 tunnel->dir, tunnel->hwid, in erspan_xmit() 1290 t->hwid = nla_get_u16(data[IFLA_GRE_ERSPAN_HWID]); in erspan_netlink_parms() 1291 if (t->hwid & ~(HWID_MASK >> HWID_OFFSET)) in erspan_netlink_parms() 1630 if (nla_put_u16(skb, IFLA_GRE_ERSPAN_HWID, t->hwid)) in erspan_fill_info()
|
| /linux/sound/soc/codecs/ |
| H A D | cs48l32.c | 3887 unsigned int hwid, rev, otp_rev; 3956 ret = regmap_read(cs48l32->regmap, CS48L32_DEVID, &hwid); in cs48l32_spi_probe() 3961 hwid &= CS48L32_DEVID_MASK; in cs48l32_spi_probe() 3963 switch (hwid) { in cs48l32_spi_probe() 3968 dev_err_probe(cs48l32->dev, ret, "Unknown device ID: %#x\n", hwid); in cs48l32_spi_probe() 3986 dev_info(dev, "CS48L%x revision %X%u OTP%u\n", hwid & 0xff, in cs48l32_spi_probe() 3893 unsigned int hwid, rev, otp_rev; cs48l32_spi_probe() local
|