Searched refs:pmic_eic (Results 1 – 5 of 5) sorted by relevance
70 struct sprd_pmic_eic *pmic_eic = gpiochip_get_data(chip); in sprd_pmic_eic_update() local73 regmap_update_bits(pmic_eic->map, pmic_eic->offset + reg, in sprd_pmic_eic_update()80 struct sprd_pmic_eic *pmic_eic = gpiochip_get_data(chip); in sprd_pmic_eic_read() local84 ret = regmap_read(pmic_eic->map, pmic_eic->offset + reg, &value); in sprd_pmic_eic_read()124 struct sprd_pmic_eic *pmic_eic = gpiochip_get_data(chip); in sprd_pmic_eic_set_debounce() local129 ret = regmap_read(pmic_eic->map, pmic_eic->offset + reg, &value); in sprd_pmic_eic_set_debounce()135 return regmap_write(pmic_eic->map, pmic_eic->offset + reg, value); in sprd_pmic_eic_set_debounce()153 struct sprd_pmic_eic *pmic_eic = gpiochip_get_data(chip); in sprd_pmic_eic_irq_mask() local155 pmic_eic->reg[REG_IE] = 0; in sprd_pmic_eic_irq_mask()156 pmic_eic->reg[REG_TRIG] = 0; in sprd_pmic_eic_irq_mask()[all …]
55 pmic_eic: gpio@300 { label101 bat-detect-gpio = <&pmic_eic 9 GPIO_ACTIVE_HIGH>;
702 gpios = <&pmic_eic 10 GPIO_ACTIVE_HIGH>;710 gpios = <&pmic_eic 1 GPIO_ACTIVE_HIGH>;
51 battery-detect-gpios = <&pmic_eic 9 GPIO_ACTIVE_HIGH>;
88 pmic_eic: gpio@300 {