Searched refs:dma_blk_cnt (Results 1 – 1 of 1) sorted by relevance
265 unsigned int dma_len, dma_blk_cnt, dma_off; in tifm_sd_set_dma_data() local291 dma_blk_cnt = dma_len / r_data->blksz; in tifm_sd_set_dma_data()293 host->block_pos += dma_blk_cnt * r_data->blksz; in tifm_sd_set_dma_data()295 dma_blk_cnt = TIFM_DMA_TSIZE; in tifm_sd_set_dma_data()300 if (dma_blk_cnt) in tifm_sd_set_dma_data()312 dma_blk_cnt = 1; in tifm_sd_set_dma_data()316 dev_dbg(&sock->dev, "setting dma for %d blocks\n", dma_blk_cnt); in tifm_sd_set_dma_data()319 writel((dma_blk_cnt << 8) | TIFM_DMA_TX | TIFM_DMA_EN, in tifm_sd_set_dma_data()322 writel((dma_blk_cnt << 8) | TIFM_DMA_EN, in tifm_sd_set_dma_data()