Lines Matching full:signal
13 * basis where a given pin can provide a number of different signal types.
15 * The signal active on a pin is described by both a priority level and
19 * change from a high to low priority signal), or even in the same register.
29 * corner. The signal priorities are in decending order from P0 (highest).
31 * D6 is a pin with a single function (beside GPIO); a high priority signal
34 * Ball | Default | P0 Signal | P0 Expression | P1 Signal | P1 Expression | Other
39 * C5 is a multi-signal pin (high and low priority signals). Here we touch
40 * different registers for the different functions that enable each signal:
46 * E19 is a single-signal pin with two functions that influence the active
47 * signal. In this case both bits have the same meaning - enable a dedicated
55 * For example, pin B19 has a low-priority signal that's enabled by two
61 …* Ball | Default | P0 Signal | P0 Expression | P1 Signal | P1 Expression…
67 * pin's active signal:
80 * Pin T5 is a multi-signal pin with a more complex configuration:
82 * Ball | Default | P0 Signal | P0 Expression | P1 Signal | P1 Expression | Other
87 * The high priority signal configuration is best thought of in terms of its
104 * function pin", where the signal itself is determined by whether SCU94[5:4]
116 * that despite operating as part of the video input bus each signal needs to
128 * signal's expressions with the function they participate in, rather than
134 * Ball | Default | P0 Signal | P0 Expression | P1 Signal | P1 Expression | Other
140 * A12 demonstrates that the "Other" signal isn't always GPIO - in this case
141 * GPIOT0 is a high-priority signal and RGMII1TXCK is Other. Thus, GPIO
142 * should be treated like any other signal type with full function expression
144 * GPIOT1's signal descriptor bits are distinct, therefore we must iterate all
146 * that the signal for the function of interest is correctly enabled.
158 * * Pins provide up to five signal types in a priority order
160 * * For priorities levels defined on a pin, each priority provides one signal
171 * * A function is described by an expression of one or more signal
174 * * A signal expression is the smallest set of signal descriptors whose
175 * comparisons must evaluate 'true' for a signal to be enabled on a pin.
177 * * A signal participating in a function is active on a pin if evaluating all
178 * signal descriptors in the pin's signal expression for the function yields
181 * * A signal at a given priority on a given pin is active if any of the
182 * functions in which the signal participates are active, and no higher
183 * priority signal on the pin is active
189 * * To disable a signal, any function(s) activating the signal must be
192 * * Each pin must know the signal expressions of functions in which it
201 * * The VPIDE signal participates in 3 functions: VPI18, VPI24 and VPI30
203 * * The NDCD1 signal participates in just its own NDCD1 function
208 * * The prerequisit for activating the NDCD1 signal is that the VPI18, VPI24
244 * properties associated with a given mux configuration: The pin, the signal,
270 * .signal = "MAC1LINK",
284 * .signal = "GPIOA0",
365 * .signal = "EXTRST",
373 * For ball E19, we have multiple functions enabling a single signal, LPCRST#.
387 * .signal = "LPCRST",
404 * .signal = "LPCRST",
429 * A signal descriptor, which describes the register, bits and the
451 * Describes a signal expression. The expression is evaluated by ANDing the
454 * @signal: The signal name for the priority level on the pin. If the signal
455 * type is GPIO, then the signal name must begin with the
457 * @function: The name of the function the signal participates in for the
459 * name must match the signal name.
460 * @ndescs: The number of signal descriptors in the expression
461 * @descs: Pointer to an array of signal descriptors that comprise the
465 const char *signal; member
473 * for a given pin. The signal configuration for a priority level is evaluated
474 * by ORing the evaluation of the signal expressions in the respective
495 * @reg: The signal's associated register, offset from base
496 * @idx: The signal's bit index in the register
523 .signal = #sig, \
530 * Declare a signal expression.
532 * @sig: A macro symbol name for the signal (is subjected to stringification
534 * @func: The function in which the signal is participating
535 * @...: Signal descriptors that define the signal expression
537 * For example, the following declares the ROMD8 signal for the ROM16 function:
541 * And with multiple signal descriptors:
551 * Declare a pointer to a signal expression
553 * @sig: The macro symbol name for the signal (subjected to token pasting)
561 * Declare a signal expression list for reference in a struct aspeed_pin_prio.
563 * @sig: A macro symbol name for the signal (is subjected to token pasting)
564 * @...: Signal expression structure pointers (use SIG_EXPR_PTR())
566 * For example, the 16-bit ROM bus can be enabled by one of two possible signal
583 * Create an expression symbol alias from (signal, group) to (pin, signal).
586 * @sig: The signal name
588 * associated with the function's signal
591 * the signal for a group multiple times) whilst enabling multiple pin groups
592 * to exist for a signal without intrusive side-effects on defining the list of
604 * @pin: The pin the signal will be routed to
605 * @sig: The signal that will be routed to the pin for the function
609 * For example, signal NCTS6 participates in its own function with one group:
623 * @pin: The pin the signal will be routed to
624 * @sig: The signal that will be routed to the pin for the function
639 * @pin: The pin the signal will be routed to
640 * @sig: The signal that will be routed to the pin for the function
664 * Declare a single signal pin
668 * @sig: Macro name for the signal (subjected to stringification)
682 * Single signal, single function pin declaration
686 * @sig: Macro name for the signal (subjected to stringification)
687 * @...: Signal descriptors that define the function expression
700 * Declare a two-signal pin
704 * @high: Macro name for the highest priority signal functions
705 * @low: Macro name for the low signal functions