Home
last modified time | relevance | path

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

/linux/drivers/scsi/qedi/
H A Dqedi_main.c27 #include "qedi.h"
63 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 in qedi_iscsi_event_cb()
140 struct qedi_ctx *qedi = udev->qedi; qedi_uio_open() local
160 struct qedi_ctx *qedi = udev->qedi; qedi_uio_close() local
207 struct qedi_ctx *qedi = NULL; qedi_reset_uio_rings() local
262 qedi_alloc_uio_rings(struct qedi_ctx * qedi) qedi_alloc_uio_rings() argument
307 qedi_init_uio(struct qedi_ctx * qedi) qedi_init_uio() argument
352 qedi_alloc_and_init_sb(struct qedi_ctx * qedi,struct qed_sb_info * sb_info,u16 sb_id) qedi_alloc_and_init_sb() argument
382 qedi_free_sb(struct qedi_ctx * qedi) qedi_free_sb() argument
397 qedi_free_fp(struct qedi_ctx * qedi) qedi_free_fp() argument
403 qedi_destroy_fp(struct qedi_ctx * qedi) qedi_destroy_fp() argument
409 qedi_alloc_fp(struct qedi_ctx * qedi) qedi_alloc_fp() argument
437 qedi_int_fp(struct qedi_ctx * qedi) qedi_int_fp() argument
461 qedi_prepare_fp(struct qedi_ctx * qedi) qedi_prepare_fp() argument
492 qedi_setup_cid_que(struct qedi_ctx * qedi) qedi_setup_cid_que() argument
523 qedi_release_cid_que(struct qedi_ctx * qedi) qedi_release_cid_que() argument
607 qedi_cm_free_mem(struct qedi_ctx * qedi) qedi_cm_free_mem() argument
614 qedi_cm_alloc_mem(struct qedi_ctx * qedi) qedi_cm_alloc_mem() argument
635 struct qedi_ctx *qedi = NULL; qedi_host_alloc() local
669 struct qedi_ctx *qedi = (struct qedi_ctx *)cookie; qedi_ll2_rx() local
735 qedi_ll2_process_skb(struct qedi_ctx * qedi,struct sk_buff * skb,u16 vlan_id) qedi_ll2_process_skb() argument
790 qedi_ll2_free_skbs(struct qedi_ctx * qedi) qedi_ll2_free_skbs() argument
805 struct qedi_ctx *qedi = (struct qedi_ctx *)arg; qedi_ll2_recv_thread() local
828 qedi_set_iscsi_pf_param(struct qedi_ctx * qedi) qedi_set_iscsi_pf_param() argument
905 qedi_free_iscsi_pf_param(struct qedi_ctx * qedi) qedi_free_iscsi_pf_param() argument
941 qedi_find_boot_info(struct qedi_ctx * qedi,struct qed_mfw_tlv_iscsi * iscsi,struct nvm_iscsi_block * block) qedi_find_boot_info() argument
1043 struct qedi_ctx *qedi; qedi_get_generic_tlv_data() local
1065 struct qedi_ctx *qedi = dev; qedi_get_protocol_tlv_data() local
1124 struct qedi_ctx *qedi = (struct qedi_ctx *)dev; qedi_schedule_hw_err_handler() local
1159 struct qedi_ctx *qedi = dev; qedi_schedule_recovery_handler() local
1182 struct qedi_ctx *qedi = (struct qedi_ctx *)dev; qedi_link_update() local
1205 qedi_queue_cqe(struct qedi_ctx * qedi,union iscsi_cqe * cqe,u16 que_idx,struct qedi_percpu_s * p) qedi_queue_cqe() argument
1262 struct qedi_ctx *qedi = fp->qedi; qedi_process_completions() local
1317 struct qedi_ctx *qedi = fp->qedi; qedi_fp_has_work() local
1342 struct qedi_ctx *qedi = fp->qedi; qedi_msix_handler() local
1372 struct qedi_ctx *qedi = (struct qedi_ctx *)cookie; qedi_simd_int_handler() local
1378 qedi_sync_free_irqs(struct qedi_ctx * qedi) qedi_sync_free_irqs() argument
1406 qedi_request_msix_irq(struct qedi_ctx * qedi) qedi_request_msix_irq() argument
1438 qedi_setup_int(struct qedi_ctx * qedi) qedi_setup_int() argument
1470 qedi_free_nvm_iscsi_cfg(struct qedi_ctx * qedi) qedi_free_nvm_iscsi_cfg() argument
1478 qedi_alloc_nvm_iscsi_cfg(struct qedi_ctx * qedi) qedi_alloc_nvm_iscsi_cfg() argument
1494 qedi_free_bdq(struct qedi_ctx * qedi) qedi_free_bdq() argument
1515 qedi_free_global_queues(struct qedi_ctx * qedi) qedi_free_global_queues() argument
1537 qedi_alloc_bdq(struct qedi_ctx * qedi) qedi_alloc_bdq() argument
1619 qedi_alloc_global_queues(struct qedi_ctx * qedi) qedi_alloc_global_queues() argument
1756 qedi_alloc_sq(struct qedi_ctx * qedi,struct qedi_endpoint * ep) qedi_alloc_sq() argument
1812 qedi_free_sq(struct qedi_ctx * qedi,struct qedi_endpoint * ep) qedi_free_sq() argument
1822 qedi_get_task_idx(struct qedi_ctx * qedi) qedi_get_task_idx() argument
1843 qedi_clear_task_idx(struct qedi_ctx * qedi,int idx) qedi_clear_task_idx() argument
1850 qedi_update_itt_map(struct qedi_ctx * qedi,u32 tid,u32 proto_itt,struct qedi_cmd * cmd) qedi_update_itt_map() argument
1861 qedi_get_task_tid(struct qedi_ctx * qedi,u32 itt,s16 * tid) qedi_get_task_tid() argument
1878 qedi_get_cmd_from_tid(struct qedi_ctx * qedi,u32 tid) qedi_get_cmd_from_tid() argument
1894 qedi_alloc_itt(struct qedi_ctx * qedi) qedi_alloc_itt() argument
1906 qedi_free_itt(struct qedi_ctx * qedi) qedi_free_itt() argument
1988 qedi_reset_host_mtu(struct qedi_ctx * qedi,u16 mtu) qedi_reset_host_mtu() argument
2013 qedi_get_nvram_block(struct qedi_ctx * qedi) qedi_get_nvram_block() argument
2036 struct qedi_ctx *qedi = data; qedi_show_boot_eth_info() local
2129 struct qedi_ctx *qedi = data; qedi_show_boot_ini_info() local
2168 qedi_show_boot_tgt_info(struct qedi_ctx * qedi,int type,char * buf,enum qedi_nvm_tgts idx) qedi_show_boot_tgt_info() argument
2263 struct qedi_ctx *qedi = data; qedi_show_boot_tgt_pri_info() local
2270 struct qedi_ctx *qedi = data; qedi_show_boot_tgt_sec_info() local
2301 struct qedi_ctx *qedi = data; qedi_boot_release() local
2306 qedi_get_boot_info(struct qedi_ctx * qedi) qedi_get_boot_info() argument
2323 qedi_setup_boot_info(struct qedi_ctx * qedi) qedi_setup_boot_info() argument
2386 struct qedi_ctx *qedi = pci_get_drvdata(pdev); qedi_io_error_detected() local
2404 struct qedi_ctx *qedi = pci_get_drvdata(pdev); __qedi_remove() local
2481 struct qedi_ctx *qedi = qedi_board_disable_work() local
2496 struct qedi_ctx *qedi = pci_get_drvdata(pdev); qedi_shutdown() local
2506 struct qedi_ctx *qedi; qedi_suspend() local
2522 struct qedi_ctx *qedi; __qedi_probe() local
2835 struct qedi_ctx *qedi = qedi_recovery_handler() local
[all...]
H A 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 …]
H A 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 …]
H A 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()
139 struct qedi_ctx *qedi = s->private; in qedi_gbl_ctx_show() local
144 for (id = 0; id < MIN_NUM_CPUS_MSIX(qedi); id++) { in qedi_gbl_ctx_show()
145 spin_lock_irqsave(&qedi->hba_lock, flags); in qedi_gbl_ctx_show()
[all …]
H A 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 …]
H A 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_task_tid(struct qedi_ctx *qedi, u32 itt, int16_t *tid);
51 void qedi_start_conn_recovery(struct qedi_ctx *qedi,
53 struct qedi_conn *qedi_get_conn_from_id(struct qedi_ctx *qedi, u32 iscsi_cid);
58 void qedi_reset_host_mtu(struct qedi_ctx *qedi, u16 mtu);
59 int qedi_recover_all_conns(struct qedi_ctx *qedi);
[all …]
H A Dqedi_dbg.h81 void qedi_dbg_err(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
83 void qedi_dbg_warn(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
85 void qedi_dbg_notice(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
87 void qedi_dbg_info(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
93 ssize_t (*oper_func)(struct qedi_dbg_ctx *qedi);
119 void qedi_dbg_host_init(struct qedi_dbg_ctx *qedi,
122 void qedi_dbg_host_exit(struct qedi_dbg_ctx *qedi);
H A 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()
H A 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
H A Dqedi.h131 struct qedi_ctx *qedi; member
172 struct qedi_ctx *qedi; member
372 struct qedi_ctx *qedi; member
H A Dqedi_iscsi.h65 struct qedi_ctx *qedi; member
151 struct qedi_ctx *qedi; member
/linux/drivers/scsi/
H A DMakefile159 obj-$(CONFIG_QEDI) += libiscsi.o qedi/
H A DKconfig1142 source "drivers/scsi/qedi/Kconfig"
/linux/
H A DMAINTAINERS22179 F: drivers/scsi/qedi/