Home
last modified time | relevance | path

Searched refs:efc (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-6.6/drivers/scsi/elx/libefc/
H A Defc_cmds.c15 struct efc *efc = nport->efc; in efc_nport_free_resources() local
22 dma_free_coherent(&efc->pci->dev, nport->dma.size, in efc_nport_free_resources()
28 sli_resource_free(efc->sli, SLI4_RSRC_VPI, nport->indicator); in efc_nport_free_resources()
30 efc_nport_cb(efc, evt, nport); in efc_nport_free_resources()
36 struct efc *efc = nport->efc; in efc_nport_get_mbox_status() local
41 efc_log_debug(efc, "ba in efc_nport_get_mbox_status()
50 efc_nport_free_unreg_vpi_cb(struct efc *efc, int status, u8 *mqe, void *arg) efc_nport_free_unreg_vpi_cb() argument
67 struct efc *efc = nport->efc; efc_nport_free_unreg_vpi() local
90 struct efc *efc = nport->efc; efc_nport_send_evt() local
105 efc_nport_alloc_init_vpi_cb(struct efc *efc, int status, u8 *mqe, void *arg) efc_nport_alloc_init_vpi_cb() argument
121 struct efc *efc = nport->efc; efc_nport_alloc_init_vpi() local
148 efc_nport_alloc_read_sparm64_cb(struct efc *efc, int status, u8 *mqe, void *arg) efc_nport_alloc_read_sparm64_cb() argument
173 efc_nport_alloc_read_sparm64(struct efc *efc, struct efc_nport *nport) efc_nport_alloc_read_sparm64() argument
206 efc_cmd_nport_alloc(struct efc *efc, struct efc_nport *nport, struct efc_domain *domain, u8 *wwpn) efc_cmd_nport_alloc() argument
247 efc_nport_attach_reg_vpi_cb(struct efc *efc, int status, u8 *mqe, void *arg) efc_nport_attach_reg_vpi_cb() argument
263 efc_cmd_nport_attach(struct efc *efc, struct efc_nport *nport, u32 fc_id) efc_cmd_nport_attach() argument
298 efc_cmd_nport_free(struct efc *efc, struct efc_nport *nport) efc_cmd_nport_free() argument
319 struct efc *efc = domain->efc; efc_domain_get_mbox_status() local
336 struct efc *efc = domain->efc; efc_domain_free_resources() local
356 struct efc *efc = domain->efc; efc_domain_send_nport_evt() local
366 efc_domain_alloc_read_sparm64_cb(struct efc *efc, int status, u8 *mqe, void *arg) efc_domain_alloc_read_sparm64_cb() argument
385 struct efc *efc = domain->efc; efc_domain_alloc_read_sparm64() local
407 efc_domain_alloc_init_vfi_cb(struct efc *efc, int status, u8 *mqe, void *arg) efc_domain_alloc_init_vfi_cb() argument
425 struct efc *efc = domain->efc; efc_domain_alloc_init_vfi() local
455 efc_cmd_domain_alloc(struct efc *efc, struct efc_domain *domain, u32 fcf) efc_cmd_domain_alloc() argument
496 efc_domain_attach_reg_vfi_cb(struct efc *efc, int status, u8 *mqe, void *arg) efc_domain_attach_reg_vfi_cb() argument
513 efc_cmd_domain_attach(struct efc *efc, struct efc_domain *domain, u32 fc_id) efc_cmd_domain_attach() argument
550 efc_domain_free_unreg_vfi_cb(struct efc *efc, int status, u8 *mqe, void *arg) efc_domain_free_unreg_vfi_cb() argument
569 struct efc *efc = domain->efc; efc_domain_free_unreg_vfi() local
594 efc_cmd_domain_free(struct efc *efc, struct efc_domain *domain) efc_cmd_domain_free() argument
606 efc_cmd_node_alloc(struct efc *efc, struct efc_remote_node *rnode, u32 fc_addr, struct efc_nport *nport) efc_cmd_node_alloc() argument
634 efc_cmd_node_attach_cb(struct efc *efc, int status, u8 *mqe, void *arg) efc_cmd_node_attach_cb() argument
657 efc_cmd_node_attach(struct efc *efc, struct efc_remote_node *rnode, struct efc_dma *sparms) efc_cmd_node_attach() argument
688 efc_node_free_resources(struct efc *efc, struct efc_remote_node *rnode) efc_node_free_resources() argument
720 efc_cmd_node_free_cb(struct efc *efc, int status, u8 *mqe, void *arg) efc_cmd_node_free_cb() argument
754 efc_cmd_node_detach(struct efc *efc, struct efc_remote_node *rnode) efc_cmd_node_detach() argument
[all...]
H A Defclib.c10 * The critical sections protected by the efc's spinlock are quite broad and
15 * means that the entry points into the libefc library are protected by efc
21 #include "efc.h"
23 int efcport_init(struct efc *efc) in efcport_init() argument
27 spin_lock_init(&efc->lock); in efcport_init()
28 INIT_LIST_HEAD(&efc->vport_list); in efcport_init()
29 efc->hold_frames = false; in efcport_init()
30 spin_lock_init(&efc->pend_frames_lock); in efcport_init()
31 INIT_LIST_HEAD(&efc in efcport_init()
60 efc_purge_pending(struct efc *efc) efc_purge_pending() argument
75 efcport_destroy(struct efc *efc) efcport_destroy() argument
[all...]
H A Defc_nport.c28 #include "efc.h"
33 struct efc *efc = arg; in efc_nport_cb() local
37 efc_log_debug(efc, "nport event: %s\n", efc_sm_event_name(event)); in efc_nport_cb()
39 spin_lock_irqsave(&efc->lock, flags); in efc_nport_cb()
41 spin_unlock_irqrestore(&efc->lock, flags); in efc_nport_cb()
71 if (domain->efc->enable_ini) in efc_nport_alloc()
78 efc_log_err(domain->efc, in efc_nport_alloc()
93 nport->efc = domain->efc; in efc_nport_alloc()
181 struct efc *efc = nport->efc; efc_nport_attach() local
215 struct efc *efc = nport->efc; efc_nport_shutdown() local
257 struct efc *efc = nport->efc; efc_vport_link_down() local
276 struct efc *efc = nport->efc; __efc_nport_common() local
348 struct efc *efc = nport->efc; __efc_nport_vport_init() local
385 struct efc *efc = nport->efc; __efc_nport_vport_wait_alloc() local
442 struct efc *efc = nport->efc; __efc_nport_vport_allocated() local
475 struct efc *efc = nport->efc; efc_vport_update_spec() local
497 struct efc *efc = nport->efc; __efc_nport_attached() local
544 struct efc *efc = nport->efc; __efc_nport_wait_shutdown() local
623 struct efc *efc = domain->efc; efc_vport_start() local
647 struct efc *efc = domain->efc; efc_nport_vport_new() local
681 efc_nport_vport_del(struct efc *efc, struct efc_domain *domain, u64 wwpn, uint64_t wwnn) efc_nport_vport_del() argument
720 efc_vport_del_all(struct efc *efc) efc_vport_del_all() argument
735 efc_vport_create_spec(struct efc *efc, uint64_t wwnn, uint64_t wwpn, u32 fc_id, bool enable_ini, bool enable_tgt, void *tgt_data, void *ini_data) efc_vport_create_spec() argument
[all...]
H A Defc_domain.c11 #include "efc.h"
16 struct efc *efc = arg; in efc_domain_cb() local
25 spin_lock_irqsave(&efc->lock, flags); in efc_domain_cb()
34 efc_log_debug(efc, "Domain found: wwn %016llX\n", fcf_wwn); in efc_domain_cb()
37 domain = efc->domain; in efc_domain_cb()
39 domain = efc_domain_alloc(efc, fcf_wwn); in efc_domain_cb()
41 efc_log_err(efc, "efc_domain_alloc() failed\n"); in efc_domain_cb()
54 efc->hold_frames = true; in efc_domain_cb()
91 efc_log_warn(efc, "unsupporte in efc_domain_cb()
107 struct efc *efc = domain->efc; _efc_domain_free() local
118 struct efc *efc; efc_domain_free() local
133 efc_domain_alloc(struct efc *efc, uint64_t fcf_wwn) efc_domain_alloc() argument
159 efc_register_domain_free_cb(struct efc *efc, void (*callback)(struct efc *efc, void *arg), void *arg) efc_register_domain_free_cb() argument
860 struct efc *efc = domain->efc; efct_domain_process_pending() local
905 efc_dispatch_frame(struct efc *efc, struct efc_hw_sequence *seq) efc_dispatch_frame() argument
941 struct efc *efc = domain->efc; efc_domain_dispatch_frame() local
1028 struct efc *efc = node->efc; efc_node_dispatch_frame() local
[all...]
H A Defc_cmds.h12 efc_cmd_nport_alloc(struct efc *efc, struct efc_nport *nport,
15 efc_cmd_nport_attach(struct efc *efc, struct efc_nport *nport, u32 fc_id);
17 efc_cmd_nport_free(struct efc *efc, struct efc_nport *nport);
19 efc_cmd_domain_alloc(struct efc *efc, struct efc_domain *domain, u32 fcf);
21 efc_cmd_domain_attach(struct efc *efc, struc
[all...]
H A Defclib.h44 #define enable_target_rscn(efc) 1
107 * @efc: pointer back to efc
141 struct efc *efc; member
180 * @efc: pointer back to efc
211 struct efc *efc; member
272 * @efc
321 struct efc *efc; global() member
515 struct efc { global() struct
[all...]
H A Defc_els.c11 #include "efc.h"
15 #define EFC_LOG_ENABLE_ELS_TRACE(efc) \
16 (((efc) != NULL) ? (((efc)->logmask & (1U << 1)) != 0) : 0)
20 if (EFC_LOG_ENABLE_ELS_TRACE(efc)) \
21 efc_log_info(efc, "[%s] %-20s\n", \
26 efc_log_err((struct efc *)els->node->efc,\
43 struct efc *efc; in efc_els_io_alloc_size() local
111 struct efc *efc; _efc_els_io_free() local
161 struct efc *efc; efc_els_req_cb() local
260 struct efc *efc = node->efc; efc_els_send_req() local
296 struct efc *efc; efc_els_retry() local
323 struct efc *efc; efc_els_acc_cb() local
358 struct efc *efc = node->efc; efc_els_send_rsp() local
396 struct efc *efc = node->efc; efc_send_plogi() local
423 struct efc *efc; efc_send_flogi() local
452 struct efc *efc; efc_send_fdisc() local
480 struct efc *efc = node->efc; efc_send_prli() local
520 struct efc *efc = node->efc; efc_send_logo() local
552 struct efc *efc = node->efc; efc_send_adisc() local
588 struct efc *efc = node->efc; efc_send_scr() local
614 struct efc *efc = node->efc; efc_send_ls_rjt() local
644 struct efc *efc = node->efc; efc_send_plogi_acc() local
679 struct efc *efc = node->efc; efc_send_flogi_p2p_acc() local
712 struct efc *efc = node->efc; efc_send_prli_acc() local
754 struct efc *efc = node->efc; efc_send_prlo_acc() local
790 struct efc *efc = node->efc; efc_send_ls_acc() local
819 struct efc *efc = node->efc; efc_send_logo_acc() local
846 struct efc *efc = node->efc; efc_send_adisc_acc() local
894 struct efc *efc = node->efc; efc_ns_send_rftid() local
931 struct efc *efc = node->efc; efc_ns_send_rffid() local
972 struct efc *efc = node->efc; efc_ns_send_gidpt() local
1027 efc_send_ct_rsp(struct efc *efc, struct efc_node *node, u16 ox_id, struct fc_ct_hdr *ct_hdr, u32 cmd_rsp_code, u32 reason_code, u32 reason_code_explanation) efc_send_ct_rsp() argument
1078 struct efc *efc = node->efc; efc_send_bls_acc() local
[all...]
H A Defc_node.c7 #include "efc.h"
12 struct efc *efc = arg; in efc_remote_node_cb() local
17 spin_lock_irqsave(&efc->lock, flags); in efc_remote_node_cb()
19 spin_unlock_irqrestore(&efc->lock, flags); in efc_remote_node_cb()
35 struct efc *efc = node->efc; in _efc_node_free() local
39 dma_pool_free(efc->node_dma_pool, dma->virt, dma->phys); in _efc_node_free()
41 mempool_free(node, efc in _efc_node_free()
49 struct efc *efc = nport->efc; efc_node_alloc() local
123 struct efc *efc; efc_node_free() local
197 struct efc *efc = node->efc; efc_node_attach() local
348 struct efc *efc = node->efc; efc_node_purge_pending() local
592 struct efc *efc = node->efc; __efc_node_wait_ios_shutdown() local
649 struct efc *efc = NULL; __efc_node_common() local
971 struct efc *efc = node->efc; efc_node_recv_ct_frame() local
995 struct efc *efc = node->efc; efc_process_node_pending() local
1041 struct efc *efc = node->efc; efc_scsi_sess_reg_complete() local
1053 efc_scsi_del_initiator_complete(struct efc *efc, struct efc_node *node) efc_scsi_del_initiator_complete() argument
1064 efc_scsi_del_target_complete(struct efc *efc, struct efc_node *node) efc_scsi_del_target_complete() argument
1075 efc_scsi_io_list_empty(struct efc *efc, struct efc_node *node) efc_scsi_io_list_empty() argument
1086 struct efc *efc = node->efc; efc_node_post_els_resp() local
1097 struct efc *efc = node->efc; efc_node_post_shutdown() local
[all...]
H A Defc_device.c11 #include "efc.h"
19 struct efc *efc = node->efc; in efc_d_send_prli_rsp() local
30 efc_log_info(efc, "[%s] found(initiator) WWPN:%s WWNN:%s\n", in efc_d_send_prli_rsp()
33 rc = efc->tt.scsi_new_node(efc, node); in efc_d_send_prli_rsp()
48 struct efc *efc = NULL; in __efc_d_common() local
51 efc in __efc_d_common()
202 struct efc *efc = node->efc; __efc_d_initiate_shutdown() local
1296 struct efc *efc = node->efc; __efc_d_device_ready() local
1428 struct efc *efc = node->efc; __efc_d_device_gone() local
[all...]
H A Defc_fabric.c21 #include "efc.h"
26 struct efc *efc = node->efc; in efc_fabric_initiate_shutdown() local
37 rc = efc_cmd_node_detach(efc, &node->rnode); in efc_fabric_initiate_shutdown()
77 struct efc *efc = node->efc; in __efc_fabric_init() local
85 efc_log_debug(efc, ">>> reenter !!\n"); in __efc_fabric_init()
294 efc_log_err(node->efc, "FDIS in __efc_fabric_fdisc_wait_rsp()
653 struct efc *efc = node->efc; efc_process_gidpt_payload() local
841 struct efc *efc = node->efc; __efc_ns_idle() local
901 struct efc *efc = node->efc; __efc_ns_gidpt_delay() local
1004 struct efc *efc = node->efc; efc_process_rscn() local
1122 struct efc *efc = node->efc; __efc_p2p_wait_domain_attach() local
1529 struct efc *efc = nport->efc; efc_p2p_setup() local
[all...]
H A Defc.h37 efc_log_debug(domain->efc, "[domain:%s] %-20s %-20s\n", \
41 efc_log_debug(domain->efc, \
45 efc_log_debug(node->efc, "[%s] %-20s %-20s\n", \
49 efc_log_debug(nport->efc, \
H A Defc_els.h90 efc_bls_send_acc_hdr(struct efc *efc, struct efc_node *node,
100 efc_send_ct_rsp(struct efc *efc, struct efc_node *node, u16 ox_id,
H A Defc_domain.h15 efc_domain_alloc(struct efc *efc, uint64_t fcf_wwn);
H A Defc_node.h18 efc_log_debug(io->efc, "[%s] [%04x][i:%04x t:%04x h:%04x]" fmt, \
127 efc_node_free(struct efc_node *efc);
/kernel/linux/linux-6.6/drivers/scsi/elx/include/
H A Defc_common.h22 #define efc_log_crit(efc, fmt, args...) \
23 dev_crit(&((efc)->pci)->dev, fmt, ##args)
25 #define efc_log_err(efc, fmt, args...) \
26 dev_err(&((efc)->pci)->dev, fmt, ##args)
28 #define efc_log_warn(efc, fmt, args...) \
29 dev_warn(&((efc)->pci)->dev, fmt, ##args)
31 #define efc_log_info(efc, fmt, args...) \
32 dev_info(&((efc)->pci)->dev, fmt, ##args)
34 #define efc_log_debug(efc, fmt, args...) \
35 dev_dbg(&((efc)
[all...]
/kernel/linux/linux-6.6/drivers/scsi/elx/efct/
H A Defct_scsi.h149 efct_scsi_tgt_new_nport(struct efc *efc, struct efc_nport *nport);
151 efct_scsi_tgt_del_nport(struct efc *efc, struct efc_nport *nport);
154 efct_scsi_new_initiator(struct efc *efc, struct efc_node *node);
162 efct_scsi_del_initiator(struct efc *efc, struct efc_node *node, int reason);
H A Defct_driver.c92 struct efc *efc; in efct_efclib_config() local
96 efc = kzalloc(sizeof(*efc), GFP_KERNEL); in efct_efclib_config()
97 if (!efc) in efct_efclib_config()
100 efct->efcport = efc; in efct_efclib_config()
102 memcpy(&efc->tt, tt, sizeof(*tt)); in efct_efclib_config()
103 efc->base = efct; in efct_efclib_config()
104 efc->pci = efct->pci; in efct_efclib_config()
106 efc in efct_efclib_config()
[all...]
H A Defct_xport.c519 efct_xport_domain_free_cb(struct efc *efc, void *arg) in efct_xport_domain_free_cb() argument
682 struct efc *efc = efct->efcport; in efct_get_host_port_id() local
685 if (efc->domain && efc->domain->nport) { in efct_get_host_port_id()
686 nport = efc->domain->nport; in efct_get_host_port_id()
696 struct efc *efc = efct->efcport; in efct_get_host_port_type() local
699 if (efc in efct_get_host_port_type()
744 struct efc *efc = efct->efcport; efct_get_host_speed() local
795 struct efc *efc = efct->efcport; efct_get_host_fabric_name() local
[all...]
H A Defct_lio.c96 struct efc *efc; in efct_lio_tpg_enable_store() local
105 efc = efct->efcport; in efct_lio_tpg_enable_store()
125 if (efc->domain && efc->domain->nport) in efct_lio_tpg_enable_store()
126 efct_scsi_tgt_del_nport(efc, efc->domain->nport); in efct_lio_tpg_enable_store()
155 struct efc *efc; in efct_lio_npiv_tpg_enable_store() local
167 efc in efct_lio_npiv_tpg_enable_store()
1137 efct_scsi_tgt_new_nport(struct efc *efc, struct efc_nport *nport) efct_scsi_tgt_new_nport() argument
1148 efct_scsi_tgt_del_nport(struct efc *efc, struct efc_nport *nport) efct_scsi_tgt_del_nport() argument
1220 efct_scsi_new_initiator(struct efc *efc, struct efc_node *node) efct_scsi_new_initiator() argument
1277 efct_scsi_del_initiator(struct efc *efc, struct efc_node *node, int reason) efct_scsi_del_initiator() argument
[all...]
H A Defct_hw.h670 efct_efc_hw_sequence_free(struct efc *efc, struct efc_hw_sequence *seq);
701 efct_els_hw_srrs_send(struct efc *efc, struct efc_disc_io *io);
703 efct_efc_bls_send(struct efc *efc, u32 type, struct sli_bls_params *bls);
H A Defct_driver.h68 struct efc *efcport;
H A Defct_hw_queues.c672 efct_efc_hw_sequence_free(struct efc *efc, struct efc_hw_sequence *seq) in efct_efc_hw_sequence_free() argument
674 struct efct *efct = efc->base; in efct_efc_hw_sequence_free()
H A Defct_hw.c29 int (*callback)(struct efc *efc, int status, u8 *mqe, void *arg);
2560 efct_efc_bls_send(struct efc *efc, u32 type, struct sli_bls_params *bls) in efct_efc_bls_send() argument
2562 struct efct *efct = efc->base; in efct_efc_bls_send()
2679 * @efc: efc library structure
2694 efct_els_hw_srrs_send(struct efc *efc, struct efc_disc_io *io) in efct_els_hw_srrs_send() argument
2696 struct efct *efct = efc in efct_els_hw_srrs_send()
[all...]
/kernel/linux/linux-5.10/drivers/thunderbolt/
H A Dtunnel.c810 unsigned int efc, u32 credits) in tb_dma_init_path()
814 path->egress_fc_enable = efc; in tb_dma_init_path()
809 tb_dma_init_path(struct tb_path *path, unsigned int isb, unsigned int efc, u32 credits) tb_dma_init_path() argument

Completed in 18 milliseconds