• Home
  • Raw
  • Download

Lines Matching refs:sg_len

416 				     data->sg_len,  in dw_mci_dma_cleanup()
457 data->sg_len, in dw_mci_dmac_complete_dma()
552 unsigned int sg_len) in dw_mci_prepare_desc64() argument
561 for (i = 0; i < sg_len; i++) { in dw_mci_prepare_desc64()
626 unsigned int sg_len) in dw_mci_prepare_desc32() argument
635 for (i = 0; i < sg_len; i++) { in dw_mci_prepare_desc32()
699 static int dw_mci_idmac_start_dma(struct dw_mci *host, unsigned int sg_len) in dw_mci_idmac_start_dma() argument
705 ret = dw_mci_prepare_desc64(host, host->data, sg_len); in dw_mci_idmac_start_dma()
707 ret = dw_mci_prepare_desc32(host, host->data, sg_len); in dw_mci_idmac_start_dma()
753 unsigned int sg_len) in dw_mci_edmac_start_dma() argument
759 u32 sg_elems = host->data->sg_len; in dw_mci_edmac_start_dma()
787 sg_len, cfg.direction, in dw_mci_edmac_start_dma()
853 unsigned int i, sg_len; in dw_mci_pre_dma_transfer() local
869 for_each_sg(data->sg, sg, data->sg_len, i) { in dw_mci_pre_dma_transfer()
874 sg_len = dma_map_sg(host->dev, in dw_mci_pre_dma_transfer()
876 data->sg_len, in dw_mci_pre_dma_transfer()
878 if (sg_len == 0) in dw_mci_pre_dma_transfer()
882 data->host_cookie = sg_len; in dw_mci_pre_dma_transfer()
884 return sg_len; in dw_mci_pre_dma_transfer()
919 data->sg_len, in dw_mci_post_req()
1018 int sg_len; in dw_mci_submit_data_dma() local
1027 sg_len = dw_mci_pre_dma_transfer(host, data, 0); in dw_mci_submit_data_dma()
1028 if (sg_len < 0) { in dw_mci_submit_data_dma()
1030 return sg_len; in dw_mci_submit_data_dma()
1040 sg_len); in dw_mci_submit_data_dma()
1062 if (host->dma_ops->start(host, sg_len)) { in dw_mci_submit_data_dma()
1099 sg_miter_start(&host->sg_miter, data->sg, data->sg_len, flags); in dw_mci_submit_data()