Lines Matching refs:mxc_gpio_hwdata
35 struct mxc_gpio_hwdata {
73 static struct mxc_gpio_hwdata imx1_imx21_gpio_hwdata = {
88 static struct mxc_gpio_hwdata imx31_gpio_hwdata = {
103 static struct mxc_gpio_hwdata imx35_gpio_hwdata = {
119 static struct mxc_gpio_hwdata *mxc_gpio_hwdata;
121 #define GPIO_DR (mxc_gpio_hwdata->dr_reg)
122 #define GPIO_GDIR (mxc_gpio_hwdata->gdir_reg)
123 #define GPIO_PSR (mxc_gpio_hwdata->psr_reg)
124 #define GPIO_ICR1 (mxc_gpio_hwdata->icr1_reg)
125 #define GPIO_ICR2 (mxc_gpio_hwdata->icr2_reg)
126 #define GPIO_IMR (mxc_gpio_hwdata->imr_reg)
127 #define GPIO_ISR (mxc_gpio_hwdata->isr_reg)
128 #define GPIO_EDGE_SEL (mxc_gpio_hwdata->edge_sel_reg)
130 #define GPIO_INT_LOW_LEV (mxc_gpio_hwdata->low_level)
131 #define GPIO_INT_HIGH_LEV (mxc_gpio_hwdata->high_level)
132 #define GPIO_INT_RISE_EDGE (mxc_gpio_hwdata->rise_edge)
133 #define GPIO_INT_FALL_EDGE (mxc_gpio_hwdata->fall_edge)
396 mxc_gpio_hwdata = &imx35_gpio_hwdata;
398 mxc_gpio_hwdata = &imx31_gpio_hwdata;
400 mxc_gpio_hwdata = &imx1_imx21_gpio_hwdata;