Lines Matching defs:ering
370 static void ata_ering_record(struct ata_ering *ering, unsigned int eflags,
377 ering->cursor++;
378 ering->cursor %= ATA_ERING_SIZE;
380 ent = &ering->ring[ering->cursor];
386 static struct ata_ering_entry *ata_ering_top(struct ata_ering *ering)
388 struct ata_ering_entry *ent = &ering->ring[ering->cursor];
395 int ata_ering_map(struct ata_ering *ering,
402 idx = ering->cursor;
404 ent = &ering->ring[idx];
411 } while (idx != ering->cursor);
422 static void ata_ering_clear(struct ata_ering *ering)
424 ata_ering_map(ering, ata_ering_clear_cb, NULL);
504 * From now till the next successful probe, ering is used to
507 ata_ering_clear(&dev->ering);
1822 * clears ering, while one triggered by DUBIOUS_* errors doesn't.
1860 ata_ering_map(&dev->ering, speed_down_verdict_cb, &arg);
1879 ata_ering_map(&dev->ering, speed_down_verdict_cb, &arg);
1923 ata_ering_record(&dev->ering, eflags, err_mask);
1980 ata_ering_clear(&dev->ering);
3395 ata_ering_clear(&dev->ering);
3476 /* if data transfer is verified, clear DUBIOUS_XFER on ering top */
3481 ent = ata_ering_top(&dev->ering);
3726 /* Record and count probe trials on the ering. The specific
3728 * detection clears the ering, this count accumulates only if
3739 ata_ering_record(&dev->ering, 0, AC_ERR_OTHER);
3740 ata_ering_map(&dev->ering, ata_count_probe_trials_cb, &trials);
4259 ata_ering_clear(&dev->ering);