/drivers/scsi/qla2xxx/ |
D | qla_bsg.c | 42 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_bsg_sp_free() 47 bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in qla2x00_bsg_sp_free() 50 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_bsg_sp_free() 53 bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in qla2x00_bsg_sp_free() 184 bsg_job->reply_payload.sg_cnt, ha->fcp_prio_cfg, in qla24xx_proc_fcp_prio_cfg_cmd() 211 bsg_job->request_payload.sg_cnt, ha->fcp_prio_cfg, in qla24xx_proc_fcp_prio_cfg_cmd() 281 if (bsg_job->request_payload.sg_cnt > 1 || in qla2x00_process_els() 282 bsg_job->reply_payload.sg_cnt > 1) { in qla2x00_process_els() 286 bsg_job->request_payload.sg_cnt, in qla2x00_process_els() 287 bsg_job->reply_payload.sg_cnt); in qla2x00_process_els() [all …]
|
D | qla_target.c | 1475 BUG_ON(cmd->sg_cnt == 0); in qlt_pci_map_calc_cnt() 1479 cmd->sg_cnt, cmd->dma_data_direction); in qlt_pci_map_calc_cnt() 1500 0, prm->cmd->sg_cnt); in qlt_pci_map_calc_cnt() 1510 pci_unmap_sg(ha->pdev, cmd->sg, cmd->sg_cnt, cmd->dma_data_direction); in qlt_unmap_sg() 1930 if (qlt_has_data(cmd) && (cmd->sg_cnt > 1) && in qlt_check_srr_debug() 1936 leave = qlt_srr_random() % cmd->sg_cnt; in qlt_check_srr_debug() 1945 cmd->bufflen, cmd->sg_cnt); in qlt_check_srr_debug() 1948 cmd->sg_cnt = leave; in qlt_check_srr_debug() 2058 1 : 0, cmd->bufflen, cmd->sg_cnt, cmd->dma_data_direction); in qlt_xmit_response() 3014 cmd, cmd->sg, cmd->sg_cnt, cmd->dma_data_direction); in qlt_set_data_offset() [all …]
|
D | qla_iocb.c | 2023 els_iocb->tx_dsd_count = __constant_cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla24xx_els_iocb() 2026 els_iocb->rx_dsd_count = __constant_cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qla24xx_els_iocb() 2080 __constant_cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla2x00_ct_iocb() 2082 __constant_cpu_to_le16(bsg_job->request_payload.sg_cnt + 1); in qla2x00_ct_iocb() 2103 tot_dsds = bsg_job->reply_payload.sg_cnt; in qla2x00_ct_iocb() 2158 __constant_cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla24xx_ct_iocb() 2161 __constant_cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qla24xx_ct_iocb() 2176 tot_dsds = bsg_job->reply_payload.sg_cnt; in qla24xx_ct_iocb() 2669 cmd_pkt->wr_dseg_count = cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla25xx_build_bidir_iocb() 2670 cmd_pkt->rd_dseg_count = cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qla25xx_build_bidir_iocb() [all …]
|
D | tcm_qla2xxx.c | 525 cmd->sg_cnt = se_cmd->t_data_nents; in tcm_qla2xxx_write_pending() 662 cmd->sg_cnt = se_cmd->t_data_nents; in tcm_qla2xxx_queue_data_in() 681 cmd->sg_cnt = 0; in tcm_qla2xxx_queue_status()
|
D | qla_target.h | 848 int sg_cnt; /* SG segments count */ member
|
D | qla_mr.c | 3337 cpu_to_le16(bsg_job->request_payload.sg_cnt); in qlafx00_fxdisc_iocb() 3339 cpu_to_le32(bsg_job->request_payload.sg_cnt); in qlafx00_fxdisc_iocb() 3400 cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qlafx00_fxdisc_iocb() 3401 tot_dsds = cpu_to_le32(bsg_job->reply_payload.sg_cnt); in qlafx00_fxdisc_iocb()
|
/drivers/scsi/qla4xxx/ |
D | ql4_bsg.c | 64 bsg_job->reply_payload.sg_cnt, in qla4xxx_read_flash() 124 bsg_job->request_payload.sg_cnt, flash, length); in qla4xxx_update_flash() 188 bsg_job->reply_payload.sg_cnt, in qla4xxx_get_acb_state() 259 bsg_job->reply_payload.sg_cnt, in qla4xxx_read_nvram() 323 bsg_job->request_payload.sg_cnt, nvram, len); in qla4xxx_update_nvram() 437 bsg_job->reply_payload.sg_cnt, in qla4xxx_bsg_get_acb()
|
/drivers/staging/crystalhd/ |
D | crystalhd_hw.c | 689 uint32_t sg_cnt, uint32_t sg_st_ix, in crystalhd_hw_fill_desc() argument 697 (!sg_cnt && !ioreq->uinfo.dir_tx)) { in crystalhd_hw_fill_desc() 702 for (ix = 0; ix < sg_cnt; ix++) { in crystalhd_hw_fill_desc() 710 BCMLOG_ERR(" len in sg %d %d %d\n", len, sg_ix, sg_cnt); in crystalhd_hw_fill_desc() 735 len, ix, count, xfr_sz, sg_cnt); in crystalhd_hw_fill_desc() 783 uint32_t sg_cnt = 0, sg_st_ix = 0, sg_st_off = 0; in crystalhd_xlat_sgl_to_dma_desc() local 794 !ioreq->sg || (!ioreq->sg_cnt && !ioreq->uinfo.dir_tx)) { in crystalhd_xlat_sgl_to_dma_desc() 809 sg_cnt = ioreq->sg_cnt; in crystalhd_xlat_sgl_to_dma_desc() 812 sg_cnt = ioreq->uinfo.uv_sg_ix + 1; in crystalhd_xlat_sgl_to_dma_desc() 816 sts = crystalhd_hw_fill_desc(ioreq, desc, desc_paddr_base, sg_cnt, in crystalhd_xlat_sgl_to_dma_desc() [all …]
|
D | crystalhd_misc.c | 790 dio->sg_cnt = pci_map_sg(adp->pdev, dio->sg, in crystalhd_map_dio() 792 if (dio->sg_cnt <= 0) { in crystalhd_map_dio() 793 BCMLOG_ERR("sg map %d-%d\n", dio->sg_cnt, dio->page_cnt); in crystalhd_map_dio() 797 if (dio->sg_cnt && skip_fb_sg) in crystalhd_map_dio() 798 dio->sg_cnt -= 1; in crystalhd_map_dio()
|
D | crystalhd_misc.h | 85 int sg_cnt; member
|
/drivers/block/ |
D | ida_ioctl.h | 63 int sg_cnt; member
|
D | cpqarray.c | 952 c->req.hdr.sg_cnt = seg; in do_ida_request() 1020 cmd->req.hdr.sg_cnt, cmd->req.hdr.rcode); in complete_command() 1030 for(i=0; i<cmd->req.hdr.sg_cnt; i++) in complete_command() 1268 c->req.hdr.sg_cnt = 1; in ida_ctlr_ioctl() 1284 c->req.hdr.sg_cnt = 1; in ida_ctlr_ioctl() 1300 c->req.hdr.sg_cnt = 1; in ida_ctlr_ioctl() 1306 c->req.hdr.sg_cnt = 1; in ida_ctlr_ioctl() 1434 c->req.hdr.sg_cnt = 1; in sendcmd()
|
D | ida_cmd.h | 66 __u8 sg_cnt; member
|
/drivers/mmc/host/ |
D | wmt-sdmmc.c | 587 int sg_cnt; in wmt_mci_request() local 636 sg_cnt = dma_map_sg(mmc_dev(mmc), req->data->sg, in wmt_mci_request() 642 sg_cnt = dma_map_sg(mmc_dev(mmc), req->data->sg, in wmt_mci_request() 652 for_each_sg(req->data->sg, sg, sg_cnt, i) { in wmt_mci_request()
|
D | sdhci.c | 826 int sg_cnt; in sdhci_prepare_data() local 828 sg_cnt = dma_map_sg(mmc_dev(host->mmc), in sdhci_prepare_data() 833 if (sg_cnt == 0) { in sdhci_prepare_data() 841 WARN_ON(sg_cnt != 1); in sdhci_prepare_data()
|
/drivers/target/tcm_fc/ |
D | tcm_fc.h | 127 u32 sg_cnt; /* No. of item in scatterlist */ member
|
/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.h | 242 int sg_cnt; member
|
D | ib_srpt.c | 1069 ib_dma_unmap_sg(ch->sport->sdev->device, sg, ioctx->sg_cnt, in srpt_unmap_sg_to_ib_sge() 1083 int sg_cnt; in srpt_map_sg_to_ib_sge() local 1103 ioctx->sg_cnt = sg_cnt = cmd->t_data_nents; in srpt_map_sg_to_ib_sge() 1105 count = ib_dma_map_sg(ch->sport->sdev->device, sg, sg_cnt, in srpt_map_sg_to_ib_sge()
|
/drivers/scsi/bfa/ |
D | bfad_im.c | 1202 int sg_cnt = 0; in bfad_im_queuecommand_lck() local 1221 sg_cnt = scsi_dma_map(cmnd); in bfad_im_queuecommand_lck() 1222 if (sg_cnt < 0) in bfad_im_queuecommand_lck() 1244 itnim->bfa_itnim, sg_cnt); in bfad_im_queuecommand_lck()
|
D | bfad_bsg.c | 3080 job->request_payload.sg_cnt, payload_kbuf, in bfad_im_bsg_vendor_request() 3091 job->reply_payload.sg_cnt, in bfad_im_bsg_vendor_request() 3392 job->request_payload.sg_cnt, req_kbuf, in bfad_im_bsg_els_ct_request() 3453 job->reply_payload.sg_cnt, in bfad_im_bsg_els_ct_request()
|
/drivers/scsi/lpfc/ |
D | lpfc_bsg.c | 235 sg_miter_start(&miter, bsg_buffers->sg_list, bsg_buffers->sg_cnt, in lpfc_bsg_copy_data() 593 job->reply_payload.sg_cnt, in lpfc_bsg_rport_els_cmp() 693 job->request_payload.sg_cnt, in lpfc_bsg_rport_els() 1308 job->request_payload.sg_cnt, in lpfc_bsg_hba_get_event() 3036 job->request_payload.sg_cnt, in lpfc_bsg_diag_loopback_run() 3198 job->reply_payload.sg_cnt, in lpfc_bsg_diag_loopback_run() 3330 job->reply_payload.sg_cnt, in lpfc_bsg_issue_mbox_cmpl() 3524 job->reply_payload.sg_cnt, in lpfc_bsg_issue_mbox_ext_handle_job() 4268 job->reply_payload.sg_cnt, in lpfc_bsg_read_ebuf_get() 4324 job->request_payload.sg_cnt, in lpfc_bsg_write_ebuf_set() [all …]
|
/drivers/scsi/libfc/ |
D | fc_lport.c | 1986 job->request_payload.sg_cnt, in fc_lport_els_request() 2008 info->nents = job->reply_payload.sg_cnt; in fc_lport_els_request() 2047 job->request_payload.sg_cnt, in fc_lport_ct_request() 2069 info->nents = job->reply_payload.sg_cnt; in fc_lport_ct_request()
|
/drivers/scsi/ |
D | advansys.c | 1823 uchar sg_cnt; /* Valid entries in block. */ member 2657 b->sg_cnt, (ulong)le32_to_cpu(b->sg_ptr)); in asc_prt_adv_sgblock() 2658 BUG_ON(b->sg_cnt > NO_OF_SG_PER_BLOCK); in asc_prt_adv_sgblock() 2660 BUG_ON(b->sg_cnt != NO_OF_SG_PER_BLOCK); in asc_prt_adv_sgblock() 2661 for (i = 0; i < b->sg_cnt; i++) { in asc_prt_adv_sgblock() 8089 sg_block->sg_cnt = i + 1; in adv_get_sglist() 8095 sg_block->sg_cnt = NO_OF_SG_PER_BLOCK; in adv_get_sglist() 11283 int sg_cnt = 0; in advansys_wide_init_chip() local 11322 for (sg_cnt = 0; sg_cnt < ADV_TOT_SG_BLOCK; sg_cnt++) { in advansys_wide_init_chip() 11333 ASC_DBG(1, "sg_cnt %d * %lu = %lu bytes\n", sg_cnt, sizeof(adv_sgblk_t), in advansys_wide_init_chip() [all …]
|
/drivers/scsi/be2iscsi/ |
D | be_mgmt.c | 416 job->request_payload.sg_cnt, in mgmt_vendor_specific_fw_cmd() 439 job->request_payload.sg_cnt); in mgmt_vendor_specific_fw_cmd()
|
/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 1869 job->request_payload.sg_cnt, DMA_TO_DEVICE); in ibmvfc_bsg_request() 1877 job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in ibmvfc_bsg_request() 1881 job->request_payload.sg_cnt, DMA_TO_DEVICE); in ibmvfc_bsg_request() 1953 job->request_payload.sg_cnt, DMA_TO_DEVICE); in ibmvfc_bsg_request() 1955 job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in ibmvfc_bsg_request()
|