Home
last modified time | relevance | path

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

/arch/arm/mach-imx/devices/
Dplatform-sdhci-esdhc-imx.c14 #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)
Dplatform-spi_imx.c12 #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)
/arch/arm/kernel/
Dtopology.c78 unsigned long hwid; member
144 cpu_capacity[cpu++].hwid = be32_to_cpup(reg); in parse_dt_topology()
148 cpu_capacity[cpu].hwid = (unsigned long)(-1); in parse_dt_topology()
158 cpu_capacity[0].hwid = (unsigned long)(-1); in parse_dt_topology()
173 void update_cpu_power(unsigned int cpu, unsigned long hwid) in update_cpu_power() argument
179 if (cpu_capacity[idx].hwid == hwid) in update_cpu_power()
182 if (cpu_capacity[idx].hwid == -1) in update_cpu_power()
Ddevtree.c93 u32 hwid; in arm_dt_init_cpu_maps() local
104 if (of_property_read_u32(cpu, "reg", &hwid)) { in arm_dt_init_cpu_maps()
114 if (hwid & ~MPIDR_HWID_BITMASK) in arm_dt_init_cpu_maps()
125 if (WARN(tmp_map[j] == hwid, "Duplicate /cpu reg " in arm_dt_init_cpu_maps()
138 if (hwid == mpidr) { in arm_dt_init_cpu_maps()
152 tmp_map[i] = hwid; in arm_dt_init_cpu_maps()
/arch/arm64/kernel/
Dcpu_ops.c85 u64 hwid; in cpu_read_bootcpu_ops() local
92 hwid = of_read_number(prop, of_n_addr_cells(dn)); in cpu_read_bootcpu_ops()
93 if (hwid == mpidr) { in cpu_read_bootcpu_ops()
Dsmp.c305 u64 hwid; in smp_init_cpus() local
317 hwid = of_read_number(cell, of_n_addr_cells(dn)); in smp_init_cpus()
322 if (hwid & ~MPIDR_HWID_BITMASK) { in smp_init_cpus()
335 if (cpu_logical_map(i) == hwid) { in smp_init_cpus()
348 if (hwid == cpu_logical_map(0)) { in smp_init_cpus()
375 pr_debug("cpu logical map 0x%llx\n", hwid); in smp_init_cpus()
376 cpu_logical_map(cpu) = hwid; in smp_init_cpus()
/arch/ia64/kernel/
Dirq.c67 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()
/arch/powerpc/platforms/wsp/
Dics.c649 u32 hwid; in wsp_ics_set_default_server() local
655 hwid = get_hard_smp_processor_id(boot_cpuid); in wsp_ics_set_default_server()
657 pr_info("wsp_ics: default server is %#x, CPU %s\n", hwid, np->full_name); in wsp_ics_set_default_server()
658 xics_default_server = hwid; in wsp_ics_set_default_server()