Searched refs:SPRD_EIC_BIT (Results 1 – 1 of 1) sorted by relevance
59 #define SPRD_EIC_BIT(x) ((x) & (SPRD_EIC_PER_BANK_NR - 1)) macro153 tmp |= BIT(SPRD_EIC_BIT(offset)); in sprd_eic_update()155 tmp &= ~BIT(SPRD_EIC_BIT(offset)); in sprd_eic_update()167 return !!(readl_relaxed(base + reg) & BIT(SPRD_EIC_BIT(offset))); in sprd_eic_read()214 u32 reg = SPRD_EIC_DBNC_CTRL0 + SPRD_EIC_BIT(offset) * 0x4; in sprd_eic_set_debounce()