Lines Matching defs:ata_xfer
126 /* Forward declaration for ata_xfer */
134 struct ata_xfer {
165 SIMPLEQ_ENTRY(ata_xfer) c_xferchain;
166 TAILQ_ENTRY(ata_xfer) c_activechain;
169 SLIST_ENTRY(ata_xfer) c_retrychain;
176 int (*c_start)(struct ata_channel *, struct ata_xfer *);
181 int (*c_poll)(struct ata_channel *, struct ata_xfer *);
184 void (*c_abort)(struct ata_channel *, struct ata_xfer *);
185 int (*c_intr)(struct ata_channel *, struct ata_xfer *, int);
186 void (*c_kill_xfer)(struct ata_channel *, struct ata_xfer *, int);
231 SIMPLEQ_HEAD(, ata_xfer) queue_xfer; /* queue of pending commands */
235 TAILQ_HEAD(, ata_xfer) active_xfers; /* active commands */
333 void (*drv_done)(device_t, struct ata_xfer *); /* xfer is done */
363 void (*ata_bio)(struct ata_drive_datas *, struct ata_xfer *);
367 struct ata_xfer *);
449 struct ata_xfer recovery_xfer;
541 struct ata_xfer *ata_get_xfer(struct ata_channel *, bool);
542 void ata_free_xfer(struct ata_channel *, struct ata_xfer *);
543 void ata_deactivate_xfer(struct ata_channel *, struct ata_xfer *);
544 void ata_exec_xfer(struct ata_channel *, struct ata_xfer *);
545 int ata_xfer_start(struct ata_xfer *xfer);
546 void ata_wait_cmd(struct ata_channel *, struct ata_xfer *xfer);
549 bool ata_timo_xfer_check(struct ata_xfer *);
572 struct ata_xfer *
574 struct ata_xfer *
576 struct ata_xfer *
578 struct ata_xfer *
589 bool ata_waitdrain_xfer_check(struct ata_channel *, struct ata_xfer *);
591 void atacmd_toncq(struct ata_xfer *, uint8_t *, uint16_t *, uint16_t *,