Searched refs:max_sgl (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12-stable/sys/dev/ocs_fc/ |
| D | 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() 425 uint32_t max_sgl; in ocs_xport_initialize() local 443 ocs_hw_get(&ocs->hw, OCS_HW_MAX_SGL, &max_sgl); in ocs_xport_initialize() 444 max_sgl -= SLI4_SGE_MAX_RESERVED; in ocs_xport_initialize()
|
| D | ocs_pci.c | 928 uint32_t max_sgl = 0; in ocs_init_dma_tag() local 936 ocs_hw_get(&ocs->hw, OCS_HW_N_SGL, &max_sgl); in ocs_init_dma_tag() 947 max_sgl, /* segment count restrictions */ in ocs_init_dma_tag()
|
| D | ocs_scsi.c | 1289 uint32_t max_sgl; in ocs_scsi_io_dispatch_hw_io() local 1293 ocs_hw_get(&ocs->hw, OCS_HW_N_SGL, &max_sgl); in ocs_scsi_io_dispatch_hw_io() 1306 if (host_allocated && total_count > max_sgl) { in ocs_scsi_io_dispatch_hw_io() 1308 uint32_t count = total_count - max_sgl + 1; in ocs_scsi_io_dispatch_hw_io()
|
| /freebsd-12-stable/sys/dev/twe/ |
| D | twe_freebsd.c | 927 twe_fillin_sgl(TWE_SG_Entry *sgl, bus_dma_segment_t *segs, int nsegments, int max_sgl) in twe_fillin_sgl() argument 935 for (; i < max_sgl; i++) { /* XXX necessary? */ in twe_fillin_sgl()
|