Home
last modified time | relevance | path

Searched refs:ata_bio (Results 1 – 2 of 2) sorted by relevance

/openbsd/src/sys/dev/ata/
Data_wdc.c104 int wdc_ata_err(struct ata_drive_datas *, struct ata_bio *);
123 struct ata_bio *ata_bio; in wd_hibernate_io() local
157 ata_bio = &wd->sc_wdc_bio; in wd_hibernate_io()
158 ata_bio->wd = wd; /* fixup ata_bio->wd */ in wd_hibernate_io()
174 xfer->cmd = ata_bio; in wd_hibernate_io()
175 xfer->databuf = ata_bio->databuf; in wd_hibernate_io()
176 xfer->c_bcount = ata_bio->bcount; in wd_hibernate_io()
181 return (ata_bio->flags & ATA_ITSDONE) ? 0 : EIO; in wd_hibernate_io()
190 wdc_ata_bio(struct ata_drive_datas *drvp, struct ata_bio *ata_bio) in wdc_ata_bio() argument
198 if (ata_bio->flags & ATA_POLL) in wdc_ata_bio()
[all …]
Dwdvar.h33 struct ata_bio { struct
69 struct ata_bio sc_wdc_bio; /* current transfer */ argument
105 int wdc_ata_bio(struct ata_drive_datas*, struct ata_bio*);