Home
last modified time | relevance | path

Searched refs:fcp_cntl (Results 1 – 10 of 10) sorted by relevance

/titanic_50/usr/src/uts/common/sys/
H A Dfct_defines.h159 #define FCP_CNTL_TASK_ATTR(fcp_cntl) ((((uint32_t)(fcp_cntl)) >> 16) & 7) argument
165 #define FCP_CNTL_IS_TASK_MGMT(fcp_cntl) (((uint32_t)(fcp_cntl)) & 0xff00) argument
/titanic_50/usr/src/uts/common/sys/fc4/
H A Dfcp.h55 typedef struct fcp_cntl { struct
108 fcp_cntl_t fcp_cntl; /* SCSI options */ member
/titanic_50/usr/src/uts/common/sys/fibre-channel/ulp/
H A Dfcp.h55 typedef struct fcp_cntl { struct
137 fcp_cntl_t fcp_cntl; /* SCSI options */ member
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/fcoei/
H A Dfcoei_lv.c1085 offset = offsetof(fcp_cmd_t, fcp_cntl); in fcoei_initiate_fcp_cmd()
1089 frm->frm_payload[offset] = fcp_cmd_iu->fcp_cntl.cntl_qtype & 0x07; in fcoei_initiate_fcp_cmd()
1092 (fcp_cmd_iu->fcp_cntl.cntl_kill_tsk << 7) | in fcoei_initiate_fcp_cmd()
1093 (fcp_cmd_iu->fcp_cntl.cntl_clr_aca << 6) | in fcoei_initiate_fcp_cmd()
1094 (fcp_cmd_iu->fcp_cntl.cntl_reset_tgt << 5) | in fcoei_initiate_fcp_cmd()
1095 (fcp_cmd_iu->fcp_cntl.cntl_reset_lun << 4) | in fcoei_initiate_fcp_cmd()
1096 (fcp_cmd_iu->fcp_cntl.cntl_clr_tsk << 2) | in fcoei_initiate_fcp_cmd()
1097 (fcp_cmd_iu->fcp_cntl.cntl_abort_tsk << 1); in fcoei_initiate_fcp_cmd()
1100 (fcp_cmd_iu->fcp_cntl.cntl_read_data << 1) | in fcoei_initiate_fcp_cmd()
1101 (fcp_cmd_iu->fcp_cntl.cntl_write_data); in fcoei_initiate_fcp_cmd()
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_iocb.c451 if (fcp->fcp_cntl.cntl_qtype == FCP_QTYPE_HEAD_OF_Q) { in ql_command_iocb()
454 } else if (fcp->fcp_cntl.cntl_qtype == FCP_QTYPE_ORDERED) { in ql_command_iocb()
487 if (fcp->fcp_cntl.cntl_write_data) { in ql_command_iocb()
492 } else if (fcp->fcp_cntl.cntl_read_data) { in ql_command_iocb()
693 switch (fcp->fcp_cntl.cntl_qtype) { in ql_command_24xx_iocb()
720 if (fcp->fcp_cntl.cntl_write_data) { in ql_command_24xx_iocb()
724 } else if (fcp->fcp_cntl.cntl_read_data) { in ql_command_24xx_iocb()
819 switch (fcp->fcp_cntl.cntl_qtype) { in ql_cmd_24xx_type_6_iocb()
851 if (fcp->fcp_cntl.cntl_write_data) { in ql_cmd_24xx_type_6_iocb()
856 } else if (fcp->fcp_cntl.cntl_read_data) { in ql_cmd_24xx_type_6_iocb()
H A Dql_isr.c1457 if (sp->fcp->fcp_cntl.cntl_qtype == FCP_QTYPE_UNTAGGED) { in ql_fast_fcp_post()
2012 sp->fcp->fcp_cntl.cntl_write_data) { in ql_24xx_status_entry()
2190 if (sp->fcp->fcp_cntl.cntl_write_data) { in ql_status_error()
2193 } else if (sp->fcp->fcp_cntl.cntl_read_data) { in ql_status_error()
2197 if (sp->fcp->fcp_cntl.cntl_qtype == FCP_QTYPE_HEAD_OF_Q) { in ql_status_error()
2200 } else if (sp->fcp->fcp_cntl.cntl_qtype == FCP_QTYPE_ORDERED) { in ql_status_error()
2203 } else if (sp->fcp->fcp_cntl.cntl_qtype == FCP_QTYPE_SIMPLE) { in ql_status_error()
H A Dql_api.c7017 if ((sp->fcp->fcp_cntl.cntl_kill_tsk | in ql_fcp_scsi_cmd()
7018 sp->fcp->fcp_cntl.cntl_clr_aca | in ql_fcp_scsi_cmd()
7019 sp->fcp->fcp_cntl.cntl_reset_tgt | in ql_fcp_scsi_cmd()
7020 sp->fcp->fcp_cntl.cntl_reset_lun | in ql_fcp_scsi_cmd()
7021 sp->fcp->fcp_cntl.cntl_clr_tsk | in ql_fcp_scsi_cmd()
7022 sp->fcp->fcp_cntl.cntl_abort_tsk) != 0) { in ql_fcp_scsi_cmd()
7038 if (sp->fcp->fcp_cntl.cntl_write_data) { in ql_fcp_scsi_cmd()
7111 if (sp->fcp->fcp_cntl.cntl_clr_aca) { in ql_task_mgmt()
7115 } else if (sp->fcp->fcp_cntl.cntl_reset_lun) { in ql_task_mgmt()
7119 } else if (sp->fcp->fcp_cntl.cntl_reset_tgt) { in ql_task_mgmt()
[all …]
/titanic_50/usr/src/uts/common/avs/ns/
H A Dcontract.h439 typedef struct fcp_cntl { struct
463 fcp_cntl_t fcp_cntl; argument
/titanic_50/usr/src/uts/sun/io/scsi/adapters/
H A Dsf.c1544 *((int32_t *)&cmd->cmd_block->fcp_cntl) = 0; in sf_scsi_init_pkt()
1646 fcmd->fcp_cntl.cntl_read_data = 0; in sf_scsi_init_pkt()
1647 fcmd->fcp_cntl.cntl_write_data = 1; in sf_scsi_init_pkt()
1652 fcmd->fcp_cntl.cntl_read_data = 1; in sf_scsi_init_pkt()
1653 fcmd->fcp_cntl.cntl_write_data = 0; in sf_scsi_init_pkt()
1667 fcmd->fcp_cntl.cntl_read_data = 0; in sf_scsi_init_pkt()
1668 fcmd->fcp_cntl.cntl_write_data = 0; in sf_scsi_init_pkt()
1675 fcmd->fcp_cntl.cntl_qtype = FCP_QTYPE_SIMPLE; in sf_scsi_init_pkt()
3540 reportlun->fcp_cntl.cntl_read_data = 1; in sf_do_reportlun()
3541 reportlun->fcp_cntl.cntl_write_data = 0; in sf_do_reportlun()
[all …]
/titanic_50/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c2630 fcmd->fcp_cntl.cntl_qtype = FCP_QTYPE_SIMPLE; in fcp_send_scsi_ioctl()
2631 fcmd->fcp_cntl.cntl_read_data = 1; /* only rd for now */ in fcp_send_scsi_ioctl()
2632 fcmd->fcp_cntl.cntl_write_data = 0; in fcp_send_scsi_ioctl()
6586 fcmd->fcp_cntl.cntl_reserved_0 = 0; in fcp_send_scsi()
6587 fcmd->fcp_cntl.cntl_reserved_1 = 0; in fcp_send_scsi()
6588 fcmd->fcp_cntl.cntl_reserved_2 = 0; in fcp_send_scsi()
6589 fcmd->fcp_cntl.cntl_reserved_3 = 0; in fcp_send_scsi()
6590 fcmd->fcp_cntl.cntl_reserved_4 = 0; in fcp_send_scsi()
6591 fcmd->fcp_cntl.cntl_qtype = FCP_QTYPE_UNTAGGED; in fcp_send_scsi()
6599 fcmd->fcp_cntl.cntl_read_data = 1; in fcp_send_scsi()
[all …]