Lines Matching refs:sig
513 #define SIG_DESC_LIST_SYM(sig, group) sig_descs_ ## sig ## _ ## group argument
514 #define SIG_DESC_LIST_DECL(sig, group, ...) \ argument
515 static const struct aspeed_sig_desc SIG_DESC_LIST_SYM(sig, group)[] = \
518 #define SIG_EXPR_SYM(sig, group) sig_expr_ ## sig ## _ ## group argument
519 #define SIG_EXPR_DECL_(sig, group, func) \ argument
520 static const struct aspeed_sig_expr SIG_EXPR_SYM(sig, group) = \
522 .signal = #sig, \
524 .ndescs = ARRAY_SIZE(SIG_DESC_LIST_SYM(sig, group)), \
525 .descs = &(SIG_DESC_LIST_SYM(sig, group))[0], \
545 #define SIG_EXPR_DECL(sig, group, func, ...) \ argument
546 SIG_DESC_LIST_DECL(sig, group, __VA_ARGS__); \
547 SIG_EXPR_DECL_(sig, group, func)
555 #define SIG_EXPR_PTR(sig, group) (&SIG_EXPR_SYM(sig, group)) argument
557 #define SIG_EXPR_LIST_SYM(sig, group) sig_exprs_ ## sig ## _ ## group argument
574 #define SIG_EXPR_LIST_DECL(sig, group, ...) \ argument
575 static const struct aspeed_sig_expr *SIG_EXPR_LIST_SYM(sig, group)[] =\
594 #define SIG_EXPR_LIST_ALIAS(pin, sig, group) \ argument
596 SIG_EXPR_LIST_SYM(pin, sig)[ARRAY_SIZE(SIG_EXPR_LIST_SYM(sig, group))] \
597 __attribute__((alias(istringify(SIG_EXPR_LIST_SYM(sig, group)))))
612 #define SIG_EXPR_LIST_DECL_SESG(pin, sig, func, ...) \ argument
613 SIG_DESC_LIST_DECL(sig, func, __VA_ARGS__); \
614 SIG_EXPR_DECL_(sig, func, func); \
615 SIG_EXPR_LIST_DECL(sig, func, SIG_EXPR_PTR(sig, func)); \
616 SIG_EXPR_LIST_ALIAS(pin, sig, func)
628 #define SIG_EXPR_LIST_DECL_SEMG(pin, sig, group, func, ...) \ argument
629 SIG_DESC_LIST_DECL(sig, group, __VA_ARGS__); \
630 SIG_EXPR_DECL_(sig, group, func); \
631 SIG_EXPR_LIST_DECL(sig, group, SIG_EXPR_PTR(sig, group)); \
632 SIG_EXPR_LIST_ALIAS(pin, sig, group)
644 #define SIG_EXPR_LIST_DECL_DESG(pin, sig, f0, f1) \ argument
645 SIG_EXPR_LIST_DECL(sig, f0, \
646 SIG_EXPR_PTR(sig, f0), \
647 SIG_EXPR_PTR(sig, f1)); \
648 SIG_EXPR_LIST_ALIAS(pin, sig, f0)
650 #define SIG_EXPR_LIST_PTR(sig, group) SIG_EXPR_LIST_SYM(sig, group) argument
675 #define PIN_DECL_1(pin, other, sig) \ argument
677 PIN_DECL_(pin, SIG_EXPR_LIST_PTR(pin, sig), \
692 #define SSSF_PIN_DECL(pin, other, sig, ...) \ argument
693 SIG_EXPR_LIST_DECL_SESG(pin, sig, sig, __VA_ARGS__); \
695 PIN_DECL_(pin, SIG_EXPR_LIST_PTR(pin, sig), \
697 FUNC_GROUP_DECL(sig, pin)