Lines Matching refs:serialno
70 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()
116 serialno[2], serialno[3], in print_serial_number()
117 serialno[4], serialno[5], serialno[6], serialno[7]); in print_serial_number()
130 serialno[8], serialno[9], in print_serial_number()
131 serialno[2], serialno[3], in print_serial_number()
132 serialno[4], serialno[5], serialno[6], serialno[7]); in print_serial_number()
138 *(u16 *) & serialno[2], in print_serial_number()
139 *(u16 *) & serialno[4], *(u16 *) & serialno[6]); in print_serial_number()
147 *(u32 *) & serialno[2], in print_serial_number()
148 *(u32 *) & serialno[6], in print_serial_number()
149 *(u32 *) & serialno[10], *(u32 *) & serialno[14]); in print_serial_number()
155 seq_printf(seq, "Unknown data format (0x%02x)", serialno[0]); in print_serial_number()