Home
last modified time | relevance | path

Searched refs:serialno (Results 1 – 2 of 2) sorted by relevance

/drivers/message/i2o/
Di2o_proc.c70 static int print_serial_number(struct seq_file *seq, u8 * serialno, int max_len) in print_serial_number() argument
84 switch (serialno[0]) { in print_serial_number()
87 for (i = 0; i < serialno[1]; i++) { in print_serial_number()
88 seq_printf(seq, "%02X", serialno[2 + i]); in print_serial_number()
93 if (serialno[1] < ' ') { /* printable or SNLen? */ in print_serial_number()
96 (max_len < serialno[1]) ? max_len : serialno[1]; in print_serial_number()
97 serialno[1 + max_len] = '\0'; in print_serial_number()
100 seq_printf(seq, "%s", &serialno[2]); in print_serial_number()
103 for (i = 0; i < serialno[1]; i++) { in print_serial_number()
104 seq_printf(seq, "%c", serialno[2 + i]); in print_serial_number()
[all …]
/drivers/atm/
Dlanai.c281 u32 serialno, magicno; member
873 lanai->serialno = 0; in eeprom_validate()
1005 lanai->serialno = eeprom_be4(lanai, EEPROM_SERIAL); in eeprom_validate()
1007 if ((lanai->serialno ^ v) != 0xFFFFFFFF) { in eeprom_validate()
1010 (unsigned int) lanai->serialno, (unsigned int) v); in eeprom_validate()
1013 DPRINTK("eeprom: Serial number = %d\n", (unsigned int) lanai->serialno); in eeprom_validate()
2253 lanai->type==lanai2 ? "2" : "HB", (unsigned int) lanai->serialno, in lanai_dev_open()
2254 (unsigned int) lanai->serialno, lanai->board_rev); in lanai_dev_open()
2480 (unsigned int) lanai->serialno, in lanai_proc_read()