Lines Matching refs:ering

372 static void ata_ering_record(struct ata_ering *ering, unsigned int eflags,  in ata_ering_record()  argument
379 ering->cursor++; in ata_ering_record()
380 ering->cursor %= ATA_ERING_SIZE; in ata_ering_record()
382 ent = &ering->ring[ering->cursor]; in ata_ering_record()
388 static struct ata_ering_entry *ata_ering_top(struct ata_ering *ering) in ata_ering_top() argument
390 struct ata_ering_entry *ent = &ering->ring[ering->cursor]; in ata_ering_top()
397 int ata_ering_map(struct ata_ering *ering, in ata_ering_map() argument
404 idx = ering->cursor; in ata_ering_map()
406 ent = &ering->ring[idx]; in ata_ering_map()
413 } while (idx != ering->cursor); in ata_ering_map()
424 static void ata_ering_clear(struct ata_ering *ering) in ata_ering_clear() argument
426 ata_ering_map(ering, ata_ering_clear_cb, NULL); in ata_ering_clear()
507 ata_ering_clear(&dev->ering); in ata_eh_dev_disable()
1819 ata_ering_map(&dev->ering, speed_down_verdict_cb, &arg); in ata_eh_speed_down_verdict()
1838 ata_ering_map(&dev->ering, speed_down_verdict_cb, &arg); in ata_eh_speed_down_verdict()
1882 ata_ering_record(&dev->ering, eflags, err_mask); in ata_eh_speed_down()
1939 ata_ering_clear(&dev->ering); in ata_eh_speed_down()
3169 ata_ering_clear(&dev->ering); in ata_eh_revalidate_and_attach()
3254 ent = ata_ering_top(&dev->ering); in ata_set_mode()
3646 ata_ering_record(&dev->ering, 0, AC_ERR_OTHER); in ata_eh_schedule_probe()
3647 ata_ering_map(&dev->ering, ata_count_probe_trials_cb, &trials); in ata_eh_schedule_probe()
4188 ata_ering_clear(&dev->ering); in ata_eh_handle_port_resume()