Home
last modified time | relevance | path

Searched refs:sg_tablesize (Results 1 – 183 of 183) sorted by relevance

/linux-4.4.14/drivers/scsi/aacraid/
Dcomminit.c436 dev->sg_tablesize = host->sg_tablesize = (dev->max_fib_size in aac_init_adapter()
510 host->sg_tablesize = status[2] >> 16; in aac_init_adapter()
511 dev->sg_tablesize = status[2] & 0xFFFF; in aac_init_adapter()
529 dev->sg_tablesize = host->sg_tablesize in aac_init_adapter()
537 host->sg_tablesize = 65; in aac_init_adapter()
538 dev->sg_tablesize = 81; in aac_init_adapter()
543 host->sg_tablesize = 129; in aac_init_adapter()
544 dev->sg_tablesize = 166; in aac_init_adapter()
549 host->sg_tablesize = 257; in aac_init_adapter()
550 dev->sg_tablesize = 337; in aac_init_adapter()
Dlinit.c1061 .sg_tablesize = 16,
1239 (shost->sg_tablesize > 34)) { in aac_probe_one()
1240 shost->sg_tablesize = 34; in aac_probe_one()
1241 shost->max_sectors = (shost->sg_tablesize * 8) + 112; in aac_probe_one()
1245 (shost->sg_tablesize > 17)) { in aac_probe_one()
1246 shost->sg_tablesize = 17; in aac_probe_one()
1247 shost->max_sectors = (shost->sg_tablesize * 8) + 112; in aac_probe_one()
Dcommsup.c1399 if ((quirks & AAC_QUIRK_34SG) && (host->sg_tablesize > 34)) { in _aac_reset_adapter()
1400 host->sg_tablesize = 34; in _aac_reset_adapter()
1401 host->max_sectors = (host->sg_tablesize * 8) + 112; in _aac_reset_adapter()
1403 if ((quirks & AAC_QUIRK_17SG) && (host->sg_tablesize > 17)) { in _aac_reset_adapter()
1404 host->sg_tablesize = 17; in _aac_reset_adapter()
1405 host->max_sectors = (host->sg_tablesize * 8) + 112; in _aac_reset_adapter()
Daachba.c1166 dev->scsi_host_ptr->sg_tablesize); in aac_read_raw_io()
1295 dev->scsi_host_ptr->sg_tablesize); in aac_write_raw_io()
1741 dev->scsi_host_ptr->sg_tablesize = (dev->max_fib_size - in aac_get_adapter_info()
1751 dev->scsi_host_ptr->sg_tablesize = in aac_get_adapter_info()
1773 (dev->scsi_host_ptr->sg_tablesize * 8) + 112; in aac_get_adapter_info()
Daacraid.h1111 unsigned sg_tablesize; member
/linux-4.4.14/drivers/scsi/snic/
Dsnic_ctl.c206 snic->shost->sg_tablesize = max_sgs; in snic_io_exch_ver_cmpl_handler()
208 snic->shost->sg_tablesize); in snic_io_exch_ver_cmpl_handler()
209 } else if (max_sgs > snic->shost->sg_tablesize) { in snic_io_exch_ver_cmpl_handler()
213 snic->shost->sg_tablesize); in snic_io_exch_ver_cmpl_handler()
Dsnic_main.c124 .sg_tablesize = SNIC_MAX_SG_DESC_CNT,
/linux-4.4.14/drivers/infiniband/ulp/iser/
Discsi_iser.c634 shost->sg_tablesize = iser_conn->scsi_sg_tablesize; in iscsi_iser_session_create()
658 shost->sg_tablesize = min_t(unsigned short, shost->sg_tablesize, in iscsi_iser_session_create()
661 1024, (shost->sg_tablesize * PAGE_SIZE) >> 9); in iscsi_iser_session_create()
982 .sg_tablesize = ISCSI_ISER_DEF_SG_TABLESIZE,
Diser_verbs.c755 unsigned short sg_tablesize, sup_sg_tablesize; in iser_calc_scsi_params() local
757 sg_tablesize = DIV_ROUND_UP(max_sectors * 512, SIZE_4K); in iser_calc_scsi_params()
761 if (sg_tablesize > sup_sg_tablesize) { in iser_calc_scsi_params()
762 sg_tablesize = sup_sg_tablesize; in iser_calc_scsi_params()
763 iser_conn->scsi_max_sectors = sg_tablesize * SIZE_4K / 512; in iser_calc_scsi_params()
768 iser_conn->scsi_sg_tablesize = sg_tablesize; in iser_calc_scsi_params()
/linux-4.4.14/drivers/scsi/
Dxen-scsifront.c390 if (data_grants > info->host->sg_tablesize) { in map_data_for_request()
708 .sg_tablesize = VSCSIIF_SG_TABLESIZE,
866 host->max_sectors = (host->sg_tablesize - 1) * PAGE_SIZE / 512; in scsifront_probe()
1078 else if (info->pause && nr_segs < host->sg_tablesize) in scsifront_read_backend_params()
1081 host->sg_tablesize, nr_segs); in scsifront_read_backend_params()
1083 host->sg_tablesize = nr_segs; in scsifront_read_backend_params()
Dmac_scsi.c378 .sg_tablesize = SG_ALL,
411 mac_scsi_template.sg_tablesize = setup_sg_tablesize; in mac_scsi_probe()
Ddmx3191d.c67 .sg_tablesize = SG_ALL,
Datari_scsi.c861 atari_scsi_template.sg_tablesize = SG_ALL; in atari_scsi_probe()
865 atari_scsi_template.sg_tablesize = SG_NONE; in atari_scsi_probe()
876 atari_scsi_template.sg_tablesize = setup_sg_tablesize; in atari_scsi_probe()
Dmac53c94.c405 .sg_tablesize = SG_ALL,
468 dma_cmd_space = kmalloc((host->sg_tablesize + 2) * in mac53c94_probe()
477 memset(state->dma_cmds, 0, (host->sg_tablesize + 1) in mac53c94_probe()
Deata.c1273 shost->sg_tablesize = (ushort) info.scatt_size; in port_detect()
1305 if (shost->sg_tablesize > MAX_SGLIST || shost->sg_tablesize < 2) { in port_detect()
1307 ha->board_name, shost->sg_tablesize); in port_detect()
1308 shost->sg_tablesize = MAX_SGLIST; in port_detect()
1325 if (info.large_sg && shost->sg_tablesize == MAX_SGLIST) in port_detect()
1326 shost->sg_tablesize = MAX_LARGE_SGLIST; in port_detect()
1346 size_t sz = shost->sg_tablesize *sizeof(struct sg_list); in port_detect()
1387 shost->sg_tablesize, shost->can_queue); in port_detect()
Dmvme147.c150 .sg_tablesize = SG_ALL,
Dultrastor.c525 tpnt->sg_tablesize = ULTRASTOR_14F_MAX_SG; in ultrastor_14f_detect()
609 tpnt->sg_tablesize = ULTRASTOR_24F_MAX_SG; in ultrastor_24f_detect()
641 tpnt->sg_tablesize); in ultrastor_24f_detect()
1205 .sg_tablesize = ULTRASTOR_14F_MAX_SG,
Dqlogicfas.c195 .sg_tablesize = SG_ALL,
Dhosts.c434 shost->sg_tablesize = sht->sg_tablesize; in scsi_host_alloc()
Dsun3_scsi.c513 .sg_tablesize = SG_NONE,
534 sun3_scsi_template.sg_tablesize = setup_sg_tablesize; in sun3_scsi_probe()
Ddpt_i2o.c569 host->can_queue, (int) pHba->reply_fifo_size , host->sg_tablesize); in adpt_show_info()
1713 void *sg_list[pHba->sg_tablesize]; in adpt_i2o_passthru()
1757 memset(sg_list,0, sizeof(sg_list[0])*pHba->sg_tablesize); in adpt_i2o_passthru()
1762 if (sg_count > pHba->sg_tablesize){ in adpt_i2o_passthru()
2365 host->sg_tablesize = pHba->sg_tablesize; in adpt_scsi_host_alloc()
2994 pHba->sg_tablesize in adpt_i2o_status_get()
2999 pHba->sg_tablesize in adpt_i2o_status_get()
3004 if (pHba->sg_tablesize > SG_LIST_ELEMENTS) { in adpt_i2o_status_get()
3005 pHba->sg_tablesize = SG_LIST_ELEMENTS; in adpt_i2o_status_get()
Da2091.c178 .sg_tablesize = SG_ALL,
Dsg.c177 int sg_tablesize; /* adapter's max scatter-gather table size */ member
338 sdp->sg_tablesize = queue_max_segments(q); in sg_open()
968 return put_user(sdp->sg_tablesize, ip); in sg_ioctl()
1445 sdp->sg_tablesize = queue_max_segments(q); in sg_alloc()
1828 int sg_tablesize = sfp->parentdp->sg_tablesize; in sg_build_indirect() local
1843 mx_sc_elems = sg_build_sgat(schp, sfp, sg_tablesize); in sg_build_indirect()
2694 sdp->sg_tablesize, sdp->exclude, sdp->open_cnt); in sg_proc_seq_show_debug()
Da3000.c193 .sg_tablesize = SG_ALL,
Dt128.c408 .sg_tablesize = SG_ALL,
Du14-34f.c904 sh[j]->sg_tablesize = MAX_SGLIST; in port_detect()
932 if (have_old_firmware) sh[j]->sg_tablesize = MAX_SAFE_SGLIST; in port_detect()
968 sh[j]->sg_tablesize = MAX_SAFE_SGLIST; in port_detect()
983 sh[j]->sg_tablesize * sizeof(struct sg_list), in port_detect()
1006 sh[j]->irq, dma_name, sh[j]->sg_tablesize, sh[j]->can_queue); in port_detect()
Dsgiwd93.c224 .sg_tablesize = SG_ALL,
Ddtc.c455 .sg_tablesize = SG_ALL,
Dpas16.c584 .sg_tablesize = SG_ALL,
Ddpti.h231 u32 sg_tablesize; // Scatter/Gather List Size. member
Dgvp11.c203 .sg_tablesize = SG_ALL,
Dstex.c420 dst->max_sg_count = cpu_to_le16(hba->host->sg_tablesize); in stex_map_sg()
452 dst->max_sg_count = cpu_to_le16(hba->host->sg_tablesize); in stex_ss_map_sg()
1617 host->sg_tablesize = 38; in stex_probe()
1619 host->sg_tablesize = 32; in stex_probe()
Dps3rom.c349 .sg_tablesize = SG_ALL,
Deata_pio.c766 sh->sg_tablesize = SG_ALL; in register_pio_HBA()
942 HBA_ptr->sg_tablesize, HBA_ptr->cmd_per_lun); in eata_pio_detect()
Da100u2w.c1080 .sg_tablesize = SG_ALL,
1157 shost->sg_tablesize = TOTAL_SG_ENTRY; in inia100_probe_one()
Dg_NCR5380.c710 .sg_tablesize = SG_ALL,
Dscsi_lib.c1936 shost->sg_tablesize, SCSI_MAX_SG_SEGMENTS) * in scsi_mq_prep_fn()
2108 blk_queue_max_segments(q, min_t(unsigned short, shost->sg_tablesize, in __scsi_init_queue()
2115 BUG_ON(shost->sg_prot_tablesize < shost->sg_tablesize); in __scsi_init_queue()
2190 tbl_size = shost->sg_tablesize; in scsi_mq_setup_tags()
Dwd7000.c1508 sh->sg_tablesize = 1; in wd7000_detect()
1652 .sg_tablesize = WD7000_SG,
Dvirtio_scsi.c538 BUG_ON(scsi_sg_count(sc) > shost->sg_tablesize); in virtscsi_queuecommand()
980 shost->sg_tablesize = sg_elems; in virtscsi_probe()
Daha1740.c546 .sg_tablesize = AHA1740_SCATTER,
Dqlogicpti.c963 host->sg_tablesize = QLOGICPTI_MAX_SG(num_free); in update_can_queue()
1289 .sg_tablesize = QLOGICPTI_MAX_SG(QLOGICPTI_REQ_QUEUE_LEN),
DNCR53c406a.c1066 .sg_tablesize = 32 /*SG_ALL*/ /*SG_NONE*/,
Dsym53c416.c840 .sg_tablesize = 32,
Dadvansys.c2429 s->cmd_per_lun, s->sg_tablesize, s->unchecked_isa_dma); in asc_prt_scsi_host()
3192 shost->sg_tablesize, shost->cmd_per_lun); in asc_prt_driver_conf()
7573 if (use_sg > scp->device->host->sg_tablesize) { in asc_build_req()
7576 scp->device->host->sg_tablesize); in asc_build_req()
7827 scp->device->host->sg_tablesize); in adv_build_req()
11225 shost->sg_tablesize = in advansys_board_found()
11229 shost->sg_tablesize = ADV_MAX_SG_LIST; in advansys_board_found()
11238 if (shost->sg_tablesize > SG_ALL) { in advansys_board_found()
11239 shost->sg_tablesize = SG_ALL; in advansys_board_found()
11242 ASC_DBG(1, "sg_tablesize: %d\n", shost->sg_tablesize); in advansys_board_found()
Dppa.c976 .sg_tablesize = SG_ALL,
Dimm.c1111 .sg_tablesize = SG_ALL,
Discsi_tcp.c957 .sg_tablesize = 4096,
Daha1542.c952 .sg_tablesize = 16,
Dwd719x.c884 .sg_tablesize = WD719X_SG,
Dfdomain.c1766 .sg_tablesize = 64,
Dmesh.c1839 .sg_tablesize = SG_ALL,
1913 ms->dma_cmd_size = (mesh_host->sg_tablesize + 2) * sizeof(struct dbdma_cmd); in mesh_probe()
Dstorvsc_drv.c1636 host->sg_tablesize = (stor_device->max_transfer_bytes >> PAGE_SHIFT); in storvsc_probe()
Dnsp32.c275 .sg_tablesize = NSP32_SG_SIZE,
1464 seq_printf(m, "sg_tablesize: %d\n", host->sg_tablesize); in nsp32_show_info()
Dscsi_sysfs.c340 shost_rd_attr(sg_tablesize, "%hu\n");
Dinitio.c2835 .sg_tablesize = SG_ALL,
2931 shost->sg_tablesize = TOTAL_SG_ENTRY; in initio_probe_one()
Dvmw_pvscsi.c971 .sg_tablesize = PVSCSI_MAX_NUM_SG_ENTRIES_PER_SEGMENT,
Dmegaraid.c307 adapter->host->sg_tablesize = adapter->sglen; in mega_query_adapter()
4179 .sg_tablesize = MAX_SGLIST,
D3w-sas.c1554 .sg_tablesize = TW_LIBERATOR_MAX_SGL_LENGTH,
Dips.c370 .sg_tablesize = IPS_MAX_SG,
6730 sh->sg_tablesize = sh->hostt->sg_tablesize; in ips_register_scsi()
Din2000.c2298 .sg_tablesize = IN2000_SG,
DNCR5380.c643 instance->sg_tablesize, instance->this_id, in prepare_info()
D3w-xxxx.c2234 .sg_tablesize = TW_MAX_SGL_LENGTH,
Datari_NCR5380.c638 instance->sg_tablesize, instance->this_id, in prepare_info()
Dhptiop.c1405 host->sg_tablesize = le32_to_cpu(iop_config.max_sg_count); in hptiop_probe()
D53c700.c321 tpnt->sg_tablesize = NCR_700_SG_SEGMENTS; in NCR_700_detect()
D3w-9xxx.c1994 .sg_tablesize = TW_APACHE_MAX_SGL_LENGTH,
Desp_scsi.c2693 .sg_tablesize = SG_ALL,
Daha152x.c2924 .sg_tablesize = SG_ALL,
Dmvumi.c2449 host->sg_tablesize = mhba->max_sge > max_sg ? max_sg : mhba->max_sge; in mvumi_io_attach()
DBusLogic.c2305 host->sg_tablesize = adapter->drvr_sglimit; in blogic_inithoststruct()
Dqla1280.c4219 .sg_tablesize = SG_ALL,
Datp870u.c3160 .sg_tablesize = ATP870U_SCATTER /*SG_ALL*/ /*SG_NONE*/,
Ddc395x.c4739 .sg_tablesize = DC395x_MAX_SG_TABLESIZE,
Dpmcraid.c4251 .sg_tablesize = PMCRAID_MAX_IOADLS,
Dscsi_debug.c5308 .sg_tablesize = SCSI_MAX_SG_CHAIN_SEGMENTS,
Dncr53c8xx.c8314 tpnt->sg_tablesize = SCSI_NCR_SG_TABLESIZE;
Dgdth.c4682 .sg_tablesize = GDTH_MAXSG,
Dosst.c5886 i = SDp->host->sg_tablesize; in osst_probe()
Dhpsa.c5279 sh->sg_tablesize = h->maxsgentries; in hpsa_scsi_host_alloc()
Dipr.c6506 .sg_tablesize = IPR_MAX_SGLIST,
/linux-4.4.14/include/scsi/
Dscsi_host.h366 unsigned short sg_tablesize; member
621 short unsigned int sg_tablesize; member
/linux-4.4.14/drivers/scsi/esas2r/
Desas2r_main.c249 .sg_tablesize = SCSI_MAX_SG_SEGMENTS,
274 int sg_tablesize = SCSI_MAX_SG_SEGMENTS; variable
275 module_param(sg_tablesize, int, 0);
276 MODULE_PARM_DESC(sg_tablesize,
418 host->sg_tablesize = sg_tablesize; in esas2r_probe()
595 if (sg_tablesize < 32) { in esas2r_init()
599 sg_tablesize = 32; in esas2r_init()
Desas2r.h87 extern int sg_tablesize;
/linux-4.4.14/drivers/usb/storage/
Duas-detect.h121 if (udev->bus->sg_tablesize == 0) { in uas_use_uas_driver()
Dusb.c922 if (usb_dev->bus->sg_tablesize) { in usb_stor_sg_tablesize()
923 return usb_dev->bus->sg_tablesize; in usb_stor_sg_tablesize()
955 host->sg_tablesize = usb_stor_sg_tablesize(intf); in usb_stor_probe1()
Duas.c417 urb->num_sgs = udev->bus->sg_tablesize ? sdb->table.nents : 0; in uas_alloc_data_urb()
828 .sg_tablesize = SG_NONE,
928 shost->sg_tablesize = udev->bus->sg_tablesize; in uas_probe()
Dscsiglue.c566 .sg_tablesize = SCSI_MAX_SG_CHAIN_SEGMENTS,
/linux-4.4.14/drivers/infiniband/ulp/srp/
Dib_srp.h208 unsigned int sg_tablesize; member
Dib_srp.c2799 .sg_tablesize = SRP_DEF_SG_TABLESIZE,
3138 target->sg_tablesize = token; in srp_parse_options()
3218 target->sg_tablesize = indirect_sg_entries ? : cmd_sg_entries; in srp_create_target()
3248 target->cmd_sg_cnt < target->sg_tablesize) { in srp_create_target()
3250 target->sg_tablesize = target->cmd_sg_cnt; in srp_create_target()
3253 target_host->sg_tablesize = target->sg_tablesize; in srp_create_target()
3254 target->indirect_size = target->sg_tablesize * in srp_create_target()
/linux-4.4.14/drivers/staging/unisys/visorhba/
Dvisorhba_main.c602 .sg_tablesize = 64,
1116 scsihost->sg_tablesize = in visorhba_probe()
1118 if (scsihost->sg_tablesize > MAX_PHYS_INFO) in visorhba_probe()
1119 scsihost->sg_tablesize = MAX_PHYS_INFO; in visorhba_probe()
/linux-4.4.14/drivers/scsi/arm/
Doak.c114 .sg_tablesize = SG_ALL,
Darxescsi.c247 .sg_tablesize = SG_ALL,
Dcumana_1.c210 .sg_tablesize = SG_ALL,
Dpowertec.c294 .sg_tablesize = SCSI_MAX_SG_CHAIN_SEGMENTS,
Dcumana_2.c368 .sg_tablesize = SCSI_MAX_SG_CHAIN_SEGMENTS,
Deesox.c487 .sg_tablesize = SCSI_MAX_SG_CHAIN_SEGMENTS,
Dacornscsi.c2889 .sg_tablesize = SG_ALL,
/linux-4.4.14/drivers/ata/
Dpata_sc1200.c210 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
Dpata_cs5530.c163 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
Dpata_cs5520.c107 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
Dpata_atiixp.c254 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
Dahci.h369 .sg_tablesize = AHCI_MAX_SG, \
Dsata_nv.c396 .sg_tablesize = NV_ADMA_SGTBL_TOTAL_LEN,
404 .sg_tablesize = LIBATA_MAX_PRD,
681 unsigned short sg_tablesize; in nv_adma_slave_config() local
705 sg_tablesize = LIBATA_MAX_PRD - 1; in nv_adma_slave_config()
713 sg_tablesize = NV_ADMA_SGTBL_TOTAL_LEN; in nv_adma_slave_config()
772 blk_queue_max_segments(sdev->request_queue, sg_tablesize); in nv_adma_slave_config()
776 segment_boundary, sg_tablesize); in nv_adma_slave_config()
Dpata_serverworks.c256 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
Dpata_icside.c297 .sg_tablesize = SCSI_MAX_SG_CHAIN_SEGMENTS,
Dsata_qstor.c129 .sg_tablesize = QS_MAX_PRD,
Dsata_sil.c181 .sg_tablesize = ATA_MAX_PRD
Dpdc_adma.c144 .sg_tablesize = LIBATA_MAX_PRD,
Dsata_inic162x.c248 .sg_tablesize = LIBATA_MAX_PRD, /* maybe it can be larger? */
Dpata_ep93xx.c878 .sg_tablesize = 32,
Dsata_rcar.c644 .sg_tablesize = ATA_MAX_PRD,
Dpata_arasan_cf.c222 .sg_tablesize = SG_NONE,
Dpata_macio.c913 .sg_tablesize = MAX_DCMDS,
Dsata_sil24.c389 .sg_tablesize = SIL24_MAX_SGE,
Dsata_promise.c180 .sg_tablesize = PDC_MAX_PRD,
Dsata_dwc_460ex.c1149 .sg_tablesize = LIBATA_MAX_PRD,
Dpata_bf54x.c1412 .sg_tablesize = BFIN_MAX_SG_SEGMENTS,
Dsata_sx4.c246 .sg_tablesize = LIBATA_MAX_PRD,
Dsata_fsl.c1413 .sg_tablesize = SATA_FSL_MAX_PRD_USABLE,
Dsata_mv.c677 .sg_tablesize = MV_MAX_SG_CT / 2,
684 .sg_tablesize = MV_MAX_SG_CT / 2,
/linux-4.4.14/drivers/s390/scsi/
Dzfcp_scsi.c293 .sg_tablesize = (((QDIO_MAX_ELEMENTS_PER_BUFFER - 1)
657 shost->sg_tablesize = adapter->qdio->max_sbale_per_req / 2; in zfcp_scsi_set_prot()
658 shost->max_sectors = shost->sg_tablesize * 8; in zfcp_scsi_set_prot()
Dzfcp_qdio.c433 adapter->scsi_host->sg_tablesize = qdio->max_sbale_per_req; in zfcp_qdio_open()
/linux-4.4.14/drivers/scsi/mpt3sas/
Dmpt3sas_base.c3153 unsigned short sg_tablesize; in _base_allocate_memory_pools() local
3166 sg_tablesize = max_sgl_entries; in _base_allocate_memory_pools()
3169 sg_tablesize = MPT2SAS_SG_DEPTH; in _base_allocate_memory_pools()
3171 sg_tablesize = MPT3SAS_SG_DEPTH; in _base_allocate_memory_pools()
3174 if (sg_tablesize < MPT_MIN_PHYS_SEGMENTS) in _base_allocate_memory_pools()
3175 sg_tablesize = MPT_MIN_PHYS_SEGMENTS; in _base_allocate_memory_pools()
3176 else if (sg_tablesize > MPT_MAX_PHYS_SEGMENTS) { in _base_allocate_memory_pools()
3177 sg_tablesize = min_t(unsigned short, sg_tablesize, in _base_allocate_memory_pools()
3182 sg_tablesize, MPT_MAX_PHYS_SEGMENTS); in _base_allocate_memory_pools()
3184 ioc->shost->sg_tablesize = sg_tablesize; in _base_allocate_memory_pools()
[all …]
Dmpt3sas_scsih.c8333 .sg_tablesize = MPT2SAS_SG_DEPTH,
8371 .sg_tablesize = MPT3SAS_SG_DEPTH,
/linux-4.4.14/drivers/scsi/pcmcia/
Dqlogic_stub.c74 .sg_tablesize = SG_ALL,
Dsym53c500_cs.c682 .sg_tablesize = 32,
Dnsp_cs.c88 .sg_tablesize = SG_ALL,
1383 seq_printf(m, "sg_tablesize: %d\n", host->sg_tablesize); in nsp_show_info()
/linux-4.4.14/drivers/message/fusion/
Dmptfc.c129 .sg_tablesize = MPT_SCSI_SG_DEPTH,
1286 if (numSGE < sh->sg_tablesize) { in mptfc_probe()
1290 ioc->name, numSGE, sh->sg_tablesize)); in mptfc_probe()
1291 sh->sg_tablesize = numSGE; in mptfc_probe()
Dmptspi.c848 .sg_tablesize = MPT_SCSI_SG_DEPTH,
1486 if (numSGE < sh->sg_tablesize) { in mptspi_probe()
1490 ioc->name, numSGE, sh->sg_tablesize)); in mptspi_probe()
1491 sh->sg_tablesize = numSGE; in mptspi_probe()
Dmptsas.c1992 .sg_tablesize = MPT_SCSI_SG_DEPTH,
5244 if (numSGE < sh->sg_tablesize) { in mptsas_probe()
5248 ioc->name, numSGE, sh->sg_tablesize)); in mptsas_probe()
5249 sh->sg_tablesize = numSGE; in mptsas_probe()
/linux-4.4.14/arch/ia64/hp/sim/
Dsimscsi.c346 .sg_tablesize = SG_ALL,
/linux-4.4.14/drivers/usb/host/whci/
Dhcd.c252 usb_hcd->self.sg_tablesize = 2048; /* somewhat arbitrary */ in whc_probe()
/linux-4.4.14/Documentation/scsi/
Dscsi-parameters.txt55 <can_queue>,<cmd_per_lun>,<sg_tablesize>,<hostid>,<use_tags>
Dscsi_mid_low_api.txt1206 sg_tablesize - maximum scatter gather elements allowed by host.
DChangeLog.1992-1997897 * eata.c: Set sg_tablesize correctly for DPT PM2012 boards.
/linux-4.4.14/drivers/scsi/bfa/
Dbfad_im.c728 sht->sg_tablesize = bfad->cfg_data.io_max_sge; in bfad_scsi_host_alloc()
797 .sg_tablesize = BFAD_IO_MAX_SGE,
819 .sg_tablesize = BFAD_IO_MAX_SGE,
/linux-4.4.14/drivers/scsi/mvsas/
Dmv_init.c60 .sg_tablesize = SG_ALL,
505 shost->sg_tablesize = min_t(u16, SG_ALL, MVS_MAX_SG); in mvs_post_sas_ha_init()
/linux-4.4.14/drivers/usb/image/
Dmicrotek.c635 .sg_tablesize = SG_ALL,
/linux-4.4.14/Documentation/ABI/stable/
Dsysfs-driver-ib_srp52 * sg_tablesize, a number in the range 1..2048 specifying the
/linux-4.4.14/drivers/scsi/isci/
Dinit.c164 .sg_tablesize = SG_ALL,
/linux-4.4.14/drivers/usb/host/
Duhci-hcd.c573 hcd->self.sg_tablesize = ~0; in uhci_start()
Dhwa-hc.c815 usb_hcd->self.sg_tablesize = ~0; in hwahc_probe()
Dehci-hcd.c567 hcd->self.sg_tablesize = ~0; in ehci_init()
Dohci-hcd.c447 hcd->self.sg_tablesize = ~0; in ohci_init()
Dmax3421-hcd.c1495 hcd->self.sg_tablesize = 0; in max3421_reset()
Dxhci.c4858 hcd->self.sg_tablesize = ~0; in xhci_gen_setup()
Dfotg210-hcd.c5039 hcd->self.sg_tablesize = ~0; in hcd_fotg210_init()
/linux-4.4.14/include/linux/
Dlibata.h1809 .sg_tablesize = LIBATA_MAX_PRD, \
1877 .sg_tablesize = LIBATA_MAX_PRD, \
Dusb.h370 unsigned sg_tablesize; /* 0 or largest number of sg list entries */ member
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_target.h839 int datasegs_per_cmd, datasegs_per_cont, sg_tablesize; member
Dqla_os.c264 .sg_tablesize = SG_ALL,
2602 host->sg_tablesize = 32; in qla2x00_probe_one()
2605 host->sg_tablesize = QLA_SG_ALL; in qla2x00_probe_one()
2735 base_vha->mgmt_svr_loop_id, host->sg_tablesize); in qla2x00_probe_one()
2831 host->sg_tablesize = (ha->mr.extended_io_enabled) ? in qla2x00_probe_one()
Dqla_target.c5796 tgt->sg_tablesize = QLA_TGT_MAX_SG_24XX(base_vha->req->length - 3); in qlt_add_target()
/linux-4.4.14/drivers/staging/rts5208/
Drtsx.c241 .sg_tablesize = SG_ALL,
/linux-4.4.14/drivers/target/loopback/
Dtcm_loop.c373 .sg_tablesize = 256,
/linux-4.4.14/drivers/scsi/ibmvscsi/
Dibmvscsi.c1407 hostdata->host->sg_tablesize = MAX_INDIRECT_BUFS; in adapter_info_rsp()
2144 .sg_tablesize = SG_ALL,
Dibmvfc.c3094 .sg_tablesize = SG_ALL,
/linux-4.4.14/drivers/scsi/aic94xx/
Daic94xx_init.c69 .sg_tablesize = SG_ALL,
/linux-4.4.14/drivers/scsi/csiostor/
Dcsio_scsi.c2281 .sg_tablesize = CSIO_SCSI_MAX_SGE,
2300 .sg_tablesize = CSIO_SCSI_MAX_SGE,
/linux-4.4.14/drivers/scsi/fnic/
Dfnic_main.c118 .sg_tablesize = FNIC_MAX_SG_DESC_CNT,
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic79xx_osm.c1241 host->sg_tablesize = AHD_NSEG; in ahd_linux_register_host()
1247 host->sg_tablesize = AHD_NSEG; in ahd_linux_register_host()
Daic7xxx_osm.c1111 host->sg_tablesize = AHC_NSEG; in ahc_linux_register_host()
/linux-4.4.14/drivers/usb/core/
Ddevio.c1376 if (num_sgs == 1 || num_sgs > ps->dev->bus->sg_tablesize) in proc_do_submiturb()
2053 if (ps->dev->bus->sg_tablesize) in proc_get_capabilities()
Dmessage.c377 if (dev->bus->sg_tablesize > 0) { in usb_sg_init()
/linux-4.4.14/drivers/scsi/arcmsr/
Darcmsr_hba.c135 .sg_tablesize = ARCMSR_DEFAULT_SG_ENTRIES,
523 acb->host->sg_tablesize = max_sg_entrys; in arcmsr_alloc_ccb_pool()
1353 if (unlikely(nseg > acb->host->sg_tablesize || nseg < 0)) in arcmsr_build_ccb()
/linux-4.4.14/drivers/firewire/
Dsbp2.c1612 .sg_tablesize = SG_ALL,
/linux-4.4.14/drivers/scsi/pm8001/
Dpm8001_init.c85 .sg_tablesize = SG_ALL,
/linux-4.4.14/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c90 .sg_tablesize = SG_ALL,
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_scsi.c5910 .sg_tablesize = LPFC_DEFAULT_SG_SEG_CNT,
5935 .sg_tablesize = LPFC_DEFAULT_SG_SEG_CNT,
5959 .sg_tablesize = LPFC_DEFAULT_SG_SEG_CNT,
Dlpfc_init.c3318 shost->sg_tablesize = phba->cfg_sg_seg_cnt; in lpfc_create_port()
5009 lpfc_vport_template.sg_tablesize = phba->cfg_sg_seg_cnt; in lpfc_sli_driver_resource_setup()
5010 lpfc_template_s3.sg_tablesize = phba->cfg_sg_seg_cnt; in lpfc_sli_driver_resource_setup()
5243 lpfc_vport_template.sg_tablesize = phba->cfg_sg_seg_cnt; in lpfc_sli4_driver_resource_setup()
5244 lpfc_template.sg_tablesize = phba->cfg_sg_seg_cnt; in lpfc_sli4_driver_resource_setup()
/linux-4.4.14/drivers/block/
Dcciss_scsi.c857 sh->sg_tablesize = h->maxsgentries; in cciss_scsi_detect()
/linux-4.4.14/drivers/scsi/sym53c8xx_2/
Dsym_glue.c1371 shost->sg_tablesize = SYM_CONF_MAX_SG; in sym_attach()
/linux-4.4.14/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c2272 .sg_tablesize = ISCSI_MAX_BDS_PER_CMD,
/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe.c288 .sg_tablesize = SG_ALL,
/linux-4.4.14/drivers/scsi/cxlflash/
Dmain.c2266 .sg_tablesize = SG_NONE, /* No scatter gather support */
/linux-4.4.14/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c98 .sg_tablesize = SG_ALL,
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c2868 .sg_tablesize = BNX2FC_MAX_BDS_PER_CMD,
/linux-4.4.14/drivers/usb/gadget/udc/
Ddummy_hcd.c2466 hcd->self.sg_tablesize = ~0; in dummy_setup()
/linux-4.4.14/drivers/usb/dwc2/
Dhcd.c3136 hcd->self.sg_tablesize = 0; in dwc2_hcd_init()
/linux-4.4.14/drivers/scsi/megaraid/
Dmegaraid_mbox.c650 host->sg_tablesize = adapter->sglen; in megaraid_io_attach()
Dmegaraid_sas_base.c5228 host->sg_tablesize = instance->max_num_sge; in megasas_io_attach()
/linux-4.4.14/drivers/scsi/ufs/
Dufshcd.c4348 .sg_tablesize = SG_ALL,
/linux-4.4.14/drivers/scsi/be2iscsi/
Dbe_main.c565 .sg_tablesize = BEISCSI_SGLIST_ELEMENTS,
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_os.c209 .sg_tablesize = SG_ALL,