Searched refs:config_shift (Results 1 – 1 of 1) sorted by relevance
106 int config_shift; in sam0_eic_acquire() local117 config_shift = (line_index % 8) * 4; in sam0_eic_acquire()143 config &= ~(0xF << config_shift); in sam0_eic_acquire()146 config |= EIC_CONFIG_SENSE0_RISE << config_shift; in sam0_eic_acquire()149 config |= EIC_CONFIG_SENSE0_FALL << config_shift; in sam0_eic_acquire()152 config |= EIC_CONFIG_SENSE0_BOTH << config_shift; in sam0_eic_acquire()155 config |= EIC_CONFIG_SENSE0_HIGH << config_shift; in sam0_eic_acquire()158 config |= EIC_CONFIG_SENSE0_LOW << config_shift; in sam0_eic_acquire()163 config |= EIC_CONFIG_FILTEN0 << config_shift; in sam0_eic_acquire()213 int config_shift; in sam0_eic_release() local[all …]