Searched refs:hwid (Results 1 – 13 of 13) sorted by relevance
/drivers/clk/ |
D | clk-s2mps11.c | 143 enum sec_device_type hwid = platform_get_device_id(pdev)->driver_data; in s2mps11_clk_probe() local 156 switch (hwid) { in s2mps11_clk_probe() 180 if (i == S2MPS11_CLK_CP && hwid == S2MPS14X) in s2mps11_clk_probe()
|
/drivers/acpi/ |
D | bus.c | 671 struct acpi_hardware_id *hwid) in __acpi_match_device_cls() argument 687 if (strncmp(buf, &hwid->id[(i - 1) * 2], 2)) in __acpi_match_device_cls() 699 struct acpi_hardware_id *hwid; in __acpi_match_device() local 708 list_for_each_entry(hwid, &device->pnp.ids, list) { in __acpi_match_device() 711 if (id->id[0] && !strcmp((char *) id->id, hwid->id)) in __acpi_match_device() 713 else if (id->cls && __acpi_match_device_cls(id, hwid)) in __acpi_match_device() 725 if (!strcmp(ACPI_DT_NAMESPACE_HID, hwid->id) in __acpi_match_device()
|
D | scan.c | 1084 struct acpi_hardware_id *hwid; in acpi_device_is_battery() local 1086 list_for_each_entry(hwid, &adev->pnp.ids, list) in acpi_device_is_battery() 1087 if (!strcmp("PNP0C0A", hwid->id)) in acpi_device_is_battery() 1600 struct acpi_hardware_id *hwid; in acpi_scan_init_hotplug() local 1606 list_for_each_entry(hwid, &adev->pnp.ids, list) { in acpi_scan_init_hotplug() 1609 handler = acpi_scan_match_handler(hwid->id, NULL); in acpi_scan_init_hotplug() 1770 struct acpi_hardware_id *hwid; in acpi_scan_attach_handler() local 1773 list_for_each_entry(hwid, &device->pnp.ids, list) { in acpi_scan_attach_handler() 1777 handler = acpi_scan_match_handler(hwid->id, &devid); in acpi_scan_attach_handler()
|
D | property.c | 268 struct acpi_hardware_id *hwid; in acpi_init_properties() local 278 list_for_each_entry(hwid, &adev->pnp.ids, list) { in acpi_init_properties() 279 if (!strcmp(hwid->id, ACPI_DT_NAMESPACE_HID)) { in acpi_init_properties()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | common.h | 572 static inline u32 stmmac_get_synopsys_id(u32 hwid) in stmmac_get_synopsys_id() argument 575 if (likely(hwid)) { in stmmac_get_synopsys_id() 576 u32 uid = ((hwid & 0x0000ff00) >> 8); in stmmac_get_synopsys_id() 577 u32 synid = (hwid & 0x000000ff); in stmmac_get_synopsys_id()
|
D | dwmac4_core.c | 412 u32 hwid = readl(ioaddr + GMAC_VERSION); in dwmac4_setup() local 435 *synopsys_id = stmmac_get_synopsys_id(hwid); in dwmac4_setup()
|
D | dwmac1000_core.c | 519 u32 hwid = readl(ioaddr + GMAC_VERSION); in dwmac1000_setup() local 543 *synopsys_id = stmmac_get_synopsys_id(hwid); in dwmac1000_setup()
|
/drivers/iio/pressure/ |
D | zpa2326.h | 72 unsigned int hwid,
|
D | zpa2326.c | 1633 unsigned int hwid, in zpa2326_probe() argument 1689 if (id != hwid) { in zpa2326_probe()
|
/drivers/irqchip/ |
D | irq-gic-v3.c | 995 u64 hwid; in get_cpu_number() local 1002 hwid = of_read_number(cell, of_n_addr_cells(dn)); in get_cpu_number() 1007 if (hwid & ~MPIDR_HWID_BITMASK) in get_cpu_number() 1011 if (cpu_logical_map(i) == hwid) in get_cpu_number()
|
/drivers/of/ |
D | base.c | 349 u64 hwid; in __of_find_n_match_cpu_property() local 357 hwid = of_read_number(cell, ac); in __of_find_n_match_cpu_property() 358 if (arch_match_cpu_phys_id(cpu, hwid)) { in __of_find_n_match_cpu_property()
|
/drivers/tty/ |
D | mxser.c | 493 u8 oldmcr, hwid; in CheckIsMoxaMust() local 501 if ((hwid = inb(io + UART_MCR)) != 0) { in CheckIsMoxaMust() 506 mxser_get_must_hardware_id(io, &hwid); in CheckIsMoxaMust() 508 if (hwid == Gpci_uart_info[i].type) in CheckIsMoxaMust() 509 return (int)hwid; in CheckIsMoxaMust()
|
/drivers/isdn/hardware/mISDN/ |
D | hfcmulti.c | 233 static uint hwid = HWID_NONE; variable 252 module_param(hwid, uint, S_IRUGO | S_IWUSR); /* The hardware ID */ 5545 switch (hwid) { in HFCmulti_init()
|