Home
last modified time | relevance | path

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

/freebsd/sys/dev/ocs_fc/
H A Docs_xport.c190 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 Docs_ddump.c454 ocs_ddump_value(textbuf, "n_sgl", "%d", hw->config.n_sgl); in ocs_ddump_hw()
H A Docs_hw.h906 uint32_t n_sgl;/**< length of SGL */ member
H A Docs_hw.c1498 *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()