Lines Matching defs:count
260 * NOTE 2: "count" represents _bytes_.
262 static __inline__ void set_dma_count(unsigned int dmanr, unsigned int count)
267 printk("set_dma_count(dmanr=%d,count=%d)\n", dmanr, count);
271 dmawp[MCFDMA_BCR] = (unsigned short)count;
275 * Get DMA residue count. After a DMA transfer, this
283 unsigned short count;
290 count = dmawp[MCFDMA_BCR];
291 return((int) count);
444 * NOTE 2: "count" represents _bytes_.
446 * NOTE 3: While a 32-bit register, "count" is only a maximum 24-bit value.
448 static __inline__ void set_dma_count(unsigned int dmanr, unsigned int count)
453 printk("set_dma_count(dmanr=%d,count=%d)\n", dmanr, count);
457 dmalp[MCFDMA_DBCR] = count;
461 * Get DMA residue count. After a DMA transfer, this
469 unsigned int count;
476 count = dmalp[MCFDMA_DBCR];
477 return(count);