Home
last modified time | relevance | path

Searched refs:max_fw_cmds (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/mrsas/
H A Dmrsas.c1188 u_int32_t max_fw_cmds; in mrsas_free_mem() local
1299 max_fw_cmds = sc->max_fw_cmds; in mrsas_free_mem()
1301 for (i = 0; i < max_fw_cmds; i++) { in mrsas_free_mem()
2037 sense_size = sc->max_fw_cmds * MRSAS_SENSE_LEN; in mrsas_alloc_mem()
2537 sc->max_fw_cmds, sc->max_scsi_cmds); in mrsas_init_fw()
2561 sc->max_fw_cmds = status & MRSAS_FWSTATE_MAXCMD_MASK; in mrsas_init_adapter()
2564 sc->max_fw_cmds = sc->max_fw_cmds - 1; in mrsas_init_adapter()
2565 sc->max_scsi_cmds = sc->max_fw_cmds - MRSAS_MAX_MFI_CMDS; in mrsas_init_adapter()
2568 sc->reply_q_depth = ((sc->max_fw_cmds + 1 + 15) / 16 * 16) * 2; in mrsas_init_adapter()
2569 sc->request_alloc_sz = sizeof(MRSAS_REQUEST_DESCRIPTOR_UNION) * sc->max_fw_cmds; in mrsas_init_adapter()
[all …]
H A Dmrsas_cam.c723 KASSERT(index < sc->max_fw_cmds, ("req_desc is out of range")); in mrsas_get_request_desc()
1809 for (i = 0 ; i < sc->max_fw_cmds; i++) { in mrsas_track_scsiio()
H A Dmrsas.h3487 uint32_t max_fw_cmds; member
/freebsd/sys/dev/mfi/
H A Dmfi.c368 int frames, unit, max_fw_sge, max_fw_cmds; in mfi_attach() local
463 max_fw_cmds = status & MFI_FWSTATE_MAXCMD_MASK; in mfi_attach()
464 if (mfi_max_cmds > 0 && mfi_max_cmds < max_fw_cmds) { in mfi_attach()
466 max_fw_cmds, mfi_max_cmds); in mfi_attach()
469 sc->mfi_max_fw_cmds = max_fw_cmds; in mfi_attach()
479 "MaxSgl = %d, state = %#x\n", max_fw_cmds, in mfi_attach()