Home
last modified time | relevance | path

Searched refs:chip_id (Results 1 – 22 of 22) sorted by relevance

/arch/mips/bcm47xx/
Dtime.c34 u16 chip_id = 0; in plat_time_init() local
50 chip_id = bcm47xx_bus.ssb.chip_id; in plat_time_init()
56 chip_id = bcm47xx_bus.bcma.bus.chipinfo.id; in plat_time_init()
61 if (chip_id == 0x5354) { in plat_time_init()
Dprom.c45 __init void bcm47xx_set_system_type(u16 chip_id) in bcm47xx_set_system_type() argument
48 (chip_id > 0x9999) ? "Broadcom BCM%d" : in bcm47xx_set_system_type()
50 chip_id); in bcm47xx_set_system_type()
Dsetup.c62 if (bcm47xx_bus.ssb.chip_id == 0x4785) in bcm47xx_machine_restart()
65 if (bcm47xx_bus.ssb.chip_id == 0x4785) { in bcm47xx_machine_restart()
167 bcm47xx_set_system_type(bcm47xx_bus.ssb.chip_id); in plat_mem_setup()
/arch/mips/cavium-octeon/executive/
Docteon-model.c58 static const char *__init octeon_model_get_string_buffer(uint32_t chip_id, in octeon_model_get_string_buffer() argument
80 switch ((chip_id >> 8) & 0xff) { in octeon_model_get_string_buffer()
115 sprintf(pass, "%d.%d", (int)((chip_id >> 3) & 7) + 1, (int)chip_id & 7); in octeon_model_get_string_buffer()
192 switch ((chip_id >> 8) & 0xff) { in octeon_model_get_string_buffer()
209 switch (chip_id & 0xf) { in octeon_model_get_string_buffer()
225 if ((chip_id & 0x10) || l2d_fus3) in octeon_model_get_string_buffer()
233 switch (chip_id & 0xf) { in octeon_model_get_string_buffer()
254 switch (chip_id & 0xf) { in octeon_model_get_string_buffer()
273 if ((chip_id & 0xFF) < 0x8) { in octeon_model_get_string_buffer()
274 switch (chip_id & 0x3) { in octeon_model_get_string_buffer()
[all …]
/arch/mips/txx9/generic/
Dsmsc_fdc37m81x.c105 u8 chip_id; in smsc_fdc37m81x_init() local
115 chip_id = smsc_fdc37m81x_rd(SMSC_FDC37M81X_DID); in smsc_fdc37m81x_init()
116 if (chip_id == SMSC_FDC37M81X_CHIP_ID) in smsc_fdc37m81x_init()
119 pr_warn("%s: unknown chip id 0x%02x\n", __func__, chip_id); in smsc_fdc37m81x_init()
/arch/powerpc/platforms/powernv/
Drng.c123 int chip_id, cpu; in rng_init_per_cpu() local
125 chip_id = of_get_ibm_chip_id(dn); in rng_init_per_cpu()
126 if (chip_id == -1) in rng_init_per_cpu()
131 cpu_to_chip_id(cpu) == chip_id) { in rng_init_per_cpu()
Dopal-hmi.c131 be32_to_cpu(hmi_evt->u.xstop_error.u.chip_id)); in print_nx_checkstop_reason()
151 be32_to_cpu(hmi_evt->u.xstop_error.u.chip_id)); in print_npu_checkstop_reason()
172 be32_to_cpu(hmi_evt->u.xstop_error.u.chip_id), in print_npu_checkstop_reason()
/arch/mips/ar7/
Dsetup.c39 u16 chip_id = ar7_chip_id(); in get_system_type() local
42 switch (chip_id) { in get_system_type()
/arch/mips/include/asm/mach-bcm47xx/
Dbcm47xx.h38 void bcm47xx_set_system_type(u16 chip_id);
/arch/mips/include/asm/mach-ar7/
Dar7.h140 u16 chip_id = ar7_chip_id(); in ar7_has_high_cpmac() local
141 switch (chip_id) { in ar7_has_high_cpmac()
/arch/mips/include/asm/octeon/
Dcvmx-mio-defs.h1209 uint64_t chip_id:8; member
1213 uint64_t chip_id:8;
1240 uint64_t chip_id:8; member
1248 uint64_t chip_id:8;
1265 uint64_t chip_id:8; member
1273 uint64_t chip_id:8;
1290 uint64_t chip_id:8; member
1294 uint64_t chip_id:8;
1315 uint64_t chip_id:8; member
1321 uint64_t chip_id:8;
[all …]
Docteon-model.h395 const char *__init octeon_model_get_string(uint32_t chip_id);
/arch/powerpc/sysdev/xive/
Dxive-internal.h23 int chip_id; member
Dnative.c249 static s64 opal_xive_allocate_irq(u32 chip_id) in opal_xive_allocate_irq() argument
251 s64 irq = opal_xive_allocate_irq_raw(chip_id); in opal_xive_allocate_irq()
267 irq = opal_xive_allocate_irq(xc->chip_id); in xive_native_get_ipi()
Dcommon.c578 if (xc->chip_id == xd->src_chip) in xive_pick_irq_target()
1353 xc->chip_id = of_get_ibm_chip_id(np); in xive_prepare_cpu()
/arch/powerpc/include/asm/
Dopal.h170 int64_t opal_lpc_write(uint32_t chip_id, enum OpalLPCAddressType addr_type,
172 int64_t opal_lpc_read(uint32_t chip_id, enum OpalLPCAddressType addr_type,
243 int64_t opal_nmmu_set_ptcr(uint64_t chip_id, uint64_t ptcr);
265 int64_t opal_xive_donate_page(uint32_t chip_id, uint64_t addr);
276 int64_t opal_xive_allocate_irq_raw(uint32_t chip_id);
299 int opal_nx_coproc_init(uint32_t chip_id, uint32_t ct);
Dopal-api.h634 __be32 chip_id; /* for CHECKSTOP_TYPE_NX */ member
/arch/arc/include/asm/
Darcregs.h136 unsigned int chip_id:16, cpu_id:8, family:8; member
138 unsigned int family:8, cpu_id:8, chip_id:16;
/arch/powerpc/kernel/
Dprom.c878 u32 chip_id; in of_get_ibm_chip_id() local
884 if (!of_property_read_u32(np, "ibm,chip-id", &chip_id)) { in of_get_ibm_chip_id()
886 return chip_id; in of_get_ibm_chip_id()
/arch/powerpc/perf/
Dimc-pmu.c506 int chip_id, rc, node_id; in nest_imc_event_init() local
533 chip_id = cpu_to_chip_id(event->cpu); in nest_imc_event_init()
536 if (chip_id < 0) in nest_imc_event_init()
541 if (pcni->id == chip_id) { in nest_imc_event_init()
/arch/arc/kernel/
Dsetup.c280 core->family, core->cpu_id, core->chip_id); in arc_cpu_mumbojumbo()
/arch/x86/kvm/
Dx86.c4652 switch (chip->chip_id) { in kvm_vm_ioctl_get_irqchip()
4677 switch (chip->chip_id) { in kvm_vm_ioctl_set_irqchip()