Lines Matching refs:word
422 uint16_t word;
612 * word 76 to 0000h or FFFFh. If word 76 is set to 0000h or FFFFh, then
617 word = identify.wyde[76];
618 if (word != 0x0000 && word != 0xffff) {
621 * If bit 2 of word 76 is set to one, then the device supports the Gen2
624 * If bit 1 of word 76 is set to one, then the device supports the Gen1
627 if (word & (1<<2))
629 if (word & (1<<1))
634 word = identify.wyde[217];
635 if (word == 0x0001)
637 else if (word >= 0x0401 && word <= 0xfffe)
638 printf ("ID_ATA_ROTATION_RATE_RPM=%d\n", word);
645 word = identify.wyde[108];
646 if ((word & 0xf000) == 0x5000) {