Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/qedi/
Dqedi_main.c53 static int qedi_alloc_global_queues(struct qedi_ctx *qedi);
54 static void qedi_free_global_queues(struct qedi_ctx *qedi);
55 static struct qedi_cmd *qedi_get_cmd_from_tid(struct qedi_ctx *qedi, u32 tid);
57 static void qedi_ll2_free_skbs(struct qedi_ctx *qedi);
58 static struct nvm_iscsi_block *qedi_get_nvram_block(struct qedi_ctx *qedi);
62 struct qedi_ctx *qedi; in qedi_iscsi_event_cb() local
72 qedi = (struct qedi_ctx *)context; in qedi_iscsi_event_cb()
73 QEDI_INFO(&qedi->dbg_ctx, QEDI_LOG_INFO, in qedi_iscsi_event_cb()
77 QEDI_INFO(&qedi->dbg_ctx, QEDI_LOG_INFO, in qedi_iscsi_event_cb()
82 qedi_ep = qedi->ep_tbl[data->icid]; in qedi_iscsi_event_cb()
[all …]
Dqedi_iscsi.c20 int qedi_recover_all_conns(struct qedi_ctx *qedi) in qedi_recover_all_conns() argument
25 for (i = 0; i < qedi->max_active_conns; i++) { in qedi_recover_all_conns()
26 qedi_conn = qedi_get_conn_from_id(qedi, i); in qedi_recover_all_conns()
30 qedi_start_conn_recovery(qedi, qedi_conn); in qedi_recover_all_conns()
39 struct qedi_ctx *qedi; in qedi_eh_host_reset() local
41 qedi = iscsi_host_priv(shost); in qedi_eh_host_reset()
43 return qedi_recover_all_conns(qedi); in qedi_eh_host_reset()
68 static void qedi_conn_free_login_resources(struct qedi_ctx *qedi, in qedi_conn_free_login_resources() argument
72 dma_free_coherent(&qedi->pdev->dev, QEDI_PAGE_SIZE, in qedi_conn_free_login_resources()
79 dma_free_coherent(&qedi->pdev->dev, QEDI_PAGE_SIZE, in qedi_conn_free_login_resources()
[all …]
Dqedi_debugfs.c21 qedi_dbg_host_init(struct qedi_dbg_ctx *qedi, in qedi_dbg_host_init() argument
28 sprintf(host_dirname, "host%u", qedi->host_no); in qedi_dbg_host_init()
29 qedi->bdf_dentry = debugfs_create_dir(host_dirname, qedi_dbg_root); in qedi_dbg_host_init()
30 if (!qedi->bdf_dentry) in qedi_dbg_host_init()
38 qedi->bdf_dentry, qedi, in qedi_dbg_host_init()
41 QEDI_INFO(qedi, QEDI_LOG_DEBUGFS, in qedi_dbg_host_init()
44 debugfs_remove_recursive(qedi->bdf_dentry); in qedi_dbg_host_init()
53 qedi_dbg_host_exit(struct qedi_dbg_ctx *qedi) in qedi_dbg_host_exit() argument
55 debugfs_remove_recursive(qedi->bdf_dentry); in qedi_dbg_host_exit()
56 qedi->bdf_dentry = NULL; in qedi_dbg_host_exit()
[all …]
Dqedi_dbg.c14 qedi_dbg_err(struct qedi_dbg_ctx *qedi, const char *func, u32 line, in qedi_dbg_err() argument
29 if (likely(qedi) && likely(qedi->pdev)) in qedi_dbg_err()
30 pr_err("[%s]:[%s:%d]:%d: %pV", dev_name(&qedi->pdev->dev), in qedi_dbg_err()
31 nfunc, line, qedi->host_no, &vaf); in qedi_dbg_err()
39 qedi_dbg_warn(struct qedi_dbg_ctx *qedi, const char *func, u32 line, in qedi_dbg_warn() argument
57 if (likely(qedi) && likely(qedi->pdev)) in qedi_dbg_warn()
58 pr_warn("[%s]:[%s:%d]:%d: %pV", dev_name(&qedi->pdev->dev), in qedi_dbg_warn()
59 nfunc, line, qedi->host_no, &vaf); in qedi_dbg_warn()
68 qedi_dbg_notice(struct qedi_dbg_ctx *qedi, const char *func, u32 line, in qedi_dbg_notice() argument
86 if (likely(qedi) && likely(qedi->pdev)) in qedi_dbg_notice()
[all …]
Dqedi_fw.c33 static void qedi_process_logout_resp(struct qedi_ctx *qedi, in qedi_process_logout_resp() argument
61 QEDI_INFO(&qedi->dbg_ctx, QEDI_LOG_TID, in qedi_process_logout_resp()
70 QEDI_INFO(&qedi->dbg_ctx, QEDI_LOG_INFO, in qedi_process_logout_resp()
77 qedi_clear_task_idx(qedi, cmd->task_id); in qedi_process_logout_resp()
83 static void qedi_process_text_resp(struct qedi_ctx *qedi, in qedi_process_text_resp() argument
97 task_ctx = qedi_get_task_mem(&qedi->tasks, cmd->task_id); in qedi_process_text_resp()
124 QEDI_INFO(&qedi->dbg_ctx, QEDI_LOG_TID, in qedi_process_text_resp()
133 QEDI_INFO(&qedi->dbg_ctx, QEDI_LOG_INFO, in qedi_process_text_resp()
140 qedi_clear_task_idx(qedi, cmd->task_id); in qedi_process_text_resp()
154 struct qedi_ctx *qedi = qedi_conn->qedi; in qedi_tmf_resp_work() local
[all …]
Dqedi_gbl.h30 int qedi_alloc_sq(struct qedi_ctx *qedi, struct qedi_endpoint *ep);
31 void qedi_free_sq(struct qedi_ctx *qedi, struct qedi_endpoint *ep);
45 int qedi_get_task_idx(struct qedi_ctx *qedi);
46 void qedi_clear_task_idx(struct qedi_ctx *qedi, int idx);
50 void qedi_update_itt_map(struct qedi_ctx *qedi, u32 tid, u32 proto_itt,
52 void qedi_get_proto_itt(struct qedi_ctx *qedi, u32 tid, u32 *proto_itt);
53 void qedi_get_task_tid(struct qedi_ctx *qedi, u32 itt, int16_t *tid);
56 void qedi_start_conn_recovery(struct qedi_ctx *qedi,
58 struct qedi_conn *qedi_get_conn_from_id(struct qedi_ctx *qedi, u32 iscsi_cid);
63 void qedi_reset_host_mtu(struct qedi_ctx *qedi, u16 mtu);
[all …]
Dqedi_dbg.h85 void qedi_dbg_err(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
87 void qedi_dbg_warn(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
89 void qedi_dbg_notice(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
91 void qedi_dbg_info(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
109 ssize_t (*oper_func)(struct qedi_dbg_ctx *qedi);
135 void qedi_dbg_host_init(struct qedi_dbg_ctx *qedi,
138 void qedi_dbg_host_exit(struct qedi_dbg_ctx *qedi);
Dqedi_sysfs.c26 struct qedi_ctx *qedi = qedi_dev_to_hba(dev); in qedi_show_port_state() local
28 if (atomic_read(&qedi->link_state) == QEDI_LINK_UP) in qedi_show_port_state()
37 struct qedi_ctx *qedi = qedi_dev_to_hba(dev); in qedi_show_speed() local
40 qedi_ops->common->get_link(qedi->cdev, &if_link); in qedi_show_speed()
DMakefile1 obj-$(CONFIG_QEDI) := qedi.o
2 qedi-y := qedi_main.o qedi_iscsi.o qedi_fw.o qedi_sysfs.o \
5 qedi-$(CONFIG_DEBUG_FS) += qedi_debugfs.o
Dqedi.h136 struct qedi_ctx *qedi; member
177 struct qedi_ctx *qedi; member
368 struct qedi_ctx *qedi; member
Dqedi_iscsi.h67 struct qedi_ctx *qedi; member
152 struct qedi_ctx *qedi; member
/Linux-v4.19/drivers/scsi/
DMakefile131 obj-$(CONFIG_QEDI) += libiscsi.o qedi/
DKconfig1122 source "drivers/scsi/qedi/Kconfig"
/Linux-v4.19/
DMAINTAINERS11948 F: drivers/scsi/qedi/