/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 804 ide_port_setup_devices(ide_hwif_t *hwif) argument 827 ide_hwif_t *hwif; local 846 init_irq(ide_hwif_t *hwif) argument 885 ide_hwif_t *hwif = data; local 938 ide_hwif_t *hwif = drive->hwif; local 963 hwif_init(ide_hwif_t *hwif) argument 992 THIS_MODULE, ata_probe, ata_lock, hwif); local 1000 hwif_register_devices(ide_hwif_t *hwif) argument 1022 ide_port_init_devices(ide_hwif_t *hwif) argument 1047 ide_init_port(ide_hwif_t *hwif, unsigned int port, const struct ide_port_info *d) argument 1112 ide_port_cable_detect(ide_hwif_t *hwif) argument 1126 ide_port_init_devices_data(ide_hwif_t *hwif) argument 1156 ide_init_port_data(ide_hwif_t *hwif, unsigned int index) argument 1180 ide_init_port_hw(ide_hwif_t *hwif, struct ide_hw *hw) argument 1238 ide_port_free_devices(ide_hwif_t *hwif) argument 1249 ide_port_alloc_devices(ide_hwif_t *hwif, int node) argument 1294 ide_hwif_t *hwif; local 1345 ide_port_free(ide_hwif_t *hwif) argument 1352 ide_disable_port(ide_hwif_t *hwif) argument 1372 ide_hwif_t *hwif, *mate = NULL; local 1488 __ide_port_unregister_devices(ide_hwif_t *hwif) argument 1499 ide_port_unregister_devices(ide_hwif_t *hwif) argument 1523 ide_unregister(ide_hwif_t *hwif) argument 1558 ide_hwif_t *hwif; local 1572 ide_hwif_t *hwif; local 1584 ide_port_scan(ide_hwif_t *hwif) argument [all...] |
H A D | ide-dma-sff.c | 22 ide_hwif_t *hwif = drive->hwif; local 26 if (hwif->host_flags & IDE_HFLAG_NO_ATAPI_DMA) 53 u8 ide_dma_sff_read_status(ide_hwif_t *hwif) argument 55 unsigned long addr = hwif->dma_base + ATA_DMA_STATUS; 57 if (hwif->host_flags & IDE_HFLAG_MMIO) 64 static void ide_dma_sff_write_status(ide_hwif_t *hwif, u8 val) argument 66 unsigned long addr = hwif->dma_base + ATA_DMA_STATUS; 68 if (hwif->host_flags & IDE_HFLAG_MMIO) 84 ide_hwif_t *hwif local 116 ide_hwif_t *hwif = drive->hwif; local 189 ide_hwif_t *hwif = drive->hwif; local 239 ide_hwif_t *hwif = drive->hwif; local 265 ide_hwif_t *hwif = drive->hwif; local 287 ide_hwif_t *hwif = drive->hwif; local 318 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; 314 drive->hwif->name, (unsigned long) rq); 326 drive->hwif 395 ide_lock_port(ide_hwif_t *hwif) argument 405 ide_unlock_port(ide_hwif_t *hwif) argument 410 ide_lock_host(struct ide_host *host, ide_hwif_t *hwif) argument 459 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 | 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 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-io-std.c | 41 void ide_exec_command(ide_hwif_t *hwif, u8 cmd) argument 43 if (hwif->host_flags & IDE_HFLAG_MMIO) 44 writeb(cmd, (void __iomem *)hwif->io_ports.command_addr); 46 outb(cmd, hwif->io_ports.command_addr); 50 u8 ide_read_status(ide_hwif_t *hwif) argument 52 if (hwif->host_flags & IDE_HFLAG_MMIO) 53 return readb((void __iomem *)hwif->io_ports.status_addr); 55 return inb(hwif->io_ports.status_addr); 59 u8 ide_read_altstatus(ide_hwif_t *hwif) argument 61 if (hwif 68 ide_write_devctl(ide_hwif_t *hwif, u8 ctl) argument 79 ide_hwif_t *hwif = drive->hwif; local 91 ide_hwif_t *hwif = drive->hwif; local 118 ide_hwif_t *hwif = drive->hwif; local 167 ide_hwif_t *hwif = drive->hwif; local 211 ide_hwif_t *hwif = drive->hwif; local [all...] |
H A D | ide-dma.c | 93 ide_hwif_t *hwif = drive->hwif; local 94 struct ide_cmd *cmd = &hwif->cmd; 98 dma_stat = hwif->dma_ops->dma_end(drive); 100 stat = hwif->tp_ops->read_status(hwif); 135 ide_hwif_t *hwif = drive->hwif; local 136 struct scatterlist *sg = hwif->sg_table; 144 i = dma_map_sg(hwif 166 ide_hwif_t *hwif = drive->hwif; local 242 ide_hwif_t *hwif = drive->hwif; local 315 ide_hwif_t *hwif = drive->hwif; local 355 ide_hwif_t *hwif = drive->hwif; local 382 ide_hwif_t *hwif = drive->hwif; local 450 ide_hwif_t *hwif = drive->hwif; local 497 ide_release_dma_engine(ide_hwif_t *hwif) argument 509 ide_allocate_dma_engine(ide_hwif_t *hwif) argument [all...] |
H A D | ide-eh.c | 10 ide_hwif_t *hwif = drive->hwif; local 21 hwif->tp_ops->read_status(hwif) == ATA_CMD_INIT_DEV_PARAMS) 36 (hwif->host_flags & IDE_HFLAG_ERROR_STOPS_FIFO) == 0) { 47 if (hwif->tp_ops->read_status(hwif) & (ATA_BUSY | ATA_DRQ)) 66 ide_hwif_t *hwif = drive->hwif; local 76 if (hwif 169 ide_hwif_t *hwif = drive->hwif; local 198 ide_reset_report_error(ide_hwif_t *hwif, u8 err) argument 225 ide_hwif_t *hwif = drive->hwif; local 336 ide_hwif_t *hwif = drive->hwif; local [all...] |
H A D | ide-xfer-mode.c | 70 if ((drive->hwif->host_flags & IDE_HFLAG_PIO_NO_BLACKLIST) == 0) 116 if (pio == 0 && (drive->hwif->port_flags & IDE_PFLAG_PROBING)) 124 ide_hwif_t *hwif = drive->hwif; local 125 const struct ide_port_ops *port_ops = hwif->port_ops; 127 if (hwif->host_flags & IDE_HFLAG_NO_SET_MODE) 139 port_ops->set_pio_mode(hwif, drive); 143 if (hwif->host_flags & IDE_HFLAG_POST_SET_MODE) { 147 port_ops->set_pio_mode(hwif, drive); 151 port_ops->set_pio_mode(hwif, driv 158 ide_hwif_t *hwif = drive->hwif; local 184 ide_hwif_t *hwif = drive->hwif; local 224 ide_hwif_t *hwif = drive->hwif; local 251 ide_hwif_t *hwif = drive->hwif; local [all...] |
H A D | tc86c001.c | 17 static void tc86c001_set_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 19 unsigned long scr_port = hwif->config_data + (drive->dn ? 0x02 : 0x00); 45 static void tc86c001_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 48 tc86c001_set_mode(hwif, drive); 67 ide_hwif_t *hwif = drive->hwif; local 68 ide_expiry_t *expiry = ide_get_hwifdata(hwif); 69 u8 dma_stat = inb(hwif->dma_base + ATA_DMA_STATUS); 72 hwif->expiry = expiry; 75 unsigned long sc_base = hwif 114 ide_hwif_t *hwif = drive->hwif; local 134 tc86c001_cable_detect(ide_hwif_t *hwif) argument 147 init_hwif_tc86c001(ide_hwif_t *hwif) argument [all...] |
H A D | ide-acpi.c | 38 ide_hwif_t *hwif; member in struct:ide_acpi_hwif_link 95 bool ide_port_acpi(ide_hwif_t *hwif) argument 97 return ide_noacpi == 0 && hwif->acpidata; 172 * ide_acpi_hwif_get_handle - Get ACPI object handle for a given hwif 173 * @hwif: device to locate 175 * Retrieves the object handle for a given hwif. 179 static acpi_handle ide_acpi_hwif_get_handle(ide_hwif_t *hwif) argument 181 struct device *dev = hwif->gendev.parent; 187 DEBPRINT("ENTER: device %s\n", hwif->name); 190 DEBPRINT("no PCI device for %s\n", hwif 396 ide_acpi_get_timing(ide_hwif_t *hwif) argument 474 ide_acpi_push_timing(ide_hwif_t *hwif) argument 515 ide_acpi_set_state(ide_hwif_t *hwif, int on) argument 551 ide_acpi_init_port(ide_hwif_t *hwif) argument 565 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 344 ide_hwif_t *hwif = drive->hwif; local 447 ide_hwif_t *hwif = drive->hwif; local 459 ide_hwif_t *hwif = drive->hwif; local 484 ide_hwif_t *hwif = drive->hwif; local 507 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 125 pdc_old_enable_66MHz_clock(ide_hwif_t *hwif) argument 133 pdc_old_disable_66MHz_clock(ide_hwif_t *hwif) argument 141 pdc2026x_init_hwif(ide_hwif_t *hwif) argument 151 ide_hwif_t *hwif = drive->hwif; local 171 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 290 ide_hwif_t *hwif = drive->hwif; local 317 ide_hwif_t *hwif = drive->hwif; local 345 ide_hwif_t *hwif = drive->hwif; local 383 tx4939ide_dma_sff_read_status(ide_hwif_t *hwif) argument 393 tx4939ide_init_hwif(ide_hwif_t *hwif) argument 411 tx4939ide_init_dma(ide_hwif_t *hwif, const struct ide_port_info *d) argument 424 ide_hwif_t *hwif = drive->hwif; local 609 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 288 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 320 ide_hwif_t *hwif = drive->hwif; local 363 ide_hwif_t *hwif = drive->hwif; local 385 ide_hwif_t *hwif = drive->hwif; local 403 it821x_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 427 it821x_cable_detect(ide_hwif_t *hwif) argument 531 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 360 ide_hwif_t *hwif = drive->hwif; local 416 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 479 ide_hwif_t *hwif = drive->hwif; local 497 ide_hwif_t *hwif = drive->hwif; local 720 init_mmio_iops_scc(ide_hwif_t *hwif) argument 740 init_iops_scc(ide_hwif_t *hwif) argument 750 scc_init_dma(ide_hwif_t *hwif, const struct ide_port_info *d) argument 755 scc_cable_detect(ide_hwif_t *hwif) argument 769 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; 149 ide_hwif_t *hwif = drive->hwif; local 150 struct pci_dev *dev = to_pci_dev(hwif->dev); 151 u32 val, mask = hwif 187 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 | 115 * - set the correct hwif->ultra_mask for each individual chip 559 ide_hwif_t *hwif = drive->hwif; local 560 struct hpt_info *info = hpt3xx_get_info(hwif->dev); 561 u8 mask = hwif->ultra_mask; 598 ide_hwif_t *hwif = drive->hwif; local 599 struct hpt_info *info = hpt3xx_get_info(hwif->dev); 631 static void hpt3xx_set_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 633 struct pci_dev *dev = to_pci_dev(hwif 655 hpt3xx_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) argument 663 ide_hwif_t *hwif = drive->hwif; local 708 ide_hwif_t *hwif = drive->hwif; local 717 ide_hwif_t *hwif = drive->hwif; local 742 ide_hwif_t *hwif = drive->hwif; local 758 ide_hwif_t *hwif = drive->hwif; local 779 ide_hwif_t *hwif = drive->hwif; local 799 hpt3xxn_set_clock(ide_hwif_t *hwif, u8 mode) argument 1154 hpt3xx_cable_detect(ide_hwif_t *hwif) argument 1200 init_hwif_hpt366(ide_hwif_t *hwif) argument 1224 init_dma_hpt366(ide_hwif_t *hwif, const struct ide_port_info *d) argument [all...] |
H A D | setup-pci.c | 74 * @hwif: IDE interface 80 unsigned long ide_pci_dma_base(ide_hwif_t *hwif, const struct ide_port_info *d) argument 82 struct pci_dev *dev = to_pci_dev(hwif->dev); 85 if (hwif->host_flags & IDE_HFLAG_MMIO) 86 return hwif->dma_base; 88 if (hwif->mate && hwif->mate->dma_base) { 89 dma_base = hwif->mate->dma_base - (hwif->channel ? 0 : 8); 102 if (hwif 109 ide_pci_check_simplex(ide_hwif_t *hwif, const struct ide_port_info *d) argument 364 ide_hwif_setup_dma(ide_hwif_t *hwif, const struct ide_port_info *d) argument [all...] |