Lines Matching refs:tf
37 struct ata_taskfile tf; in eject_tray() local
44 ata_tf_init(dev, &tf); in eject_tray()
45 tf.flags = ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE; in eject_tray()
46 tf.command = ATA_CMD_PACKET; in eject_tray()
47 tf.protocol = ATAPI_PROT_NODATA; in eject_tray()
49 return ata_exec_internal(dev, &tf, cdb, DMA_NONE, NULL, 0, 0); in eject_tray()
58 struct ata_taskfile tf; in zpodd_get_mech_type() local
72 ata_tf_init(dev, &tf); in zpodd_get_mech_type()
73 tf.flags = ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE; in zpodd_get_mech_type()
74 tf.command = ATA_CMD_PACKET; in zpodd_get_mech_type()
75 tf.protocol = ATAPI_PROT_PIO; in zpodd_get_mech_type()
76 tf.lbam = 16; in zpodd_get_mech_type()
78 ret = ata_exec_internal(dev, &tf, cdb, DMA_FROM_DEVICE, in zpodd_get_mech_type()