/drivers/pwm/ |
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()
|
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()
|
/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()
|
/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()
|
/drivers/mfd/ |
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()
|
/drivers/clk/qcom/ |
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()
|
/drivers/acpi/ |
D | bus.c | 801 struct acpi_hardware_id *hwid) in __acpi_match_device_cls() argument 817 if (strncmp(buf, &hwid->id[(i - 1) * 2], 2)) in __acpi_match_device_cls() 830 struct acpi_hardware_id *hwid; in __acpi_match_device() local 839 list_for_each_entry(hwid, &device->pnp.ids, list) { in __acpi_match_device() 843 if (id->id[0] && !strcmp((char *)id->id, hwid->id)) in __acpi_match_device() 845 if (id->cls && __acpi_match_device_cls(id, hwid)) in __acpi_match_device() 854 if (!strcmp(ACPI_DT_NAMESPACE_HID, hwid->id)) in __acpi_match_device()
|
D | scan.c | 1166 struct acpi_hardware_id *hwid; in acpi_device_is_battery() local 1168 list_for_each_entry(hwid, &adev->pnp.ids, list) in acpi_device_is_battery() 1169 if (!strcmp("PNP0C0A", hwid->id)) in acpi_device_is_battery() 1935 struct acpi_hardware_id *hwid; in acpi_scan_init_hotplug() local 1941 list_for_each_entry(hwid, &adev->pnp.ids, list) { in acpi_scan_init_hotplug() 1944 handler = acpi_scan_match_handler(hwid->id, NULL); in acpi_scan_init_hotplug() 2125 struct acpi_hardware_id *hwid; in acpi_scan_attach_handler() local 2128 list_for_each_entry(hwid, &device->pnp.ids, list) { in acpi_scan_attach_handler() 2132 handler = acpi_scan_match_handler(hwid->id, &devid); in acpi_scan_attach_handler()
|
D | property.c | 387 struct acpi_hardware_id *hwid; in acpi_init_properties() local 401 list_for_each_entry(hwid, &adev->pnp.ids, list) { in acpi_init_properties() 402 if (!strcmp(hwid->id, ACPI_DT_NAMESPACE_HID)) { in acpi_init_properties()
|
/drivers/edac/ |
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()
|
/drivers/tty/ |
D | mxser.c | 379 u8 oldmcr, hwid; in mxser_must_get_hwid() local 387 if ((hwid = inb(io + UART_MCR)) != 0) { in mxser_must_get_hwid() 392 hwid = mxser_get_must_hardware_id(io); in mxser_must_get_hwid() 394 if (hwid == Gpci_uart_info[i].type) in mxser_must_get_hwid() 395 return hwid; in mxser_must_get_hwid() 1546 enum mxser_must_hwid hwid = port->board->must_hwid; in mxser_receive_chars_new() local 1549 if (hwid == MOXA_OTHER_UART) in mxser_receive_chars_new() 1553 if (hwid == MOXA_MUST_MU860_HWID && (status & MOXA_MUST_LSR_RERR)) in mxser_receive_chars_new() 1559 if (hwid == MOXA_MUST_MU150_HWID) in mxser_receive_chars_new() 1576 enum mxser_must_hwid hwid = port->board->must_hwid; in mxser_receive_chars_old() local [all …]
|
/drivers/iio/pressure/ |
D | zpa2326.h | 64 unsigned int hwid,
|
D | zpa2326.c | 1610 unsigned int hwid, in zpa2326_probe() argument 1666 if (id != hwid) { in zpa2326_probe()
|
/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()
|
D | ddbridge.h | 100 u32 hwid; member
|
D | ddbridge-core.c | 1468 if ((devids->hwid & 0x00ffffff) >= 0x00010007) in dvb_input_attach() 3014 dev->link[0].ids.hwid, dev->link[0].ids.regmapid); in version_show() 3022 return sprintf(buf, "0x%08X\n", dev->link[0].ids.hwid); in hwid_show() 3083 __ATTR_RO(hwid),
|
/drivers/of/ |
D | base.c | 319 u64 hwid; in __of_find_n_match_cpu_property() local 329 hwid = of_read_number(cell, ac); in __of_find_n_match_cpu_property() 330 if (arch_match_cpu_phys_id(cpu, hwid)) { in __of_find_n_match_cpu_property()
|
/drivers/isdn/hardware/mISDN/ |
D | hfcmulti.c | 219 static uint hwid = HWID_NONE; variable 238 module_param(hwid, uint, S_IRUGO | S_IWUSR); /* The hardware ID */ 5529 switch (hwid) { in HFCmulti_init()
|