Searched refs:GPIO_BANK_STRIDE (Results 1 – 2 of 2) sorted by relevance
19 #define GPIO_BANK_STRIDE 0x04 macro72 offset = (rg->bank * GPIO_BANK_STRIDE) + offset; in mtk_gpio_w32()82 offset = (rg->bank * GPIO_BANK_STRIDE) + offset; in mtk_gpio_r32()223 dat = mtk->base + GPIO_REG_DATA + (rg->bank * GPIO_BANK_STRIDE); in mediatek_gpio_bank_probe()224 set = mtk->base + GPIO_REG_DSET + (rg->bank * GPIO_BANK_STRIDE); in mediatek_gpio_bank_probe()225 ctrl = mtk->base + GPIO_REG_DCLR + (rg->bank * GPIO_BANK_STRIDE); in mediatek_gpio_bank_probe()226 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()