linux/drivers/scsi/elx/libefc/efc_domain.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2021 Broadcom. All Rights Reserved. The term
 * “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.
 */

/*
 * domain_sm Domain State Machine: States
 */

#include "efc.h"

int
efc_domain_cb(void *arg, int event, void *data)
{}

static void
_efc_domain_free(struct kref *arg)
{}

void
efc_domain_free(struct efc_domain *domain)
{}

struct efc_domain *
efc_domain_alloc(struct efc *efc, uint64_t fcf_wwn)
{}

void
efc_register_domain_free_cb(struct efc *efc,
			    void (*callback)(struct efc *efc, void *arg),
			    void *arg)
{}

static void
__efc_domain_common(const char *funcname, struct efc_sm_ctx *ctx,
		    enum efc_sm_event evt, void *arg)
{}

static void
__efc_domain_common_shutdown(const char *funcname, struct efc_sm_ctx *ctx,
			     enum efc_sm_event evt, void *arg)
{}

#define std_domain_state_decl(...)

void
__efc_domain_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt,
		  void *arg)
{}

void
__efc_domain_wait_alloc(struct efc_sm_ctx *ctx,
			enum efc_sm_event evt, void *arg)
{}

void
__efc_domain_allocated(struct efc_sm_ctx *ctx,
		       enum efc_sm_event evt, void *arg)
{}

void
__efc_domain_wait_attach(struct efc_sm_ctx *ctx,
			 enum efc_sm_event evt, void *arg)
{}

void
__efc_domain_ready(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg)
{}

void
__efc_domain_wait_nports_free(struct efc_sm_ctx *ctx, enum efc_sm_event evt,
			      void *arg)
{}

void
__efc_domain_wait_shutdown(struct efc_sm_ctx *ctx,
			   enum efc_sm_event evt, void *arg)
{}

void
__efc_domain_wait_domain_lost(struct efc_sm_ctx *ctx,
			      enum efc_sm_event evt, void *arg)
{}

void
__efc_domain_attach_internal(struct efc_domain *domain, u32 s_id)
{}

void
efc_domain_attach(struct efc_domain *domain, u32 s_id)
{}

int
efc_domain_post_event(struct efc_domain *domain,
		      enum efc_sm_event event, void *arg)
{}

static void
efct_domain_process_pending(struct efc_domain *domain)
{}

void
efc_dispatch_frame(struct efc *efc, struct efc_hw_sequence *seq)
{}

int
efc_domain_dispatch_frame(void *arg, struct efc_hw_sequence *seq)
{}

void
efc_node_dispatch_frame(void *arg, struct efc_hw_sequence *seq)
{}