Home
last modified time | relevance | path

Searched refs:idprom (Results 1 – 7 of 7) sorted by relevance

/arch/m68k/sun3/
Didprom.c19 struct idprom *idprom; variable
20 EXPORT_SYMBOL(idprom);
22 static struct idprom idprom_buffer;
88 if(Sun_Machines[i].id_machtype == idprom->id_machtype) { in sun3_get_model()
98 static unsigned char __init calc_idprom_cksum(struct idprom *idprom) in calc_idprom_cksum() argument
100 unsigned char cksum, i, *ptr = (unsigned char *)idprom; in calc_idprom_cksum()
113 idprom = &idprom_buffer; in idprom_init()
115 if (idprom->id_format != 0x01) { in idprom_init()
120 if (idprom->id_cksum != calc_idprom_cksum(idprom)) { in idprom_init()
122 idprom->id_cksum, calc_idprom_cksum(idprom)); in idprom_init()
[all …]
DMakefile5 obj-y := sun3ints.o sun3dvma.o idprom.o
/arch/sparc/kernel/
Didprom.c16 struct idprom *idprom; variable
17 EXPORT_SYMBOL(idprom);
19 static struct idprom idprom_buffer;
64 static unsigned char __init calc_idprom_cksum(struct idprom *idprom) in calc_idprom_cksum() argument
66 unsigned char cksum, i, *ptr = (unsigned char *)idprom; in calc_idprom_cksum()
79 idprom = &idprom_buffer; in idprom_init()
81 if (idprom->id_format != 0x01) in idprom_init()
84 if (idprom->id_cksum != calc_idprom_cksum(idprom)) in idprom_init()
86 idprom->id_cksum, calc_idprom_cksum(idprom)); in idprom_init()
88 display_system_type(idprom->id_machtype); in idprom_init()
[all …]
DMakefile37 obj-y += idprom.o
/arch/sparc/include/asm/
Didprom.h12 struct idprom { struct
22 extern struct idprom *idprom; argument
/arch/m68k/include/asm/
Didprom.h11 struct idprom { struct
21 extern struct idprom *idprom; argument
/arch/m68k/sun3x/
Dprom.c109 if (!((idprom->id_machtype & SM_ARCH_MASK) == SM_SUN3X)) { in sun3x_prom_init()
111 idprom->id_machtype); in sun3x_prom_init()
113 idprom->id_machtype = SM_SUN3X | SM_3_80; in sun3x_prom_init()