Home
last modified time | relevance | path

Searched refs:efc (Results 1 – 25 of 25) sorted by relevance

/linux-6.1.9/drivers/scsi/elx/libefc/
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, "bad status vpi=%#x st=%x hdr=%x\n", in efc_nport_get_mbox_status()
50 efc_nport_free_unreg_vpi_cb(struct efc *efc, int status, u8 *mqe, void *arg) in efc_nport_free_unreg_vpi_cb() argument
67 struct efc *efc = nport->efc; in efc_nport_free_unreg_vpi() local
71 rc = sli_cmd_unreg_vpi(efc->sli, data, nport->indicator, in efc_nport_free_unreg_vpi()
74 efc_log_err(efc, "UNREG_VPI format failure\n"); in efc_nport_free_unreg_vpi()
[all …]
Defclib.c23 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->pend_frames); in efcport_init()
34 efc->node_pool = mempool_create_kmalloc_pool(EFC_MAX_REMOTE_NODES, in efcport_init()
36 if (!efc->node_pool) { in efcport_init()
37 efc_log_err(efc, "Can't allocate node pool\n"); in efcport_init()
41 efc->node_dma_pool = dma_pool_create("node_dma_pool", &efc->pci->dev, in efcport_init()
[all …]
Defc_domain.c16 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, "unsupported event %#x\n", event); in efc_domain_cb()
93 spin_unlock_irqrestore(&efc->lock, flags); in efc_domain_cb()
95 if (efc->domain && domain->req_accept_frames) { in efc_domain_cb()
[all …]
Defc_nport.c33 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()
102 (nport->enable_tgt && enable_target_rscn(nport->efc))); in efc_nport_alloc()
129 efc_log_debug(domain->efc, "New Nport [%s]\n", nport->display_name); in efc_nport_alloc()
143 efc_log_debug(domain->efc, "[%s] free nport\n", nport->display_name); in efc_nport_free()
[all …]
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, struct efc_domain *domain, u32 fc_id);
23 efc_cmd_domain_free(struct efc *efc, struct efc_domain *domain);
25 efc_cmd_node_detach(struct efc *efc, struct efc_remote_node *rnode);
27 efc_node_free_resources(struct efc *efc, struct efc_remote_node *rnode);
29 efc_cmd_node_attach(struct efc *efc, struct efc_remote_node *rnode,
32 efc_cmd_node_alloc(struct efc *efc, struct efc_remote_node *rnode, u32 fc_addr,
Defc_els.c15 #define EFC_LOG_ENABLE_ELS_TRACE(efc) \ argument
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
47 efc = node->efc; in efc_els_io_alloc_size()
50 efc_log_err(efc, "els io alloc disabled\n"); in efc_els_io_alloc_size()
54 els = mempool_alloc(efc->els_io_pool, GFP_ATOMIC); in efc_els_io_alloc_size()
56 atomic_add_return(1, &efc->els_io_alloc_failed_count); in efc_els_io_alloc_size()
[all …]
Defclib.h44 #define enable_target_rscn(efc) 1 argument
141 struct efc *efc; member
211 struct efc *efc; member
321 struct efc *efc; member
405 efc_log_info(node->efc, "[%s] " fmt, node->display_name, ##args)
490 int (*new_nport)(struct efc *efc, struct efc_nport *sp);
491 void (*del_nport)(struct efc *efc, struct efc_nport *sp);
494 int (*scsi_new_node)(struct efc *efc, struct efc_node *n);
495 int (*scsi_del_node)(struct efc *efc, struct efc_node *n, int reason);
499 int (*send_els)(struct efc *efc, struct efc_disc_io *io);
[all …]
Defc_node.c12 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->node_pool); in _efc_node_free()
49 struct efc *efc = nport->efc; in efc_node_alloc() local
53 efc_log_debug(efc, "node allocation when shutting down %06x", in efc_node_alloc()
58 node = mempool_alloc(efc->node_pool, GFP_ATOMIC); in efc_node_alloc()
60 efc_log_err(efc, "node allocation failed %06x", port_id); in efc_node_alloc()
[all …]
Defc_device.c19 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 = node->efc; in __efc_d_common()
56 efc_log_debug(efc, "[%s] %-20s %-20s\n", node->display_name, in __efc_d_common()
62 efc_log_debug(efc, "[%s] %-20s %-20s\n", in __efc_d_common()
69 efc_log_debug(efc, "[%s] %-20s %-20s\n", node->display_name, in __efc_d_common()
202 struct efc *efc = node->efc; in __efc_d_initiate_shutdown() local
217 efc_log_info(node->efc, in __efc_d_initiate_shutdown()
[all …]
Defc_fabric.c26 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, "FDISC failed, shutting down nport\n"); in __efc_fabric_fdisc_wait_rsp()
323 if (ns->efc->nodedb_mask & EFC_NODEDB_PAUSE_NAMESERVER) in efc_start_ns_node()
653 struct efc *efc = node->efc; in efc_process_gidpt_payload() local
670 efc_log_debug(node->efc, "residual is %u words\n", residual); in efc_process_gidpt_payload()
737 (node->nport->enable_tgt && enable_target_rscn(efc))) { in efc_process_gidpt_payload()
765 efc_log_err(efc, "efc_node_alloc() failed\n"); in efc_process_gidpt_payload()
[all …]
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, \
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,
Defc_domain.h15 efc_domain_alloc(struct efc *efc, uint64_t fcf_wwn);
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);
/linux-6.1.9/drivers/scsi/elx/include/
Defc_common.h22 #define efc_log_crit(efc, fmt, args...) \ argument
23 dev_crit(&((efc)->pci)->dev, fmt, ##args)
25 #define efc_log_err(efc, fmt, args...) \ argument
26 dev_err(&((efc)->pci)->dev, fmt, ##args)
28 #define efc_log_warn(efc, fmt, args...) \ argument
29 dev_warn(&((efc)->pci)->dev, fmt, ##args)
31 #define efc_log_info(efc, fmt, args...) \ argument
32 dev_info(&((efc)->pci)->dev, fmt, ##args)
34 #define efc_log_debug(efc, fmt, args...) \ argument
35 dev_dbg(&((efc)->pci)->dev, fmt, ##args)
/linux-6.1.9/drivers/scsi/elx/efct/
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);
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->def_wwnn = efct_get_wwnn(&efct->hw); in efct_efclib_config()
107 efc->def_wwpn = efct_get_wwpn(&efct->hw); in efct_efclib_config()
108 efc->enable_tgt = 1; in efct_efclib_config()
[all …]
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->domain && efc->domain->nport) { in efct_get_host_port_type()
700 if (efc->domain->is_loop) { in efct_get_host_port_type()
703 struct efc_nport *nport = efc->domain->nport; in efct_get_host_port_type()
744 struct efc *efc = efct->efcport; in efct_get_host_speed() local
749 if (!efc->domain || !efc->domain->nport) { in efct_get_host_speed()
[all …]
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 = efct->efcport; in efct_lio_npiv_tpg_enable_store()
173 if (efc->domain) { in efct_lio_npiv_tpg_enable_store()
176 ret = efc_nport_vport_new(efc->domain, in efct_lio_npiv_tpg_enable_store()
188 if (!(efc_vport_create_spec(efc, lio_vport->npiv_wwnn, in efct_lio_npiv_tpg_enable_store()
200 if (efc->domain) { in efct_lio_npiv_tpg_enable_store()
[all …]
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);
Defct_driver.h68 struct efc *efcport;
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()
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()
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->base; in efct_els_hw_srrs_send()
/linux-6.1.9/Documentation/admin-guide/media/
Ddvb-usb-dib0700-cardlist.rst156 - 1164:1efc
/linux-6.1.9/arch/m68k/ifpsp060/
Dfplsp.sa301 dc.l $0c010002,$660861ff,$00005efc,$60140c01