Lines Matching refs:status_bits
708 int status_bits; member
1165 D_S[d].status_bits=0; in EvaluateStatus()
1166 if (fam1_drive) D_S[d].status_bits=st|p_success; in EvaluateStatus()
1169 if (st&p_caddin_old) D_S[d].status_bits |= p_door_closed|p_caddy_in; in EvaluateStatus()
1170 if (st&p_spinning) D_S[d].status_bits |= p_spinning; in EvaluateStatus()
1171 if (st&p_check) D_S[d].status_bits |= p_check; in EvaluateStatus()
1172 if (st&p_success_old) D_S[d].status_bits |= p_success; in EvaluateStatus()
1173 if (st&p_busy_old) D_S[d].status_bits |= p_busy_new; in EvaluateStatus()
1174 if (st&p_disk_ok) D_S[d].status_bits |= p_disk_ok; in EvaluateStatus()
1178 D_S[d].status_bits |= p_success; in EvaluateStatus()
1179 if (st&p_caddin_old) D_S[d].status_bits |= p_disk_ok|p_caddy_in; in EvaluateStatus()
1180 if (st&p_spinning) D_S[d].status_bits |= p_spinning; in EvaluateStatus()
1181 if (st&p_check) D_S[d].status_bits |= p_check; in EvaluateStatus()
1182 if (st&p_busy_old) D_S[d].status_bits |= p_busy_new; in EvaluateStatus()
1183 if (st&p_lcs_door_closed) D_S[d].status_bits |= p_door_closed; in EvaluateStatus()
1184 if (st&p_lcs_door_locked) D_S[d].status_bits |= p_door_locked; in EvaluateStatus()
1188 D_S[d].status_bits |= p_success; in EvaluateStatus()
1189 if (st&p2_check) D_S[d].status_bits |= p1_check; in EvaluateStatus()
1190 if (st&p2_door_closed) D_S[d].status_bits |= p1_door_closed; in EvaluateStatus()
1191 if (st&p2_disk_in) D_S[d].status_bits |= p1_disk_in; in EvaluateStatus()
1192 if (st&p2_busy1) D_S[d].status_bits |= p1_busy; in EvaluateStatus()
1193 if (st&p2_busy2) D_S[d].status_bits |= p1_busy; in EvaluateStatus()
1194 if (st&p2_spinning) D_S[d].status_bits |= p1_spinning; in EvaluateStatus()
1195 if (st&p2_door_locked) D_S[d].status_bits |= p1_door_locked; in EvaluateStatus()
1196 if (st&p2_disk_ok) D_S[d].status_bits |= p1_disk_ok; in EvaluateStatus()
1201 D_S[d].status_bits |= p_success; in EvaluateStatus()
1202 if (st&p2_check) D_S[d].status_bits |= p1_check; in EvaluateStatus()
1203 if (st&p2_door_closed) D_S[d].status_bits |= p1_door_closed; in EvaluateStatus()
1204 if (st&p2_disk_in) D_S[d].status_bits |= p1_disk_in; in EvaluateStatus()
1205 if (st&p2_busy1) D_S[d].status_bits |= p1_busy; in EvaluateStatus()
1206 if (st&p2_busy2) D_S[d].status_bits |= p1_busy; in EvaluateStatus()
1207 if (st&p2_spinning) D_S[d].status_bits |= p1_spinning; in EvaluateStatus()
1208 if (st&p2_door_locked) D_S[d].status_bits |= p1_door_locked; in EvaluateStatus()
1209 if (st&p2_disk_ok) D_S[d].status_bits |= p1_disk_ok; in EvaluateStatus()
1230 D_S[d].status_bits=p1_door_closed|p1_disk_in|p1_spinning|p1_disk_ok; in get_state_T()
1234 D_S[d].status_bits=p1_door_closed|p1_disk_in; in get_state_T()
1241 D_S[d].status_bits=p1_door_closed; in get_state_T()
1247 D_S[d].status_bits=0; in get_state_T()
1253 D_S[d].status_bits=p1_door_closed; in get_state_T()
1256 return (D_S[d].status_bits); in get_state_T()
1286 D_S[d].status_bits=0; in ResponseStatus()
1292 msg(DBG_STA,"status_bits=%02X, i=%02X\n",D_S[d].status_bits,i); in ResponseStatus()
1293 return (D_S[d].status_bits); in ResponseStatus()
4063 if (!(D_S[MINOR(cdi->dev)].status_bits & p_door_closed)) return CDS_TRAY_OPEN; in sbpcd_drive_status()
4064 if (D_S[MINOR(cdi->dev)].status_bits & p_disk_ok) return CDS_DISC_OK; in sbpcd_drive_status()
4065 if (D_S[MINOR(cdi->dev)].status_bits & p_disk_in) return CDS_DRIVE_NOT_READY; in sbpcd_drive_status()
4069 if (D_S[MINOR(cdi->dev)].status_bits & p_spinning) return CDS_DISC_OK; in sbpcd_drive_status()
4501 D_S[d].status_bits); in sbpcd_dev_ioctl()
5394 msg(DBG_INF,"bad cc_ReadStatus after read: %02X\n", D_S[d].status_bits); in sbp_data()