Lines Matching refs:sg_count
437 int sg_count;
443 sg_count = dma_map_sg(mmc_dev(host), data->sg,
447 if (!sg_count) {
452 return sg_count;
481 int i, sg_count, len;
488 sg_count = cqhci_dma_map(mrq->host, mrq);
489 if (sg_count < 0) {
491 mmc_hostname(mrq->host), __func__, sg_count);
492 return sg_count;
497 for_each_sg(data->sg, sg, sg_count, i) {
501 if ((i+1) == sg_count)