• Home
  • Raw
  • Download

Lines Matching refs:ering

368 static void ata_ering_record(struct ata_ering *ering, unsigned int eflags,  in ata_ering_record()  argument
375 ering->cursor++; in ata_ering_record()
376 ering->cursor %= ATA_ERING_SIZE; in ata_ering_record()
378 ent = &ering->ring[ering->cursor]; in ata_ering_record()
384 static struct ata_ering_entry *ata_ering_top(struct ata_ering *ering) in ata_ering_top() argument
386 struct ata_ering_entry *ent = &ering->ring[ering->cursor]; in ata_ering_top()
393 int ata_ering_map(struct ata_ering *ering, in ata_ering_map() argument
400 idx = ering->cursor; in ata_ering_map()
402 ent = &ering->ring[idx]; in ata_ering_map()
409 } while (idx != ering->cursor); in ata_ering_map()
420 static void ata_ering_clear(struct ata_ering *ering) in ata_ering_clear() argument
422 ata_ering_map(ering, ata_ering_clear_cb, NULL); in ata_ering_clear()
1229 ata_ering_clear(&dev->ering); in ata_dev_disable()
1749 ata_ering_map(&dev->ering, speed_down_verdict_cb, &arg); in ata_eh_speed_down_verdict()
1768 ata_ering_map(&dev->ering, speed_down_verdict_cb, &arg); in ata_eh_speed_down_verdict()
1812 ata_ering_record(&dev->ering, eflags, err_mask); in ata_eh_speed_down()
1871 ata_ering_clear(&dev->ering); in ata_eh_speed_down()
2984 ata_ering_clear(&dev->ering); in ata_eh_revalidate_and_attach()
3069 ent = ata_ering_top(&dev->ering); in ata_set_mode()
3461 ata_ering_record(&dev->ering, 0, AC_ERR_OTHER); in ata_eh_schedule_probe()
3462 ata_ering_map(&dev->ering, ata_count_probe_trials_cb, &trials); in ata_eh_schedule_probe()
3969 ata_ering_clear(&dev->ering); in ata_eh_handle_port_resume()