Home
last modified time | relevance | path

Searched refs:pio_fifo (Results 1 – 4 of 4) sorted by relevance

/drivers/memstick/host/
Dr592.c328 if (!kfifo_is_empty(&dev->pio_fifo)) { in r592_write_fifo_pio()
331 int copy_len = kfifo_in(&dev->pio_fifo, buffer, len); in r592_write_fifo_pio()
333 if (!kfifo_is_full(&dev->pio_fifo)) in r592_write_fifo_pio()
338 copy_len = kfifo_out(&dev->pio_fifo, tmp, 4); in r592_write_fifo_pio()
343 WARN_ON(!kfifo_is_empty(&dev->pio_fifo)); in r592_write_fifo_pio()
354 kfifo_in(&dev->pio_fifo, buffer, len); in r592_write_fifo_pio()
363 if (kfifo_is_empty(&dev->pio_fifo)) in r592_flush_fifo_write()
366 len = kfifo_out(&dev->pio_fifo, buffer, 4); in r592_flush_fifo_write()
381 if (!kfifo_is_empty(&dev->pio_fifo)) { in r592_read_fifo_pio()
383 kfifo_out(&dev->pio_fifo, buffer, min(4, len)); in r592_read_fifo_pio()
[all …]
Dr592.h143 DECLARE_KFIFO(pio_fifo, u8, sizeof(u32));
/drivers/ide/
Dalim15x3.c54 int pio_fifo = 0x54 + hwif->channel; in ali_fifo_control() local
58 pci_read_config_byte(pdev, pio_fifo, &fifo); in ali_fifo_control()
61 pci_write_config_byte(pdev, pio_fifo, fifo); in ali_fifo_control()
/drivers/ata/
Dpata_ali.c144 int pio_fifo = 0x54 + ap->port_no; in ali_fifo_control() local
152 pci_read_config_byte(pdev, pio_fifo, &fifo); in ali_fifo_control()
155 pci_write_config_byte(pdev, pio_fifo, fifo); in ali_fifo_control()