Lines Matching refs:ering
372 static void ata_ering_record(struct ata_ering *ering, unsigned int eflags,
379 ering->cursor++;
380 ering->cursor %= ATA_ERING_SIZE;
382 ent = &ering->ring[ering->cursor];
388 static struct ata_ering_entry *ata_ering_top(struct ata_ering *ering)
390 struct ata_ering_entry *ent = &ering->ring[ering->cursor];
397 int ata_ering_map(struct ata_ering *ering,
404 idx = ering->cursor;
406 ent = &ering->ring[idx];
413 } while (idx != ering->cursor);
424 static void ata_ering_clear(struct ata_ering *ering)
426 ata_ering_map(ering, ata_ering_clear_cb, NULL);
1218 /* From now till the next successful probe, ering is used to
1221 ata_ering_clear(&dev->ering);
1723 * clears ering, while one triggered by DUBIOUS_* errors doesn't.
1761 ata_ering_map(&dev->ering, speed_down_verdict_cb, &arg);
1780 ata_ering_map(&dev->ering, speed_down_verdict_cb, &arg);
1824 ata_ering_record(&dev->ering, eflags, err_mask);
1881 ata_ering_clear(&dev->ering);
3119 ata_ering_clear(&dev->ering);
3198 /* if data transfer is verified, clear DUBIOUS_XFER on ering top */
3203 ent = ata_ering_top(&dev->ering);
3582 /* Record and count probe trials on the ering. The specific
3584 * detection clears the ering, this count accumulates only if
3595 ata_ering_record(&dev->ering, 0, AC_ERR_OTHER);
3596 ata_ering_map(&dev->ering, ata_count_probe_trials_cb, &trials);
4116 ata_ering_clear(&dev->ering);