Home | History | Annotate | Download | only in onewire

Lines Matching defs:rom

349 onewire_matchrom(void *arg, u_int64_t rom)
358 onewire_write_byte(sc, (rom >> (i * 8)) & 0xff);
399 uint64_t mask, rom = 0, lastrom;
433 lastrom = rom;
434 rom = 0;
464 rom |= (mask << i);
474 if (rom == 0)
478 * The last byte of the ROM code contains a CRC calculated
483 data[i] = (rom >> (i * 8)) & 0xff;
493 if (d->d_rom == rom) {
502 nd->d_rom = rom;