/* SPDX-License-Identifier: GPL-2.0-only */ /* * Linux network driver for QLogic BR-series Converged Network Adapter.
*/ /* * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. * Copyright (c) 2014-2015 QLogic Corporation * All rights reserved * www.qlogic.com
*/
/* BFA common services */
#ifndef __BFA_CS_H__ #define __BFA_CS_H__
#include"cna.h"
/* BFA state machine interfaces */
/* For converting from state machine function to state encoding. */ #define BFA_SM_TABLE(n, s, e, t) \ struct s; \ enum e; \ typedefvoid (*t)(struct s *, enum e); \
\ struct n ## _sm_table_s { \
t sm; /* state machine function */ \ int state; /* state machine encoding */ \ char *name; /* state name for display */ \
}; \
\ staticinlineint \
n ## _sm_to_state(struct n ## _sm_table_s *smt, t sm) \
{ \ int i = 0; \
\ while (smt[i].sm && smt[i].sm != sm) \
i++; \ return smt[i].state; \
}
/* Wait for counter to reach zero */ staticinlinevoid
bfa_wc_wait(struct bfa_wc *wc)
{
bfa_wc_down(wc);
}
#endif/* __BFA_CS_H__ */
Messung V0.5
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.0Bemerkung:
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.