Lines Matching refs:jj
781 uint16_t ii, jj, kk; in identify() local
854 jj = val[MAJOR] << 1; in identify()
857 if (jj & 0x8000) { in identify()
865 jj <<= 1; in identify()
925 jj = val[CDR_MAJOR] >> 1; in identify()
927 if (jj & 0x0001) printf("-%u ", ii); in identify()
928 jj >>= 1; in identify()
942 jj = val[GEN_CONFIG] >> 1; in identify()
944 if (jj & 0x0001) in identify()
946 jj >>=1; in identify()
975 jj = val[WHATS_VALID] & OK_W54_58; in identify()
982 jj ? val[LCYLS_CUR] : 0, in identify()
984 jj ? val[LHEADS_CUR] : 0, in identify()
986 jj ? val[LSECTS_CUR] : 0); in identify()
992 if (jj) { in identify()
1125 jj = val[SINGLE_DMA]; in identify()
1127 err_dma += mode_loop(jj, kk, 's', &have_mode); in identify()
1130 jj = val[MULTI_DMA]; in identify()
1132 err_dma += mode_loop(jj, kk, 'm', &have_mode); in identify()
1135 jj = val[ULTRA_DMA]; in identify()
1137 err_dma += mode_loop(jj, kk, 'u', &have_mode); in identify()
1160 jj = ((val[ADV_PIO_MODES] & PIO_SUP) << 3) | 0x0007; in identify()
1162 if (jj & 0x0001) printf("pio%d ", ii); in identify()
1163 jj >>=1; in identify()
1187 jj = val[CMDS_SUPP_0]; in identify()
1191 if ((jj & 0x8000) && (*feat_str != '\0')) { in identify()
1194 jj <<= 1; in identify()
1197 jj = val[CMDS_SUPP_0+1+(ii/16)]; in identify()
1217 jj = val[SECU_STATUS]; in identify()
1218 if (jj) { in identify()
1221 (!(jj & 0x0001)) ? "not" : "", in identify()
1223 jj >>=1; in identify()
1230 jj = val[ERASE_TIME] & ERASE_BITS; in identify()
1232 if (jj || kk) { in identify()
1234 if (jj) printf("%umin for %sSECURITY ERASE UNIT. ", jj==ERASE_BITS ? 508 : jj<<1, ""); in identify()
1241 jj = val[HWRST_RSLT]; in identify()
1242 if ((jj & VALID) == VALID_VAL) { in identify()
1243 oo = (jj & RST0); in identify()
1245 jj >>= 8; in identify()
1246 if ((jj & DEV_DET) == JUMPER_VAL) in identify()
1248 else if ((jj & DEV_DET) == CSEL_VAL) in identify()