Searched refs:max_sgl (Results 1 – 4 of 4) sorted by relevance
| /freebsd-11-stable/sys/dev/ocs_fc/ |
| HD | ocs_xport.c | 191 uint32_t max_sgl; in ocs_xport_attach() local 235 ocs_hw_get(&ocs->hw, OCS_HW_MAX_SGL, &max_sgl); in ocs_xport_attach() 236 max_sgl -= SLI4_SGE_MAX_RESERVED; in ocs_xport_attach() 237 n_sgl = MIN(OCS_FC_MAX_SGL, max_sgl); in ocs_xport_attach() 395 uint32_t max_sgl; in ocs_xport_initialize() local 413 ocs_hw_get(&ocs->hw, OCS_HW_MAX_SGL, &max_sgl); in ocs_xport_initialize() 414 max_sgl -= SLI4_SGE_MAX_RESERVED; in ocs_xport_initialize()
|
| HD | ocs_pci.c | 874 uint32_t max_sgl = 0; in ocs_init_dma_tag() local 882 ocs_hw_get(&ocs->hw, OCS_HW_N_SGL, &max_sgl); in ocs_init_dma_tag() 893 max_sgl, /* segment count restrictions */ in ocs_init_dma_tag()
|
| HD | ocs_scsi.c | 1290 uint32_t max_sgl; in ocs_scsi_io_dispatch_hw_io() local 1294 ocs_hw_get(&ocs->hw, OCS_HW_N_SGL, &max_sgl); in ocs_scsi_io_dispatch_hw_io() 1307 if (host_allocated && total_count > max_sgl) { in ocs_scsi_io_dispatch_hw_io() 1309 uint32_t count = total_count - max_sgl + 1; in ocs_scsi_io_dispatch_hw_io()
|
| /freebsd-11-stable/sys/dev/twe/ |
| HD | twe_freebsd.c | 925 twe_fillin_sgl(TWE_SG_Entry *sgl, bus_dma_segment_t *segs, int nsegments, int max_sgl) in twe_fillin_sgl() argument 933 for (; i < max_sgl; i++) { /* XXX necessary? */ in twe_fillin_sgl()
|