Lines Matching refs:ering
368 static void ata_ering_record(struct ata_ering *ering, unsigned int eflags,
375 ering->cursor++;
376 ering->cursor %= ATA_ERING_SIZE;
378 ent = &ering->ring[ering->cursor];
384 static struct ata_ering_entry *ata_ering_top(struct ata_ering *ering)
386 struct ata_ering_entry *ent = &ering->ring[ering->cursor];
393 int ata_ering_map(struct ata_ering *ering,
400 idx = ering->cursor;
402 ent = &ering->ring[idx];
409 } while (idx != ering->cursor);
420 static void ata_ering_clear(struct ata_ering *ering)
422 ata_ering_map(ering, ata_ering_clear_cb, NULL);
1226 /* From now till the next successful probe, ering is used to
1229 ata_ering_clear(&dev->ering);
1711 * clears ering, while one triggered by DUBIOUS_* errors doesn't.
1749 ata_ering_map(&dev->ering, speed_down_verdict_cb, &arg);
1768 ata_ering_map(&dev->ering, speed_down_verdict_cb, &arg);
1812 ata_ering_record(&dev->ering, eflags, err_mask);
1871 ata_ering_clear(&dev->ering);
2978 ata_ering_clear(&dev->ering);
3058 /* if data transfer is verified, clear DUBIOUS_XFER on ering top */
3063 ent = ata_ering_top(&dev->ering);
3442 /* Record and count probe trials on the ering. The specific
3444 * detection clears the ering, this count accumulates only if
3455 ata_ering_record(&dev->ering, 0, AC_ERR_OTHER);
3456 ata_ering_map(&dev->ering, ata_count_probe_trials_cb, &trials);
3963 ata_ering_clear(&dev->ering);