@ -337,451 +337,609 @@ LGPL License Terms @ref lgpl_license
/* --- Common register fields ----------------------------------- */
/* TODO: Generate this stuff with the gen.py script as well! */
# define SGPIO_OUT_MUX_CFG_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG_P_OUT_CFG_MASK (0xf << SGPIO_OUT_MUX_CFG_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG_P_OUT_CFG(x) ((x) << SGPIO_OUT_MUX_CFG_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG_P_OE_CFG_MASK (0x7 << SGPIO_OUT_MUX_CFG_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG_P_OE_CFG(x) ((x) << SGPIO_OUT_MUX_CFG_P_OE_CFG_SHIFT)
# define SGPIO_MUX_CFG_EXT_CLK_ENABLE_SHIFT (0)
# define SGPIO_MUX_CFG_EXT_CLK_ENABLE_MASK (1 << SGPIO_MUX_CFG_EXT_CLK_ENABLE_SHIFT)
# define SGPIO_MUX_CFG_EXT_CLK_ENABLE(x) ((x) << SGPIO_MUX_CFG_EXT_CLK_ENABLE_SHIFT)
# define SGPIO_MUX_CFG_CLK_SOURCE_PIN_MODE_SHIFT (1)
# define SGPIO_MUX_CFG_CLK_SOURCE_PIN_MODE_MASK (0x3 << SGPIO_MUX_CFG_CLK_SOURCE_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG_CLK_SOURCE_PIN_MODE(x) ((x) << SGPIO_MUX_CFG_CLK_SOURCE_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG_CLK_SOURCE_SLICE_MODE_SHIFT (3)
# define SGPIO_MUX_CFG_CLK_SOURCE_SLICE_MODE_MASK (0x3 << SGPIO_MUX_CFG_CLK_SOURCE_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG_CLK_SOURCE_SLICE_MODE(x) ((x) << SGPIO_MUX_CFG_CLK_SOURCE_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG_QUALIFIER_MODE_SHIFT (5)
# define SGPIO_MUX_CFG_QUALIFIER_MODE_MASK (0x3 << SGPIO_MUX_CFG_QUALIFIER_MODE_SHIFT)
# define SGPIO_MUX_CFG_QUALIFIER_MODE(x) ((x) << SGPIO_MUX_CFG_QUALIFIER_MODE_SHIFT)
# define SGPIO_MUX_CFG_QUALIFIER_PIN_MODE_SHIFT (7)
# define SGPIO_MUX_CFG_QUALIFIER_PIN_MODE_MASK (0x3 << SGPIO_MUX_CFG_QUALIFIER_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG_QUALIFIER_PIN_MODE(x) ((x) << SGPIO_MUX_CFG_QUALIFIER_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG_QUALIFIER_SLICE_MODE_SHIFT (9)
# define SGPIO_MUX_CFG_QUALIFIER_SLICE_MODE_MASK (0x3 << SGPIO_MUX_CFG_QUALIFIER_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG_QUALIFIER_SLICE_MODE(x) ((x) << SGPIO_MUX_CFG_QUALIFIER_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG_CONCAT_ENABLE_SHIFT (11)
# define SGPIO_MUX_CFG_CONCAT_ENABLE_MASK (1 << SGPIO_MUX_CFG_CONCAT_ENABLE_SHIFT)
# define SGPIO_MUX_CFG_CONCAT_ENABLE(x) ((x) << SGPIO_MUX_CFG_CONCAT_ENABLE_SHIFT)
# define SGPIO_MUX_CFG_CONCAT_ORDER_SHIFT (12)
# define SGPIO_MUX_CFG_CONCAT_ORDER_MASK (0x3 << SGPIO_MUX_CFG_CONCAT_ORDER_SHIFT)
# define SGPIO_MUX_CFG_CONCAT_ORDER(x) ((x) << SGPIO_MUX_CFG_CONCAT_ORDER_SHIFT)
# define SGPIO_SLICE_MUX_CFG_MATCH_MODE_SHIFT (0)
# define SGPIO_SLICE_MUX_CFG_MATCH_MODE_MASK (1 << SGPIO_SLICE_MUX_CFG_MATCH_MODE_SHIFT)
# define SGPIO_SLICE_MUX_CFG_MATCH_MODE(x) ((x) << SGPIO_SLICE_MUX_CFG_MATCH_MODE_SHIFT)
# define SGPIO_SLICE_MUX_CFG_CLK_CAPTURE_MODE_SHIFT (1)
# define SGPIO_SLICE_MUX_CFG_CLK_CAPTURE_MODE_MASK (1 << SGPIO_SLICE_MUX_CFG_CLK_CAPTURE_MODE_SHIFT)
# define SGPIO_SLICE_MUX_CFG_CLK_CAPTURE_MODE(x) ((x) << SGPIO_SLICE_MUX_CFG_CLK_CAPTURE_MODE_SHIFT)
# define SGPIO_SLICE_MUX_CFG_CLKGEN_MODE_SHIFT (2)
# define SGPIO_SLICE_MUX_CFG_CLKGEN_MODE_MASK (1 << SGPIO_SLICE_MUX_CFG_CLKGEN_MODE_SHIFT)
# define SGPIO_SLICE_MUX_CFG_CLKGEN_MODE(x) ((x) << SGPIO_SLICE_MUX_CFG_CLKGEN_MODE_SHIFT)
# define SGPIO_SLICE_MUX_CFG_INV_OUT_CLK_SHIFT (3)
# define SGPIO_SLICE_MUX_CFG_INV_OUT_CLK_MASK (1 << SGPIO_SLICE_MUX_CFG_INV_OUT_CLK_SHIFT)
# define SGPIO_SLICE_MUX_CFG_INV_OUT_CLK(x) ((x) << SGPIO_SLICE_MUX_CFG_INV_OUT_CLK_SHIFT)
# define SGPIO_SLICE_MUX_CFG_DATA_CAPTURE_MODE_SHIFT (4)
# define SGPIO_SLICE_MUX_CFG_DATA_CAPTURE_MODE_MASK (0x3 << SGPIO_SLICE_MUX_CFG_DATA_CAPTURE_MODE_SHIFT)
# define SGPIO_SLICE_MUX_CFG_DATA_CAPTURE_MODE(x) ((x) << SGPIO_SLICE_MUX_CFG_DATA_CAPTURE_MODE_SHIFT)
# define SGPIO_SLICE_MUX_CFG_PARALLEL_MODE_SHIFT (6)
# define SGPIO_SLICE_MUX_CFG_PARALLEL_MODE_MASK (0x3 << SGPIO_SLICE_MUX_CFG_PARALLEL_MODE_SHIFT)
# define SGPIO_SLICE_MUX_CFG_PARALLEL_MODE(x) ((x) << SGPIO_SLICE_MUX_CFG_PARALLEL_MODE_SHIFT)
# define SGPIO_SLICE_MUX_CFG_INV_QUALIFIER_SHIFT (8)
# define SGPIO_SLICE_MUX_CFG_INV_QUALIFIER_MASK (1 << SGPIO_SLICE_MUX_CFG_INV_QUALIFIER_SHIFT)
# define SGPIO_SLICE_MUX_CFG_INV_QUALIFIER(x) ((x) << SGPIO_SLICE_MUX_CFG_INV_QUALIFIER_SHIFT)
# define SGPIO_POS_POS_SHIFT (0)
# define SGPIO_POS_POS_MASK (0xff << SGPIO_POS_POS_SHIFT)
# define SGPIO_POS_POS(x) ((x) << SGPIO_POS_POS_SHIFT)
# define SGPIO_POS_POS_RESET_SHIFT (8)
# define SGPIO_POS_POS_RESET_MASK (0xff << SGPIO_POS_POS_RESET_SHIFT)
# define SGPIO_POS_POS_RESET(x) ((x) << SGPIO_POS_POS_RESET_SHIFT)
# define SGPIO_OUT_MUX_CFG_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG_P_OUT_CFG_MASK \
( 0xf < < SGPIO_OUT_MUX_CFG_P_OUT_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG_P_OUT_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG_P_OUT_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG_P_OE_CFG_MASK \
( 0x7 < < SGPIO_OUT_MUX_CFG_P_OE_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG_P_OE_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG_P_OE_CFG_SHIFT )
# define SGPIO_MUX_CFG_EXT_CLK_ENABLE_SHIFT (0)
# define SGPIO_MUX_CFG_EXT_CLK_ENABLE_MASK \
( 1 < < SGPIO_MUX_CFG_EXT_CLK_ENABLE_SHIFT )
# define SGPIO_MUX_CFG_EXT_CLK_ENABLE(x) \
( ( x ) < < SGPIO_MUX_CFG_EXT_CLK_ENABLE_SHIFT )
# define SGPIO_MUX_CFG_CLK_SOURCE_PIN_MODE_SHIFT (1)
# define SGPIO_MUX_CFG_CLK_SOURCE_PIN_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG_CLK_SOURCE_PIN_MODE_SHIFT )
# define SGPIO_MUX_CFG_CLK_SOURCE_PIN_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG_CLK_SOURCE_PIN_MODE_SHIFT )
# define SGPIO_MUX_CFG_CLK_SOURCE_SLICE_MODE_SHIFT (3)
# define SGPIO_MUX_CFG_CLK_SOURCE_SLICE_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG_CLK_SOURCE_SLICE_MODE_SHIFT )
# define SGPIO_MUX_CFG_CLK_SOURCE_SLICE_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG_CLK_SOURCE_SLICE_MODE_SHIFT )
# define SGPIO_MUX_CFG_QUALIFIER_MODE_SHIFT (5)
# define SGPIO_MUX_CFG_QUALIFIER_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG_QUALIFIER_MODE_SHIFT )
# define SGPIO_MUX_CFG_QUALIFIER_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG_QUALIFIER_MODE_SHIFT )
# define SGPIO_MUX_CFG_QUALIFIER_PIN_MODE_SHIFT (7)
# define SGPIO_MUX_CFG_QUALIFIER_PIN_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG_QUALIFIER_PIN_MODE_SHIFT )
# define SGPIO_MUX_CFG_QUALIFIER_PIN_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG_QUALIFIER_PIN_MODE_SHIFT )
# define SGPIO_MUX_CFG_QUALIFIER_SLICE_MODE_SHIFT (9)
# define SGPIO_MUX_CFG_QUALIFIER_SLICE_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG_QUALIFIER_SLICE_MODE_SHIFT )
# define SGPIO_MUX_CFG_QUALIFIER_SLICE_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG_QUALIFIER_SLICE_MODE_SHIFT )
# define SGPIO_MUX_CFG_CONCAT_ENABLE_SHIFT (11)
# define SGPIO_MUX_CFG_CONCAT_ENABLE_MASK \
( 1 < < SGPIO_MUX_CFG_CONCAT_ENABLE_SHIFT )
# define SGPIO_MUX_CFG_CONCAT_ENABLE(x) \
( ( x ) < < SGPIO_MUX_CFG_CONCAT_ENABLE_SHIFT )
# define SGPIO_MUX_CFG_CONCAT_ORDER_SHIFT (12)
# define SGPIO_MUX_CFG_CONCAT_ORDER_MASK \
( 0x3 < < SGPIO_MUX_CFG_CONCAT_ORDER_SHIFT )
# define SGPIO_MUX_CFG_CONCAT_ORDER(x) \
( ( x ) < < SGPIO_MUX_CFG_CONCAT_ORDER_SHIFT )
# define SGPIO_SLICE_MUX_CFG_MATCH_MODE_SHIFT (0)
# define SGPIO_SLICE_MUX_CFG_MATCH_MODE_MASK \
( 1 < < SGPIO_SLICE_MUX_CFG_MATCH_MODE_SHIFT )
# define SGPIO_SLICE_MUX_CFG_MATCH_MODE(x) \
( ( x ) < < SGPIO_SLICE_MUX_CFG_MATCH_MODE_SHIFT )
# define SGPIO_SLICE_MUX_CFG_CLK_CAPTURE_MODE_SHIFT (1)
# define SGPIO_SLICE_MUX_CFG_CLK_CAPTURE_MODE_MASK \
( 1 < < SGPIO_SLICE_MUX_CFG_CLK_CAPTURE_MODE_SHIFT )
# define SGPIO_SLICE_MUX_CFG_CLK_CAPTURE_MODE(x) \
( ( x ) < < SGPIO_SLICE_MUX_CFG_CLK_CAPTURE_MODE_SHIFT )
# define SGPIO_SLICE_MUX_CFG_CLKGEN_MODE_SHIFT (2)
# define SGPIO_SLICE_MUX_CFG_CLKGEN_MODE_MASK \
( 1 < < SGPIO_SLICE_MUX_CFG_CLKGEN_MODE_SHIFT )
# define SGPIO_SLICE_MUX_CFG_CLKGEN_MODE(x) \
( ( x ) < < SGPIO_SLICE_MUX_CFG_CLKGEN_MODE_SHIFT )
# define SGPIO_SLICE_MUX_CFG_INV_OUT_CLK_SHIFT (3)
# define SGPIO_SLICE_MUX_CFG_INV_OUT_CLK_MASK \
( 1 < < SGPIO_SLICE_MUX_CFG_INV_OUT_CLK_SHIFT )
# define SGPIO_SLICE_MUX_CFG_INV_OUT_CLK(x) \
( ( x ) < < SGPIO_SLICE_MUX_CFG_INV_OUT_CLK_SHIFT )
# define SGPIO_SLICE_MUX_CFG_DATA_CAPTURE_MODE_SHIFT (4)
# define SGPIO_SLICE_MUX_CFG_DATA_CAPTURE_MODE_MASK \
( 0x3 < < SGPIO_SLICE_MUX_CFG_DATA_CAPTURE_MODE_SHIFT )
# define SGPIO_SLICE_MUX_CFG_DATA_CAPTURE_MODE(x) \
( ( x ) < < SGPIO_SLICE_MUX_CFG_DATA_CAPTURE_MODE_SHIFT )
# define SGPIO_SLICE_MUX_CFG_PARALLEL_MODE_SHIFT (6)
# define SGPIO_SLICE_MUX_CFG_PARALLEL_MODE_MASK \
( 0x3 < < SGPIO_SLICE_MUX_CFG_PARALLEL_MODE_SHIFT )
# define SGPIO_SLICE_MUX_CFG_PARALLEL_MODE(x) \
( ( x ) < < SGPIO_SLICE_MUX_CFG_PARALLEL_MODE_SHIFT )
# define SGPIO_SLICE_MUX_CFG_INV_QUALIFIER_SHIFT (8)
# define SGPIO_SLICE_MUX_CFG_INV_QUALIFIER_MASK \
( 1 < < SGPIO_SLICE_MUX_CFG_INV_QUALIFIER_SHIFT )
# define SGPIO_SLICE_MUX_CFG_INV_QUALIFIER(x) \
( ( x ) < < SGPIO_SLICE_MUX_CFG_INV_QUALIFIER_SHIFT )
# define SGPIO_POS_POS_SHIFT (0)
# define SGPIO_POS_POS_MASK (0xff << SGPIO_POS_POS_SHIFT)
# define SGPIO_POS_POS(x) ((x) << SGPIO_POS_POS_SHIFT)
# define SGPIO_POS_POS_RESET_SHIFT (8)
# define SGPIO_POS_POS_RESET_MASK (0xff << SGPIO_POS_POS_RESET_SHIFT)
# define SGPIO_POS_POS_RESET(x) ((x) << SGPIO_POS_POS_RESET_SHIFT)
/* --- AUTO-GENERATED STUFF FOLLOWS ----------------------------- */
/* --- SGPIO_OUT_MUX_CFG0 values -------------------------------- */
/* P_OUT_CFG: Output control of output SGPIOn */
# define SGPIO_OUT_MUX_CFG0_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG0_P_OUT_CFG_MASK (0xf << SGPIO_OUT_MUX_CFG0_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG0_P_OUT_CFG(x) ((x) << SGPIO_OUT_MUX_CFG0_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG0_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG0_P_OUT_CFG_MASK \
( 0xf < < SGPIO_OUT_MUX_CFG0_P_OUT_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG0_P_OUT_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG0_P_OUT_CFG_SHIFT )
/* P_OE_CFG: Output enable source */
# define SGPIO_OUT_MUX_CFG0_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG0_P_OE_CFG_MASK (0x7 << SGPIO_OUT_MUX_CFG0_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG0_P_OE_CFG(x) ((x) << SGPIO_OUT_MUX_CFG0_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG0_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG0_P_OE_CFG_MASK \
( 0x7 < < SGPIO_OUT_MUX_CFG0_P_OE_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG0_P_OE_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG0_P_OE_CFG_SHIFT )
/* --- SGPIO_OUT_MUX_CFG1 values -------------------------------- */
/* P_OUT_CFG: Output control of output SGPIOn */
# define SGPIO_OUT_MUX_CFG1_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG1_P_OUT_CFG_MASK (0xf << SGPIO_OUT_MUX_CFG1_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG1_P_OUT_CFG(x) ((x) << SGPIO_OUT_MUX_CFG1_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG1_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG1_P_OUT_CFG_MASK \
( 0xf < < SGPIO_OUT_MUX_CFG1_P_OUT_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG1_P_OUT_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG1_P_OUT_CFG_SHIFT )
/* P_OE_CFG: Output enable source */
# define SGPIO_OUT_MUX_CFG1_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG1_P_OE_CFG_MASK (0x7 << SGPIO_OUT_MUX_CFG1_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG1_P_OE_CFG(x) ((x) << SGPIO_OUT_MUX_CFG1_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG1_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG1_P_OE_CFG_MASK \
( 0x7 < < SGPIO_OUT_MUX_CFG1_P_OE_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG1_P_OE_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG1_P_OE_CFG_SHIFT )
/* --- SGPIO_OUT_MUX_CFG2 values -------------------------------- */
/* P_OUT_CFG: Output control of output SGPIOn */
# define SGPIO_OUT_MUX_CFG2_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG2_P_OUT_CFG_MASK (0xf << SGPIO_OUT_MUX_CFG2_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG2_P_OUT_CFG(x) ((x) << SGPIO_OUT_MUX_CFG2_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG2_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG2_P_OUT_CFG_MASK \
( 0xf < < SGPIO_OUT_MUX_CFG2_P_OUT_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG2_P_OUT_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG2_P_OUT_CFG_SHIFT )
/* P_OE_CFG: Output enable source */
# define SGPIO_OUT_MUX_CFG2_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG2_P_OE_CFG_MASK (0x7 << SGPIO_OUT_MUX_CFG2_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG2_P_OE_CFG(x) ((x) << SGPIO_OUT_MUX_CFG2_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG2_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG2_P_OE_CFG_MASK \
( 0x7 < < SGPIO_OUT_MUX_CFG2_P_OE_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG2_P_OE_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG2_P_OE_CFG_SHIFT )
/* --- SGPIO_OUT_MUX_CFG3 values -------------------------------- */
/* P_OUT_CFG: Output control of output SGPIOn */
# define SGPIO_OUT_MUX_CFG3_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG3_P_OUT_CFG_MASK (0xf << SGPIO_OUT_MUX_CFG3_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG3_P_OUT_CFG(x) ((x) << SGPIO_OUT_MUX_CFG3_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG3_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG3_P_OUT_CFG_MASK \
( 0xf < < SGPIO_OUT_MUX_CFG3_P_OUT_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG3_P_OUT_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG3_P_OUT_CFG_SHIFT )
/* P_OE_CFG: Output enable source */
# define SGPIO_OUT_MUX_CFG3_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG3_P_OE_CFG_MASK (0x7 << SGPIO_OUT_MUX_CFG3_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG3_P_OE_CFG(x) ((x) << SGPIO_OUT_MUX_CFG3_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG3_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG3_P_OE_CFG_MASK \
( 0x7 < < SGPIO_OUT_MUX_CFG3_P_OE_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG3_P_OE_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG3_P_OE_CFG_SHIFT )
/* --- SGPIO_OUT_MUX_CFG4 values -------------------------------- */
/* P_OUT_CFG: Output control of output SGPIOn */
# define SGPIO_OUT_MUX_CFG4_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG4_P_OUT_CFG_MASK (0xf << SGPIO_OUT_MUX_CFG4_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG4_P_OUT_CFG(x) ((x) << SGPIO_OUT_MUX_CFG4_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG4_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG4_P_OUT_CFG_MASK \
( 0xf < < SGPIO_OUT_MUX_CFG4_P_OUT_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG4_P_OUT_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG4_P_OUT_CFG_SHIFT )
/* P_OE_CFG: Output enable source */
# define SGPIO_OUT_MUX_CFG4_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG4_P_OE_CFG_MASK (0x7 << SGPIO_OUT_MUX_CFG4_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG4_P_OE_CFG(x) ((x) << SGPIO_OUT_MUX_CFG4_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG4_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG4_P_OE_CFG_MASK \
( 0x7 < < SGPIO_OUT_MUX_CFG4_P_OE_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG4_P_OE_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG4_P_OE_CFG_SHIFT )
/* --- SGPIO_OUT_MUX_CFG5 values -------------------------------- */
/* P_OUT_CFG: Output control of output SGPIOn */
# define SGPIO_OUT_MUX_CFG5_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG5_P_OUT_CFG_MASK (0xf << SGPIO_OUT_MUX_CFG5_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG5_P_OUT_CFG(x) ((x) << SGPIO_OUT_MUX_CFG5_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG5_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG5_P_OUT_CFG_MASK \
( 0xf < < SGPIO_OUT_MUX_CFG5_P_OUT_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG5_P_OUT_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG5_P_OUT_CFG_SHIFT )
/* P_OE_CFG: Output enable source */
# define SGPIO_OUT_MUX_CFG5_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG5_P_OE_CFG_MASK (0x7 << SGPIO_OUT_MUX_CFG5_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG5_P_OE_CFG(x) ((x) << SGPIO_OUT_MUX_CFG5_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG5_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG5_P_OE_CFG_MASK \
( 0x7 < < SGPIO_OUT_MUX_CFG5_P_OE_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG5_P_OE_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG5_P_OE_CFG_SHIFT )
/* --- SGPIO_OUT_MUX_CFG6 values -------------------------------- */
/* P_OUT_CFG: Output control of output SGPIOn */
# define SGPIO_OUT_MUX_CFG6_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG6_P_OUT_CFG_MASK (0xf << SGPIO_OUT_MUX_CFG6_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG6_P_OUT_CFG(x) ((x) << SGPIO_OUT_MUX_CFG6_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG6_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG6_P_OUT_CFG_MASK \
( 0xf < < SGPIO_OUT_MUX_CFG6_P_OUT_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG6_P_OUT_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG6_P_OUT_CFG_SHIFT )
/* P_OE_CFG: Output enable source */
# define SGPIO_OUT_MUX_CFG6_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG6_P_OE_CFG_MASK (0x7 << SGPIO_OUT_MUX_CFG6_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG6_P_OE_CFG(x) ((x) << SGPIO_OUT_MUX_CFG6_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG6_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG6_P_OE_CFG_MASK \
( 0x7 < < SGPIO_OUT_MUX_CFG6_P_OE_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG6_P_OE_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG6_P_OE_CFG_SHIFT )
/* --- SGPIO_OUT_MUX_CFG7 values -------------------------------- */
/* P_OUT_CFG: Output control of output SGPIOn */
# define SGPIO_OUT_MUX_CFG7_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG7_P_OUT_CFG_MASK (0xf << SGPIO_OUT_MUX_CFG7_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG7_P_OUT_CFG(x) ((x) << SGPIO_OUT_MUX_CFG7_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG7_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG7_P_OUT_CFG_MASK \
( 0xf < < SGPIO_OUT_MUX_CFG7_P_OUT_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG7_P_OUT_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG7_P_OUT_CFG_SHIFT )
/* P_OE_CFG: Output enable source */
# define SGPIO_OUT_MUX_CFG7_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG7_P_OE_CFG_MASK (0x7 << SGPIO_OUT_MUX_CFG7_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG7_P_OE_CFG(x) ((x) << SGPIO_OUT_MUX_CFG7_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG7_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG7_P_OE_CFG_MASK \
( 0x7 < < SGPIO_OUT_MUX_CFG7_P_OE_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG7_P_OE_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG7_P_OE_CFG_SHIFT )
/* --- SGPIO_OUT_MUX_CFG8 values -------------------------------- */
/* P_OUT_CFG: Output control of output SGPIOn */
# define SGPIO_OUT_MUX_CFG8_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG8_P_OUT_CFG_MASK (0xf << SGPIO_OUT_MUX_CFG8_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG8_P_OUT_CFG(x) ((x) << SGPIO_OUT_MUX_CFG8_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG8_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG8_P_OUT_CFG_MASK \
( 0xf < < SGPIO_OUT_MUX_CFG8_P_OUT_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG8_P_OUT_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG8_P_OUT_CFG_SHIFT )
/* P_OE_CFG: Output enable source */
# define SGPIO_OUT_MUX_CFG8_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG8_P_OE_CFG_MASK (0x7 << SGPIO_OUT_MUX_CFG8_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG8_P_OE_CFG(x) ((x) << SGPIO_OUT_MUX_CFG8_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG8_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG8_P_OE_CFG_MASK \
( 0x7 < < SGPIO_OUT_MUX_CFG8_P_OE_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG8_P_OE_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG8_P_OE_CFG_SHIFT )
/* --- SGPIO_OUT_MUX_CFG9 values -------------------------------- */
/* P_OUT_CFG: Output control of output SGPIOn */
# define SGPIO_OUT_MUX_CFG9_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG9_P_OUT_CFG_MASK (0xf << SGPIO_OUT_MUX_CFG9_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG9_P_OUT_CFG(x) ((x) << SGPIO_OUT_MUX_CFG9_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG9_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG9_P_OUT_CFG_MASK \
( 0xf < < SGPIO_OUT_MUX_CFG9_P_OUT_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG9_P_OUT_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG9_P_OUT_CFG_SHIFT )
/* P_OE_CFG: Output enable source */
# define SGPIO_OUT_MUX_CFG9_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG9_P_OE_CFG_MASK (0x7 << SGPIO_OUT_MUX_CFG9_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG9_P_OE_CFG(x) ((x) << SGPIO_OUT_MUX_CFG9_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG9_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG9_P_OE_CFG_MASK \
( 0x7 < < SGPIO_OUT_MUX_CFG9_P_OE_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG9_P_OE_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG9_P_OE_CFG_SHIFT )
/* --- SGPIO_OUT_MUX_CFG10 values ------------------------------- */
/* P_OUT_CFG: Output control of output SGPIOn */
# define SGPIO_OUT_MUX_CFG10_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG10_P_OUT_CFG_MASK (0xf << SGPIO_OUT_MUX_CFG10_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG10_P_OUT_CFG(x) ((x) << SGPIO_OUT_MUX_CFG10_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG10_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG10_P_OUT_CFG_MASK \
( 0xf < < SGPIO_OUT_MUX_CFG10_P_OUT_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG10_P_OUT_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG10_P_OUT_CFG_SHIFT )
/* P_OE_CFG: Output enable source */
# define SGPIO_OUT_MUX_CFG10_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG10_P_OE_CFG_MASK (0x7 << SGPIO_OUT_MUX_CFG10_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG10_P_OE_CFG(x) ((x) << SGPIO_OUT_MUX_CFG10_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG10_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG10_P_OE_CFG_MASK \
( 0x7 < < SGPIO_OUT_MUX_CFG10_P_OE_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG10_P_OE_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG10_P_OE_CFG_SHIFT )
/* --- SGPIO_OUT_MUX_CFG11 values ------------------------------- */
/* P_OUT_CFG: Output control of output SGPIOn */
# define SGPIO_OUT_MUX_CFG11_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG11_P_OUT_CFG_MASK (0xf << SGPIO_OUT_MUX_CFG11_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG11_P_OUT_CFG(x) ((x) << SGPIO_OUT_MUX_CFG11_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG11_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG11_P_OUT_CFG_MASK \
( 0xf < < SGPIO_OUT_MUX_CFG11_P_OUT_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG11_P_OUT_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG11_P_OUT_CFG_SHIFT )
/* P_OE_CFG: Output enable source */
# define SGPIO_OUT_MUX_CFG11_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG11_P_OE_CFG_MASK (0x7 << SGPIO_OUT_MUX_CFG11_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG11_P_OE_CFG(x) ((x) << SGPIO_OUT_MUX_CFG11_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG11_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG11_P_OE_CFG_MASK \
( 0x7 < < SGPIO_OUT_MUX_CFG11_P_OE_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG11_P_OE_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG11_P_OE_CFG_SHIFT )
/* --- SGPIO_OUT_MUX_CFG12 values ------------------------------- */
/* P_OUT_CFG: Output control of output SGPIOn */
# define SGPIO_OUT_MUX_CFG12_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG12_P_OUT_CFG_MASK (0xf << SGPIO_OUT_MUX_CFG12_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG12_P_OUT_CFG(x) ((x) << SGPIO_OUT_MUX_CFG12_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG12_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG12_P_OUT_CFG_MASK \
( 0xf < < SGPIO_OUT_MUX_CFG12_P_OUT_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG12_P_OUT_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG12_P_OUT_CFG_SHIFT )
/* P_OE_CFG: Output enable source */
# define SGPIO_OUT_MUX_CFG12_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG12_P_OE_CFG_MASK (0x7 << SGPIO_OUT_MUX_CFG12_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG12_P_OE_CFG(x) ((x) << SGPIO_OUT_MUX_CFG12_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG12_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG12_P_OE_CFG_MASK \
( 0x7 < < SGPIO_OUT_MUX_CFG12_P_OE_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG12_P_OE_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG12_P_OE_CFG_SHIFT )
/* --- SGPIO_OUT_MUX_CFG13 values ------------------------------- */
/* P_OUT_CFG: Output control of output SGPIOn */
# define SGPIO_OUT_MUX_CFG13_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG13_P_OUT_CFG_MASK (0xf << SGPIO_OUT_MUX_CFG13_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG13_P_OUT_CFG(x) ((x) << SGPIO_OUT_MUX_CFG13_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG13_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG13_P_OUT_CFG_MASK \
( 0xf < < SGPIO_OUT_MUX_CFG13_P_OUT_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG13_P_OUT_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG13_P_OUT_CFG_SHIFT )
/* P_OE_CFG: Output enable source */
# define SGPIO_OUT_MUX_CFG13_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG13_P_OE_CFG_MASK (0x7 << SGPIO_OUT_MUX_CFG13_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG13_P_OE_CFG(x) ((x) << SGPIO_OUT_MUX_CFG13_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG13_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG13_P_OE_CFG_MASK \
( 0x7 < < SGPIO_OUT_MUX_CFG13_P_OE_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG13_P_OE_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG13_P_OE_CFG_SHIFT )
/* --- SGPIO_OUT_MUX_CFG14 values ------------------------------- */
/* P_OUT_CFG: Output control of output SGPIOn */
# define SGPIO_OUT_MUX_CFG14_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG14_P_OUT_CFG_MASK (0xf << SGPIO_OUT_MUX_CFG14_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG14_P_OUT_CFG(x) ((x) << SGPIO_OUT_MUX_CFG14_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG14_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG14_P_OUT_CFG_MASK \
( 0xf < < SGPIO_OUT_MUX_CFG14_P_OUT_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG14_P_OUT_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG14_P_OUT_CFG_SHIFT )
/* P_OE_CFG: Output enable source */
# define SGPIO_OUT_MUX_CFG14_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG14_P_OE_CFG_MASK (0x7 << SGPIO_OUT_MUX_CFG14_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG14_P_OE_CFG(x) ((x) << SGPIO_OUT_MUX_CFG14_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG14_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG14_P_OE_CFG_MASK \
( 0x7 < < SGPIO_OUT_MUX_CFG14_P_OE_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG14_P_OE_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG14_P_OE_CFG_SHIFT )
/* --- SGPIO_OUT_MUX_CFG15 values ------------------------------- */
/* P_OUT_CFG: Output control of output SGPIOn */
# define SGPIO_OUT_MUX_CFG15_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG15_P_OUT_CFG_MASK (0xf << SGPIO_OUT_MUX_CFG15_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG15_P_OUT_CFG(x) ((x) << SGPIO_OUT_MUX_CFG15_P_OUT_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG15_P_OUT_CFG_SHIFT (0)
# define SGPIO_OUT_MUX_CFG15_P_OUT_CFG_MASK \
( 0xf < < SGPIO_OUT_MUX_CFG15_P_OUT_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG15_P_OUT_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG15_P_OUT_CFG_SHIFT )
/* P_OE_CFG: Output enable source */
# define SGPIO_OUT_MUX_CFG15_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG15_P_OE_CFG_MASK (0x7 << SGPIO_OUT_MUX_CFG15_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG15_P_OE_CFG(x) ((x) << SGPIO_OUT_MUX_CFG15_P_OE_CFG_SHIFT)
# define SGPIO_OUT_MUX_CFG15_P_OE_CFG_SHIFT (4)
# define SGPIO_OUT_MUX_CFG15_P_OE_CFG_MASK \
( 0x7 < < SGPIO_OUT_MUX_CFG15_P_OE_CFG_SHIFT )
# define SGPIO_OUT_MUX_CFG15_P_OE_CFG(x) \
( ( x ) < < SGPIO_OUT_MUX_CFG15_P_OE_CFG_SHIFT )
/* --- SGPIO_MUX_CFG0 values ------------------------------------ */
/* EXT_CLK_ENABLE: Select clock signal */
# define SGPIO_MUX_CFG0_EXT_CLK_ENABLE_SHIFT (0)
# define SGPIO_MUX_CFG0_EXT_CLK_ENABLE (1 << SGPIO_MUX_CFG0_EXT_CLK_ENABLE_SHIFT)
# define SGPIO_MUX_CFG0_EXT_CLK_ENABLE_SHIFT (0)
# define SGPIO_MUX_CFG0_EXT_CLK_ENABLE \
( 1 < < SGPIO_MUX_CFG0_EXT_CLK_ENABLE_SHIFT )
/* CLK_SOURCE_PIN_MODE: Select source clock pin */
# define SGPIO_MUX_CFG0_CLK_SOURCE_PIN_MODE_SHIFT (1)
# define SGPIO_MUX_CFG0_CLK_SOURCE_PIN_MODE_MASK (0x3 << SGPIO_MUX_CFG0_CLK_SOURCE_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG0_CLK_SOURCE_PIN_MODE(x) ((x) << SGPIO_MUX_CFG0_CLK_SOURCE_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG0_CLK_SOURCE_PIN_MODE_SHIFT (1)
# define SGPIO_MUX_CFG0_CLK_SOURCE_PIN_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG0_CLK_SOURCE_PIN_MODE_SHIFT )
# define SGPIO_MUX_CFG0_CLK_SOURCE_PIN_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG0_CLK_SOURCE_PIN_MODE_SHIFT )
/* CLK_SOURCE_SLICE_MODE: Select clock source slice */
# define SGPIO_MUX_CFG0_CLK_SOURCE_SLICE_MODE_SHIFT (3)
# define SGPIO_MUX_CFG0_CLK_SOURCE_SLICE_MODE_MASK (0x3 << SGPIO_MUX_CFG0_CLK_SOURCE_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG0_CLK_SOURCE_SLICE_MODE(x) ((x) << SGPIO_MUX_CFG0_CLK_SOURCE_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG0_CLK_SOURCE_SLICE_MODE_SHIFT (3)
# define SGPIO_MUX_CFG0_CLK_SOURCE_SLICE_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG0_CLK_SOURCE_SLICE_MODE_SHIFT )
# define SGPIO_MUX_CFG0_CLK_SOURCE_SLICE_MODE(x)
( ( x ) < < SGPIO_MUX_CFG0_CLK_SOURCE_SLICE_MODE_SHIFT )
/* QUALIFIER_MODE: Select qualifier mode */
# define SGPIO_MUX_CFG0_QUALIFIER_MODE_SHIFT (5)
# define SGPIO_MUX_CFG0_QUALIFIER_MODE_MASK (0x3 << SGPIO_MUX_CFG0_QUALIFIER_MODE_SHIFT)
# define SGPIO_MUX_CFG0_QUALIFIER_MODE(x) ((x) << SGPIO_MUX_CFG0_QUALIFIER_MODE_SHIFT)
# define SGPIO_MUX_CFG0_QUALIFIER_MODE_SHIFT (5)
# define SGPIO_MUX_CFG0_QUALIFIER_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG0_QUALIFIER_MODE_SHIFT )
# define SGPIO_MUX_CFG0_QUALIFIER_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG0_QUALIFIER_MODE_SHIFT )
/* QUALIFIER_PIN_MODE: Select qualifier pin */
# define SGPIO_MUX_CFG0_QUALIFIER_PIN_MODE_SHIFT (7)
# define SGPIO_MUX_CFG0_QUALIFIER_PIN_MODE_MASK (0x3 << SGPIO_MUX_CFG0_QUALIFIER_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG0_QUALIFIER_PIN_MODE(x) ((x) << SGPIO_MUX_CFG0_QUALIFIER_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG0_QUALIFIER_PIN_MODE_SHIFT (7)
# define SGPIO_MUX_CFG0_QUALIFIER_PIN_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG0_QUALIFIER_PIN_MODE_SHIFT )
# define SGPIO_MUX_CFG0_QUALIFIER_PIN_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG0_QUALIFIER_PIN_MODE_SHIFT )
/* QUALIFIER_SLICE_MODE: Select qualifier slice */
# define SGPIO_MUX_CFG0_QUALIFIER_SLICE_MODE_SHIFT (9)
# define SGPIO_MUX_CFG0_QUALIFIER_SLICE_MODE_MASK (0x3 << SGPIO_MUX_CFG0_QUALIFIER_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG0_QUALIFIER_SLICE_MODE(x) ((x) << SGPIO_MUX_CFG0_QUALIFIER_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG0_QUALIFIER_SLICE_MODE_SHIFT (9)
# define SGPIO_MUX_CFG0_QUALIFIER_SLICE_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG0_QUALIFIER_SLICE_MODE_SHIFT )
# define SGPIO_MUX_CFG0_QUALIFIER_SLICE_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG0_QUALIFIER_SLICE_MODE_SHIFT )
/* CONCAT_ENABLE: Enable concatenation */
# define SGPIO_MUX_CFG0_CONCAT_ENABLE_SHIFT (11)
# define SGPIO_MUX_CFG0_CONCAT_ENABLE_SHIFT (11)
# define SGPIO_MUX_CFG0_CONCAT_ENABLE (1 << SGPIO_MUX_CFG0_CONCAT_ENABLE_SHIFT)
/* CONCAT_ORDER: Select concatenation order */
# define SGPIO_MUX_CFG0_CONCAT_ORDER_SHIFT (12)
# define SGPIO_MUX_CFG0_CONCAT_ORDER_MASK (0x3 << SGPIO_MUX_CFG0_CONCAT_ORDER_SHIFT)
# define SGPIO_MUX_CFG0_CONCAT_ORDER(x) ((x) << SGPIO_MUX_CFG0_CONCAT_ORDER_SHIFT)
# define SGPIO_MUX_CFG0_CONCAT_ORDER_MASK \
( 0x3 < < SGPIO_MUX_CFG0_CONCAT_ORDER_SHIFT )
# define SGPIO_MUX_CFG0_CONCAT_ORDER(x) \
( ( x ) < < SGPIO_MUX_CFG0_CONCAT_ORDER_SHIFT )
/* --- SGPIO_MUX_CFG1 values ------------------------------------ */
/* EXT_CLK_ENABLE: Select clock signal */
# define SGPIO_MUX_CFG1_EXT_CLK_ENABLE_SHIFT (0)
# define SGPIO_MUX_CFG1_EXT_CLK_ENABLE (1 << SGPIO_MUX_CFG1_EXT_CLK_ENABLE_SHIFT)
# define SGPIO_MUX_CFG1_EXT_CLK_ENABLE_SHIFT (0)
# define SGPIO_MUX_CFG1_EXT_CLK_ENABLE \
( 1 < < SGPIO_MUX_CFG1_EXT_CLK_ENABLE_SHIFT )
/* CLK_SOURCE_PIN_MODE: Select source clock pin */
# define SGPIO_MUX_CFG1_CLK_SOURCE_PIN_MODE_SHIFT (1)
# define SGPIO_MUX_CFG1_CLK_SOURCE_PIN_MODE_MASK (0x3 << SGPIO_MUX_CFG1_CLK_SOURCE_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG1_CLK_SOURCE_PIN_MODE(x) ((x) << SGPIO_MUX_CFG1_CLK_SOURCE_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG1_CLK_SOURCE_PIN_MODE_SHIFT (1)
# define SGPIO_MUX_CFG1_CLK_SOURCE_PIN_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG1_CLK_SOURCE_PIN_MODE_SHIFT )
# define SGPIO_MUX_CFG1_CLK_SOURCE_PIN_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG1_CLK_SOURCE_PIN_MODE_SHIFT )
/* CLK_SOURCE_SLICE_MODE: Select clock source slice */
# define SGPIO_MUX_CFG1_CLK_SOURCE_SLICE_MODE_SHIFT (3)
# define SGPIO_MUX_CFG1_CLK_SOURCE_SLICE_MODE_MASK (0x3 << SGPIO_MUX_CFG1_CLK_SOURCE_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG1_CLK_SOURCE_SLICE_MODE(x) ((x) << SGPIO_MUX_CFG1_CLK_SOURCE_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG1_CLK_SOURCE_SLICE_MODE_SHIFT (3)
# define SGPIO_MUX_CFG1_CLK_SOURCE_SLICE_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG1_CLK_SOURCE_SLICE_MODE_SHIFT )
# define SGPIO_MUX_CFG1_CLK_SOURCE_SLICE_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG1_CLK_SOURCE_SLICE_MODE_SHIFT )
/* QUALIFIER_MODE: Select qualifier mode */
# define SGPIO_MUX_CFG1_QUALIFIER_MODE_SHIFT (5)
# define SGPIO_MUX_CFG1_QUALIFIER_MODE_MASK (0x3 << SGPIO_MUX_CFG1_QUALIFIER_MODE_SHIFT)
# define SGPIO_MUX_CFG1_QUALIFIER_MODE(x) ((x) << SGPIO_MUX_CFG1_QUALIFIER_MODE_SHIFT)
# define SGPIO_MUX_CFG1_QUALIFIER_MODE_SHIFT (5)
# define SGPIO_MUX_CFG1_QUALIFIER_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG1_QUALIFIER_MODE_SHIFT )
# define SGPIO_MUX_CFG1_QUALIFIER_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG1_QUALIFIER_MODE_SHIFT )
/* QUALIFIER_PIN_MODE: Select qualifier pin */
# define SGPIO_MUX_CFG1_QUALIFIER_PIN_MODE_SHIFT (7)
# define SGPIO_MUX_CFG1_QUALIFIER_PIN_MODE_MASK (0x3 << SGPIO_MUX_CFG1_QUALIFIER_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG1_QUALIFIER_PIN_MODE(x) ((x) << SGPIO_MUX_CFG1_QUALIFIER_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG1_QUALIFIER_PIN_MODE_SHIFT (7)
# define SGPIO_MUX_CFG1_QUALIFIER_PIN_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG1_QUALIFIER_PIN_MODE_SHIFT )
# define SGPIO_MUX_CFG1_QUALIFIER_PIN_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG1_QUALIFIER_PIN_MODE_SHIFT )
/* QUALIFIER_SLICE_MODE: Select qualifier slice */
# define SGPIO_MUX_CFG1_QUALIFIER_SLICE_MODE_SHIFT (9)
# define SGPIO_MUX_CFG1_QUALIFIER_SLICE_MODE_MASK (0x3 << SGPIO_MUX_CFG1_QUALIFIER_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG1_QUALIFIER_SLICE_MODE(x) ((x) << SGPIO_MUX_CFG1_QUALIFIER_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG1_QUALIFIER_SLICE_MODE_SHIFT (9)
# define SGPIO_MUX_CFG1_QUALIFIER_SLICE_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG1_QUALIFIER_SLICE_MODE_SHIFT )
# define SGPIO_MUX_CFG1_QUALIFIER_SLICE_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG1_QUALIFIER_SLICE_MODE_SHIFT )
/* CONCAT_ENABLE: Enable concatenation */
# define SGPIO_MUX_CFG1_CONCAT_ENABLE_SHIFT (11)
# define SGPIO_MUX_CFG1_CONCAT_ENABLE (1 << SGPIO_MUX_CFG1_CONCAT_ENABLE_SHIFT)
# define SGPIO_MUX_CFG1_CONCAT_ENABLE_SHIFT (11)
# define SGPIO_MUX_CFG1_CONCAT_ENABLE \
( 1 < < SGPIO_MUX_CFG1_CONCAT_ENABLE_SHIFT )
/* CONCAT_ORDER: Select concatenation order */
# define SGPIO_MUX_CFG1_CONCAT_ORDER_SHIFT (12)
# define SGPIO_MUX_CFG1_CONCAT_ORDER_MASK (0x3 << SGPIO_MUX_CFG1_CONCAT_ORDER_SHIFT)
# define SGPIO_MUX_CFG1_CONCAT_ORDER(x) ((x) << SGPIO_MUX_CFG1_CONCAT_ORDER_SHIFT)
# define SGPIO_MUX_CFG1_CONCAT_ORDER_SHIFT (12)
# define SGPIO_MUX_CFG1_CONCAT_ORDER_MASK \
( 0x3 < < SGPIO_MUX_CFG1_CONCAT_ORDER_SHIFT )
# define SGPIO_MUX_CFG1_CONCAT_ORDER(x) \
( ( x ) < < SGPIO_MUX_CFG1_CONCAT_ORDER_SHIFT )
/* --- SGPIO_MUX_CFG2 values ------------------------------------ */
/* EXT_CLK_ENABLE: Select clock signal */
# define SGPIO_MUX_CFG2_EXT_CLK_ENABLE_SHIFT (0)
# define SGPIO_MUX_CFG2_EXT_CLK_ENABLE (1 << SGPIO_MUX_CFG2_EXT_CLK_ENABLE_SHIFT)
# define SGPIO_MUX_CFG2_EXT_CLK_ENABLE_SHIFT (0)
# define SGPIO_MUX_CFG2_EXT_CLK_ENABLE \
( 1 < < SGPIO_MUX_CFG2_EXT_CLK_ENABLE_SHIFT )
/* CLK_SOURCE_PIN_MODE: Select source clock pin */
# define SGPIO_MUX_CFG2_CLK_SOURCE_PIN_MODE_SHIFT (1)
# define SGPIO_MUX_CFG2_CLK_SOURCE_PIN_MODE_MASK (0x3 << SGPIO_MUX_CFG2_CLK_SOURCE_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG2_CLK_SOURCE_PIN_MODE(x) ((x) << SGPIO_MUX_CFG2_CLK_SOURCE_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG2_CLK_SOURCE_PIN_MODE_SHIFT (1)
# define SGPIO_MUX_CFG2_CLK_SOURCE_PIN_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG2_CLK_SOURCE_PIN_MODE_SHIFT )
# define SGPIO_MUX_CFG2_CLK_SOURCE_PIN_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG2_CLK_SOURCE_PIN_MODE_SHIFT )
/* CLK_SOURCE_SLICE_MODE: Select clock source slice */
# define SGPIO_MUX_CFG2_CLK_SOURCE_SLICE_MODE_SHIFT (3)
# define SGPIO_MUX_CFG2_CLK_SOURCE_SLICE_MODE_MASK (0x3 << SGPIO_MUX_CFG2_CLK_SOURCE_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG2_CLK_SOURCE_SLICE_MODE(x) ((x) << SGPIO_MUX_CFG2_CLK_SOURCE_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG2_CLK_SOURCE_SLICE_MODE_SHIFT (3)
# define SGPIO_MUX_CFG2_CLK_SOURCE_SLICE_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG2_CLK_SOURCE_SLICE_MODE_SHIFT )
# define SGPIO_MUX_CFG2_CLK_SOURCE_SLICE_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG2_CLK_SOURCE_SLICE_MODE_SHIFT )
/* QUALIFIER_MODE: Select qualifier mode */
# define SGPIO_MUX_CFG2_QUALIFIER_MODE_SHIFT (5)
# define SGPIO_MUX_CFG2_QUALIFIER_MODE_MASK (0x3 << SGPIO_MUX_CFG2_QUALIFIER_MODE_SHIFT)
# define SGPIO_MUX_CFG2_QUALIFIER_MODE(x) ((x) << SGPIO_MUX_CFG2_QUALIFIER_MODE_SHIFT)
# define SGPIO_MUX_CFG2_QUALIFIER_MODE_SHIFT (5)
# define SGPIO_MUX_CFG2_QUALIFIER_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG2_QUALIFIER_MODE_SHIFT )
# define SGPIO_MUX_CFG2_QUALIFIER_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG2_QUALIFIER_MODE_SHIFT )
/* QUALIFIER_PIN_MODE: Select qualifier pin */
# define SGPIO_MUX_CFG2_QUALIFIER_PIN_MODE_SHIFT (7)
# define SGPIO_MUX_CFG2_QUALIFIER_PIN_MODE_MASK (0x3 << SGPIO_MUX_CFG2_QUALIFIER_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG2_QUALIFIER_PIN_MODE(x) ((x) << SGPIO_MUX_CFG2_QUALIFIER_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG2_QUALIFIER_PIN_MODE_SHIFT (7)
# define SGPIO_MUX_CFG2_QUALIFIER_PIN_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG2_QUALIFIER_PIN_MODE_SHIFT )
# define SGPIO_MUX_CFG2_QUALIFIER_PIN_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG2_QUALIFIER_PIN_MODE_SHIFT )
/* QUALIFIER_SLICE_MODE: Select qualifier slice */
# define SGPIO_MUX_CFG2_QUALIFIER_SLICE_MODE_SHIFT (9)
# define SGPIO_MUX_CFG2_QUALIFIER_SLICE_MODE_MASK (0x3 << SGPIO_MUX_CFG2_QUALIFIER_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG2_QUALIFIER_SLICE_MODE(x) ((x) << SGPIO_MUX_CFG2_QUALIFIER_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG2_QUALIFIER_SLICE_MODE_SHIFT (9)
# define SGPIO_MUX_CFG2_QUALIFIER_SLICE_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG2_QUALIFIER_SLICE_MODE_SHIFT )
# define SGPIO_MUX_CFG2_QUALIFIER_SLICE_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG2_QUALIFIER_SLICE_MODE_SHIFT )
/* CONCAT_ENABLE: Enable concatenation */
# define SGPIO_MUX_CFG2_CONCAT_ENABLE_SHIFT (11)
# define SGPIO_MUX_CFG2_CONCAT_ENABLE (1 << SGPIO_MUX_CFG2_CONCAT_ENABLE_SHIFT)
# define SGPIO_MUX_CFG2_CONCAT_ENABLE_SHIFT (11)
# define SGPIO_MUX_CFG2_CONCAT_ENABLE
( 1 < < SGPIO_MUX_CFG2_CONCAT_ENABLE_SHIFT )
/* CONCAT_ORDER: Select concatenation order */
# define SGPIO_MUX_CFG2_CONCAT_ORDER_SHIFT (12)
# define SGPIO_MUX_CFG2_CONCAT_ORDER_MASK (0x3 << SGPIO_MUX_CFG2_CONCAT_ORDER_SHIFT)
# define SGPIO_MUX_CFG2_CONCAT_ORDER(x) ((x) << SGPIO_MUX_CFG2_CONCAT_ORDER_SHIFT)
# define SGPIO_MUX_CFG2_CONCAT_ORDER_SHIFT (12)
# define SGPIO_MUX_CFG2_CONCAT_ORDER_MASK \
( 0x3 < < SGPIO_MUX_CFG2_CONCAT_ORDER_SHIFT )
# define SGPIO_MUX_CFG2_CONCAT_ORDER(x) \
( ( x ) < < SGPIO_MUX_CFG2_CONCAT_ORDER_SHIFT )
/* --- SGPIO_MUX_CFG3 values ------------------------------------ */
/* EXT_CLK_ENABLE: Select clock signal */
# define SGPIO_MUX_CFG3_EXT_CLK_ENABLE_SHIFT (0)
# define SGPIO_MUX_CFG3_EXT_CLK_ENABLE (1 << SGPIO_MUX_CFG3_EXT_CLK_ENABLE_SHIFT)
# define SGPIO_MUX_CFG3_EXT_CLK_ENABLE_SHIFT (0)
# define SGPIO_MUX_CFG3_EXT_CLK_ENABLE \
( 1 < < SGPIO_MUX_CFG3_EXT_CLK_ENABLE_SHIFT )
/* CLK_SOURCE_PIN_MODE: Select source clock pin */
# define SGPIO_MUX_CFG3_CLK_SOURCE_PIN_MODE_SHIFT (1)
# define SGPIO_MUX_CFG3_CLK_SOURCE_PIN_MODE_MASK (0x3 << SGPIO_MUX_CFG3_CLK_SOURCE_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG3_CLK_SOURCE_PIN_MODE(x) ((x) << SGPIO_MUX_CFG3_CLK_SOURCE_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG3_CLK_SOURCE_PIN_MODE_SHIFT (1)
# define SGPIO_MUX_CFG3_CLK_SOURCE_PIN_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG3_CLK_SOURCE_PIN_MODE_SHIFT )
# define SGPIO_MUX_CFG3_CLK_SOURCE_PIN_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG3_CLK_SOURCE_PIN_MODE_SHIFT )
/* CLK_SOURCE_SLICE_MODE: Select clock source slice */
# define SGPIO_MUX_CFG3_CLK_SOURCE_SLICE_MODE_SHIFT (3)
# define SGPIO_MUX_CFG3_CLK_SOURCE_SLICE_MODE_MASK (0x3 << SGPIO_MUX_CFG3_CLK_SOURCE_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG3_CLK_SOURCE_SLICE_MODE(x) ((x) << SGPIO_MUX_CFG3_CLK_SOURCE_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG3_CLK_SOURCE_SLICE_MODE_SHIFT (3)
# define SGPIO_MUX_CFG3_CLK_SOURCE_SLICE_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG3_CLK_SOURCE_SLICE_MODE_SHIFT )
# define SGPIO_MUX_CFG3_CLK_SOURCE_SLICE_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG3_CLK_SOURCE_SLICE_MODE_SHIFT )
/* QUALIFIER_MODE: Select qualifier mode */
# define SGPIO_MUX_CFG3_QUALIFIER_MODE_SHIFT (5)
# define SGPIO_MUX_CFG3_QUALIFIER_MODE_MASK (0x3 << SGPIO_MUX_CFG3_QUALIFIER_MODE_SHIFT)
# define SGPIO_MUX_CFG3_QUALIFIER_MODE(x) ((x) << SGPIO_MUX_CFG3_QUALIFIER_MODE_SHIFT)
# define SGPIO_MUX_CFG3_QUALIFIER_MODE_SHIFT (5)
# define SGPIO_MUX_CFG3_QUALIFIER_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG3_QUALIFIER_MODE_SHIFT )
# define SGPIO_MUX_CFG3_QUALIFIER_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG3_QUALIFIER_MODE_SHIFT )
/* QUALIFIER_PIN_MODE: Select qualifier pin */
# define SGPIO_MUX_CFG3_QUALIFIER_PIN_MODE_SHIFT (7)
# define SGPIO_MUX_CFG3_QUALIFIER_PIN_MODE_MASK (0x3 << SGPIO_MUX_CFG3_QUALIFIER_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG3_QUALIFIER_PIN_MODE(x) ((x) << SGPIO_MUX_CFG3_QUALIFIER_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG3_QUALIFIER_PIN_MODE_SHIFT (7)
# define SGPIO_MUX_CFG3_QUALIFIER_PIN_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG3_QUALIFIER_PIN_MODE_SHIFT )
# define SGPIO_MUX_CFG3_QUALIFIER_PIN_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG3_QUALIFIER_PIN_MODE_SHIFT )
/* QUALIFIER_SLICE_MODE: Select qualifier slice */
# define SGPIO_MUX_CFG3_QUALIFIER_SLICE_MODE_SHIFT (9)
# define SGPIO_MUX_CFG3_QUALIFIER_SLICE_MODE_MASK (0x3 << SGPIO_MUX_CFG3_QUALIFIER_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG3_QUALIFIER_SLICE_MODE(x) ((x) << SGPIO_MUX_CFG3_QUALIFIER_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG3_QUALIFIER_SLICE_MODE_SHIFT (9)
# define SGPIO_MUX_CFG3_QUALIFIER_SLICE_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG3_QUALIFIER_SLICE_MODE_SHIFT )
# define SGPIO_MUX_CFG3_QUALIFIER_SLICE_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG3_QUALIFIER_SLICE_MODE_SHIFT )
/* CONCAT_ENABLE: Enable concatenation */
# define SGPIO_MUX_CFG3_CONCAT_ENABLE_SHIFT (11)
# define SGPIO_MUX_CFG3_CONCAT_ENABLE (1 << SGPIO_MUX_CFG3_CONCAT_ENABLE_SHIFT)
# define SGPIO_MUX_CFG3_CONCAT_ENABLE_SHIFT (11)
# define SGPIO_MUX_CFG3_CONCAT_ENABLE \
( 1 < < SGPIO_MUX_CFG3_CONCAT_ENABLE_SHIFT )
/* CONCAT_ORDER: Select concatenation order */
# define SGPIO_MUX_CFG3_CONCAT_ORDER_SHIFT (12)
# define SGPIO_MUX_CFG3_CONCAT_ORDER_MASK (0x3 << SGPIO_MUX_CFG3_CONCAT_ORDER_SHIFT)
# define SGPIO_MUX_CFG3_CONCAT_ORDER(x) ((x) << SGPIO_MUX_CFG3_CONCAT_ORDER_SHIFT)
# define SGPIO_MUX_CFG3_CONCAT_ORDER_SHIFT (12)
# define SGPIO_MUX_CFG3_CONCAT_ORDER_MASK \
( 0x3 < < SGPIO_MUX_CFG3_CONCAT_ORDER_SHIFT )
# define SGPIO_MUX_CFG3_CONCAT_ORDER(x) \
( ( x ) < < SGPIO_MUX_CFG3_CONCAT_ORDER_SHIFT )
/* --- SGPIO_MUX_CFG4 values ------------------------------------ */
/* EXT_CLK_ENABLE: Select clock signal */
# define SGPIO_MUX_CFG4_EXT_CLK_ENABLE_SHIFT (0)
# define SGPIO_MUX_CFG4_EXT_CLK_ENABLE (1 << SGPIO_MUX_CFG4_EXT_CLK_ENABLE_SHIFT)
# define SGPIO_MUX_CFG4_EXT_CLK_ENABLE_SHIFT (0)
# define SGPIO_MUX_CFG4_EXT_CLK_ENABLE \
( 1 < < SGPIO_MUX_CFG4_EXT_CLK_ENABLE_SHIFT )
/* CLK_SOURCE_PIN_MODE: Select source clock pin */
# define SGPIO_MUX_CFG4_CLK_SOURCE_PIN_MODE_SHIFT (1)
# define SGPIO_MUX_CFG4_CLK_SOURCE_PIN_MODE_MASK (0x3 << SGPIO_MUX_CFG4_CLK_SOURCE_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG4_CLK_SOURCE_PIN_MODE(x) ((x) << SGPIO_MUX_CFG4_CLK_SOURCE_PIN_MODE_SHIFT)
# define SGPIO_MUX_CFG4_CLK_SOURCE_PIN_MODE_SHIFT (1)
# define SGPIO_MUX_CFG4_CLK_SOURCE_PIN_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG4_CLK_SOURCE_PIN_MODE_SHIFT )
# define SGPIO_MUX_CFG4_CLK_SOURCE_PIN_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG4_CLK_SOURCE_PIN_MODE_SHIFT )
/* CLK_SOURCE_SLICE_MODE: Select clock source slice */
# define SGPIO_MUX_CFG4_CLK_SOURCE_SLICE_MODE_SHIFT (3)
# define SGPIO_MUX_CFG4_CLK_SOURCE_SLICE_MODE_MASK (0x3 << SGPIO_MUX_CFG4_CLK_SOURCE_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG4_CLK_SOURCE_SLICE_MODE(x) ((x) << SGPIO_MUX_CFG4_CLK_SOURCE_SLICE_MODE_SHIFT)
# define SGPIO_MUX_CFG4_CLK_SOURCE_SLICE_MODE_SHIFT (3)
# define SGPIO_MUX_CFG4_CLK_SOURCE_SLICE_MODE_MASK \
( 0x3 < < SGPIO_MUX_CFG4_CLK_SOURCE_SLICE_MODE_SHIFT )
# define SGPIO_MUX_CFG4_CLK_SOURCE_SLICE_MODE(x) \
( ( x ) < < SGPIO_MUX_CFG4_CLK_SOURCE_SLICE_MODE_SHIFT )
/* QUALIFIER_MODE: Select qualifier mode */
# define SGPIO_MUX_CFG4_QUALIFIER_MODE_SHIFT (5)