Lines Matching refs:pad
107 static inline unsigned int PAD_BANK(iomux_cfg_t pad) in PAD_BANK() argument
109 return (pad & MXS_PAD_BANK_MASK) >> MXS_PAD_BANK_SHIFT; in PAD_BANK()
112 static inline unsigned int PAD_PIN(iomux_cfg_t pad) in PAD_PIN() argument
114 return (pad & MXS_PAD_PIN_MASK) >> MXS_PAD_PIN_SHIFT; in PAD_PIN()
117 static inline unsigned int PAD_MUXSEL(iomux_cfg_t pad) in PAD_MUXSEL() argument
119 return (pad & MXS_PAD_MUXSEL_MASK) >> MXS_PAD_MUXSEL_SHIFT; in PAD_MUXSEL()
122 static inline unsigned int PAD_MA(iomux_cfg_t pad) in PAD_MA() argument
124 return (pad & MXS_PAD_MA_MASK) >> MXS_PAD_MA_SHIFT; in PAD_MA()
127 static inline unsigned int PAD_MA_VALID(iomux_cfg_t pad) in PAD_MA_VALID() argument
129 return (pad & MXS_PAD_MA_VALID_MASK) >> MXS_PAD_MA_VALID_SHIFT; in PAD_MA_VALID()
132 static inline unsigned int PAD_VOL(iomux_cfg_t pad) in PAD_VOL() argument
134 return (pad & MXS_PAD_VOL_MASK) >> MXS_PAD_VOL_SHIFT; in PAD_VOL()
137 static inline unsigned int PAD_VOL_VALID(iomux_cfg_t pad) in PAD_VOL_VALID() argument
139 return (pad & MXS_PAD_VOL_VALID_MASK) >> MXS_PAD_VOL_VALID_SHIFT; in PAD_VOL_VALID()
142 static inline unsigned int PAD_PULL(iomux_cfg_t pad) in PAD_PULL() argument
144 return (pad & MXS_PAD_PULL_MASK) >> MXS_PAD_PULL_SHIFT; in PAD_PULL()
147 static inline unsigned int PAD_PULL_VALID(iomux_cfg_t pad) in PAD_PULL_VALID() argument
149 return (pad & MXS_PAD_PULL_VALID_MASK) >> MXS_PAD_PULL_VALID_SHIFT; in PAD_PULL_VALID()
155 int mxs_iomux_setup_pad(iomux_cfg_t pad);