Searched refs:max_sgl (Results 1 – 4 of 4) sorted by relevance
| /freebsd-13-stable/sys/dev/ocs_fc/ |
| HD | ocs_xport.c | 189 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()
|
| HD | ocs_pci.c | 920 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()
|
| HD | ocs_scsi.c | 1274 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()
|
| /freebsd-13-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()
|