Lines Matching refs:esp_cmd_entry
404 static dma_addr_t esp_cur_dma_addr(struct esp_cmd_entry *ent, in esp_cur_dma_addr()
419 static unsigned int esp_cur_dma_len(struct esp_cmd_entry *ent, in esp_cur_dma_len()
431 static void esp_advance_dma(struct esp *esp, struct esp_cmd_entry *ent, in esp_advance_dma()
465 static void esp_save_pointers(struct esp *esp, struct esp_cmd_entry *ent) in esp_save_pointers()
480 static void esp_restore_pointers(struct esp *esp, struct esp_cmd_entry *ent) in esp_restore_pointers()
574 static int esp_alloc_lun_tag(struct esp_cmd_entry *ent, in esp_alloc_lun_tag()
617 static void esp_free_lun_tag(struct esp_cmd_entry *ent, in esp_free_lun_tag()
630 static void esp_map_sense(struct esp *esp, struct esp_cmd_entry *ent) in esp_map_sense()
642 static void esp_unmap_sense(struct esp *esp, struct esp_cmd_entry *ent) in esp_unmap_sense()
657 static void esp_autosense(struct esp *esp, struct esp_cmd_entry *ent) in esp_autosense()
704 static struct esp_cmd_entry *find_and_prep_issuable_command(struct esp *esp) in find_and_prep_issuable_command()
706 struct esp_cmd_entry *ent; in find_and_prep_issuable_command()
740 struct esp_cmd_entry *ent; in esp_maybe_execute_command()
878 static struct esp_cmd_entry *esp_get_ent(struct esp *esp) in esp_get_ent()
881 struct esp_cmd_entry *ret; in esp_get_ent()
884 ret = kzalloc(sizeof(struct esp_cmd_entry), GFP_ATOMIC); in esp_get_ent()
886 ret = list_entry(head->next, struct esp_cmd_entry, list); in esp_get_ent()
893 static void esp_put_ent(struct esp *esp, struct esp_cmd_entry *ent) in esp_put_ent()
898 static void esp_cmd_is_done(struct esp *esp, struct esp_cmd_entry *ent, in esp_cmd_is_done()
953 static void esp_event_queue_full(struct esp *esp, struct esp_cmd_entry *ent) in esp_event_queue_full()
966 struct esp_cmd_entry *ent; in esp_queuecommand_lck()
1054 static struct esp_cmd_entry *esp_reconnect_with_tag(struct esp *esp, in esp_reconnect_with_tag()
1057 struct esp_cmd_entry *ent; in esp_reconnect_with_tag()
1147 struct esp_cmd_entry *ent; in esp_reconnect()
1232 struct esp_cmd_entry *ent; in esp_finish_select()
1324 static int esp_data_bytes_sent(struct esp *esp, struct esp_cmd_entry *ent, in esp_data_bytes_sent()
1459 struct esp_cmd_entry *ent = esp->active_cmd; in esp_msgin_reject()
1599 struct esp_cmd_entry *ent = esp->active_cmd; in esp_msgin_extended()
1647 struct esp_cmd_entry *ent; in esp_msgin_process()
1677 struct esp_cmd_entry *ent = esp->active_cmd; in esp_msgin_process()
1747 struct esp_cmd_entry *ent = esp->active_cmd; in esp_process_event()
1788 struct esp_cmd_entry *ent = esp->active_cmd; in esp_process_event()
1833 struct esp_cmd_entry *ent = esp->active_cmd; in esp_process_event()
1859 struct esp_cmd_entry *ent = esp->active_cmd; in esp_process_event()
2039 static void esp_reset_cleanup_one(struct esp *esp, struct esp_cmd_entry *ent) in esp_reset_cleanup_one()
2065 struct esp_cmd_entry *ent, *tmp; in esp_reset_cleanup()
2504 struct esp_cmd_entry *ent, *tmp; in esp_eh_abort_handler()