Home | History | Annotate | Download | only in gumstix

Lines Matching defs:system_serial

466 	char system_serial[GUMSTIX_SYSTEM_SERIAL_SIZE], *src;
478 memcpy(system_serial,
479 src + GUMSTIX_SYSTEM_SERIAL_ADDR, sizeof (system_serial));
482 for (i = 1, x = system_serial[0]; i < sizeof (system_serial); i++)
483 x &= system_serial[i];
487 memcpy(system_serial,
488 src + GUMSTIX_SYSTEM_SERIAL_ADDR, sizeof (system_serial));
493 * gumstix_serial_hash(system_serial);
497 system_serial_high = system_serial[0] << 24 | system_serial[1] << 16 |
498 system_serial[2] << 8 | system_serial[3];
499 system_serial_low = system_serial[4] << 24 | system_serial[5] << 16 |
500 system_serial[6] << 8 | system_serial[7];
503 for (i = 0; i < sizeof (system_serial); i++)
504 printf("%02x", system_serial[i]);