Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/memstick/host/
Dr592.c329 if (!kfifo_is_empty(&dev->pio_fifo)) { in r592_write_fifo_pio()
332 int copy_len = kfifo_in(&dev->pio_fifo, buffer, len); in r592_write_fifo_pio()
334 if (!kfifo_is_full(&dev->pio_fifo)) in r592_write_fifo_pio()
339 copy_len = kfifo_out(&dev->pio_fifo, tmp, 4); in r592_write_fifo_pio()
344 WARN_ON(!kfifo_is_empty(&dev->pio_fifo)); in r592_write_fifo_pio()
355 kfifo_in(&dev->pio_fifo, buffer, len); in r592_write_fifo_pio()
364 if (kfifo_is_empty(&dev->pio_fifo)) in r592_flush_fifo_write()
367 ret = kfifo_out(&dev->pio_fifo, buffer, 4); in r592_flush_fifo_write()
384 if (!kfifo_is_empty(&dev->pio_fifo)) { in r592_read_fifo_pio()
386 kfifo_out(&dev->pio_fifo, buffer, min(4, len)); in r592_read_fifo_pio()
[all …]
Dr592.h143 DECLARE_KFIFO(pio_fifo, u8, sizeof(u32));
/linux-5.19.10/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()