/linux-3.4.99/drivers/scsi/qla2xxx/ |
D | qla_bsg.c | 35 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_bsg_sp_free() 38 bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in qla2x00_bsg_sp_free() 167 bsg_job->reply_payload.sg_cnt, ha->fcp_prio_cfg, in qla24xx_proc_fcp_prio_cfg_cmd() 194 bsg_job->request_payload.sg_cnt, ha->fcp_prio_cfg, in qla24xx_proc_fcp_prio_cfg_cmd() 263 if (bsg_job->request_payload.sg_cnt > 1 || in qla2x00_process_els() 264 bsg_job->reply_payload.sg_cnt > 1) { in qla2x00_process_els() 268 bsg_job->request_payload.sg_cnt, in qla2x00_process_els() 269 bsg_job->reply_payload.sg_cnt); in qla2x00_process_els() 320 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_process_els() 327 bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in qla2x00_process_els() [all …]
|
D | qla_iocb.c | 2039 els_iocb->tx_dsd_count = __constant_cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla24xx_els_iocb() 2042 els_iocb->rx_dsd_count = __constant_cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qla24xx_els_iocb() 2096 __constant_cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla2x00_ct_iocb() 2098 __constant_cpu_to_le16(bsg_job->request_payload.sg_cnt + 1); in qla2x00_ct_iocb() 2119 tot_dsds = bsg_job->reply_payload.sg_cnt; in qla2x00_ct_iocb() 2174 __constant_cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla24xx_ct_iocb() 2177 __constant_cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qla24xx_ct_iocb() 2192 tot_dsds = bsg_job->reply_payload.sg_cnt; in qla24xx_ct_iocb()
|
/linux-3.4.99/drivers/staging/rts_pstor/ |
D | rtsx_transport.c | 335 int sg_cnt, i, resid; in rtsx_transfer_sglist_adma_partial() local 372 sg_cnt = dma_map_sg(&(rtsx->pci->dev), sg, num_sg, dma_dir); in rtsx_transfer_sglist_adma_partial() 384 for (i = *index; i < sg_cnt; i++) { in rtsx_transfer_sglist_adma_partial() 408 if ((i == (sg_cnt - 1)) || !resid) { in rtsx_transfer_sglist_adma_partial() 538 int sg_cnt, j; in rtsx_transfer_sglist_adma() local 541 sg_cnt = buf_cnt % (HOST_SG_TBL_BUF_LEN / 8); in rtsx_transfer_sglist_adma() 543 sg_cnt = (HOST_SG_TBL_BUF_LEN / 8); in rtsx_transfer_sglist_adma() 547 for (j = 0; j < sg_cnt; j++) { in rtsx_transfer_sglist_adma() 555 if (j == (sg_cnt - 1)) { in rtsx_transfer_sglist_adma() 597 sg_ptr += sg_cnt; in rtsx_transfer_sglist_adma()
|
/linux-3.4.99/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()
|
/linux-3.4.99/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
|
/linux-3.4.99/include/linux/ |
D | bsg-lib.h | 35 int sg_cnt; member
|
/linux-3.4.99/drivers/block/ |
D | ida_ioctl.h | 63 int sg_cnt; member
|
D | cpqarray.c | 954 c->req.hdr.sg_cnt = seg; in do_ida_request() 1022 cmd->req.hdr.sg_cnt, cmd->req.hdr.rcode); in complete_command() 1032 for(i=0; i<cmd->req.hdr.sg_cnt; i++) in complete_command() 1271 c->req.hdr.sg_cnt = 1; in ida_ctlr_ioctl() 1287 c->req.hdr.sg_cnt = 1; in ida_ctlr_ioctl() 1303 c->req.hdr.sg_cnt = 1; in ida_ctlr_ioctl() 1309 c->req.hdr.sg_cnt = 1; in ida_ctlr_ioctl() 1437 c->req.hdr.sg_cnt = 1; in sendcmd()
|
D | ida_cmd.h | 66 __u8 sg_cnt; member
|
/linux-3.4.99/drivers/scsi/lpfc/ |
D | lpfc_bsg.c | 192 job->request_payload.sg_cnt, DMA_TO_DEVICE); in lpfc_bsg_send_mgmt_cmd_cmp() 194 job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in lpfc_bsg_send_mgmt_cmd_cmp() 298 job->request_payload.sg_cnt, DMA_TO_DEVICE); in lpfc_bsg_send_mgmt_cmd() 310 job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in lpfc_bsg_send_mgmt_cmd() 374 job->request_payload.sg_cnt, DMA_TO_DEVICE); in lpfc_bsg_send_mgmt_cmd() 376 job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in lpfc_bsg_send_mgmt_cmd() 447 job->request_payload.sg_cnt, DMA_TO_DEVICE); in lpfc_bsg_rport_els_cmp() 449 job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in lpfc_bsg_rport_els_cmp() 568 job->request_payload.sg_cnt, DMA_TO_DEVICE); in lpfc_bsg_rport_els() 580 job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in lpfc_bsg_rport_els() [all …]
|
/linux-3.4.99/drivers/target/tcm_fc/ |
D | tcm_fc.h | 127 u32 sg_cnt; /* No. of item in scatterlist */ member
|
D | tfc_cmd.c | 226 cmd->sg_cnt = in ft_write_pending() 231 cmd->sg_cnt)) in ft_write_pending()
|
D | tfc_io.c | 231 cmd->sg, cmd->sg_cnt); in ft_recv_write_data()
|
/linux-3.4.99/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.h | 243 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() 1084 int sg_cnt; in srpt_map_sg_to_ib_sge() local 1105 ioctx->sg_cnt = sg_cnt = cmd->t_tasks_sg_chained_no; in srpt_map_sg_to_ib_sge() 1107 count = ib_dma_map_sg(ch->sport->sdev->device, sg, sg_cnt, in srpt_map_sg_to_ib_sge()
|
/linux-3.4.99/block/ |
D | bsg-lib.c | 100 buf->sg_cnt = blk_rq_map_sg(req->q, req, buf->sg_list); in bsg_map_buffer()
|
/linux-3.4.99/drivers/scsi/bfa/ |
D | bfad_im.c | 1213 int sg_cnt = 0; in bfad_im_queuecommand_lck() local 1223 sg_cnt = scsi_dma_map(cmnd); in bfad_im_queuecommand_lck() 1224 if (sg_cnt < 0) in bfad_im_queuecommand_lck() 1246 itnim->bfa_itnim, sg_cnt); in bfad_im_queuecommand_lck()
|
D | bfad_bsg.c | 2784 job->request_payload.sg_cnt, payload_kbuf, in bfad_im_bsg_vendor_request() 2795 job->reply_payload.sg_cnt, in bfad_im_bsg_vendor_request() 3093 job->request_payload.sg_cnt, req_kbuf, in bfad_im_bsg_els_ct_request() 3154 job->reply_payload.sg_cnt, in bfad_im_bsg_els_ct_request()
|
/linux-3.4.99/drivers/scsi/libfc/ |
D | fc_lport.c | 1977 job->request_payload.sg_cnt, in fc_lport_els_request() 1999 info->nents = job->reply_payload.sg_cnt; in fc_lport_els_request() 2038 job->request_payload.sg_cnt, in fc_lport_ct_request() 2060 info->nents = job->reply_payload.sg_cnt; in fc_lport_ct_request()
|
/linux-3.4.99/include/scsi/ |
D | scsi_transport_fc.h | 611 int sg_cnt; member
|
/linux-3.4.99/drivers/mmc/host/ |
D | sdhci.c | 811 int sg_cnt; in sdhci_prepare_data() local 813 sg_cnt = dma_map_sg(mmc_dev(host->mmc), in sdhci_prepare_data() 818 if (sg_cnt == 0) { in sdhci_prepare_data() 826 WARN_ON(sg_cnt != 1); in sdhci_prepare_data()
|
/linux-3.4.99/drivers/scsi/ |
D | advansys.c | 1823 uchar sg_cnt; /* Valid entries in block. */ member 2674 b->sg_cnt, (ulong)le32_to_cpu(b->sg_ptr)); in asc_prt_adv_sgblock() 2675 BUG_ON(b->sg_cnt > NO_OF_SG_PER_BLOCK); in asc_prt_adv_sgblock() 2677 BUG_ON(b->sg_cnt != NO_OF_SG_PER_BLOCK); in asc_prt_adv_sgblock() 2678 for (i = 0; i < b->sg_cnt; i++) { in asc_prt_adv_sgblock() 8582 sg_block->sg_cnt = i + 1; in adv_get_sglist() 8588 sg_block->sg_cnt = NO_OF_SG_PER_BLOCK; in adv_get_sglist() 11778 int sg_cnt = 0; in advansys_wide_init_chip() local 11817 for (sg_cnt = 0; sg_cnt < ADV_TOT_SG_BLOCK; sg_cnt++) { in advansys_wide_init_chip() 11828 ASC_DBG(1, "sg_cnt %d * %lu = %lu bytes\n", sg_cnt, sizeof(adv_sgblk_t), in advansys_wide_init_chip() [all …]
|
/linux-3.4.99/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()
|