Home
last modified time | relevance | path

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

/drivers/ide/
Dide-taskfile.c37 if (cmd->tf_flags & IDE_TFLAG_LBA48) { in ide_tf_readback()
88 (orig_cmd->tf_flags & IDE_TFLAG_MULTI_PIO) && in do_rw_taskfile()
99 if ((cmd->tf_flags & IDE_TFLAG_DMA_PIO_FALLBACK) == 0) { in do_rw_taskfile()
110 u8 HIHI = (cmd->tf_flags & IDE_TFLAG_LBA48) ? in do_rw_taskfile()
124 if (cmd->tf_flags & IDE_TFLAG_WRITE) { in do_rw_taskfile()
153 int custom = (cmd->tf_flags & IDE_TFLAG_CUSTOM_HANDLER) ? 1 : 0; in task_no_data_intr()
289 if (cmd->tf_flags & IDE_TFLAG_FS) in ide_pio_datablock()
292 if (cmd->tf_flags & IDE_TFLAG_IO_16BIT) in ide_pio_datablock()
297 if (cmd->tf_flags & IDE_TFLAG_MULTI_PIO) in ide_pio_datablock()
309 if (cmd->tf_flags & IDE_TFLAG_FS) { in ide_error_cmd()
[all …]
Dide-disk.c59 lba48 = (cmd->tf_flags & IDE_TFLAG_LBA48) ? 2 : 0; in ide_tf_set_cmd()
60 write = (cmd->tf_flags & IDE_TFLAG_WRITE) ? 1 : 0; in ide_tf_set_cmd()
68 cmd->tf_flags |= IDE_TFLAG_MULTI_PIO; in ide_tf_set_cmd()
124 cmd.tf_flags |= IDE_TFLAG_LBA48; in __ide_do_rw_disk()
149 cmd.tf_flags |= IDE_TFLAG_FS; in __ide_do_rw_disk()
152 cmd.tf_flags |= IDE_TFLAG_WRITE; in __ide_do_rw_disk()
166 cmd.tf_flags |= IDE_TFLAG_DMA_PIO_FALLBACK; in __ide_do_rw_disk()
224 cmd.tf_flags = IDE_TFLAG_LBA48; in idedisk_read_native_max_address()
268 cmd.tf_flags = IDE_TFLAG_LBA48; in idedisk_set_max_address()
454 cmd->tf_flags = IDE_TFLAG_DYN; in idedisk_prep_fn()
Dfalconide.c71 if (drive->media == ide_disk && cmd && (cmd->tf_flags & IDE_TFLAG_FS)) { in falconide_input_data()
84 if (drive->media == ide_disk && cmd && (cmd->tf_flags & IDE_TFLAG_FS)) { in falconide_output_data()
Dq40ide.c78 if (drive->media == ide_disk && cmd && (cmd->tf_flags & IDE_TFLAG_FS)) { in q40ide_input_data()
91 if (drive->media == ide_disk && cmd && (cmd->tf_flags & IDE_TFLAG_FS)) { in q40ide_output_data()
Dtrm290.c183 if (cmd->tf_flags & IDE_TFLAG_WRITE) { in trm290_dma_check()
195 unsigned int count, rw = (cmd->tf_flags & IDE_TFLAG_WRITE) ? 1 : 2; in trm290_dma_setup()
Dide-ioctls.c157 cmd.tf_flags |= IDE_TFLAG_IO_16BIT; in ide_cmd_ioctl()
173 cmd.tf_flags |= IDE_TFLAG_SET_XFER; in ide_cmd_ioctl()
Dide-dma.c104 if ((cmd->tf_flags & IDE_TFLAG_FS) == 0) in ide_dma_intr()
139 if (cmd->tf_flags & IDE_TFLAG_WRITE) in ide_dma_map_sg()
Dide-io.c95 if ((cmd->tf_flags & IDE_TFLAG_CUSTOM_HANDLER) && in ide_complete_cmd()
108 if (cmd->tf_flags & IDE_TFLAG_DYN) in ide_complete_cmd()
216 cmd.tf_flags = IDE_TFLAG_CUSTOM_HANDLER; in do_special()
Dide-park.c80 cmd.tf_flags |= IDE_TFLAG_CUSTOM_HANDLER; in ide_do_park_unpark()
Dide-lib.c61 cmd.tf_flags = IDE_TFLAG_LBA48; in ide_dump_sector()
Dide-dma-sff.c191 u8 rw = (cmd->tf_flags & IDE_TFLAG_WRITE) ? 0 : ATA_DMA_WR; in ide_dma_setup()
Dalim15x3.c213 if (cmd->tf_flags & IDE_TFLAG_WRITE) in ali_dma_check()
Dide-cd.c510 if (cmd->tf_flags & IDE_TFLAG_WRITE) in ide_cd_error_cmd()
689 if (uptodate == 0 && (cmd->tf_flags & IDE_TFLAG_WRITE)) in cdrom_newpc_intr()
816 cmd.tf_flags |= IDE_TFLAG_WRITE; in ide_cd_do_request()
Dsgiioc4.c475 u8 write = !!(cmd->tf_flags & IDE_TFLAG_WRITE); in sgiioc4_dma_setup()
Dide-floppy.c285 cmd.tf_flags |= IDE_TFLAG_WRITE; in ide_floppy_do_request()
Dau1xxx-ide.c221 int iswrite = !!(cmd->tf_flags & IDE_TFLAG_WRITE); in auide_build_dmatable()
Dicside.c315 if (cmd->tf_flags & IDE_TFLAG_WRITE) in icside_dma_setup()
Dpmac.c1476 int wr = !!(cmd->tf_flags & IDE_TFLAG_WRITE); in pmac_ide_build_dmatable()
1552 u8 write = !!(cmd->tf_flags & IDE_TFLAG_WRITE); in pmac_ide_dma_setup()
Dtx4939ide.c292 u8 rw = (cmd->tf_flags & IDE_TFLAG_WRITE) ? 0 : ATA_DMA_WR; in tx4939ide_dma_setup()
Dide-proc.c252 cmd.tf_flags = IDE_TFLAG_SET_XFER; in set_xfer_rate()
Dscc_pata.c311 u32 rw = (cmd->tf_flags & IDE_TFLAG_WRITE) ? 0 : ATA_DMA_WR; in scc_dma_setup()
Dide-tape.c658 cmd.tf_flags |= IDE_TFLAG_WRITE; in idetape_do_request()
/drivers/ata/
Dlibata.h68 u64 block, u32 n_block, unsigned int tf_flags,
Dlibata-scsi.c1656 unsigned int tf_flags = 0; in ata_scsi_rw_xlat() local
1662 tf_flags |= ATA_TFLAG_WRITE; in ata_scsi_rw_xlat()
1672 tf_flags |= ATA_TFLAG_FUA; in ata_scsi_rw_xlat()
1692 tf_flags |= ATA_TFLAG_FUA; in ata_scsi_rw_xlat()
1713 rc = ata_build_rw_tf(&qc->tf, qc->dev, block, n_block, tf_flags, in ata_scsi_rw_xlat()
Dlibata-core.c748 u64 block, u32 n_block, unsigned int tf_flags, in ata_build_rw_tf() argument
752 tf->flags |= tf_flags; in ata_build_rw_tf()