Lines Matching defs:fifo
131 unsigned fifo = 0;
146 fifo = (fifo << 1) | ((inb(dev->io + 1) >> 7) & 0x01);
158 return fifo;
164 unsigned freq = 0, test, fifo = 0;
169 fifo = cadet_gettune(dev);
175 return ((fifo & 0x7fff) - 450) * 16;
179 if ((fifo & 0x01) != 0)
182 fifo = fifo >> 1;
189 static void cadet_settune(struct cadet *dev, unsigned fifo)
199 test = (fifo >> 23) & 0x02; /* Align data for SDO */
208 fifo = fifo << 1; /* Prepare the next bit */
209 test = 0x1c | ((fifo >> 23) & 0x02);
216 unsigned fifo;
224 * Formulate a fifo command
226 fifo = 0;
232 fifo = fifo << 1;
234 fifo |= 0x01;
240 fifo = (freq / 16) + 450; /* Make it kHz */
241 fifo |= 0x100000; /* Select AM Band */
255 cadet_settune(dev, fifo | (j << 16));
289 /* Service the RDS fifo */
293 pr_err("cadet: RDS fifo overflow\n");
294 outb(0x80, dev->io); /* Select RDS fifo */
320 outb(0x80, dev->io); /* Select RDS fifo */