Home
last modified time | relevance | path

Searched refs:base_qedf (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/scsi/qedf/
Dqedf_attr.c82 struct qedf_ctx *base_qedf; in qedf_capture_grc_dump() local
86 base_qedf = qedf_get_base_qedf(qedf); in qedf_capture_grc_dump()
88 base_qedf = qedf; in qedf_capture_grc_dump()
90 if (test_bit(QEDF_GRCDUMP_CAPTURE, &base_qedf->flags)) { in qedf_capture_grc_dump()
91 QEDF_INFO(&(base_qedf->dbg_ctx), QEDF_LOG_INFO, in qedf_capture_grc_dump()
97 qedf_get_grc_dump(base_qedf->cdev, qed_ops->common, in qedf_capture_grc_dump()
98 &base_qedf->grcdump, &base_qedf->grcdump_size); in qedf_capture_grc_dump()
99 QEDF_ERR(&(base_qedf->dbg_ctx), "GRC Dump captured.\n"); in qedf_capture_grc_dump()
100 set_bit(QEDF_GRCDUMP_CAPTURE, &base_qedf->flags); in qedf_capture_grc_dump()
101 qedf_uevent_emit(base_qedf->lport->host, QEDF_UEVENT_CODE_GRCDUMP, in qedf_capture_grc_dump()
Dqedf_main.c1823 struct qedf_ctx *base_qedf = lport_priv(n_port); in qedf_vport_create() local
1832 QEDF_WARN(&(base_qedf->dbg_ctx), "Failed to create vport, " in qedf_vport_create()
1837 if (atomic_read(&base_qedf->link_state) != QEDF_LINK_UP) { in qedf_vport_create()
1838 QEDF_WARN(&(base_qedf->dbg_ctx), "Cannot create vport " in qedf_vport_create()
1845 QEDF_WARN(&(base_qedf->dbg_ctx), "Could not create lport " in qedf_vport_create()
1851 QEDF_ERR(&(base_qedf->dbg_ctx), "Creating NPIV port, WWPN=%s.\n", in qedf_vport_create()
1856 memcpy(vport_qedf, base_qedf, sizeof(struct qedf_ctx)); in qedf_vport_create()
1861 vport_qedf->hba_lock = base_qedf->hba_lock; in qedf_vport_create()
1862 vport_qedf->pdev = base_qedf->pdev; in qedf_vport_create()
1863 vport_qedf->cmd_mgr = base_qedf->cmd_mgr; in qedf_vport_create()
[all …]