Searched refs:GPIO_BANK_STRIDE (Results 1 – 2 of 2) sorted by relevance
18 #define GPIO_BANK_STRIDE 0x04 macro71 offset = (rg->bank * GPIO_BANK_STRIDE) + offset; in mtk_gpio_w32()81 offset = (rg->bank * GPIO_BANK_STRIDE) + offset; in mtk_gpio_r32()234 dat = mtk->base + GPIO_REG_DATA + (rg->bank * GPIO_BANK_STRIDE); in mediatek_gpio_bank_probe()235 set = mtk->base + GPIO_REG_DSET + (rg->bank * GPIO_BANK_STRIDE); in mediatek_gpio_bank_probe()236 ctrl = mtk->base + GPIO_REG_DCLR + (rg->bank * GPIO_BANK_STRIDE); in mediatek_gpio_bank_probe()237 diro = mtk->base + GPIO_REG_CTRL + (rg->bank * GPIO_BANK_STRIDE); in mediatek_gpio_bank_probe()
21 #define GPIO_BANK_STRIDE 0x0C macro28 #define GPIO_BANK_OFFSET(x) ((x / XGENE_GPIOS_PER_BANK) * GPIO_BANK_STRIDE)138 bank_offset = GPIO_SET_DR_OFFSET + bank * GPIO_BANK_STRIDE; in xgene_gpio_suspend()151 bank_offset = GPIO_SET_DR_OFFSET + bank * GPIO_BANK_STRIDE; in xgene_gpio_resume()