Lines Matching refs:sprd_pmic_eic_update
67 static void sprd_pmic_eic_update(struct gpio_chip *chip, unsigned int offset, in sprd_pmic_eic_update() function
93 sprd_pmic_eic_update(chip, offset, SPRD_PMIC_EIC_DMSK, 1); in sprd_pmic_eic_request()
99 sprd_pmic_eic_update(chip, offset, SPRD_PMIC_EIC_DMSK, 0); in sprd_pmic_eic_free()
216 sprd_pmic_eic_update(chip, offset, SPRD_PMIC_EIC_IEV, 0); in sprd_pmic_eic_bus_sync_unlock()
218 sprd_pmic_eic_update(chip, offset, SPRD_PMIC_EIC_IEV, 1); in sprd_pmic_eic_bus_sync_unlock()
220 sprd_pmic_eic_update(chip, offset, SPRD_PMIC_EIC_IEV, in sprd_pmic_eic_bus_sync_unlock()
225 sprd_pmic_eic_update(chip, offset, SPRD_PMIC_EIC_IE, in sprd_pmic_eic_bus_sync_unlock()
228 sprd_pmic_eic_update(chip, offset, SPRD_PMIC_EIC_TRIG, in sprd_pmic_eic_bus_sync_unlock()
246 sprd_pmic_eic_update(chip, offset, SPRD_PMIC_EIC_IEV, 0); in sprd_pmic_eic_toggle_trigger()
248 sprd_pmic_eic_update(chip, offset, SPRD_PMIC_EIC_IEV, 1); in sprd_pmic_eic_toggle_trigger()
258 sprd_pmic_eic_update(chip, offset, SPRD_PMIC_EIC_IE, 1); in sprd_pmic_eic_toggle_trigger()
260 sprd_pmic_eic_update(chip, offset, SPRD_PMIC_EIC_TRIG, 1); in sprd_pmic_eic_toggle_trigger()
280 sprd_pmic_eic_update(chip, n, SPRD_PMIC_EIC_IC, 1); in sprd_pmic_eic_irq_handler()