Lines Matching refs:palmas

51 	struct palmas *palmas = dev_get_drvdata(dev->parent);  in palmas_rtc_read_time()  local
55 ret = palmas_update_bits(palmas, PALMAS_RTC_BASE, PALMAS_RTC_CTRL_REG, in palmas_rtc_read_time()
62 ret = palmas_bulk_read(palmas, PALMAS_RTC_BASE, PALMAS_SECONDS_REG, in palmas_rtc_read_time()
82 struct palmas *palmas = dev_get_drvdata(dev->parent); in palmas_rtc_set_time() local
93 ret = palmas_update_bits(palmas, PALMAS_RTC_BASE, PALMAS_RTC_CTRL_REG, in palmas_rtc_set_time()
100 ret = palmas_bulk_write(palmas, PALMAS_RTC_BASE, PALMAS_SECONDS_REG, in palmas_rtc_set_time()
108 ret = palmas_update_bits(palmas, PALMAS_RTC_BASE, PALMAS_RTC_CTRL_REG, in palmas_rtc_set_time()
117 struct palmas *palmas = dev_get_drvdata(dev->parent); in palmas_rtc_alarm_irq_enable() local
121 return palmas_write(palmas, PALMAS_RTC_BASE, in palmas_rtc_alarm_irq_enable()
129 struct palmas *palmas = dev_get_drvdata(dev->parent); in palmas_rtc_read_alarm() local
132 ret = palmas_bulk_read(palmas, PALMAS_RTC_BASE, in palmas_rtc_read_alarm()
147 ret = palmas_read(palmas, PALMAS_RTC_BASE, PALMAS_RTC_INTERRUPTS_REG, in palmas_rtc_read_alarm()
162 struct palmas *palmas = dev_get_drvdata(dev->parent); in palmas_rtc_set_alarm() local
178 ret = palmas_bulk_write(palmas, PALMAS_RTC_BASE, in palmas_rtc_set_alarm()
192 struct palmas *palmas = dev_get_drvdata(dev->parent); in palmas_clear_interrupts() local
196 ret = palmas_read(palmas, PALMAS_RTC_BASE, PALMAS_RTC_STATUS_REG, in palmas_clear_interrupts()
203 ret = palmas_write(palmas, PALMAS_RTC_BASE, PALMAS_RTC_STATUS_REG, in palmas_clear_interrupts()
238 struct palmas *palmas = dev_get_drvdata(pdev->dev.parent); in palmas_rtc_probe() local
272 ret = palmas_update_bits(palmas, PALMAS_PMU_CONTROL_BASE, in palmas_rtc_probe()
281 ret = palmas_update_bits(palmas, PALMAS_PMU_CONTROL_BASE, in palmas_rtc_probe()
293 ret = palmas_update_bits(palmas, PALMAS_RTC_BASE, PALMAS_RTC_CTRL_REG, in palmas_rtc_probe()