Home
last modified time | relevance | path

Searched refs:cmd_slot (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/modules/mpt_sas/
H A Dmpt_sas.c496 if (i != slots[i].cmd_slot) in display_slotinfo()
556 (i == slots[i].cmd_slot?" ":"BAD"), in display_slotinfo()
557 slots[i].cmd_slot, 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()
/illumos-gate/usr/src/uts/sun/sys/scsi/adapters/
H A Dfascmd.h91 uchar_t cmd_slot; member
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas_raid.c621 cmd->cmd_slot = MPTSAS_TM_SLOT(mpt); in mptsas_raid_action_system_shutdown()
628 (mpt->m_req_frame_size * cmd->cmd_slot)); in mptsas_raid_action_system_shutdown()
638 request_desc = (cmd->cmd_slot << 16) + in mptsas_raid_action_system_shutdown()
H A Dmptsas_impl.c238 (mpt->m_req_frame_size * cmd->cmd_slot)); in mptsas_start_config_page_access()
303 request_desc = (cmd->cmd_slot << 16) + in mptsas_start_config_page_access()
1153 cmd->cmd_slot = MPTSAS_TM_SLOT(mpt); in mptsas_ioc_task_management()
1162 (mpt->m_req_frame_size * cmd->cmd_slot)); in mptsas_ioc_task_management()
1181 request_desc = (cmd->cmd_slot << 16) + in mptsas_ioc_task_management()
1405 ASSERT(cmd->cmd_slot != 0); in mptsas_update_flash()
1406 memp = mpt->m_req_frame + (mpt->m_req_frame_size * cmd->cmd_slot); in mptsas_update_flash()
1421 request_desc = (cmd->cmd_slot << 16) + in mptsas_update_flash()
H A Dmptsas.c3673 cmd->cmd_slot = slot; in mptsas_save_cmd()
8517 slot = cmd->cmd_slot; in mptsas_remove_cmd()
8562 ASSERT(cmd != slots->m_slot[cmd->cmd_slot]); in mptsas_remove_cmd()
8734 SMID = cmd->cmd_slot; in mptsas_start_cmd()
9858 if (slots->m_slot[sp->cmd_slot] != NULL) { in mptsas_do_scsi_abort()
10669 SMID = cmd->cmd_slot; in mptsas_start_passthru()
11360 cmd->cmd_slot); in mptsas_do_passthru()
11589 cmd->cmd_slot)); in mptsas_start_diag()
11618 cmd->cmd_slot)); in mptsas_start_diag()
11632 request_desc = (cmd->cmd_slot << 16) + in mptsas_start_diag()
/illumos-gate/usr/src/uts/sun/io/scsi/adapters/
H A Dfas.c2114 cmd->cmd_slot = in fas_scsi_init_pkt()
2589 int slot = sp->cmd_slot; in fas_prepare_pkt()
2757 short slot = sp->cmd_slot; in fas_accept_pkt()
2922 short slot = sp->cmd_slot; in fas_alloc_tag()
3100 int slot = sp->cmd_slot; in fas_startcmd()
3640 int slot = sp->cmd_slot; in fas_remove_cmd()
3655 ASSERT(sp != fas->f_active[sp->cmd_slot]->f_slot[sp->cmd_tag[1]]); in fas_remove_cmd()
3772 fas_sync_wide_backoff(fas, sp, sp->cmd_slot); in fas_finish()
4004 fas->f_throttle[sp->cmd_slot] = DRAIN_THROTTLE; in fas_finish_select()
4054 fas->f_throttle[sp->cmd_slot] = 1; in fas_reselect_preempt()
[all …]
H A Dfas_callbacks.c134 ASSERT(sp != fas->f_active[sp->cmd_slot]->f_slot[sp->cmd_tag[1]]); in fas_call_pkt_comp()
/illumos-gate/usr/src/uts/common/io/comstar/port/fct/
H A Dfct.c1639 uint16_t cmd_slot; in fct_scsi_task_alloc() local
1714 cmd_slot = fct_alloc_cmd_slot(iport, cmd); in fct_scsi_task_alloc()
1715 if (cmd_slot == FCT_SLOT_EOL) { in fct_scsi_task_alloc()
1870 uint16_t cmd_slot; in fct_alloc_cmd_slot() local
1876 cmd_slot = old & 0xFFFF; in fct_alloc_cmd_slot()
1877 if (cmd_slot == FCT_SLOT_EOL) in fct_alloc_cmd_slot()
1878 return (cmd_slot); in fct_alloc_cmd_slot()
1884 new |= iport->iport_cmd_slots[cmd_slot].slot_next; in fct_alloc_cmd_slot()
1888 iport->iport_cmd_slots[cmd_slot].slot_cmd = icmd; in fct_alloc_cmd_slot()
1889 cmd->cmd_handle = (uint32_t)cmd_slot | 0x80000000 | in fct_alloc_cmd_slot()
[all …]
H A Ddiscovery.c806 uint16_t cmd_slot; in fct_handle_els() local
970 cmd_slot = fct_alloc_cmd_slot(iport, cmd); in fct_handle_els()
971 if (cmd_slot == FCT_SLOT_EOL) { in fct_handle_els()
/illumos-gate/usr/src/uts/common/io/sata/adapters/ahci/
H A Dahci.c2151 int cmd_slot; in ahci_deliver_satapkt() local
2225 cmd_slot = ahci_claim_free_slot(ahci_ctlp, ahci_portp, in ahci_deliver_satapkt()
2227 if (cmd_slot == AHCI_FAILURE) { in ahci_deliver_satapkt()
2235 cmd_slot, port, (void *)spkt); in ahci_deliver_satapkt()
2237 cmd_table = ahci_portp->ahciport_cmd_tables[cmd_slot]; in ahci_deliver_satapkt()
2341 (cmd_slot << SATA_TAG_QUEUING_SHIFT)); in ahci_deliver_satapkt()
2350 ahci_portp->ahciport_prd_bytecounts[cmd_slot] = 0; in ahci_deliver_satapkt()
2360 ahci_portp->ahciport_prd_bytecounts[cmd_slot] += in ahci_deliver_satapkt()
2366 ahci_portp->ahciport_prd_bytecounts[cmd_slot], cmd_slot); in ahci_deliver_satapkt()
2375 cmd_header = &ahci_portp->ahciport_cmd_list[cmd_slot]; in ahci_deliver_satapkt()
[all …]
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mpt_sas/
H A Dmptsas_var.h307 uint32_t cmd_slot; member