Home
last modified time | relevance | path

Searched refs:nr_sg (Results 1 – 2 of 2) sorted by relevance

/drivers/mmc/host/
Ddavinci_mmc.c222 u8 nr_sg; member
1293 if (pdata->nr_sg) in davinci_mmcsd_probe()
1294 host->nr_sg = pdata->nr_sg - 1; in davinci_mmcsd_probe()
1296 if (host->nr_sg > MAX_NR_SG || !host->nr_sg) in davinci_mmcsd_probe()
1297 host->nr_sg = MAX_NR_SG; in davinci_mmcsd_probe()
Dmmci.c589 int nr_sg; in __mmci_dma_prep_data() local
611 nr_sg = dma_map_sg(device->dev, data->sg, data->sg_len, buffer_dirn); in __mmci_dma_prep_data()
612 if (nr_sg == 0) in __mmci_dma_prep_data()
619 desc = dmaengine_prep_slave_sg(chan, data->sg, nr_sg, in __mmci_dma_prep_data()