Home
last modified time | relevance | path

Searched refs:SPRD_EIC_BIT (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpio/
H A Dgpio-eic-sprd.c59 #define SPRD_EIC_BIT(x) ((x) & (SPRD_EIC_PER_BANK_NR - 1)) macro
152 tmp |= BIT(SPRD_EIC_BIT(offset)); in sprd_eic_update()
154 tmp &= ~BIT(SPRD_EIC_BIT(offset)); in sprd_eic_update()
166 return !!(readl_relaxed(base + reg) & BIT(SPRD_EIC_BIT(offset))); in sprd_eic_read()
213 u32 reg = SPRD_EIC_DBNC_CTRL0 + SPRD_EIC_BIT(offset) * 0x4; in sprd_eic_set_debounce()