Home
last modified time | relevance | path

Searched refs:host_flags (Results 1 – 25 of 74) sorted by relevance

123

/linux-3.4.99/drivers/ide/
Dsetup-pci.c85 if (hwif->host_flags & IDE_HFLAG_MMIO) in ide_pci_dma_base()
91 u8 baridx = (d->host_flags & IDE_HFLAG_CS5520) ? 2 : 4; in ide_pci_dma_base()
114 if (d->host_flags & (IDE_HFLAG_MMIO | IDE_HFLAG_CS5520)) in ide_pci_check_simplex()
117 if (d->host_flags & IDE_HFLAG_CLEAR_SIMPLEX) { in ide_pci_check_simplex()
219 if (d->host_flags & IDE_HFLAG_SINGLE) in ide_pci_enable()
224 if ((d->host_flags & IDE_HFLAG_NO_DMA) == 0) { in ide_pci_enable()
225 if (d->host_flags & IDE_HFLAG_CS5520) in ide_pci_enable()
323 if ((d->host_flags & IDE_HFLAG_ISA_PORTS) == 0) { in ide_hw_configure()
368 if ((d->host_flags & IDE_HFLAG_NO_AUTODMA) == 0 || in ide_hwif_setup_dma()
387 if (hwif->host_flags & IDE_HFLAG_MMIO) in ide_hwif_setup_dma()
[all …]
Dide-io-std.c43 if (hwif->host_flags & IDE_HFLAG_MMIO) in ide_exec_command()
52 if (hwif->host_flags & IDE_HFLAG_MMIO) in ide_read_status()
61 if (hwif->host_flags & IDE_HFLAG_MMIO) in ide_read_altstatus()
70 if (hwif->host_flags & IDE_HFLAG_MMIO) in ide_write_devctl()
82 if (hwif->host_flags & IDE_HFLAG_MMIO) in ide_dev_select()
94 u8 mmio = (hwif->host_flags & IDE_HFLAG_MMIO) ? 1 : 0; in ide_tf_load()
121 u8 mmio = (hwif->host_flags & IDE_HFLAG_MMIO) ? 1 : 0; in ide_tf_read()
172 u8 mmio = (hwif->host_flags & IDE_HFLAG_MMIO) ? 1 : 0; in ide_input_data()
216 u8 mmio = (hwif->host_flags & IDE_HFLAG_MMIO) ? 1 : 0; in ide_output_data()
Dide-xfer-mode.c70 if ((drive->hwif->host_flags & IDE_HFLAG_PIO_NO_BLACKLIST) == 0) in ide_get_best_pio_mode()
127 if (hwif->host_flags & IDE_HFLAG_NO_SET_MODE) in ide_set_pio_mode()
143 if (hwif->host_flags & IDE_HFLAG_POST_SET_MODE) { in ide_set_pio_mode()
161 if (hwif->host_flags & IDE_HFLAG_NO_SET_MODE) in ide_set_dma_mode()
167 if (hwif->host_flags & IDE_HFLAG_POST_SET_MODE) { in ide_set_dma_mode()
189 (hwif->host_flags & IDE_HFLAG_NO_SET_MODE)) in ide_set_pio()
255 (hwif->host_flags & IDE_HFLAG_NO_SET_MODE)) in ide_set_xfer_rate()
Dide-dma-sff.c26 if (hwif->host_flags & IDE_HFLAG_NO_ATAPI_DMA) in config_drive_for_dma()
57 if (hwif->host_flags & IDE_HFLAG_MMIO) in ide_dma_sff_read_status()
68 if (hwif->host_flags & IDE_HFLAG_MMIO) in ide_dma_sff_write_status()
121 u8 is_trm290 = !!(hwif->host_flags & IDE_HFLAG_TRM290); in ide_build_dmatable()
190 u8 mmio = (hwif->host_flags & IDE_HFLAG_MMIO) ? 1 : 0; in ide_dma_setup()
273 if (hwif->host_flags & IDE_HFLAG_MMIO) { in ide_dma_start()
291 if (hwif->host_flags & IDE_HFLAG_MMIO) { in ide_dma_end()
Dide-devsets.c84 return (hwif->host_flags & IDE_HFLAG_ABUSE_DMA_MODES) ? 1 : 0; in set_pio_mode_abuse()
87 return (hwif->host_flags & IDE_HFLAG_ABUSE_PREFETCH) ? 1 : 0; in set_pio_mode_abuse()
90 return (hwif->host_flags & IDE_HFLAG_ABUSE_FAST_DEVSEL) ? 1 : 0; in set_pio_mode_abuse()
105 (hwif->host_flags & IDE_HFLAG_NO_SET_MODE)) in set_pio_mode()
125 if (hwif->host_flags & IDE_HFLAG_SET_PIO_MODE_KEEP_DMA) { in set_pio_mode()
Drz1000.c43 .host_flags = IDE_HFLAG_NO_DMA,
56 d.host_flags |= IDE_HFLAG_SERIALIZE; in rz1000_init_one()
57 d.host_flags |= IDE_HFLAG_NO_UNMASK_IRQS; in rz1000_init_one()
Dide-pci-generic.c49 .host_flags = IDE_HFLAG_TRUST_BIOS_FOR_DMA | \
63 .host_flags = IDE_HFLAG_TRUST_BIOS_FOR_DMA,
78 .host_flags = IDE_HFLAG_TRUST_BIOS_FOR_DMA |
88 .host_flags = IDE_HFLAG_CLEAR_SIMPLEX |
Dide-probe.c273 (hwif->host_flags & IDE_HFLAG_BROKEN_ALTSTATUS) == 0) { in ide_dev_read_id()
867 if (hwif->host->host_flags & IDE_HFLAG_SERIALIZE) in init_irq()
1030 if (hwif->host_flags & IDE_HFLAG_IO_32BIT) in ide_port_init_devices()
1032 if (hwif->host_flags & IDE_HFLAG_NO_IO_32BIT) in ide_port_init_devices()
1034 if (hwif->host_flags & IDE_HFLAG_UNMASK_IRQS) in ide_port_init_devices()
1036 if (hwif->host_flags & IDE_HFLAG_NO_UNMASK_IRQS) in ide_port_init_devices()
1057 hwif->host_flags |= d->host_flags; in ide_init_port()
1064 if ((hwif->host_flags & IDE_HFLAG_DTC2278) == 0 || hwif->channel == 0) in ide_init_port()
1071 if ((d->host_flags & IDE_HFLAG_NO_DMA) == 0) { in ide_init_port()
1092 if ((d->host_flags & IDE_HFLAG_SERIALIZE) || in ide_init_port()
[all …]
Dqd65xx.c305 if (hwif->host_flags & IDE_HFLAG_SINGLE) { in qd6580_init_dev()
342 .host_flags = IDE_HFLAG_IO_32BIT |
368 d.host_flags |= IDE_HFLAG_QD_2ND_PORT; in qd_probe()
385 d.host_flags |= IDE_HFLAG_SINGLE; in qd_probe()
402 d.host_flags |= IDE_HFLAG_SINGLE; in qd_probe()
413 if (d.host_flags & IDE_HFLAG_SINGLE) in qd_probe()
Dserverworks.c369 .host_flags = IDE_HFLAG_SINGLE,
378 .host_flags = IDE_HFLAG_SINGLE,
402 d.host_flags |= IDE_HFLAG_CLEAR_SIMPLEX; in svwks_init_one()
406 d.host_flags |= IDE_HFLAG_NON_BOOTABLE; in svwks_init_one()
407 d.host_flags |= IDE_HFLAG_SINGLE; in svwks_init_one()
409 d.host_flags &= ~IDE_HFLAG_SINGLE; in svwks_init_one()
Daec62xx.c190 .host_flags = IDE_HFLAG_SERIALIZE |
202 .host_flags = IDE_HFLAG_NO_ATAPI_DMA | IDE_HFLAG_NO_AUTODMA |
213 .host_flags = IDE_HFLAG_NO_ATAPI_DMA |
223 .host_flags = IDE_HFLAG_NO_ATAPI_DMA |
234 .host_flags = IDE_HFLAG_NO_ATAPI_DMA |
Dide-legacy.c48 if ((d->host_flags & IDE_HFLAG_QD_2ND_PORT) == 0) in ide_legacy_device_add()
53 (d->host_flags & IDE_HFLAG_SINGLE)) in ide_legacy_device_add()
Dsiimage.c97 if (hwif->host_flags & IDE_HFLAG_MMIO) in siimage_selreg()
121 if (hwif->host_flags & IDE_HFLAG_MMIO) in siimage_seldev()
202 base += (hwif->host_flags & IDE_HFLAG_MMIO) ? 0x4A : 0x8A; in sil_pata_udma_filter()
253 u8 mmio = (hwif->host_flags & IDE_HFLAG_MMIO) ? 1 : 0; in sil_set_pio_mode()
308 u8 mmio = (hwif->host_flags & IDE_HFLAG_MMIO) ? 1 : 0; in sil_set_dma_mode()
395 if (drive->hwif->host_flags & IDE_HFLAG_MMIO) in siimage_dma_test_irq()
561 hwif->host_flags |= IDE_HFLAG_MMIO; in init_mmio_iops_siimage()
758 d.host_flags |= IDE_HFLAG_NO_ATAPI_DMA; in siimage_init_one()
Damd74xx.c206 .host_flags = IDE_HFLAGS_AMD, \
219 .host_flags = IDE_HFLAGS_AMD, \
251 d.host_flags |= IDE_HFLAG_CLEAR_SIMPLEX; in amd74xx_probe()
265 d.host_flags |= IDE_HFLAG_BROKEN_ALTSTATUS; in amd74xx_probe()
Dide_platform.c47 .host_flags = IDE_HFLAG_NO_DMA,
104 d.host_flags |= IDE_HFLAG_MMIO; in plat_ide_probe()
Dcmd64x.c336 .host_flags = IDE_HFLAG_CLEAR_SIMPLEX |
348 .host_flags = IDE_HFLAG_ABUSE_PREFETCH |
359 .host_flags = IDE_HFLAG_ABUSE_PREFETCH,
369 .host_flags = IDE_HFLAG_ABUSE_PREFETCH,
Dalim15x3.c542 d.host_flags |= IDE_HFLAG_NO_LBA48_DMA; in alim15x3_init_one()
546 d.host_flags |= IDE_HFLAG_NO_ATAPI_DMA; in alim15x3_init_one()
559 d.host_flags |= IDE_HFLAG_NO_DMA; in alim15x3_init_one()
565 d.host_flags |= IDE_HFLAG_CLEAR_SIMPLEX; in alim15x3_init_one()
Dvia82cxxx.c411 .host_flags = IDE_HFLAG_PIO_NO_BLACKLIST |
466 d.host_flags |= IDE_HFLAG_NO_AUTODMA; in via_init_one()
469 d.host_flags |= IDE_HFLAG_SINGLE; in via_init_one()
472 d.host_flags |= IDE_HFLAG_UNMASK_IRQS; in via_init_one()
Dide-dma.c321 if (hwif->host_flags & IDE_HFLAG_NO_ATAPI_DMA) in ide_find_dma_mode()
366 if (hwif->host_flags & IDE_HFLAG_TRUST_BIOS_FOR_DMA) in ide_tune_dma()
388 if (hwif->host_flags & IDE_HFLAG_TRUST_BIOS_FOR_DMA) in ide_dma_check()
Dide-io.c414 if (host->host_flags & IDE_HFLAG_SERIALIZE) { in ide_lock_host()
426 if (host->host_flags & IDE_HFLAG_SERIALIZE) { in ide_unlock_host()
490 if ((hwif->host->host_flags & IDE_HFLAG_SERIALIZE) && in do_ide_request()
585 (hwif->host_flags & IDE_HFLAG_BROKEN_ALTSTATUS) == 0) in drive_is_ready()
782 if (host->host_flags & IDE_HFLAG_SERIALIZE) { in ide_intr()
Dide-4drives.c26 .host_flags = IDE_HFLAG_SERIALIZE | IDE_HFLAG_NO_DMA |
Ddtc2278.c98 .host_flags = IDE_HFLAG_SERIALIZE |
Dmacide.c91 .host_flags = IDE_HFLAG_MMIO | IDE_HFLAG_NO_DMA,
Dsl82c105.c308 .host_flags = IDE_HFLAG_IO_32BIT |
330 d.host_flags &= ~IDE_HFLAG_SERIALIZE_DMA; in sl82c105_init_one()
Dide-pnp.c32 .host_flags = IDE_HFLAG_NO_DMA,

123