Home
last modified time | relevance | path

Searched refs:cmd_flags (Results 1 – 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/
H A Dbnx_hw_nvram.c412 u32_t cmd_flags; in nvram_erase_page() local
423 cmd_flags = NVM_COMMAND_ERASE | NVM_COMMAND_WR | NVM_COMMAND_DOIT; in nvram_erase_page()
432 REG_WR(pdev, nvm.nvm_command, cmd_flags); in nvram_erase_page()
472 u32_t cmd_flags; in nvram_read_dword() local
477 cmd_flags = NVM_COMMAND_DOIT; in nvram_read_dword()
480 cmd_flags |= NVM_COMMAND_FIRST; in nvram_read_dword()
485 cmd_flags |= NVM_COMMAND_LAST; in nvram_read_dword()
503 if (cmd_flags & NVM_COMMAND_FIRST) { in nvram_read_dword()
508 REG_WR(pdev, nvm.nvm_command, cmd_flags); in nvram_read_dword()
558 u32_t cmd_flags; in nvram_write_dword() local
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_nvram.c283 u32_t cmd_flags; in nvram_read_dword() local
291 cmd_flags = nvram_flags | MCPR_NVM_COMMAND_DOIT; in nvram_read_dword()
300 REG_WR(pdev, MCP_REG_MCPR_NVM_COMMAND, cmd_flags); in nvram_read_dword()
348 u32_t cmd_flags; in nvram_write_dword() local
353 cmd_flags = nvram_flags | MCPR_NVM_COMMAND_DOIT | MCPR_NVM_COMMAND_WR; in nvram_write_dword()
371 REG_WR(pdev, MCP_REG_MCPR_NVM_COMMAND, cmd_flags); in nvram_write_dword()
410 u32_t cmd_flags; in lm_nvram_read() local
447 cmd_flags = MCPR_NVM_COMMAND_FIRST; in lm_nvram_read()
450 lm_status = nvram_read_dword(pdev, offset, ret_buf, cmd_flags); in lm_nvram_read()
456 cmd_flags = 0; in lm_nvram_read()
[all …]
/illumos-gate/usr/src/uts/sun/io/scsi/adapters/
H A Dfas_callbacks.c128 ASSERT((sp->cmd_flags & CFLAG_COMPLETED) == 0); in fas_call_pkt_comp()
129 ASSERT((sp->cmd_flags & CFLAG_FREE) == 0); in fas_call_pkt_comp()
130 ASSERT(sp->cmd_flags & CFLAG_FINISHED); in fas_call_pkt_comp()
132 ASSERT((sp->cmd_flags & CFLAG_CMDDISC) == 0); in fas_call_pkt_comp()
136 sp->cmd_flags &= ~CFLAG_IN_TRANSPORT; in fas_call_pkt_comp()
137 sp->cmd_flags |= CFLAG_COMPLETED; in fas_call_pkt_comp()
144 if (sp->cmd_pkt->pkt_comp && !(sp->cmd_flags & CFLAG_CMDARQ)) { in fas_call_pkt_comp()
180 } else if ((sp->cmd_flags & CFLAG_CMDARQ) && sp->cmd_pkt->pkt_comp) { in fas_call_pkt_comp()
H A Dfas.c2031 if (cmd->cmd_flags & CFLAG_DMAVALID) { in fas_scsi_dmafree()
2036 cmd->cmd_flags ^= CFLAG_DMAVALID; in fas_scsi_dmafree()
2048 if (sp->cmd_flags & CFLAG_DMAVALID) { in fas_scsi_sync_pkt()
2050 (sp->cmd_flags & CFLAG_DMASEND) ? in fas_scsi_sync_pkt()
2154 (cmd->cmd_flags & CFLAG_DMAVALID) == 0) { in fas_scsi_init_pkt()
2156 int cmd_flags, dma_flags; in fas_scsi_init_pkt() local
2162 cmd_flags = cmd->cmd_flags; in fas_scsi_init_pkt()
2165 cmd_flags &= ~CFLAG_DMASEND; in fas_scsi_init_pkt()
2168 cmd_flags |= CFLAG_DMASEND; in fas_scsi_init_pkt()
2172 cmd_flags |= CFLAG_CMDIOPB; in fas_scsi_init_pkt()
[all …]
/illumos-gate/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_transport.c281 cpqary3_pktp->cmd_flags |= DDI_DMA_CONSISTENT; in cpqary3_init_pkt()
284 cpqary3_pktp->cmd_flags |= DDI_DMA_PARTIAL; in cpqary3_init_pkt()
349 cpqary3_pktp->cmd_flags &= ~CFLAG_DMASEND; in cpqary3_dma_alloc()
352 cpqary3_pktp->cmd_flags |= CFLAG_DMASEND; in cpqary3_dma_alloc()
357 cpqary3_pktp->cmd_flags |= CFLAG_CMDIOPB; in cpqary3_dma_alloc()
461 cpqary3_pktp->cmd_flags |= CFLAG_DMAVALID; in cpqary3_dma_alloc()
493 cpqary3_pktp->cmd_flags &= ~CFLAG_DMAVALID; in cpqary3_dma_alloc()
619 if ((cpqary3_pktp->cmd_flags & DDI_DMA_CONSISTENT) && in cpqary3_transport()
681 if (cpqary3_pktp->cmd_flags & CFLAG_DMAVALID) { in cpqary3_dmafree()
686 cpqary3_pktp->cmd_flags &= ~CFLAG_DMAVALID; in cpqary3_dmafree()
[all …]
H A Dcpqary3.h420 uint32_t cmd_flags; member
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsmp.c385 uint64_t cmd_flags = 0; in smp_handle_func() local
443 cmd_flags |= SMP_FLAG_REQBUF; in smp_handle_func()
447 cmd_flags |= SMP_FLAG_RSPBUF; in smp_handle_func()
466 cmd_flags |= SMP_FLAG_XFER; in smp_handle_func()
541 if ((cmd_flags & SMP_FLAG_XFER) != 0) { in smp_handle_func()
545 if ((cmd_flags & SMP_FLAG_REQBUF) != 0) { in smp_handle_func()
548 if ((cmd_flags & SMP_FLAG_RSPBUF) != 0) { in smp_handle_func()
/illumos-gate/usr/src/cmd/mdb/common/modules/mpt_sas/
H A Dmpt_sas.c494 if ((slots[i].cmd_flags & CFLAG_CMDIOC) == 0) in display_slotinfo()
558 slots[i].cmd_flags, in display_slotinfo()
576 q, c.cmd_slot, c.cmd_flags, c.cmd_pkt_flags, in display_slotinfo()
593 q, c.cmd_slot, c.cmd_flags, c.cmd_pkt_flags, in display_slotinfo()
639 if ((c.cmd_flags & CFLAG_FINISHED) == 0) in display_slotinfo()
642 if (c.cmd_flags & CFLAG_IN_TRANSPORT) in display_slotinfo()
645 if (c.cmd_flags & CFLAG_CMDARQ) in display_slotinfo()
648 if (c.cmd_flags & CFLAG_COMPLETED) in display_slotinfo()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c3445 cmd->cmd_flags |= CFLAG_TXQ; in mptsas_scsi_start()
3542 if ((cmd->cmd_flags & CFLAG_PREPARED) == 0) { in mptsas_accept_pkt()
3545 cmd->cmd_flags &= ~CFLAG_TRANFLAG; in mptsas_accept_pkt()
3569 if (cmd->cmd_flags & CFLAG_TXQ) { in mptsas_accept_pkt()
3589 if (cmd->cmd_flags & CFLAG_TXQ) { in mptsas_accept_pkt()
3628 if ((cmd->cmd_flags & CFLAG_TM_CMD) == 0) { in mptsas_accept_pkt()
3682 if ((cmd->cmd_flags & CFLAG_CMDIOC) == 0) { in mptsas_save_cmd()
3726 if (cmd->cmd_flags & CFLAG_DMAVALID) { in mptsas_prepare_pkt()
3733 if ((cmd->cmd_flags & CFLAG_CMDIOPB) && in mptsas_prepare_pkt()
3734 (cmd->cmd_flags & CFLAG_DMASEND)) { in mptsas_prepare_pkt()
[all …]
H A Dmptsas_impl.c199 if (ioc_cmd->m_event_cmd.cmd_flags & CFLAG_CMDACK) { in mptsas_destroy_ioc_event_cmd()
369 cmd->cmd_flags = CFLAG_CMDIOC | CFLAG_CONFIG; in mptsas_access_config_page()
375 cmd->cmd_flags |= CFLAG_PREPARED; in mptsas_access_config_page()
393 while ((cmd->cmd_flags & CFLAG_FINISHED) == 0) { in mptsas_access_config_page()
401 if (cmd->cmd_flags & CFLAG_TIMEOUT) { in mptsas_access_config_page()
517 cmd->cmd_flags = CFLAG_PREPARED | CFLAG_CMDIOC | CFLAG_CONFIG; in mptsas_access_config_page()
536 while ((cmd->cmd_flags & CFLAG_FINISHED) == 0) { in mptsas_access_config_page()
544 if (cmd->cmd_flags & CFLAG_TIMEOUT) { in mptsas_access_config_page()
620 if (cmd && (cmd->cmd_flags & CFLAG_PREPARED)) { in mptsas_access_config_page()
1152 cmd->cmd_flags = CFLAG_TM_CMD; in mptsas_ioc_task_management()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Demul64cmd.h51 uint32_t cmd_flags; /* private flags */ member
/illumos-gate/usr/src/uts/common/io/mega_sas/
H A Dmegaraid_sas.c1185 acmd->cmd_flags = 0; in megasas_tran_init_pkt()
1580 if (acmd->cmd_flags & CFLAG_DMAVALID) { in megasas_tran_destroy_pkt()
1581 acmd->cmd_flags &= ~CFLAG_DMAVALID; in megasas_tran_destroy_pkt()
1614 if (acmd->cmd_flags & CFLAG_DMAVALID) { in megasas_tran_dmafree()
1615 acmd->cmd_flags &= ~CFLAG_DMAVALID; in megasas_tran_dmafree()
1653 if (acmd->cmd_flags & CFLAG_DMAVALID) { in megasas_tran_sync_pkt()
1655 acmd->cmd_dma_len, (acmd->cmd_flags & CFLAG_DMASEND) ? in megasas_tran_sync_pkt()
2775 if (acmd->cmd_flags & CFLAG_DMAVALID) { in megasas_softintr()
2776 if (acmd->cmd_flags & CFLAG_CONSISTENT) { in megasas_softintr()
3107 acmd->cmd_flags &= ~CFLAG_DMASEND; in megasas_dma_alloc()
[all …]
/illumos-gate/usr/src/uts/sun/sys/scsi/adapters/
H A Dfascmd.h88 uint_t cmd_flags; /* private flags */ member
H A Dsfvar.h268 uint_t cmd_flags; /* private flags */ member
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_debug.c89 P->cmd_state, P->cmd_waitq_level, P->cmd_flags); in ghd_dump_gcmd()
H A Dghd.c212 if (gcmdp->cmd_flags & GCMDFLG_RESET_NOTIFY) { in ghd_doneq_process()
944 gcmdp->cmd_flags = GCMDFLG_RESET_NOTIFY; in ghd_trigger_reset_notify()
H A Dghd.h103 int cmd_flags; /* generic magic info */ member
/illumos-gate/usr/src/uts/common/io/
H A Demul64.c831 sp->cmd_flags = 0; in emul64_scsi_init_pkt()
852 sp->cmd_flags &= ~CFLAG_DMASEND; in emul64_scsi_init_pkt()
854 sp->cmd_flags |= CFLAG_DMASEND; in emul64_scsi_init_pkt()
885 if (sp->cmd_flags & CFLAG_DMAVALID) { in emul64_scsi_destroy_pkt()
889 sp->cmd_flags &= ~CFLAG_DMAVALID; in emul64_scsi_destroy_pkt()
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_adminq_cmd.h618 __le16 cmd_flags; member
2300 u8 cmd_flags; member
2341 u8 cmd_flags; member
2380 __le16 cmd_flags; member
2395 __le16 cmd_flags; member
2510 __le16 cmd_flags; member
H A Di40e_common.c2236 enum i40e_status_code i40e_aq_set_phy_debug(struct i40e_hw *hw, u8 cmd_flags, in i40e_aq_set_phy_debug() argument
2247 cmd->command_flags = cmd_flags; in i40e_aq_set_phy_debug()
3609 u8 cmd_flags, u32 field_id, void *data, in i40e_aq_read_nvm_config() argument
3623 cmd->cmd_flags = CPU_TO_LE16(cmd_flags); in i40e_aq_read_nvm_config()
3625 if (cmd_flags & I40E_AQ_ANVM_FEATURE_OR_IMMEDIATE_MASK) in i40e_aq_read_nvm_config()
3648 u8 cmd_flags, void *data, u16 buf_size, in i40e_aq_write_nvm_config() argument
3663 cmd->cmd_flags = CPU_TO_LE16(cmd_flags); in i40e_aq_write_nvm_config()
6118 cmd->cmd_flags = CPU_TO_LE16(bios_mode); in i40e_aq_alternate_write_done()
6122 *reset_needed = ((LE16_TO_CPU(cmd->cmd_flags) & in i40e_aq_alternate_write_done()
6148 cmd->cmd_flags = CPU_TO_LE16(oem_mode); in i40e_aq_set_oem_mode()
[all …]
H A Di40e_prototype.h131 enum i40e_status_code i40e_aq_set_phy_debug(struct i40e_hw *hw, u8 cmd_flags,
264 u8 cmd_flags, u32 field_id, void *data,
268 u8 cmd_flags, void *data, u16 buf_size,
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas.c1800 acmd->cmd_flags = 0; in mrsas_tran_init_pkt()
2200 if (acmd->cmd_flags & CFLAG_DMAVALID) { in mrsas_tran_destroy_pkt()
2201 acmd->cmd_flags &= ~CFLAG_DMAVALID; in mrsas_tran_destroy_pkt()
2234 if (acmd->cmd_flags & CFLAG_DMAVALID) { in mrsas_tran_dmafree()
2235 acmd->cmd_flags &= ~CFLAG_DMAVALID; in mrsas_tran_dmafree()
2266 if (acmd->cmd_flags & CFLAG_DMAVALID) { in mrsas_tran_sync_pkt()
2268 acmd->cmd_dma_len, (acmd->cmd_flags & CFLAG_DMASEND) ? in mrsas_tran_sync_pkt()
4495 if (acmd->cmd_flags & CFLAG_DMAVALID) { in mrsas_softintr()
4496 if (acmd->cmd_flags & CFLAG_CONSISTENT) { in mrsas_softintr()
4845 acmd->cmd_flags &= ~CFLAG_DMASEND; in mrsas_dma_alloc()
[all …]
H A Dmr_sas_tbolt.c1266 if (acmd->cmd_flags & CFLAG_DMASEND) { in mr_sas_tbolt_build_sgl()
1482 if (acmd->cmd_flags & CFLAG_DMASEND) { in mrsas_tbolt_build_cmd()
1483 if (acmd->cmd_flags & CFLAG_CONSISTENT) { in mrsas_tbolt_build_cmd()
1488 } else if (acmd->cmd_flags & ~CFLAG_DMASEND) { in mrsas_tbolt_build_cmd()
1489 if (acmd->cmd_flags & CFLAG_CONSISTENT) { in mrsas_tbolt_build_cmd()
1611 if (acmd->cmd_flags & CFLAG_DMASEND) in mrsas_tbolt_build_cmd()
2355 if (acmd->cmd_flags & CFLAG_DMAVALID) { in tbolt_complete_cmd()
2356 if (acmd->cmd_flags & CFLAG_CONSISTENT) { in tbolt_complete_cmd()
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c1878 cmd->cmd_flags = 0; in fp_cache_constructor()
1988 cmd->cmd_flags = 0; in fp_alloc_pkt()
3542 if (pd && cmd->cmd_flags & FP_CMD_DELDEV_ON_ERROR && in fp_iodone()
4021 cmd->cmd_flags = flag; in fp_fabric_login()
4101 cmd->cmd_flags = cmd_flag; in fp_port_login()
4123 cmd->cmd_flags = cmd_flag; in fp_port_login()
5057 int cmd_flags; in fp_plogi_group() local
5065 cmd_flags = FP_CMD_PLOGI_RETAIN; in fp_plogi_group()
5129 cmd_flags |= FP_CMD_DELDEV_ON_ERROR; in fp_plogi_group()
5155 rval = fp_port_login(port, d_id, job, cmd_flags, in fp_plogi_group()
[all …]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/ulp/
H A Dfcpvar.h566 uint_t cmd_flags; member

12