Lines Matching +full:ati +full:- +full:mode
1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_opti.c - ATI PATA for new ATA layer
9 * Copyright (C) 1996-1998 Linus Torvalds & authors (see below)
47 * opti_pre_reset - probe begin
56 struct ata_port *ap = link->ap; in opti_pre_reset()
57 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in opti_pre_reset()
63 if (!pci_test_config_bits(pdev, &opti_enable_bits[ap->port_no])) in opti_pre_reset()
64 return -ENOENT; in opti_pre_reset()
70 * opti_write_reg - control register setup
77 * on the error register activates configuration mode. We can then write
83 void __iomem *regio = ap->ioaddr.cmd_addr; in opti_write_reg()
98 * opti_set_piomode - set initial PIO mode data
102 * Called to do the PIO mode setup. Timing numbers are taken from
111 int pio = adev->pio_mode - XFER_PIO_0; in opti_set_piomode()
112 void __iomem *regio = ap->ioaddr.cmd_addr; in opti_set_piomode()
136 u8 pair_addr = addr_timing[clock][pair->pio_mode - XFER_PIO_0]; in opti_set_piomode()
142 opti_write_reg(ap, adev->devno, MISC_REG); in opti_set_piomode()
171 ata_print_version_once(&dev->dev, DRV_VERSION); in opti_init_one()
197 MODULE_DESCRIPTION("low-level driver for Opti 621/621X");