Lines Matching full:pio
86 * artop6210_load_piomode - Load a set of PATA PIO timings
89 * @pio: PIO mode
91 * Set PIO mode for device, in host controller PCI config space. This
92 * is used both to set PIO timings in PIO mode and also to set the
93 * matching PIO clocking for UDMA, as well as the MWDMA timings.
99 static void artop6210_load_piomode(struct ata_port *ap, struct ata_device *adev, unsigned int pio) in artop6210_load_piomode() argument
108 /* Load the PIO timing active/recovery bits */ in artop6210_load_piomode()
109 pci_write_config_word(pdev, 0x40 + 2 * dn, timing[clock][pio]); in artop6210_load_piomode()
113 * artop6210_set_piomode - Initialize host controller PATA PIO timings
117 * Set PIO mode for device, in host controller PCI config space. For
141 * artop6260_load_piomode - Initialize host controller PATA PIO timings
144 * @pio: PIO mode
146 * Set PIO mode for device, in host controller PCI config space. The
153 static void artop6260_load_piomode (struct ata_port *ap, struct ata_device *adev, unsigned int pio) in artop6260_load_piomode() argument
162 /* Load the PIO timing active/recovery bits */ in artop6260_load_piomode()
163 pci_write_config_byte(pdev, 0x40 + dn, timing[clock][pio]); in artop6260_load_piomode()
167 * artop6260_set_piomode - Initialize host controller PATA PIO timings
171 * Set PIO mode for device, in host controller PCI config space. For
194 * artop6210_set_dmamode - Initialize host controller PATA PIO timings
206 unsigned int pio; in artop6210_set_dmamode() local
212 pio = 1; in artop6210_set_dmamode()
214 pio = 4; in artop6210_set_dmamode()
216 /* Load the PIO timing active/recovery bits */ in artop6210_set_dmamode()
217 artop6210_load_piomode(ap, adev, pio); in artop6210_set_dmamode()
233 * artop6260_set_dmamode - Initialize host controller PATA PIO timings
246 unsigned int pio; in artop6260_set_dmamode() local
251 pio = 1; in artop6260_set_dmamode()
253 pio = 4; in artop6260_set_dmamode()
255 /* Load the PIO timing active/recovery bits */ in artop6260_set_dmamode()
256 artop6260_load_piomode(ap, adev, pio); in artop6260_set_dmamode()