Home
last modified time | relevance | path

Searched refs:stat0 (Results 1 – 3 of 3) sorted by relevance

/dragonfly/sys/dev/disk/nata/
HData-lowlevel.c455 u_int8_t ostat0 = 0, stat0 = 0, ostat1 = 0, stat1 = 0; in ata_generic_reset() local
464 stat0 = ATA_S_BUSY; in ata_generic_reset()
500 if ((mask & 0x01) && (stat0 & ATA_S_BUSY)) { in ata_generic_reset()
506 stat0 = ATA_IDX_INB(ch, ATA_STATUS); in ata_generic_reset()
510 stat0, err, lsb, msb); in ata_generic_reset()
511 if (stat0 == err && lsb == err && msb == err && in ata_generic_reset()
512 timeout > (stat0 & ATA_S_BUSY ? 100 : 10)) in ata_generic_reset()
514 if (!(stat0 & ATA_S_BUSY)) { in ata_generic_reset()
519 else if (stat0 & ATA_S_READY) { in ata_generic_reset()
523 else if ((stat0 & 0x0f) && err == lsb && err == msb) { in ata_generic_reset()
[all …]
/dragonfly/contrib/lvm2/dist/lib/device/
HDdev-cache.c163 struct stat stat0, stat1; in _compare_paths() local
215 if (lstat(p0, &stat0)) { in _compare_paths()
223 if (S_ISLNK(stat0.st_mode) && !S_ISLNK(stat1.st_mode)) in _compare_paths()
225 if (!S_ISLNK(stat0.st_mode) && S_ISLNK(stat1.st_mode)) in _compare_paths()
/dragonfly/sys/dev/netif/bwn/bwn/
HDif_bwn.c5291 uint32_t stat0, stat1; in bwn_intr_txeof() local
5297 stat0 = BWN_READ_4(mac, BWN_XMITSTAT_0); in bwn_intr_txeof()
5298 if (!(stat0 & 0x00000001)) in bwn_intr_txeof()
5305 stat0, in bwn_intr_txeof()
5308 stat.cookie = (stat0 >> 16); in bwn_intr_txeof()
5311 tmp = (stat0 & 0x0000ffff); in bwn_intr_txeof()