Lines Matching refs:pin

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))] \
612 #define SIG_EXPR_LIST_DECL_SESG(pin, sig, func, ...) \ argument
616 SIG_EXPR_LIST_ALIAS(pin, sig, func)
628 #define SIG_EXPR_LIST_DECL_SEMG(pin, sig, group, func, ...) \ argument
632 SIG_EXPR_LIST_ALIAS(pin, sig, group)
644 #define SIG_EXPR_LIST_DECL_DESG(pin, sig, f0, f1) \ argument
648 SIG_EXPR_LIST_ALIAS(pin, sig, f0)
652 #define PIN_EXPRS_SYM(pin) pin_exprs_ ## pin argument
653 #define PIN_EXPRS_PTR(pin) (&PIN_EXPRS_SYM(pin)[0]) argument
654 #define PIN_SYM(pin) pin_ ## pin argument
656 #define PIN_DECL_(pin, ...) \ argument
657 static const struct aspeed_sig_expr **PIN_EXPRS_SYM(pin)[] = \
659 static const struct aspeed_pin_desc PIN_SYM(pin) = \
660 { #pin, PIN_EXPRS_PTR(pin) }
675 #define PIN_DECL_1(pin, other, sig) \ argument
676 SIG_EXPR_LIST_DECL_SESG(pin, other, other); \
677 PIN_DECL_(pin, SIG_EXPR_LIST_PTR(pin, sig), \
678 SIG_EXPR_LIST_PTR(pin, other))
692 #define SSSF_PIN_DECL(pin, other, sig, ...) \ argument
693 SIG_EXPR_LIST_DECL_SESG(pin, sig, sig, __VA_ARGS__); \
694 SIG_EXPR_LIST_DECL_SESG(pin, other, other); \
695 PIN_DECL_(pin, SIG_EXPR_LIST_PTR(pin, sig), \
696 SIG_EXPR_LIST_PTR(pin, other)); \
697 FUNC_GROUP_DECL(sig, pin)
717 #define PIN_DECL_2(pin, other, high, low) \ argument
718 SIG_EXPR_LIST_DECL_SESG(pin, other, other); \
719 PIN_DECL_(pin, \
720 SIG_EXPR_LIST_PTR(pin, high), \
721 SIG_EXPR_LIST_PTR(pin, low), \
722 SIG_EXPR_LIST_PTR(pin, other))
724 #define PIN_DECL_3(pin, other, high, medium, low) \ argument
725 SIG_EXPR_LIST_DECL_SESG(pin, other, other); \
726 PIN_DECL_(pin, \
727 SIG_EXPR_LIST_PTR(pin, high), \
728 SIG_EXPR_LIST_PTR(pin, medium), \
729 SIG_EXPR_LIST_PTR(pin, low), \
730 SIG_EXPR_LIST_PTR(pin, other))
732 #define PIN_DECL_4(pin, other, prio1, prio2, prio3, prio4) \ argument
733 SIG_EXPR_LIST_DECL_SESG(pin, other, other); \
734 PIN_DECL_(pin, \
735 SIG_EXPR_LIST_PTR(pin, prio1), \
736 SIG_EXPR_LIST_PTR(pin, prio2), \
737 SIG_EXPR_LIST_PTR(pin, prio3), \
738 SIG_EXPR_LIST_PTR(pin, prio4), \
739 SIG_EXPR_LIST_PTR(pin, other))
758 #define GPIO_PIN_DECL(pin, gpio) \ argument
759 SIG_EXPR_LIST_DECL_SESG(pin, gpio, gpio); \
760 PIN_DECL_(pin, SIG_EXPR_LIST_PTR(pin, gpio))