Lines Matching refs:count
12 * count by 2 when using 16-bit dma; that is not handled by these functions.
122 * mca_set_dma_count - load a 16bit transfer count
124 * @count: count
126 * Set the DMA count for this channel. This can be up to 64Kbytes.
127 * Setting a count of zero will not do what you expect.
130 static __inline__ void mca_set_dma_count(unsigned int dmanr, unsigned int count)
132 count--; /* transfers one more than count -- correct for this */
135 outb(count & 0xff, MCA_DMA_REG_EXE);
136 outb((count >> 8) & 0xff, MCA_DMA_REG_EXE);
149 unsigned short count;
152 count = 1 + inb(MCA_DMA_REG_EXE);
153 count += inb(MCA_DMA_REG_EXE) << 8;
155 return count;