/linux-4.4.14/arch/arm64/kernel/ |
D | smp.c | 344 u64 hwid; in of_get_cpu_mpidr() local 357 hwid = of_read_number(cell, of_n_addr_cells(dn)); in of_get_cpu_mpidr() 361 if (hwid & ~MPIDR_HWID_BITMASK) { in of_get_cpu_mpidr() 365 return hwid; in of_get_cpu_mpidr() 374 static bool __init is_mpidr_duplicate(unsigned int cpu, u64 hwid) in is_mpidr_duplicate() argument 379 if (cpu_logical_map(i) == hwid) in is_mpidr_duplicate() 414 u64 hwid = processor->arm_mpidr; in acpi_map_gic_cpu_interface() local 417 pr_debug("skipping disabled CPU entry with 0x%llx MPIDR\n", hwid); in acpi_map_gic_cpu_interface() 421 if (hwid & ~MPIDR_HWID_BITMASK || hwid == INVALID_HWID) { in acpi_map_gic_cpu_interface() 422 pr_err("skipping CPU entry with invalid MPIDR 0x%llx\n", hwid); in acpi_map_gic_cpu_interface() [all …]
|
/linux-4.4.14/arch/arm/mach-imx/devices/ |
D | platform-sdhci-esdhc-imx.c | 14 #define imx_sdhci_esdhc_imx_data_entry_single(soc, _devid, _id, hwid) \ argument 18 .iobase = soc ## _ESDHC ## hwid ## _BASE_ADDR, \ 19 .irq = soc ## _INT_ESDHC ## hwid, \ 22 #define imx_sdhci_esdhc_imx_data_entry(soc, devid, id, hwid) \ argument 23 [id] = imx_sdhci_esdhc_imx_data_entry_single(soc, devid, id, hwid)
|
D | platform-spi_imx.c | 12 #define imx_spi_imx_data_entry_single(soc, type, _devid, _id, hwid, _size) \ argument 16 .iobase = soc ## _ ## type ## hwid ## _BASE_ADDR, \ 18 .irq = soc ## _INT_ ## type ## hwid, \ 21 #define imx_spi_imx_data_entry(soc, type, devid, id, hwid, size) \ argument 22 [id] = imx_spi_imx_data_entry_single(soc, type, devid, id, hwid, size)
|
/linux-4.4.14/arch/arm/kernel/ |
D | devtree.c | 90 u32 hwid; in arm_dt_init_cpu_maps() local 101 if (of_property_read_u32(cpu, "reg", &hwid)) { in arm_dt_init_cpu_maps() 112 if (hwid & ~MPIDR_HWID_BITMASK) { in arm_dt_init_cpu_maps() 125 if (WARN(tmp_map[j] == hwid, in arm_dt_init_cpu_maps() 140 if (hwid == mpidr) { in arm_dt_init_cpu_maps() 155 tmp_map[i] = hwid; in arm_dt_init_cpu_maps()
|
/linux-4.4.14/arch/ia64/kernel/ |
D | irq.c | 67 void set_irq_affinity_info (unsigned int irq, int hwid, int redir) in set_irq_affinity_info() argument 71 cpumask_of(cpu_logical_id(hwid))); in set_irq_affinity_info()
|
/linux-4.4.14/drivers/acpi/ |
D | bus.c | 595 struct acpi_hardware_id *hwid) in __acpi_match_device_cls() argument 611 if (strncmp(buf, &hwid->id[(i - 1) * 2], 2)) in __acpi_match_device_cls() 623 struct acpi_hardware_id *hwid; in __acpi_match_device() local 632 list_for_each_entry(hwid, &device->pnp.ids, list) { in __acpi_match_device() 635 if (id->id[0] && !strcmp((char *) id->id, hwid->id)) in __acpi_match_device() 637 else if (id->cls && __acpi_match_device_cls(id, hwid)) in __acpi_match_device() 649 if (!strcmp(ACPI_DT_NAMESPACE_HID, hwid->id) in __acpi_match_device()
|
D | scan.c | 1064 struct acpi_hardware_id *hwid; in acpi_device_is_battery() local 1066 list_for_each_entry(hwid, &adev->pnp.ids, list) in acpi_device_is_battery() 1067 if (!strcmp("PNP0C0A", hwid->id)) in acpi_device_is_battery() 1542 struct acpi_hardware_id *hwid; in acpi_scan_init_hotplug() local 1548 list_for_each_entry(hwid, &adev->pnp.ids, list) { in acpi_scan_init_hotplug() 1551 handler = acpi_scan_match_handler(hwid->id, NULL); in acpi_scan_init_hotplug() 1707 struct acpi_hardware_id *hwid; in acpi_scan_attach_handler() local 1710 list_for_each_entry(hwid, &device->pnp.ids, list) { in acpi_scan_attach_handler() 1714 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()
|
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac1000_core.c | 422 u32 hwid = readl(ioaddr + GMAC_VERSION); in dwmac1000_setup() local 444 mac->synopsys_uid = hwid; in dwmac1000_setup()
|
D | stmmac_main.c | 1513 u32 hwid = priv->hw->synopsys_uid; in stmmac_get_synopsys_id() local 1516 if (likely(hwid)) { in stmmac_get_synopsys_id() 1517 u32 uid = ((hwid & 0x0000ff00) >> 8); in stmmac_get_synopsys_id() 1518 u32 synid = (hwid & 0x000000ff); in stmmac_get_synopsys_id()
|
/linux-4.4.14/drivers/of/ |
D | base.c | 340 u64 hwid; in __of_find_n_match_cpu_property() local 348 hwid = of_read_number(cell, ac); in __of_find_n_match_cpu_property() 349 if (arch_match_cpu_phys_id(cpu, hwid)) { in __of_find_n_match_cpu_property()
|
/linux-4.4.14/drivers/tty/ |
D | mxser.c | 492 u8 oldmcr, hwid; in CheckIsMoxaMust() local 500 if ((hwid = inb(io + UART_MCR)) != 0) { in CheckIsMoxaMust() 505 mxser_get_must_hardware_id(io, &hwid); in CheckIsMoxaMust() 507 if (hwid == Gpci_uart_info[i].type) in CheckIsMoxaMust() 508 return (int)hwid; in CheckIsMoxaMust()
|
/linux-4.4.14/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()
|