Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/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()
313 if ((d->host_flags & IDE_HFLAG_ISA_PORTS) == 0) { in ide_hw_configure()
358 if ((d->host_flags & IDE_HFLAG_NO_AUTODMA) == 0 || in ide_hwif_setup_dma()
377 if (hwif->host_flags & IDE_HFLAG_MMIO) in ide_hwif_setup_dma()
459 int channels = (d->host_flags & IDE_HFLAG_SINGLE) ? 1 : 2, port; in ide_pci_setup_ports()
541 if (d->host_flags & IDE_HFLAG_SINGLE) in ide_pci_init_two()
546 if ((d->host_flags & IDE_HFLAG_NO_DMA) == 0) { in ide_pci_init_two()
[all …]
Dide-io-std.c44 if (hwif->host_flags & IDE_HFLAG_MMIO) in ide_exec_command()
53 if (hwif->host_flags & IDE_HFLAG_MMIO) in ide_read_status()
62 if (hwif->host_flags & IDE_HFLAG_MMIO) in ide_read_altstatus()
71 if (hwif->host_flags & IDE_HFLAG_MMIO) in ide_write_devctl()
83 if (hwif->host_flags & IDE_HFLAG_MMIO) in ide_dev_select()
95 u8 mmio = (hwif->host_flags & IDE_HFLAG_MMIO) ? 1 : 0; in ide_tf_load()
122 u8 mmio = (hwif->host_flags & IDE_HFLAG_MMIO) ? 1 : 0; in ide_tf_read()
173 u8 mmio = (hwif->host_flags & IDE_HFLAG_MMIO) ? 1 : 0; in ide_input_data()
217 u8 mmio = (hwif->host_flags & IDE_HFLAG_MMIO) ? 1 : 0; in ide_output_data()
Dide-xfer-mode.c71 if ((drive->hwif->host_flags & IDE_HFLAG_PIO_NO_BLACKLIST) == 0) in ide_get_best_pio_mode()
128 if (hwif->host_flags & IDE_HFLAG_NO_SET_MODE) in ide_set_pio_mode()
144 if (hwif->host_flags & IDE_HFLAG_POST_SET_MODE) { in ide_set_pio_mode()
162 if (hwif->host_flags & IDE_HFLAG_NO_SET_MODE) in ide_set_dma_mode()
168 if (hwif->host_flags & IDE_HFLAG_POST_SET_MODE) { in ide_set_dma_mode()
190 (hwif->host_flags & IDE_HFLAG_NO_SET_MODE)) in ide_set_pio()
256 (hwif->host_flags & IDE_HFLAG_NO_SET_MODE)) in ide_set_xfer_rate()
Dide-dma-sff.c27 if (hwif->host_flags & IDE_HFLAG_NO_ATAPI_DMA) in config_drive_for_dma()
58 if (hwif->host_flags & IDE_HFLAG_MMIO) in ide_dma_sff_read_status()
69 if (hwif->host_flags & IDE_HFLAG_MMIO) in ide_dma_sff_write_status()
122 u8 is_trm290 = !!(hwif->host_flags & IDE_HFLAG_TRM290); in ide_build_dmatable()
191 u8 mmio = (hwif->host_flags & IDE_HFLAG_MMIO) ? 1 : 0; in ide_dma_setup()
274 if (hwif->host_flags & IDE_HFLAG_MMIO) { in ide_dma_start()
292 if (hwif->host_flags & IDE_HFLAG_MMIO) { in ide_dma_end()
Dide-devsets.c85 return (hwif->host_flags & IDE_HFLAG_ABUSE_DMA_MODES) ? 1 : 0; in set_pio_mode_abuse()
88 return (hwif->host_flags & IDE_HFLAG_ABUSE_PREFETCH) ? 1 : 0; in set_pio_mode_abuse()
91 return (hwif->host_flags & IDE_HFLAG_ABUSE_FAST_DEVSEL) ? 1 : 0; in set_pio_mode_abuse()
106 (hwif->host_flags & IDE_HFLAG_NO_SET_MODE)) in set_pio_mode()
126 if (hwif->host_flags & IDE_HFLAG_SET_PIO_MODE_KEEP_DMA) { in set_pio_mode()
Drz1000.c44 .host_flags = IDE_HFLAG_NO_DMA,
57 d.host_flags |= IDE_HFLAG_SERIALIZE; in rz1000_init_one()
58 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 |
Dqd65xx.c306 if (hwif->host_flags & IDE_HFLAG_SINGLE) { in qd6580_init_dev()
343 .host_flags = IDE_HFLAG_IO_32BIT |
369 d.host_flags |= IDE_HFLAG_QD_2ND_PORT; in qd_probe()
386 d.host_flags |= IDE_HFLAG_SINGLE; in qd_probe()
403 d.host_flags |= IDE_HFLAG_SINGLE; in qd_probe()
414 if (d.host_flags & IDE_HFLAG_SINGLE) in qd_probe()
Dserverworks.c376 .host_flags = IDE_HFLAG_SINGLE,
385 .host_flags = IDE_HFLAG_SINGLE,
409 d.host_flags |= IDE_HFLAG_CLEAR_SIMPLEX; in svwks_init_one()
413 d.host_flags |= IDE_HFLAG_NON_BOOTABLE; in svwks_init_one()
414 d.host_flags |= IDE_HFLAG_SINGLE; in svwks_init_one()
416 d.host_flags &= ~IDE_HFLAG_SINGLE; in svwks_init_one()
Dide-probe.c275 (hwif->host_flags & IDE_HFLAG_BROKEN_ALTSTATUS) == 0) { in ide_dev_read_id()
896 if (hwif->host->host_flags & IDE_HFLAG_SERIALIZE) in init_irq()
1064 if (hwif->host_flags & IDE_HFLAG_IO_32BIT) in ide_port_init_devices()
1066 if (hwif->host_flags & IDE_HFLAG_NO_IO_32BIT) in ide_port_init_devices()
1068 if (hwif->host_flags & IDE_HFLAG_UNMASK_IRQS) in ide_port_init_devices()
1070 if (hwif->host_flags & IDE_HFLAG_NO_UNMASK_IRQS) in ide_port_init_devices()
1091 hwif->host_flags |= d->host_flags; in ide_init_port()
1098 if ((hwif->host_flags & IDE_HFLAG_DTC2278) == 0 || hwif->channel == 0) in ide_init_port()
1105 if ((d->host_flags & IDE_HFLAG_NO_DMA) == 0) { in ide_init_port()
1126 if ((d->host_flags & IDE_HFLAG_SERIALIZE) || in ide_init_port()
[all …]
Daec62xx.c191 .host_flags = IDE_HFLAG_SERIALIZE |
203 .host_flags = IDE_HFLAG_NO_ATAPI_DMA | IDE_HFLAG_NO_AUTODMA |
214 .host_flags = IDE_HFLAG_NO_ATAPI_DMA |
224 .host_flags = IDE_HFLAG_NO_ATAPI_DMA |
235 .host_flags = IDE_HFLAG_NO_ATAPI_DMA |
Dide-legacy.c49 if ((d->host_flags & IDE_HFLAG_QD_2ND_PORT) == 0) in ide_legacy_device_add()
54 (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()
756 d.host_flags |= IDE_HFLAG_NO_ATAPI_DMA; in siimage_init_one()
Damd74xx.c202 .host_flags = IDE_HFLAGS_AMD, \
215 .host_flags = IDE_HFLAGS_AMD, \
247 d.host_flags |= IDE_HFLAG_CLEAR_SIMPLEX; in amd74xx_probe()
261 d.host_flags |= IDE_HFLAG_BROKEN_ALTSTATUS; in amd74xx_probe()
Dide_platform.c41 .host_flags = IDE_HFLAG_NO_DMA,
98 d.host_flags |= IDE_HFLAG_MMIO; in plat_ide_probe()
Dcmd64x.c340 .host_flags = IDE_HFLAG_CLEAR_SIMPLEX |
352 .host_flags = IDE_HFLAG_ABUSE_PREFETCH |
363 .host_flags = IDE_HFLAG_ABUSE_PREFETCH,
373 .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.c406 .host_flags = IDE_HFLAG_PIO_NO_BLACKLIST |
461 d.host_flags |= IDE_HFLAG_NO_AUTODMA; in via_init_one()
464 d.host_flags |= IDE_HFLAG_SINGLE; in via_init_one()
467 d.host_flags |= IDE_HFLAG_UNMASK_IRQS; in via_init_one()
Dide-dma.c319 if (hwif->host_flags & IDE_HFLAG_NO_ATAPI_DMA) in ide_find_dma_mode()
364 if (hwif->host_flags & IDE_HFLAG_TRUST_BIOS_FOR_DMA) in ide_tune_dma()
386 if (hwif->host_flags & IDE_HFLAG_TRUST_BIOS_FOR_DMA) in ide_dma_check()
Dide-io.c428 if (host->host_flags & IDE_HFLAG_SERIALIZE) { in ide_lock_host()
440 if (host->host_flags & IDE_HFLAG_SERIALIZE) { in ide_unlock_host()
491 if ((hwif->host->host_flags & IDE_HFLAG_SERIALIZE) && in ide_issue_rq()
589 (hwif->host_flags & IDE_HFLAG_BROKEN_ALTSTATUS) == 0) in drive_is_ready()
786 if (host->host_flags & IDE_HFLAG_SERIALIZE) { in ide_intr()
Dide-4drives.c27 .host_flags = IDE_HFLAG_SERIALIZE | IDE_HFLAG_NO_DMA |
/kernel/linux/linux-5.10/drivers/gpu/drm/vboxvideo/
Dvbox_irq.c38 u32 host_flags = vbox_get_flags(vbox); in vbox_irq_handler() local
40 if (!(host_flags & HGSMIHOSTFLAGS_IRQ)) in vbox_irq_handler()
49 if (host_flags & in vbox_irq_handler()
51 !(host_flags & HGSMIHOSTFLAGS_VSYNC)) in vbox_irq_handler()
Dhgsmi_ch_setup.h28 u32 host_flags; member
/kernel/linux/linux-5.10/drivers/scsi/
Dmac_scsi.c446 int host_flags = 0; in mac_scsi_probe() local
489 host_flags |= FLAG_NO_PSEUDO_DMA; in mac_scsi_probe()
491 host_flags |= setup_toshiba_delay > 0 ? FLAG_TOSHIBA_DELAY : 0; in mac_scsi_probe()
493 error = NCR5380_init(instance, host_flags | FLAG_LATE_DMA_SETUP); in mac_scsi_probe()
Datari_scsi.c726 int host_flags = 0; in atari_scsi_probe() local
800 host_flags |= IS_A_TT() ? 0 : FLAG_LATE_DMA_SETUP; in atari_scsi_probe()
801 host_flags |= setup_toshiba_delay > 0 ? FLAG_TOSHIBA_DELAY : 0; in atari_scsi_probe()
803 error = NCR5380_init(instance, host_flags); in atari_scsi_probe()

1234