Lines Matching full:rid
736 static int bd9576_renable(struct regulator_irq_data *rid, int reg, int mask) in bd9576_renable() argument
739 struct bd957x_data *d = (struct bd957x_data *)rid->data; in bd9576_renable()
745 if (rid->opaque && rid->opaque == (val & mask)) { in bd9576_renable()
754 rid->opaque = 0; in bd9576_renable()
762 static int bd9576_uvd_renable(struct regulator_irq_data *rid) in bd9576_uvd_renable() argument
764 return bd9576_renable(rid, BD957X_REG_INT_UVD_STAT, UVD_IRQ_VALID_MASK); in bd9576_uvd_renable()
767 static int bd9576_ovd_renable(struct regulator_irq_data *rid) in bd9576_ovd_renable() argument
769 return bd9576_renable(rid, BD957X_REG_INT_OVD_STAT, OVD_IRQ_VALID_MASK); in bd9576_ovd_renable()
772 static int bd9576_temp_renable(struct regulator_irq_data *rid) in bd9576_temp_renable() argument
774 return bd9576_renable(rid, BD957X_REG_INT_THERM_STAT, in bd9576_temp_renable()
778 static int bd9576_uvd_handler(int irq, struct regulator_irq_data *rid, in bd9576_uvd_handler() argument
782 struct bd957x_data *d = (struct bd957x_data *)rid->data; in bd9576_uvd_handler()
790 rid->opaque = val & UVD_IRQ_VALID_MASK; in bd9576_uvd_handler()
810 stat = &rid->states[i]; in bd9576_uvd_handler()
822 static int bd9576_ovd_handler(int irq, struct regulator_irq_data *rid, in bd9576_ovd_handler() argument
826 struct bd957x_data *d = (struct bd957x_data *)rid->data; in bd9576_ovd_handler()
832 rid->opaque = val & OVD_IRQ_VALID_MASK; in bd9576_ovd_handler()
847 stat = &rid->states[i]; in bd9576_ovd_handler()
862 static int bd9576_thermal_handler(int irq, struct regulator_irq_data *rid, in bd9576_thermal_handler() argument
866 struct bd957x_data *d = (struct bd957x_data *)rid->data; in bd9576_thermal_handler()
884 stat = &rid->states[i]; in bd9576_thermal_handler()