Searched refs:n_sgl (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12-stable/sys/dev/ocs_fc/ |
| D | ocs_xport.c | 192 uint32_t n_sgl; in ocs_xport_attach() local 237 n_sgl = MIN(OCS_FC_MAX_SGL, max_sgl); in ocs_xport_attach() 241 n_sgl = 4; in ocs_xport_attach() 245 if (ocs_hw_set(&ocs->hw, OCS_HW_N_SGL, n_sgl) != OCS_HW_RTN_SUCCESS) { in ocs_xport_attach() 249 ocs_log_debug(ocs, "%s: Configured for %d SGLs\n", ocs->desc, n_sgl); in ocs_xport_attach() 267 (ocs->ctrlmask & OCS_CTRLMASK_TEST_CHAINED_SGLS) ? OCS_FC_MAX_SGL : n_sgl); in ocs_xport_attach()
|
| D | ocs_ddump.c | 460 ocs_ddump_value(textbuf, "n_sgl", "%d", hw->config.n_sgl); in ocs_ddump_hw()
|
| D | ocs_hw.h | 913 uint32_t n_sgl;/**< length of SGL */ member
|
| D | ocs_hw.c | 1501 *value = (hw->config.n_sgl - SLI4_SGE_MAX_RESERVED); in ocs_hw_get() 1836 hw->config.n_sgl = value; in ocs_hw_set() 4832 if ((io->n_sge + 1) > hw->config.n_sgl) { in ocs_hw_io_add_dif_sge() 9596 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() 9601 io->def_sgl_count = hw->config.n_sgl; in ocs_hw_setup_io()
|