Searched refs:n_sgl (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_xport.c | 190 uint32_t n_sgl; in ocs_xport_attach() local 234 n_sgl = MIN(OCS_FC_MAX_SGL, max_sgl); in ocs_xport_attach() 238 n_sgl = 4; in ocs_xport_attach() 242 if (ocs_hw_set(&ocs->hw, OCS_HW_N_SGL, n_sgl) != OCS_HW_RTN_SUCCESS) { in ocs_xport_attach() 246 ocs_log_debug(ocs, "%s: Configured for %d SGLs\n", ocs->desc, n_sgl); in ocs_xport_attach() 264 (ocs->ctrlmask & OCS_CTRLMASK_TEST_CHAINED_SGLS) ? OCS_FC_MAX_SGL : n_sgl); in ocs_xport_attach()
|
H A D | ocs_ddump.c | 454 ocs_ddump_value(textbuf, "n_sgl", "%d", hw->config.n_sgl); in ocs_ddump_hw()
|
H A D | ocs_hw.h | 906 uint32_t n_sgl;/**< length of SGL */ member
|
H A D | ocs_hw.c | 1498 *value = (hw->config.n_sgl - SLI4_SGE_MAX_RESERVED); in ocs_hw_get() 1832 hw->config.n_sgl = value; in ocs_hw_set() 4829 if ((io->n_sge + 1) > hw->config.n_sgl) { in ocs_hw_io_add_dif_sge() 9580 if (new_alloc && ocs_dma_alloc(hw->os, &io->def_sgl, hw->config.n_sgl * sizeof(sli4_sge_t), 64)) { in ocs_hw_setup_io() 9585 io->def_sgl_count = hw->config.n_sgl; in ocs_hw_setup_io()
|