Home
last modified time | relevance | path

Searched refs:hwid (Results 1 – 13 of 13) sorted by relevance

/drivers/clk/
Dclk-s2mps11.c143 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/
Dbus.c671 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()
Dscan.c1084 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()
Dproperty.c268 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/
Dcommon.h572 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()
Ddwmac4_core.c412 u32 hwid = readl(ioaddr + GMAC_VERSION); in dwmac4_setup() local
435 *synopsys_id = stmmac_get_synopsys_id(hwid); in dwmac4_setup()
Ddwmac1000_core.c519 u32 hwid = readl(ioaddr + GMAC_VERSION); in dwmac1000_setup() local
543 *synopsys_id = stmmac_get_synopsys_id(hwid); in dwmac1000_setup()
/drivers/iio/pressure/
Dzpa2326.h72 unsigned int hwid,
Dzpa2326.c1633 unsigned int hwid, in zpa2326_probe() argument
1689 if (id != hwid) { in zpa2326_probe()
/drivers/irqchip/
Dirq-gic-v3.c995 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/
Dbase.c349 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/
Dmxser.c493 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/
Dhfcmulti.c233 static uint hwid = HWID_NONE; variable
252 module_param(hwid, uint, S_IRUGO | S_IWUSR); /* The hardware ID */
5545 switch (hwid) { in HFCmulti_init()