Lines Matching refs:mxc_gpio_hwdata
46 struct mxc_gpio_hwdata { struct
71 static struct mxc_gpio_hwdata imx1_imx21_gpio_hwdata = { argument
86 static struct mxc_gpio_hwdata imx31_gpio_hwdata = {
101 static struct mxc_gpio_hwdata imx35_gpio_hwdata = {
117 static struct mxc_gpio_hwdata *mxc_gpio_hwdata; variable
119 #define GPIO_DR (mxc_gpio_hwdata->dr_reg)
120 #define GPIO_GDIR (mxc_gpio_hwdata->gdir_reg)
121 #define GPIO_PSR (mxc_gpio_hwdata->psr_reg)
122 #define GPIO_ICR1 (mxc_gpio_hwdata->icr1_reg)
123 #define GPIO_ICR2 (mxc_gpio_hwdata->icr2_reg)
124 #define GPIO_IMR (mxc_gpio_hwdata->imr_reg)
125 #define GPIO_ISR (mxc_gpio_hwdata->isr_reg)
126 #define GPIO_EDGE_SEL (mxc_gpio_hwdata->edge_sel_reg)
128 #define GPIO_INT_LOW_LEV (mxc_gpio_hwdata->low_level)
129 #define GPIO_INT_HIGH_LEV (mxc_gpio_hwdata->high_level)
130 #define GPIO_INT_RISE_EDGE (mxc_gpio_hwdata->rise_edge)
131 #define GPIO_INT_FALL_EDGE (mxc_gpio_hwdata->fall_edge)
390 mxc_gpio_hwdata = &imx35_gpio_hwdata; in mxc_gpio_get_hw()
392 mxc_gpio_hwdata = &imx31_gpio_hwdata; in mxc_gpio_get_hw()
394 mxc_gpio_hwdata = &imx1_imx21_gpio_hwdata; in mxc_gpio_get_hw()