/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ide/ |
H A D | ide-probe.c | 193 ide_hwif_t *hwif = drive->hwif; local 201 hwif->tp_ops->input_data(drive, NULL, id, SECTOR_SIZE); 252 ide_hwif_t *hwif = drive->hwif; local 253 struct ide_io_ports *io_ports = &hwif->io_ports; 254 const struct ide_tp_ops *tp_ops = hwif->tp_ops; 264 tp_ops->write_devctl(hwif, ATA_NIEN | ATA_DEVCTL_OBS); 273 (hwif->host_flags & IDE_HFLAG_BROKEN_ALTSTATUS) == 0) { 274 a = tp_ops->read_altstatus(hwif); 332 ide_hwif_t *hwif = drive->hwif; local 382 ide_hwif_t *hwif = drive->hwif; local 538 ide_hwif_t *hwif = container_of(dev, ide_hwif_t, gendev); local 543 ide_register_port(ide_hwif_t *hwif) argument 597 ide_port_wait_ready(ide_hwif_t *hwif) argument 678 ide_probe_port(ide_hwif_t *hwif) argument 721 ide_port_tune_devices(ide_hwif_t *hwif) argument 750 ide_hwif_t *hwif = drive->hwif; local 795 ide_port_setup_devices(ide_hwif_t *hwif) argument 818 ide_hwif_t *hwif; local 837 init_irq(ide_hwif_t *hwif) argument 874 ide_hwif_t *hwif = data; local 927 ide_hwif_t *hwif = drive->hwif; local 952 hwif_init(ide_hwif_t *hwif) argument 981 THIS_MODULE, ata_probe, ata_lock, hwif); local 989 hwif_register_devices(ide_hwif_t *hwif) argument 1011 ide_port_init_devices(ide_hwif_t *hwif) argument 1036 ide_init_port(ide_hwif_t *hwif, unsigned int port, const struct ide_port_info *d) argument 1101 ide_port_cable_detect(ide_hwif_t *hwif) argument 1115 ide_port_init_devices_data(ide_hwif_t *hwif) argument 1145 ide_init_port_data(ide_hwif_t *hwif, unsigned int index) argument 1169 ide_init_port_hw(ide_hwif_t *hwif, struct ide_hw *hw) argument 1227 ide_port_free_devices(ide_hwif_t *hwif) argument 1238 ide_port_alloc_devices(ide_hwif_t *hwif, int node) argument 1283 ide_hwif_t *hwif; local 1334 ide_port_free(ide_hwif_t *hwif) argument 1341 ide_disable_port(ide_hwif_t *hwif) argument 1361 ide_hwif_t *hwif, *mate = NULL; local 1477 __ide_port_unregister_devices(ide_hwif_t *hwif) argument 1488 ide_port_unregister_devices(ide_hwif_t *hwif) argument 1512 ide_unregister(ide_hwif_t *hwif) argument 1546 ide_hwif_t *hwif; local 1560 ide_hwif_t *hwif; local 1572 ide_port_scan(ide_hwif_t *hwif) argument [all...] |
H A D | ide-dma-sff.c | 21 ide_hwif_t *hwif = drive->hwif; local 25 if (hwif->host_flags & IDE_HFLAG_NO_ATAPI_DMA) 52 u8 ide_dma_sff_read_status(ide_hwif_t *hwif) argument 54 unsigned long addr = hwif->dma_base + ATA_DMA_STATUS; 56 if (hwif->host_flags & IDE_HFLAG_MMIO) 63 static void ide_dma_sff_write_status(ide_hwif_t *hwif, u8 val) argument 65 unsigned long addr = hwif->dma_base + ATA_DMA_STATUS; 67 if (hwif->host_flags & IDE_HFLAG_MMIO) 83 ide_hwif_t *hwif local 115 ide_hwif_t *hwif = drive->hwif; local 188 ide_hwif_t *hwif = drive->hwif; local 238 ide_hwif_t *hwif = drive->hwif; local 264 ide_hwif_t *hwif = drive->hwif; local 286 ide_hwif_t *hwif = drive->hwif; local 317 ide_hwif_t *hwif = drive->hwif; local [all...] |
H A D | ide-io.c | 76 const struct ide_tp_ops *tp_ops = drive->hwif->tp_ops; 117 ide_hwif_t *hwif = drive->hwif; local 118 struct request *rq = hwif->rq; 130 hwif->rq = NULL; 225 ide_hwif_t *hwif = drive->hwif; local 226 struct scatterlist *sg = hwif->sg_table; 306 drive->hwif->name, (unsigned long) rq); 318 drive->hwif 387 ide_lock_port(ide_hwif_t *hwif) argument 397 ide_unlock_port(ide_hwif_t *hwif) argument 402 ide_lock_host(struct ide_host *host, ide_hwif_t *hwif) argument 431 ide_hwif_t *hwif = drive->hwif; local 578 ide_hwif_t *hwif = drive->hwif; local 615 ide_hwif_t *hwif = (ide_hwif_t *)data; local 727 unexpected_intr(int irq, ide_hwif_t *hwif) argument 772 ide_hwif_t *hwif = (ide_hwif_t *)dev_id; local 881 ide_hwif_t *hwif = drive->hwif; local [all...] |
H A D | trm290.c | 147 ide_hwif_t *hwif = drive->hwif; local 156 if (reg != hwif->select_data) { 157 hwif->select_data = reg; 159 outb(0x51 | (hwif->channel << 3), hwif->config_data + 1); 160 outw(reg & 0xff, hwif->config_data); 165 reg = inw(hwif->config_data + 3); 167 reg &= ~(1 << hwif->channel); 168 outw(reg, hwif 194 ide_hwif_t *hwif = drive->hwif; local 234 init_hwif_trm290(ide_hwif_t *hwif) argument [all...] |
H A D | ide-io-std.c | 40 void ide_exec_command(ide_hwif_t *hwif, u8 cmd) argument 42 if (hwif->host_flags & IDE_HFLAG_MMIO) 43 writeb(cmd, (void __iomem *)hwif->io_ports.command_addr); 45 outb(cmd, hwif->io_ports.command_addr); 49 u8 ide_read_status(ide_hwif_t *hwif) argument 51 if (hwif->host_flags & IDE_HFLAG_MMIO) 52 return readb((void __iomem *)hwif->io_ports.status_addr); 54 return inb(hwif->io_ports.status_addr); 58 u8 ide_read_altstatus(ide_hwif_t *hwif) argument 60 if (hwif 67 ide_write_devctl(ide_hwif_t *hwif, u8 ctl) argument 78 ide_hwif_t *hwif = drive->hwif; local 90 ide_hwif_t *hwif = drive->hwif; local 117 ide_hwif_t *hwif = drive->hwif; local 166 ide_hwif_t *hwif = drive->hwif; local 210 ide_hwif_t *hwif = drive->hwif; local [all...] |
H A D | ide-dma.c | 92 ide_hwif_t *hwif = drive->hwif; local 93 struct ide_cmd *cmd = &hwif->cmd; 97 dma_stat = hwif->dma_ops->dma_end(drive); 99 stat = hwif->tp_ops->read_status(hwif); 134 ide_hwif_t *hwif = drive->hwif; local 135 struct scatterlist *sg = hwif->sg_table; 143 i = dma_map_sg(hwif 165 ide_hwif_t *hwif = drive->hwif; local 241 ide_hwif_t *hwif = drive->hwif; local 314 ide_hwif_t *hwif = drive->hwif; local 354 ide_hwif_t *hwif = drive->hwif; local 381 ide_hwif_t *hwif = drive->hwif; local 449 ide_hwif_t *hwif = drive->hwif; local 501 ide_release_dma_engine(ide_hwif_t *hwif) argument 513 ide_allocate_dma_engine(ide_hwif_t *hwif) argument [all...] |
H A D | ide-eh.c | 9 ide_hwif_t *hwif = drive->hwif; local 20 hwif->tp_ops->read_status(hwif) == ATA_CMD_INIT_DEV_PARAMS) 35 (hwif->host_flags & IDE_HFLAG_ERROR_STOPS_FIFO) == 0) { 46 if (hwif->tp_ops->read_status(hwif) & (ATA_BUSY | ATA_DRQ)) 65 ide_hwif_t *hwif = drive->hwif; local 75 if (hwif 168 ide_hwif_t *hwif = drive->hwif; local 197 ide_reset_report_error(ide_hwif_t *hwif, u8 err) argument 224 ide_hwif_t *hwif = drive->hwif; local 335 ide_hwif_t *hwif = drive->hwif; local [all...] |
H A D | ns87415.c | 54 static u8 superio_read_status(ide_hwif_t *hwif) argument 56 return superio_ide_inb(hwif->io_ports.status_addr); 59 static u8 superio_dma_sff_read_status(ide_hwif_t *hwif) argument 61 return superio_ide_inb(hwif->dma_base + ATA_DMA_STATUS); 67 struct ide_io_ports *io_ports = &drive->hwif->io_ports; 99 static void __devinit superio_init_iops(struct hwif_s *hwif) argument 101 struct pci_dev *pdev = to_pci_dev(hwif->dev); 103 u8 port = hwif->channel, tmp; 124 ide_hwif_t *hwif = drive->hwif; local 186 ide_hwif_t *hwif = drive->hwif; local 204 init_hwif_ns87415(ide_hwif_t *hwif) argument [all...] |
H A D | ide-xfer-mode.c | 69 if ((drive->hwif->host_flags & IDE_HFLAG_PIO_NO_BLACKLIST) == 0) 115 if (pio == 0 && (drive->hwif->port_flags & IDE_PFLAG_PROBING)) 123 ide_hwif_t *hwif = drive->hwif; local 124 const struct ide_port_ops *port_ops = hwif->port_ops; 126 if (hwif->host_flags & IDE_HFLAG_NO_SET_MODE) 138 port_ops->set_pio_mode(hwif, drive); 142 if (hwif->host_flags & IDE_HFLAG_POST_SET_MODE) { 146 port_ops->set_pio_mode(hwif, drive); 150 port_ops->set_pio_mode(hwif, driv 157 ide_hwif_t *hwif = drive->hwif; local 183 ide_hwif_t *hwif = drive->hwif; local 223 ide_hwif_t *hwif = drive->hwif; local 250 ide_hwif_t *hwif = drive->hwif; local [all...] |
H A D | tc86c001.c | 16 static void tc86c001_set_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 18 unsigned long scr_port = hwif->config_data + (drive->dn ? 0x02 : 0x00); 44 static void tc86c001_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 47 tc86c001_set_mode(hwif, drive); 52 ide_hwif_t *hwif = drive->hwif; local 53 ide_expiry_t *expiry = ide_get_hwifdata(hwif); 54 u8 dma_stat = inb(hwif->dma_base + ATA_DMA_STATUS); 57 hwif->expiry = expiry; 60 unsigned long sc_base = hwif 99 ide_hwif_t *hwif = drive->hwif; local 119 tc86c001_cable_detect(ide_hwif_t *hwif) argument 132 init_hwif_tc86c001(ide_hwif_t *hwif) argument [all...] |
H A D | ide-acpi.c | 39 ide_hwif_t *hwif; member in struct:ide_acpi_hwif_link 96 bool ide_port_acpi(ide_hwif_t *hwif) argument 98 return ide_noacpi == 0 && hwif->acpidata; 162 * ide_acpi_hwif_get_handle - Get ACPI object handle for a given hwif 163 * @hwif: device to locate 165 * Retrieves the object handle for a given hwif. 169 static acpi_handle ide_acpi_hwif_get_handle(ide_hwif_t *hwif) argument 171 struct device *dev = hwif->gendev.parent; 177 DEBPRINT("ENTER: device %s\n", hwif->name); 180 DEBPRINT("no PCI device for %s\n", hwif 386 ide_acpi_get_timing(ide_hwif_t *hwif) argument 464 ide_acpi_push_timing(ide_hwif_t *hwif) argument 505 ide_acpi_set_state(ide_hwif_t *hwif, int on) argument 540 ide_acpi_init_port(ide_hwif_t *hwif) argument 554 ide_acpi_port_init_devices(ide_hwif_t *hwif) argument [all...] |
H A D | ide-iops.c | 32 const struct ide_port_ops *port_ops = drive->hwif->port_ops; 42 drive->hwif->tp_ops->tf_read(drive, &tf, IDE_VALID_ERROR); 108 ide_hwif_t *hwif = drive->hwif; local 109 const struct ide_tp_ops *tp_ops = hwif->tp_ops; 115 stat = tp_ops->read_status(hwif); 121 while ((stat = tp_ops->read_status(hwif)) & ATA_BUSY) { 128 stat = tp_ops->read_status(hwif); 148 stat = tp_ops->read_status(hwif); 230 ide_hwif_t *hwif local 338 ide_hwif_t *hwif = drive->hwif; local 441 ide_hwif_t *hwif = drive->hwif; local 453 ide_hwif_t *hwif = drive->hwif; local 478 ide_hwif_t *hwif = drive->hwif; local 495 ide_wait_not_busy(ide_hwif_t *hwif, unsigned long timeout) argument [all...] |
H A D | siimage.c | 70 * is_sata - check if hwif is SATA 71 * @hwif: interface to check 76 static inline int is_sata(ide_hwif_t *hwif) argument 78 return pdev_is_sata(to_pci_dev(hwif->dev)); 83 * @hwif: interface 92 static unsigned long siimage_selreg(ide_hwif_t *hwif, int r) argument 94 unsigned long base = (unsigned long)hwif->hwif_data; 97 if (hwif->host_flags & IDE_HFLAG_MMIO) 98 base += hwif->channel << 6; 100 base += hwif 116 ide_hwif_t *hwif = drive->hwif; local 197 ide_hwif_t *hwif = drive->hwif; local 239 sil_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 298 sil_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 341 sil_test_irq(ide_hwif_t *hwif) argument 361 ide_hwif_t *hwif = drive->hwif; local 411 ide_hwif_t *hwif = drive->hwif; local 549 init_mmio_iops_siimage(ide_hwif_t *hwif) argument 632 ide_hwif_t *hwif = drive->hwif; local 649 init_iops_siimage(ide_hwif_t *hwif) argument 670 sil_cable_detect(ide_hwif_t *hwif) argument [all...] |
H A D | pdc202xx_old.c | 24 static void pdc202xx_set_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 26 struct pci_dev *dev = to_pci_dev(hwif->dev); 79 static void pdc202xx_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 82 pdc202xx_set_mode(hwif, drive); 85 static int pdc202xx_test_irq(ide_hwif_t *hwif) argument 87 struct pci_dev *dev = to_pci_dev(hwif->dev); 91 if (hwif->channel) { 106 static u8 pdc2026x_cable_detect(ide_hwif_t *hwif) argument 108 struct pci_dev *dev = to_pci_dev(hwif->dev); 109 u16 CIS, mask = hwif 116 pdc_old_enable_66MHz_clock(ide_hwif_t *hwif) argument 124 pdc_old_disable_66MHz_clock(ide_hwif_t *hwif) argument 132 pdc2026x_init_hwif(ide_hwif_t *hwif) argument 142 ide_hwif_t *hwif = drive->hwif; local 162 ide_hwif_t *hwif = drive->hwif; local [all...] |
H A D | ide-devsets.c | 51 if (drive->hwif->dma_ops == NULL) 75 static int set_pio_mode_abuse(ide_hwif_t *hwif, u8 req_pio) argument 84 return (hwif->host_flags & IDE_HFLAG_ABUSE_DMA_MODES) ? 1 : 0; 87 return (hwif->host_flags & IDE_HFLAG_ABUSE_PREFETCH) ? 1 : 0; 90 return (hwif->host_flags & IDE_HFLAG_ABUSE_FAST_DEVSEL) ? 1 : 0; 98 ide_hwif_t *hwif = drive->hwif; local 99 const struct ide_port_ops *port_ops = hwif->port_ops; 105 (hwif->host_flags & IDE_HFLAG_NO_SET_MODE)) 108 if (set_pio_mode_abuse(drive->hwif, ar [all...] |
H A D | tx4939ide.c | 105 #define TX4939IDE_BASE(hwif) ((void __iomem *)(hwif)->extra_base) 107 static void tx4939ide_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 124 hwif->select_data = (hwif->select_data & ~mask) | val; 128 static void tx4939ide_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 145 hwif->select_data = (hwif->select_data & ~mask) | val; 149 static u16 tx4939ide_check_error_ints(ide_hwif_t *hwif) argument 151 void __iomem *base = TX4939IDE_BASE(hwif); 176 ide_hwif_t *hwif; local 192 tx4939ide_cable_detect(ide_hwif_t *hwif) argument 203 ide_hwif_t *hwif = drive->hwif; local 237 ide_hwif_t *hwif = drive->hwif; local 286 ide_hwif_t *hwif = drive->hwif; local 313 ide_hwif_t *hwif = drive->hwif; local 341 ide_hwif_t *hwif = drive->hwif; local 379 tx4939ide_dma_sff_read_status(ide_hwif_t *hwif) argument 389 tx4939ide_init_hwif(ide_hwif_t *hwif) argument 407 tx4939ide_init_dma(ide_hwif_t *hwif, const struct ide_port_info *d) argument 420 ide_hwif_t *hwif = drive->hwif; local 605 ide_hwif_t *hwif = host->ports[0]; local [all...] |
H A D | cmd64x.c | 56 ide_hwif_t *hwif = drive->hwif; local 57 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); 97 if (hwif->channel) { 121 if (hwif->channel) 133 static void cmd64x_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 147 static void cmd64x_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 149 struct pci_dev *dev = to_pci_dev(hwif->dev); 151 u8 regU = 0, pciU = hwif->channel ? UDIDETCR1 : UDIDETCR0; 188 ide_hwif_t *hwif local 202 ide_hwif_t *hwif = drive->hwif; local 214 cmd648_test_irq(ide_hwif_t *hwif) argument 228 cmd64x_test_irq(ide_hwif_t *hwif) argument 251 ide_hwif_t *hwif = drive->hwif; local 287 cmd64x_cable_detect(ide_hwif_t *hwif) argument [all...] |
H A D | it821x.c | 114 ide_hwif_t *hwif = drive->hwif; local 115 struct pci_dev *dev = to_pci_dev(hwif->dev); 116 struct it821x_dev *itdev = ide_get_hwifdata(hwif); 117 int channel = hwif->channel; 140 ide_hwif_t *hwif = drive->hwif; local 141 struct pci_dev *dev = to_pci_dev(hwif->dev); 142 struct it821x_dev *itdev = ide_get_hwifdata(hwif); 143 int channel = hwif 170 ide_hwif_t *hwif = drive->hwif; local 239 it821x_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 283 ide_hwif_t *hwif = drive->hwif; local 319 ide_hwif_t *hwif = drive->hwif; local 350 ide_hwif_t *hwif = drive->hwif; local 372 ide_hwif_t *hwif = drive->hwif; local 390 it821x_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 414 it821x_cable_detect(ide_hwif_t *hwif) argument 510 init_hwif_it821x(ide_hwif_t *hwif) argument [all...] |
H A D | sgiioc4.c | 108 static int sgiioc4_checkirq(ide_hwif_t *hwif) argument 110 unsigned long intr_addr = hwif->io_ports.irq_addr + IOC4_INTR_REG * 4; 123 ide_hwif_t *hwif = drive->hwif; local 124 struct ide_io_ports *io_ports = &hwif->io_ports; 137 u8 stat = sgiioc4_read_status(hwif); 140 stat = sgiioc4_read_status(hwif); 143 stat = sgiioc4_read_status(hwif); 147 struct pci_dev *dev = to_pci_dev(hwif->dev); 179 ide_hwif_t *hwif local 187 sgiioc4_ide_dma_stop(ide_hwif_t *hwif, u64 dma_base) argument 206 ide_hwif_t *hwif = drive->hwif; local 258 sgiioc4_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 290 sgiioc4_read_status(ide_hwif_t *hwif) argument 310 ide_dma_sgiioc4(ide_hwif_t *hwif, const struct ide_port_info *d) argument 361 ide_hwif_t *hwif = drive->hwif; local 417 ide_hwif_t *hwif = drive->hwif; local [all...] |
H A D | ide-pm.c | 9 ide_hwif_t *hwif = drive->hwif; local 14 if (ide_port_acpi(hwif)) { 17 ide_acpi_get_timing(hwif); 32 if (ret == 0 && ide_port_acpi(hwif)) { 35 ide_acpi_set_state(hwif, 0); 45 ide_hwif_t *hwif = drive->hwif; local 50 if (ide_port_acpi(hwif)) { 53 ide_acpi_set_state(hwif, 227 ide_hwif_t *hwif = drive->hwif; local [all...] |
H A D | scc_pata.c | 128 static void scc_exec_command(ide_hwif_t *hwif, u8 cmd) argument 130 out_be32((void *)hwif->io_ports.command_addr, cmd); 132 in_be32((void *)(hwif->dma_base + 0x01c)); 136 static u8 scc_read_status(ide_hwif_t *hwif) argument 138 return (u8)in_be32((void *)hwif->io_ports.status_addr); 141 static u8 scc_read_altstatus(ide_hwif_t *hwif) argument 143 return (u8)in_be32((void *)hwif->io_ports.ctl_addr); 146 static u8 scc_dma_sff_read_status(ide_hwif_t *hwif) argument 148 return (u8)in_be32((void *)(hwif->dma_base + 4)); 151 static void scc_write_devctl(ide_hwif_t *hwif, u argument 209 scc_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 241 scc_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 284 ide_hwif_t *hwif = drive->hwif; local 310 ide_hwif_t *hwif = drive->hwif; local 335 ide_hwif_t *hwif = drive->hwif; local 344 ide_hwif_t *hwif = drive->hwif; local 369 ide_hwif_t *hwif = drive->hwif; local 478 ide_hwif_t *hwif = drive->hwif; local 494 ide_hwif_t *hwif = drive->hwif; local 717 init_mmio_iops_scc(ide_hwif_t *hwif) argument 737 init_iops_scc(ide_hwif_t *hwif) argument 747 scc_init_dma(ide_hwif_t *hwif, const struct ide_port_info *d) argument 753 scc_cable_detect(ide_hwif_t *hwif) argument 767 init_hwif_scc(ide_hwif_t *hwif) argument [all...] |
H A D | sl82c105.c | 66 static void sl82c105_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 68 struct pci_dev *dev = to_pci_dev(hwif->dev); 95 static void sl82c105_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 113 static int sl82c105_test_irq(ide_hwif_t *hwif) argument 115 struct pci_dev *dev = to_pci_dev(hwif->dev); 116 u32 val, mask = hwif->channel ? CTRL_IDE_IRQB : CTRL_IDE_IRQA; 141 ide_hwif_t *hwif = drive->hwif; local 142 struct pci_dev *dev = to_pci_dev(hwif->dev); 143 u32 val, mask = hwif 179 ide_hwif_t *hwif = drive->hwif; local [all...] |
H A D | alim15x3.c | 51 static void ali_fifo_control(ide_hwif_t *hwif, ide_drive_t *drive, int on) argument 53 struct pci_dev *pdev = to_pci_dev(hwif->dev); 54 int pio_fifo = 0x54 + hwif->channel; 64 static void ali_program_timings(ide_hwif_t *hwif, ide_drive_t *drive, argument 67 struct pci_dev *dev = to_pci_dev(hwif->dev); 68 int port = hwif->channel ? 0x5c : 0x58; 69 int udmat = 0x56 + hwif->channel; 96 * @hwif: port 102 static void ali_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 126 ali_fifo_control(hwif, driv 164 ali_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 381 ali_cable_detect(ide_hwif_t *hwif) argument 418 init_hwif_ali15x3(ide_hwif_t *hwif) argument 467 init_dma_ali15x3(ide_hwif_t *hwif, const struct ide_port_info *d) argument [all...] |
H A D | hpt366.c | 440 ide_hwif_t *hwif = drive->hwif; local 441 struct hpt_info *info = hpt3xx_get_info(hwif->dev); 442 u8 mask = hwif->ultra_mask; 479 ide_hwif_t *hwif = drive->hwif; local 480 struct hpt_info *info = hpt3xx_get_info(hwif->dev); 512 static void hpt3xx_set_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 514 struct pci_dev *dev = to_pci_dev(hwif->dev); 515 struct hpt_info *info = hpt3xx_get_info(hwif 536 hpt3xx_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 544 ide_hwif_t *hwif = drive->hwif; local 589 ide_hwif_t *hwif = drive->hwif; local 598 ide_hwif_t *hwif = drive->hwif; local 623 ide_hwif_t *hwif = drive->hwif; local 639 ide_hwif_t *hwif = drive->hwif; local 660 ide_hwif_t *hwif = drive->hwif; local 680 hpt3xxn_set_clock(ide_hwif_t *hwif, u8 mode) argument 1035 hpt3xx_cable_detect(ide_hwif_t *hwif) argument 1079 init_hwif_hpt366(ide_hwif_t *hwif) argument 1103 init_dma_hpt366(ide_hwif_t *hwif, const struct ide_port_info *d) argument [all...] |
H A D | setup-pci.c | 61 * @hwif: IDE interface 67 unsigned long ide_pci_dma_base(ide_hwif_t *hwif, const struct ide_port_info *d) argument 69 struct pci_dev *dev = to_pci_dev(hwif->dev); 72 if (hwif->host_flags & IDE_HFLAG_MMIO) 73 return hwif->dma_base; 75 if (hwif->mate && hwif->mate->dma_base) { 76 dma_base = hwif->mate->dma_base - (hwif->channel ? 0 : 8); 89 if (hwif 96 ide_pci_check_simplex(ide_hwif_t *hwif, const struct ide_port_info *d) argument 341 ide_hwif_setup_dma(ide_hwif_t *hwif, const struct ide_port_info *d) argument [all...] |