Lines Matching refs:tf
35 struct ata_taskfile tf = {}; in eject_tray() local
42 tf.flags = ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE; in eject_tray()
43 tf.command = ATA_CMD_PACKET; in eject_tray()
44 tf.protocol = ATAPI_PROT_NODATA; in eject_tray()
46 return ata_exec_internal(dev, &tf, cdb, DMA_NONE, NULL, 0, 0); in eject_tray()
55 struct ata_taskfile tf = {}; in zpodd_get_mech_type() local
65 tf.flags = ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE; in zpodd_get_mech_type()
66 tf.command = ATA_CMD_PACKET; in zpodd_get_mech_type()
67 tf.protocol = ATAPI_PROT_PIO; in zpodd_get_mech_type()
68 tf.lbam = sizeof(buf); in zpodd_get_mech_type()
70 ret = ata_exec_internal(dev, &tf, cdb, DMA_FROM_DEVICE, in zpodd_get_mech_type()