drivers/scsi/elx/libefc/efc_nport.h

Source file repositories/reference/linux-study-clean/drivers/scsi/elx/libefc/efc_nport.h

File Facts

System
Linux kernel
Corpus path
drivers/scsi/elx/libefc/efc_nport.h
Extension
.h
Size
1352 bytes
Lines
51
Domain
Driver Families
Bucket
drivers/scsi
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __EFC_NPORT_H__
#define __EFC_NPORT_H__

struct efc_nport *
efc_nport_find(struct efc_domain *domain, u32 d_id);
struct efc_nport *
efc_nport_alloc(struct efc_domain *domain, uint64_t wwpn, uint64_t wwnn,
		u32 fc_id, bool enable_ini, bool enable_tgt);
void
efc_nport_free(struct efc_nport *nport);
int
efc_nport_attach(struct efc_nport *nport, u32 fc_id);

void
__efc_nport_allocated(struct efc_sm_ctx *ctx,
		      enum efc_sm_event evt, void *arg);
void
__efc_nport_wait_shutdown(struct efc_sm_ctx *ctx,
			  enum efc_sm_event evt, void *arg);
void
__efc_nport_wait_port_free(struct efc_sm_ctx *ctx,
			   enum efc_sm_event evt, void *arg);
void
__efc_nport_vport_init(struct efc_sm_ctx *ctx,
		       enum efc_sm_event evt, void *arg);
void
__efc_nport_vport_wait_alloc(struct efc_sm_ctx *ctx,
			     enum efc_sm_event evt, void *arg);
void
__efc_nport_vport_allocated(struct efc_sm_ctx *ctx,
			    enum efc_sm_event evt, void *arg);
void
__efc_nport_attached(struct efc_sm_ctx *ctx,
		     enum efc_sm_event evt, void *arg);

int
efc_vport_start(struct efc_domain *domain);

#endif /* __EFC_NPORT_H__ */

Annotation

Implementation Notes