Searched refs:fifo (Results 51 - 75 of 141) sorted by relevance

123456

/drivers/scsi/
H A Dmac53c94.h19 unsigned char fifo; member in struct:mac53c94_regs
H A Din2000.c29 * (and still mysterious) workings of the IN2000's fifo. It also
50 * which of course is the size of the card's fifo.
630 * need to pre-fill the fifo; if there's room for the 32 flush bytes,
631 * put them in there too - that'll avoid a fifo interrupt. Reads are
633 * KLUDGE NOTE: It seems that you can't completely fill the fifo here:
637 * fifo. Or maybe it's seen as a permanent fifo interrupt condition.
638 * Regardless, we fix this by temporarily pretending that the fifo
649 write1_io(0, IO_FIFO_WRITE); /* clear fifo counter, write mode */
652 hostdata->fifo
[all...]
H A Dmac_esp.c319 : "a" (fifo))
342 : "a" (fifo))
350 u8 *fifo = esp->regs + ESP_FDATA * 16; local
/drivers/net/ethernet/smsc/
H A Dsmc911x.c421 unsigned int fifo; local
423 fifo = SMC_GET_FIFO_INT(lp);
424 if (fifo & 0xFF) fifo--;
426 dev->name, fifo & 0xff);
427 SMC_SET_FIFO_INT(lp, fifo);
1089 unsigned int fifo; local
1091 fifo = SMC_GET_RX_FIFO_INF(lp);
1092 pkts = (fifo & RX_FIFO_INF_RXSUSED_) >> 16;
1094 dev->name, pkts, fifo
1097 unsigned int fifo; local
[all...]
/drivers/usb/gadget/
H A Datmel_usba_udc.c367 memcpy_toio(ep->fifo, req->req.buf + req->req.actual, transaction_len);
457 ep->fifo, bytecount);
1201 memcpy_toio(ep->fifo, test_packet_buffer,
1269 __raw_writew(status, ep->fifo);
1505 DBG(DBG_FIFO, "Copying ctrl request from 0x%p:\n", ep->fifo);
1506 memcpy_fromio(crq.data, ep->fifo, sizeof(crq));
1892 struct resource *regs, *fifo; local
1898 fifo = platform_get_resource(pdev, IORESOURCE_MEM, FIFO_IOMEM_ID);
1899 if (!regs || !fifo || !pdata)
1929 udc->fifo
[all...]
H A Datmel_usba_udc.h278 void __iomem *fifo; member in struct:usba_ep
319 void __iomem *fifo; member in struct:usba_udc
H A Ds3c-hsudc.c107 * @fifo: Base address of EP FIFO.
118 void __iomem *fifo; member in struct:s3c_hsudc_ep
308 * s3c_hsudc_read_setup_pkt - Read the received setup packet from EP0 fifo.
312 * The setup packet received in the EP0 fifo is read and stored into a
328 * s3c_hsudc_write_fifo - Write next chunk of transfer data to EP fifo.
342 void __iomem *fifo = hsep->fifo; local
353 writel(*buf++, fifo);
373 * s3c_hsudc_read_fifo - Read the next chunk of data from EP fifo.
388 void __iomem *fifo local
[all...]
/drivers/video/nvidia/
H A Dnv_hw.c242 static void nv4CalcArbitration(nv4_fifo_info * fifo, nv4_sim_state * arb) argument
251 fifo->valid = 1;
288 fifo->valid = 1;
345 fifo->valid = 0;
352 fifo->valid = 0;
360 fifo->valid = 0;
372 fifo->graphics_lwm = data;
373 fifo->graphics_burst_size = 128;
375 fifo->video_lwm = data;
376 fifo
415 nv10CalcArbitration(nv10_fifo_info * fifo, nv10_sim_state * arb) argument
[all...]
/drivers/spi/
H A Dspi-dw.c158 /* Return the max entries we can fill into tx fifo */
170 * data which is out of tx/rx fifo and inside the
180 /* Return the max entries we should read out of rx fifo */
327 int_error_stop(dws, "interrupt_transfer: fifo overrun/underrun");
774 /* Restart the controller, disable all interrupts, clean rx fifo */
786 u32 fifo; local
787 for (fifo = 2; fifo <= 257; fifo++) {
788 dw_writew(dws, DW_SPI_TXFLTR, fifo);
[all...]
/drivers/usb/musb/
H A Dam35x.c418 void __iomem *fifo = hw_ep->fifo; local
424 readsl(fifo, dst, len >> 2);
434 *(u32 *) dst = musb_readl(fifo, 0);
440 val = musb_readl(fifo, 0);
H A Dmusb_core.c235 void __iomem *fifo = hw_ep->fifo; local
239 dev_dbg(musb->controller, "%cX ep%d fifo %p count %d buf %p\n",
240 'T', hw_ep->epnum, fifo, len, src);
249 writesl(fifo, src + index, len >> 2);
253 musb_writew(fifo, 0, *(u16 *)&src[index]);
258 writesw(fifo, src + index, len >> 1);
263 musb_writeb(fifo, 0, src[index]);
266 writesb(fifo, src, len);
277 void __iomem *fifo local
[all...]
H A Dtusb6010_omap.c235 dma_addr_t fifo = hw_ep->fifo_sync; local
325 fifo = hw_ep->fifo_async;
345 dma_params.dst_start = (unsigned long)fifo;
357 dma_params.src_start = (unsigned long)fifo;
/drivers/char/
H A Dsonypi.c489 struct kfifo fifo; member in struct:sonypi_device
884 kfifo_in_locked(&sonypi_device.fifo, (unsigned char *)&event,
910 kfifo_reset(&sonypi_device.fifo);
923 if ((kfifo_len(&sonypi_device.fifo) == 0) &&
928 kfifo_len(&sonypi_device.fifo) != 0);
933 (kfifo_out_locked(&sonypi_device.fifo, &c, sizeof(c),
951 if (kfifo_len(&sonypi_device.fifo))
1319 error = kfifo_alloc(&sonypi_device.fifo, SONYPI_BUF_SIZE, GFP_KERNEL);
1426 kfifo_free(&sonypi_device.fifo);
1454 kfifo_free(&sonypi_device.fifo);
[all...]
/drivers/mmc/host/
H A Dwbsd.c139 * Reset chip (SD/MMC part) and fifo.
421 int i, fsr, fifo; local
432 * Drain the fifo. This has a tendency to loop longer
441 fifo = 16;
443 fifo = 8;
445 fifo = 1;
447 for (i = 0; i < fifo; i++) {
483 int i, fsr, fifo; local
495 * Fill the fifo. This has a tendency to loop longer
504 fifo
[all...]
/drivers/video/riva/
H A Driva_hw.c656 nv4_fifo_info *fifo,
668 fifo->valid = 1;
708 fifo->valid = 1;
761 fifo->valid = 0;
770 fifo->valid = 0;
780 fifo->valid = 0;
791 fifo->graphics_lwm = data;
792 fifo->graphics_burst_size = 128;
794 fifo->video_lwm = data;
795 fifo
654 nv4CalcArbitration( nv4_fifo_info *fifo, nv4_sim_state *arb ) argument
840 nv10CalcArbitration( nv10_fifo_info *fifo, nv10_sim_state *arb ) argument
[all...]
/drivers/platform/x86/
H A Dsony-laptop.c165 struct kfifo fifo; member in struct:sony_laptop_input_s
330 if (kfifo_out(&sony_laptop_input.fifo,
336 /* If there is something in the fifo schedule next release. */
337 if (kfifo_len(&sony_laptop_input.fifo) != 0)
401 kfifo_in_locked(&sony_laptop_input.fifo,
423 error = kfifo_alloc(&sony_laptop_input.fifo,
497 kfifo_free(&sony_laptop_input.fifo);
518 while (kfifo_out(&sony_laptop_input.fifo,
533 kfifo_free(&sony_laptop_input.fifo);
1735 /* setup input devices and helper fifo */
2573 struct kfifo fifo; member in struct:sonypi_compat_s
[all...]
H A Dfujitsu-laptop.c170 struct kfifo fifo; member in struct:fujitsu_hotkey_t
828 error = kfifo_alloc(&fujitsu_hotkey->fifo, RINGBUFFERSIZE * sizeof(int),
936 kfifo_free(&fujitsu_hotkey->fifo);
956 kfifo_free(&fujitsu_hotkey->fifo);
1008 status = kfifo_in_locked(&fujitsu_hotkey->fifo,
1023 &fujitsu_hotkey->fifo,
/drivers/gpu/drm/nouveau/
H A Dnv10_graph.c663 uint32_t st2, st2_dl, st2_dh, fifo_ptr, fifo[0x60/4]; local
696 for (i = 0; i < ARRAY_SIZE(fifo); i++)
697 fifo[i] = nv_rd32(dev, 0x4007a0 + 4 * i);
715 for (i = 0; i < ARRAY_SIZE(fifo); i++)
716 nv_wr32(dev, 0x4007a0 + 4 * i, fifo[i]);
762 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo;
825 int chid = dev_priv->engine.fifo.channels;
830 if (chid >= dev_priv->engine.fifo.channels)
951 tmp |= (dev_priv->engine.fifo.channels - 1) << 24;
H A Dnouveau_channel.c114 /* allocates and initializes a fifo for user space consumption */
121 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo;
193 /* disable the fifo caches */
271 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo;
388 for (i = 0; i < engine->fifo.channels; i++) {
H A Dnouveau_drv.c178 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo;
324 engine->fifo.init(dev);
333 for (i = 0; i < dev_priv->engine.fifo.channels; i++) {
H A Dnv50_vm.c150 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo;
/drivers/net/ethernet/i825xx/
H A D3c523.h202 unsigned char fifo; /* fifo/recv monitor */ member in struct:configure_cmd_struct
H A Dsun3_82586.h231 unsigned char fifo; /* fifo/recv monitor */ member in struct:configure_cmd_struct
/drivers/net/fddi/skfp/h/
H A Dfplustm.h201 struct s_smt_fifo_conf fifo ; member in struct:s_smt_fp
/drivers/scsi/arm/
H A Dfas216.c409 * @pos: current fifo position
411 * Retrieve a last message from the list, using position in fifo.
421 if (pos >= msg->fifo)
706 unsigned long total, residual, fifo; local
724 fifo = fas216_readb(info, REG_CFIS) & CFIS_CF;
727 "transfer: length 0x%06x, residual 0x%x, fifo %d",
728 total, residual, fifo);
737 residual += fifo;
841 unsigned int fifo; local
848 fifo
[all...]

Completed in 484 milliseconds

123456