Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/gpio/
Dgpio-eic-sprd.c57 #define SPRD_EIC_PER_BANK_NR 8 macro
59 #define SPRD_EIC_BIT(x) ((x) & (SPRD_EIC_PER_BANK_NR - 1))
145 sprd_eic_offset_base(sprd_eic, offset / SPRD_EIC_PER_BANK_NR); in sprd_eic_update()
165 sprd_eic_offset_base(sprd_eic, offset / SPRD_EIC_PER_BANK_NR); in sprd_eic_read()
213 sprd_eic_offset_base(sprd_eic, offset / SPRD_EIC_PER_BANK_NR); in sprd_eic_set_debounce()
505 for (bank = 0; bank * SPRD_EIC_PER_BANK_NR < chip->ngpio; bank++) { in sprd_eic_handle_one_type()
531 for_each_set_bit(n, &reg, SPRD_EIC_PER_BANK_NR) { in sprd_eic_handle_one_type()
532 u32 offset = bank * SPRD_EIC_PER_BANK_NR + n; in sprd_eic_handle_one_type()