| /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 | 56 static u32 sprd_pwm_read(struct sprd_pwm_chip *spc, u32 hwid, u32 reg) in sprd_pwm_read() argument 58 u32 offset = reg + (hwid << SPRD_PWM_REGS_SHIFT); in sprd_pwm_read() 63 static void sprd_pwm_write(struct sprd_pwm_chip *spc, u32 hwid, in sprd_pwm_write() argument 66 u32 offset = reg + (hwid << SPRD_PWM_REGS_SHIFT); in sprd_pwm_write()
|
| /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
|
| /linux/drivers/gpu/drm/amd/ras/rascore/ |
| H A D | ras_aca_v1_0.c | 30 int hwid; member 47 info->hwid = ACA_REG_IPID_HARDWAREID(ipid); in aca_decode_bank_info() 70 int hwid, mcatype; in aca_check_bank_hwip() local 77 if (!hwip->hwid) in aca_check_bank_hwip() 81 hwid = ACA_REG_IPID_HARDWAREID(ipid); in aca_check_bank_hwip() 84 return hwip->hwid == hwid && hwip->mcatype == mcatype; in aca_check_bank_hwip()
|
| /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/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/tools/testing/selftests/bpf/progs/ |
| H A D | test_tunnel_kern.c | 185 __u8 hwid = 7; in erspan_set_tunnel() local 189 BPF_CORE_WRITE_BITFIELD(&md.u.md2, hwid, (hwid & 0xf)); in erspan_set_tunnel() 190 BPF_CORE_WRITE_BITFIELD(&md.u.md2, hwid_upper, (hwid >> 4) & 0x3); in erspan_set_tunnel() 231 BPF_CORE_READ_BITFIELD(&md.u.md2, hwid), in erspan_get_tunnel() 265 __u8 hwid = 17; in ip4ip6erspan_set_tunnel() local 269 BPF_CORE_WRITE_BITFIELD(&md.u.md2, hwid, (hwid & 0xf)); in ip4ip6erspan_set_tunnel() 270 BPF_CORE_WRITE_BITFIELD(&md.u.md2, hwid_upper, (hwid >> 4) & 0x3); in ip4ip6erspan_set_tunnel() 312 BPF_CORE_READ_BITFIELD(&md.u.md2, hwid), in ip4ip6erspan_get_tunnel()
|
| /linux/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} argument 138 int hwid, mcatype; in aca_bank_hwip_is_matched() local 145 if (!hwip->hwid) in aca_bank_hwip_is_matched() 149 hwid = ACA_REG__IPID__HARDWAREID(ipid); in aca_bank_hwip_is_matched() 152 return hwip->hwid == hwid && hwip->mcatype == mcatype; in aca_bank_hwip_is_matched() 822 info->hwid = ACA_REG__IPID__HARDWAREID(ipid); in aca_bank_info_decode() 904 idx, info.socket_id, info.die_id, info.hwid, info.mcatype); in aca_dump_entry()
|
| H A D | umc_v12_0.c | 528 uint16_t hwid, mcatype; in umc_v12_0_update_ecc_status() local 536 hwid = REG_GET_FIELD(ipid, MCMP1_IPIDT0, HardwareID); in umc_v12_0_update_ecc_status() 540 if (hwid != MCA_UMC_HWID_V12_0 || mcatype != MCA_UMC_MCATYPE_V12_0) { in umc_v12_0_update_ecc_status()
|
| H A D | amdgpu_mca.h | 111 int hwid; member
|
| /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/arch/powerpc/kernel/ |
| H A D | setup-common.c | 420 __be32 hwid; in assign_threads() local 422 hwid = be32_to_cpu(hw_ids[i]); in assign_threads() 424 DBG(" thread %d -> cpu %d (hard id %d)\n", i, cpu, hwid); in assign_threads() 428 cpu_to_phys_id[cpu] = hwid; in assign_threads()
|
| /linux/arch/x86/kernel/cpu/mce/ |
| H A D | amd.c | 79 #define HWID_MCATYPE(hwid, mcatype) (((hwid) << 16) | (mcatype)) argument 87 const struct smca_hwid *hwid; member 149 if (!b->hwid) in smca_get_bank_type() 152 return b->hwid->bank_type; in smca_get_bank_type() 350 this_cpu_ptr(smca_banks)[bank].hwid = s_hwid; in smca_configure()
|
| /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/drivers/media/pci/ddbridge/ |
| H A 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()
|
| H A D | ddbridge.h | 91 u32 hwid; member
|
| /linux/drivers/acpi/ |
| H A D | scan.c | 1240 struct acpi_hardware_id *hwid; in acpi_device_is_battery() local 1242 list_for_each_entry(hwid, &adev->pnp.ids, list) in acpi_device_is_battery() 1243 if (!strcmp("PNP0C0A", hwid->id)) in acpi_device_is_battery() 2052 struct acpi_hardware_id *hwid; in acpi_scan_init_hotplug() local 2058 list_for_each_entry(hwid, &adev->pnp.ids, list) { in acpi_scan_init_hotplug() 2061 handler = acpi_scan_match_handler(hwid->id, NULL); in acpi_scan_init_hotplug() 2309 struct acpi_hardware_id *hwid; in acpi_scan_attach_handler() local 2312 list_for_each_entry(hwid, &device->pnp.ids, list) { in acpi_scan_attach_handler() 2316 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/net/netfilter/ |
| H A D | nft_tunnel.c | 291 uint8_t hwid, dir; in nft_tunnel_obj_erspan_init() local 317 hwid = nla_get_u8(tb[NFTA_TUNNEL_KEY_ERSPAN_V2_HWID]); in nft_tunnel_obj_erspan_init() 320 set_hwid(&opts->u.erspan.u.md2, hwid); in nft_tunnel_obj_erspan_init()
|
| /linux/net/ipv6/ |
| H A D | ip6_gre.c | 1042 t->parms.hwid, in ip6erspan_tunnel_xmit() 1206 t->parms.hwid = p->hwid; in ip6gre_tnl_copy_tnl_parm() 1728 u16 hwid = nla_get_u16(data[IFLA_GRE_ERSPAN_HWID]); in ip6erspan_tap_validate() local 1730 if (hwid & ~(HWID_MASK >> HWID_OFFSET)) in ip6erspan_tap_validate() 1755 parms->hwid = nla_get_u16(data[IFLA_GRE_ERSPAN_HWID]); in ip6erspan_set_version() 2133 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)
|