Lines Matching refs:cmd

141 	struct cmd_scsw cmd;  member
247 return scsw->cmd.key; in scsw_key()
262 return scsw->cmd.eswf; in scsw_eswf()
277 return scsw->cmd.cc; in scsw_cc()
292 return scsw->cmd.ectl; in scsw_ectl()
307 return scsw->cmd.pno; in scsw_pno()
322 return scsw->cmd.fctl; in scsw_fctl()
337 return scsw->cmd.actl; in scsw_actl()
352 return scsw->cmd.stctl; in scsw_stctl()
367 return scsw->cmd.dstat; in scsw_dstat()
382 return scsw->cmd.cstat; in scsw_cstat()
394 return (scsw->cmd.fctl & SCSW_FCTL_START_FUNC); in scsw_cmd_is_valid_key()
406 return (scsw->cmd.fctl & SCSW_FCTL_START_FUNC); in scsw_cmd_is_valid_sctl()
418 return (scsw->cmd.stctl & SCSW_STCTL_STATUS_PEND); in scsw_cmd_is_valid_eswf()
430 return (scsw->cmd.fctl & SCSW_FCTL_START_FUNC) && in scsw_cmd_is_valid_cc()
431 (scsw->cmd.stctl & SCSW_STCTL_STATUS_PEND); in scsw_cmd_is_valid_cc()
443 return (scsw->cmd.fctl & SCSW_FCTL_START_FUNC); in scsw_cmd_is_valid_fmt()
455 return (scsw->cmd.fctl & SCSW_FCTL_START_FUNC); in scsw_cmd_is_valid_pfch()
467 return (scsw->cmd.fctl & SCSW_FCTL_START_FUNC); in scsw_cmd_is_valid_isic()
479 return (scsw->cmd.fctl & SCSW_FCTL_START_FUNC); in scsw_cmd_is_valid_alcc()
491 return (scsw->cmd.fctl & SCSW_FCTL_START_FUNC); in scsw_cmd_is_valid_ssi()
503 return (scsw->cmd.fctl & SCSW_FCTL_START_FUNC) && in scsw_cmd_is_valid_zcc()
504 (scsw->cmd.stctl & SCSW_STCTL_INTER_STATUS); in scsw_cmd_is_valid_zcc()
517 if (!(scsw->cmd.stctl & SCSW_STCTL_STATUS_PEND)) in scsw_cmd_is_valid_ectl()
521 if (!(scsw->cmd.stctl & SCSW_STCTL_ALERT_STATUS)) in scsw_cmd_is_valid_ectl()
527 if (scsw->cmd.stctl & SCSW_STCTL_INTER_STATUS) in scsw_cmd_is_valid_ectl()
543 if (!scsw->cmd.fctl) in scsw_cmd_is_valid_pno()
547 if (!(scsw->cmd.stctl & SCSW_STCTL_STATUS_PEND)) in scsw_cmd_is_valid_pno()
553 if (!(scsw->cmd.stctl & SCSW_STCTL_INTER_STATUS)) in scsw_cmd_is_valid_pno()
557 if (scsw->cmd.actl & SCSW_ACTL_SUSPENDED) in scsw_cmd_is_valid_pno()
611 return (scsw->cmd.stctl & SCSW_STCTL_STATUS_PEND) && in scsw_cmd_is_valid_dstat()
612 (scsw->cmd.cc != 3); in scsw_cmd_is_valid_dstat()
624 return (scsw->cmd.stctl & SCSW_STCTL_STATUS_PEND) && in scsw_cmd_is_valid_cstat()
625 (scsw->cmd.cc != 3); in scsw_cmd_is_valid_cstat()
1018 return (scsw->cmd.cc != 0) || (scsw->cmd.stctl != in scsw_cmd_is_solicited()