• Home
  • Raw
  • Download

Lines Matching full:signal

22  * basis where a given pin can provide a number of different signal types.
24 * The signal active on a pin is described by both a priority level and
28 * change from a high to low priority signal), or even in the same register.
37 * corner. The signal priorities are in decending order from P0 (highest).
39 * D6 is a pin with a single function (beside GPIO); a high priority signal
42 * Ball | Default | P0 Signal | P0 Expression | P1 Signal | P1 Expression | Other
47 * C5 is a multi-signal pin (high and low priority signals). Here we touch
48 * different registers for the different functions that enable each signal:
54 * E19 is a single-signal pin with two functions that influence the active
55 * signal. In this case both bits have the same meaning - enable a dedicated
63 * For example, pin B19 has a low-priority signal that's enabled by two
69 …* Ball | Default | P0 Signal | P0 Expression | P1 Signal | P1 Expression…
75 * pin's active signal:
88 * Pin T5 is a multi-signal pin with a more complex configuration:
90 * Ball | Default | P0 Signal | P0 Expression | P1 Signal | P1 Expression | Other
95 * The high priority signal configuration is best thought of in terms of its
112 * function pin", where the signal itself is determined by whether SCU94[5:4]
124 * that despite operating as part of the video input bus each signal needs to
136 * signal's expressions with the function they participate in, rather than
142 * Ball | Default | P0 Signal | P0 Expression | P1 Signal | P1 Expression | Other
148 * A12 demonstrates that the "Other" signal isn't always GPIO - in this case
149 * GPIOT0 is a high-priority signal and RGMII1TXCK is Other. Thus, GPIO
150 * should be treated like any other signal type with full function expression
152 * GPIOT1's signal descriptor bits are distinct, therefore we must iterate all
154 * that the signal for the function of interest is correctly enabled.
166 * * Pins provide up to five signal types in a priority order
168 * * For priorities levels defined on a pin, each priority provides one signal
178 * * A function is described by an expression of one or more signal
181 * * A signal expression is the smallest set of signal descriptors whose
182 * comparisons must evaluate 'true' for a signal to be enabled on a pin.
184 * * A function's signal is active on a pin if evaluating all signal
185 * descriptors in the pin's signal expression for the function yields a 'true'
188 * * A signal at a given priority on a given pin is active if any of the
189 * functions in which the signal participates are active, and no higher
190 * priority signal on the pin is active
196 * * To disable a signal, any function(s) activating the signal must be
199 * * Each pin must know the signal expressions of functions in which it
208 * * The VPIDE signal participates in 3 functions: VPI18, VPI24 and VPI30
210 * * The NDCD1 signal participates in just its own NDCD1 function
215 * * The prerequisit for activating the NDCD1 signal is that the VPI18, VPI24
244 * opposed to naming them e.g. PINMUX_CTRL_[0-9]). Further, signal expressions
268 * A signal descriptor, which describes the register, bits and the
290 * Describes a signal expression. The expression is evaluated by ANDing the
293 * @signal: The signal name for the priority level on the pin. If the signal
294 * type is GPIO, then the signal name must begin with the string
296 * @function: The name of the function the signal participates in for the
298 * @ndescs: The number of signal descriptors in the expression
299 * @descs: Pointer to an array of signal descriptors that comprise the
303 const char *signal; member
311 * for a given pin. The signal configuration for a priority level is evaluated
312 * by ORing the evaluation of the signal expressions in the respective
333 * @reg: The signal's associated register, offset from base
334 * @idx: The signal's bit index in the register
360 .signal = #sig, \
367 * Declare a signal expression.
369 * @sig: A macro symbol name for the signal (is subjected to stringification
371 * @func: The function in which the signal is participating
372 * @...: Signal descriptors that define the signal expression
374 * For example, the following declares the ROMD8 signal for the ROM16 function:
378 * And with multiple signal descriptors:
388 * Declare a pointer to a signal expression
390 * @sig: The macro symbol name for the signal (subjected to token pasting)
398 * Declare a signal expression list for reference in a struct aspeed_pin_prio.
400 * @sig: A macro symbol name for the signal (is subjected to token pasting)
401 * @...: Signal expression structure pointers (use SIG_EXPR_PTR())
403 * For example, the 16-bit ROM bus can be enabled by one of two possible signal
423 * For example, signal NCTS6 participates in its own function with one group:
448 * Declare a multi-signal pin
452 * @high: Macro name for the highest priority signal functions
453 * @low: Macro name for the low signal functions
480 * Declare a single signal pin
484 * @sig: Macro name for the signal (subjected to stringification)
497 * Single signal, single function pin declaration
501 * @sig: Macro name for the signal (subjected to stringification)
502 * @...: Signal descriptors that define the function expression