Home
last modified time | relevance | path

Searched refs:qedi (Results 1 – 13 of 13) sorted by relevance

/drivers/scsi/qedi/
Dqedi_main.c63 static int qedi_alloc_global_queues(struct qedi_ctx *qedi);
64 static void qedi_free_global_queues(struct qedi_ctx *qedi);
65 static struct qedi_cmd *qedi_get_cmd_from_tid(struct qedi_ctx *qedi, u32 tid);
67 static void qedi_ll2_free_skbs(struct qedi_ctx *qedi);
68 static struct nvm_iscsi_block *qedi_get_nvram_block(struct qedi_ctx *qedi);
76 struct qedi_ctx *qedi; in qedi_iscsi_event_cb() local
86 qedi = (struct qedi_ctx *)context; in qedi_iscsi_event_cb()
87 QEDI_INFO(&qedi->dbg_ctx, QEDI_LOG_INFO, in qedi_iscsi_event_cb()
91 QEDI_INFO(&qedi->dbg_ctx, QEDI_LOG_INFO, in qedi_iscsi_event_cb()
96 qedi_ep = qedi->ep_tbl[data->icid]; in qedi_iscsi_event_cb()
[all …]
Dqedi_iscsi.c17 int qedi_recover_all_conns(struct qedi_ctx *qedi) in qedi_recover_all_conns() argument
22 for (i = 0; i < qedi->max_active_conns; i++) { in qedi_recover_all_conns()
23 qedi_conn = qedi_get_conn_from_id(qedi, i); in qedi_recover_all_conns()
27 qedi_start_conn_recovery(qedi, qedi_conn); in qedi_recover_all_conns()
36 struct qedi_ctx *qedi; in qedi_eh_host_reset() local
38 qedi = iscsi_host_priv(shost); in qedi_eh_host_reset()
40 return qedi_recover_all_conns(qedi); in qedi_eh_host_reset()
65 static void qedi_conn_free_login_resources(struct qedi_ctx *qedi, in qedi_conn_free_login_resources() argument
69 dma_free_coherent(&qedi->pdev->dev, QEDI_PAGE_SIZE, in qedi_conn_free_login_resources()
76 dma_free_coherent(&qedi->pdev->dev, QEDI_PAGE_SIZE, in qedi_conn_free_login_resources()
[all …]
Dqedi_debugfs.c18 qedi_dbg_host_init(struct qedi_dbg_ctx *qedi, in qedi_dbg_host_init() argument
24 sprintf(host_dirname, "host%u", qedi->host_no); in qedi_dbg_host_init()
25 qedi->bdf_dentry = debugfs_create_dir(host_dirname, qedi_dbg_root); in qedi_dbg_host_init()
31 debugfs_create_file(dops->name, 0600, qedi->bdf_dentry, qedi, in qedi_dbg_host_init()
39 qedi_dbg_host_exit(struct qedi_dbg_ctx *qedi) in qedi_dbg_host_exit() argument
41 debugfs_remove_recursive(qedi->bdf_dentry); in qedi_dbg_host_exit()
42 qedi->bdf_dentry = NULL; in qedi_dbg_host_exit()
143 struct qedi_ctx *qedi = s->private; in qedi_gbl_ctx_show() local
148 for (id = 0; id < MIN_NUM_CPUS_MSIX(qedi); id++) { in qedi_gbl_ctx_show()
149 spin_lock_irqsave(&qedi->hba_lock, flags); in qedi_gbl_ctx_show()
[all …]
Dqedi_dbg.c11 qedi_dbg_err(struct qedi_dbg_ctx *qedi, const char *func, u32 line, in qedi_dbg_err() argument
22 if (likely(qedi) && likely(qedi->pdev)) in qedi_dbg_err()
23 pr_err("[%s]:[%s:%d]:%d: %pV", dev_name(&qedi->pdev->dev), in qedi_dbg_err()
24 func, line, qedi->host_no, &vaf); in qedi_dbg_err()
32 qedi_dbg_warn(struct qedi_dbg_ctx *qedi, const char *func, u32 line, in qedi_dbg_warn() argument
46 if (likely(qedi) && likely(qedi->pdev)) in qedi_dbg_warn()
47 pr_warn("[%s]:[%s:%d]:%d: %pV", dev_name(&qedi->pdev->dev), in qedi_dbg_warn()
48 func, line, qedi->host_no, &vaf); in qedi_dbg_warn()
57 qedi_dbg_notice(struct qedi_dbg_ctx *qedi, const char *func, u32 line, in qedi_dbg_notice() argument
71 if (likely(qedi) && likely(qedi->pdev)) in qedi_dbg_notice()
[all …]
Dqedi_fw.c30 static void qedi_process_logout_resp(struct qedi_ctx *qedi, in qedi_process_logout_resp() argument
58 QEDI_INFO(&qedi->dbg_ctx, QEDI_LOG_TID, in qedi_process_logout_resp()
68 QEDI_INFO(&qedi->dbg_ctx, QEDI_LOG_INFO, in qedi_process_logout_resp()
81 static void qedi_process_text_resp(struct qedi_ctx *qedi, in qedi_process_text_resp() argument
95 task_ctx = qedi_get_task_mem(&qedi->tasks, cmd->task_id); in qedi_process_text_resp()
122 QEDI_INFO(&qedi->dbg_ctx, QEDI_LOG_TID, in qedi_process_text_resp()
132 QEDI_INFO(&qedi->dbg_ctx, QEDI_LOG_INFO, in qedi_process_text_resp()
153 struct qedi_ctx *qedi = qedi_conn->qedi; in qedi_tmf_resp_work() local
161 rval = qedi_cleanup_all_io(qedi, qedi_conn, qedi_cmd->task, true); in qedi_tmf_resp_work()
177 static void qedi_process_tmf_resp(struct qedi_ctx *qedi, in qedi_process_tmf_resp() argument
[all …]
Dqedi_gbl.h27 int qedi_alloc_sq(struct qedi_ctx *qedi, struct qedi_endpoint *ep);
28 void qedi_free_sq(struct qedi_ctx *qedi, struct qedi_endpoint *ep);
41 int qedi_get_task_idx(struct qedi_ctx *qedi);
42 void qedi_clear_task_idx(struct qedi_ctx *qedi, int idx);
46 void qedi_update_itt_map(struct qedi_ctx *qedi, u32 tid, u32 proto_itt,
48 void qedi_get_proto_itt(struct qedi_ctx *qedi, u32 tid, u32 *proto_itt);
49 void qedi_get_task_tid(struct qedi_ctx *qedi, u32 itt, int16_t *tid);
52 void qedi_start_conn_recovery(struct qedi_ctx *qedi,
54 struct qedi_conn *qedi_get_conn_from_id(struct qedi_ctx *qedi, u32 iscsi_cid);
59 void qedi_reset_host_mtu(struct qedi_ctx *qedi, u16 mtu);
[all …]
Dqedi_dbg.h82 void qedi_dbg_err(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
84 void qedi_dbg_warn(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
86 void qedi_dbg_notice(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
88 void qedi_dbg_info(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
106 ssize_t (*oper_func)(struct qedi_dbg_ctx *qedi);
132 void qedi_dbg_host_init(struct qedi_dbg_ctx *qedi,
135 void qedi_dbg_host_exit(struct qedi_dbg_ctx *qedi);
Dqedi_sysfs.c23 struct qedi_ctx *qedi = qedi_dev_to_hba(dev); in port_state_show() local
25 if (atomic_read(&qedi->link_state) == QEDI_LINK_UP) in port_state_show()
34 struct qedi_ctx *qedi = qedi_dev_to_hba(dev); in speed_show() local
37 qedi_ops->common->get_link(qedi->cdev, &if_link); in speed_show()
DMakefile2 obj-$(CONFIG_QEDI) := qedi.o
3 qedi-y := qedi_main.o qedi_iscsi.o qedi_fw.o qedi_sysfs.o \
6 qedi-$(CONFIG_DEBUG_FS) += qedi_debugfs.o
Dqedi.h131 struct qedi_ctx *qedi; member
172 struct qedi_ctx *qedi; member
372 struct qedi_ctx *qedi; member
Dqedi_iscsi.h65 struct qedi_ctx *qedi; member
151 struct qedi_ctx *qedi; member
/drivers/scsi/
DMakefile134 obj-$(CONFIG_QEDI) += libiscsi.o qedi/
DKconfig1143 source "drivers/scsi/qedi/Kconfig"