Home
last modified time | relevance | path

Searched refs:max_sgl (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/ocs_fc/
H A Docs_xport.c189 uint32_t max_sgl; in ocs_xport_attach() local
232 ocs_hw_get(&ocs->hw, OCS_HW_MAX_SGL, &max_sgl); in ocs_xport_attach()
233 max_sgl -= SLI4_SGE_MAX_RESERVED; in ocs_xport_attach()
234 n_sgl = MIN(OCS_FC_MAX_SGL, max_sgl); in ocs_xport_attach()
417 uint32_t max_sgl; in ocs_xport_initialize() local
435 ocs_hw_get(&ocs->hw, OCS_HW_MAX_SGL, &max_sgl); in ocs_xport_initialize()
436 max_sgl -= SLI4_SGE_MAX_RESERVED; in ocs_xport_initialize()
H A Docs_pci.c920 uint32_t max_sgl = 0; in ocs_init_dma_tag() local
928 ocs_hw_get(&ocs->hw, OCS_HW_N_SGL, &max_sgl); in ocs_init_dma_tag()
939 max_sgl, /* segment count restrictions */ in ocs_init_dma_tag()
H A Docs_scsi.c1274 uint32_t max_sgl; in ocs_scsi_io_dispatch_hw_io() local
1278 ocs_hw_get(&ocs->hw, OCS_HW_N_SGL, &max_sgl); in ocs_scsi_io_dispatch_hw_io()
1291 if (host_allocated && total_count > max_sgl) { in ocs_scsi_io_dispatch_hw_io()
1293 uint32_t count = total_count - max_sgl + 1; in ocs_scsi_io_dispatch_hw_io()