/drivers/rtc/ |
D | interface.c | 23 static void rtc_add_offset(struct rtc_device *rtc, struct rtc_time *tm) in rtc_add_offset() 46 static void rtc_subtract_offset(struct rtc_device *rtc, struct rtc_time *tm) in rtc_subtract_offset() 67 static int rtc_valid_range(struct rtc_device *rtc, struct rtc_time *tm) in rtc_valid_range() 84 static int __rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in __rtc_read_time() 110 int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_read_time() 126 int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_set_time() 178 static int rtc_read_alarm_internal(struct rtc_device *rtc, in rtc_read_alarm_internal() 212 int __rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in __rtc_read_alarm() 386 int rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in rtc_read_alarm() 409 static int __rtc_set_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in __rtc_set_alarm() [all …]
|
D | rtc-ds1685.c | 45 ds1685_read(struct ds1685_priv *rtc, int reg) in ds1685_read() 58 ds1685_write(struct ds1685_priv *rtc, int reg, u8 value) in ds1685_write() 76 ds1685_indirect_read(struct ds1685_priv *rtc, int reg) in ds1685_indirect_read() 89 ds1685_indirect_write(struct ds1685_priv *rtc, int reg, u8 value) in ds1685_indirect_write() 108 ds1685_rtc_bcd2bin(struct ds1685_priv *rtc, u8 val, u8 bcd_mask, u8 bin_mask) in ds1685_rtc_bcd2bin() 126 ds1685_rtc_bin2bcd(struct ds1685_priv *rtc, u8 val, u8 bin_mask, u8 bcd_mask) in ds1685_rtc_bin2bcd() 142 ds1685_rtc_check_mday(struct ds1685_priv *rtc, u8 mday) in ds1685_rtc_check_mday() 159 ds1685_rtc_switch_to_bank0(struct ds1685_priv *rtc) in ds1685_rtc_switch_to_bank0() 170 ds1685_rtc_switch_to_bank1(struct ds1685_priv *rtc) in ds1685_rtc_switch_to_bank1() 190 ds1685_rtc_begin_data_access(struct ds1685_priv *rtc) in ds1685_rtc_begin_data_access() [all …]
|
D | rtc-at91sam9.c | 81 #define rtt_readl(rtc, field) \ argument 83 #define rtt_writel(rtc, field, val) \ argument 86 static inline unsigned int gpbr_readl(struct sam9_rtc *rtc) in gpbr_readl() 95 static inline void gpbr_writel(struct sam9_rtc *rtc, unsigned int val) in gpbr_writel() 105 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_readtime() local 132 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_settime() local 177 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_readalarm() local 201 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_setalarm() local 235 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_alarm_irq_enable() local 251 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_proc() local [all …]
|
D | rtc-da9052.c | 19 #define rtc_err(rtc, fmt, ...) \ argument 25 struct rtc_device *rtc; member 29 static int da9052_rtc_enable_alarm(struct da9052_rtc *rtc, bool enable) in da9052_rtc_enable_alarm() 49 struct da9052_rtc *rtc = data; in da9052_rtc_irq() local 56 static int da9052_read_alarm(struct da9052_rtc *rtc, struct rtc_time *rtc_tm) in da9052_read_alarm() 99 static int da9052_set_alarm(struct da9052_rtc *rtc, struct rtc_time *rtc_tm) in da9052_set_alarm() 140 static int da9052_rtc_get_alarm_status(struct da9052_rtc *rtc) in da9052_rtc_get_alarm_status() 155 struct da9052_rtc *rtc = dev_get_drvdata(dev); in da9052_rtc_read_time() local 198 struct da9052_rtc *rtc; in da9052_rtc_set_time() local 225 struct da9052_rtc *rtc = dev_get_drvdata(dev); in da9052_rtc_read_alarm() local [all …]
|
D | rtc-omap.c | 142 struct rtc_device *rtc; member 155 static inline u8 rtc_read(struct omap_rtc *rtc, unsigned int reg) in rtc_read() 160 static inline u32 rtc_readl(struct omap_rtc *rtc, unsigned int reg) in rtc_readl() 165 static inline void rtc_write(struct omap_rtc *rtc, unsigned int reg, u8 val) in rtc_write() 170 static inline void rtc_writel(struct omap_rtc *rtc, unsigned int reg, u32 val) in rtc_writel() 175 static void am3352_rtc_unlock(struct omap_rtc *rtc) in am3352_rtc_unlock() 181 static void am3352_rtc_lock(struct omap_rtc *rtc) in am3352_rtc_lock() 187 static void default_rtc_unlock(struct omap_rtc *rtc) in default_rtc_unlock() 191 static void default_rtc_lock(struct omap_rtc *rtc) in default_rtc_lock() 200 static void rtc_wait_not_busy(struct omap_rtc *rtc) in rtc_wait_not_busy() [all …]
|
D | rtc-armada38x.c | 104 static void rtc_delayed_write(u32 val, struct armada38x_rtc *rtc, int offset) in rtc_delayed_write() 113 static void rtc_update_38x_mbus_timing_params(struct armada38x_rtc *rtc) in rtc_update_38x_mbus_timing_params() 125 static void rtc_update_8k_mbus_timing_params(struct armada38x_rtc *rtc) in rtc_update_8k_mbus_timing_params() 142 static u32 read_rtc_register(struct armada38x_rtc *rtc, u8 rtc_reg) in read_rtc_register() 147 static u32 read_rtc_register_38x_wa(struct armada38x_rtc *rtc, u8 rtc_reg) in read_rtc_register_38x_wa() 189 static void armada38x_clear_isr(struct armada38x_rtc *rtc) in armada38x_clear_isr() 196 static void armada38x_unmask_interrupt(struct armada38x_rtc *rtc) in armada38x_unmask_interrupt() 203 static void armada8k_clear_isr(struct armada38x_rtc *rtc) in armada8k_clear_isr() 208 static void armada8k_unmask_interrupt(struct armada38x_rtc *rtc) in armada8k_unmask_interrupt() 215 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_read_time() local [all …]
|
D | dev.c | 25 struct rtc_device *rtc = container_of(inode->i_cdev, in rtc_dev_open() local 47 struct rtc_device *rtc = in rtc_uie_task() local 75 struct rtc_device *rtc = from_timer(rtc, t, uie_timer); in rtc_uie_timer() local 86 static int clear_uie(struct rtc_device *rtc) in clear_uie() 108 static int set_uie(struct rtc_device *rtc) in set_uie() 130 int rtc_dev_update_irq_enable_emul(struct rtc_device *rtc, unsigned int enabled) in rtc_dev_update_irq_enable_emul() 144 struct rtc_device *rtc = file->private_data; in rtc_dev_read() local 193 struct rtc_device *rtc = file->private_data; in rtc_dev_poll() local 207 struct rtc_device *rtc = file->private_data; in rtc_dev_ioctl() local 475 struct rtc_device *rtc = file->private_data; in rtc_dev_compat_ioctl() local [all …]
|
D | rtc-meson.c | 62 struct rtc_device *rtc; /* rtc device we created */ member 81 static void meson_rtc_sclk_pulse(struct meson_rtc *rtc) in meson_rtc_sclk_pulse() 90 static void meson_rtc_send_bit(struct meson_rtc *rtc, unsigned int bit) in meson_rtc_send_bit() 97 static void meson_rtc_send_bits(struct meson_rtc *rtc, u32 data, in meson_rtc_send_bits() 108 static void meson_rtc_set_dir(struct meson_rtc *rtc, u32 mode) in meson_rtc_set_dir() 116 static u32 meson_rtc_get_data(struct meson_rtc *rtc) in meson_rtc_get_data() 132 static int meson_rtc_get_bus(struct meson_rtc *rtc) in meson_rtc_get_bus() 162 struct meson_rtc *rtc = context; in meson_rtc_serial_bus_reg_read() local 181 struct meson_rtc *rtc = context; in meson_rtc_serial_bus_reg_write() local 211 static int meson_rtc_write_static(struct meson_rtc *rtc, u32 data) in meson_rtc_write_static() [all …]
|
D | rtc-jz4740.c | 57 struct rtc_device *rtc; member 64 static inline uint32_t jz4740_rtc_reg_read(struct jz4740_rtc *rtc, size_t reg) in jz4740_rtc_reg_read() 69 static int jz4740_rtc_wait_write_ready(struct jz4740_rtc *rtc) in jz4740_rtc_wait_write_ready() 81 static inline int jz4780_rtc_enable_write(struct jz4740_rtc *rtc) in jz4780_rtc_enable_write() 99 static inline int jz4740_rtc_reg_write(struct jz4740_rtc *rtc, size_t reg, in jz4740_rtc_reg_write() 114 static int jz4740_rtc_ctrl_set_bits(struct jz4740_rtc *rtc, uint32_t mask, in jz4740_rtc_ctrl_set_bits() 142 struct jz4740_rtc *rtc = dev_get_drvdata(dev); in jz4740_rtc_read_time() local 171 struct jz4740_rtc *rtc = dev_get_drvdata(dev); in jz4740_rtc_set_time() local 183 struct jz4740_rtc *rtc = dev_get_drvdata(dev); in jz4740_rtc_read_alarm() local 202 struct jz4740_rtc *rtc = dev_get_drvdata(dev); in jz4740_rtc_set_alarm() local [all …]
|
D | rtc-sh.c | 110 static int __sh_rtc_interrupt(struct sh_rtc *rtc) in __sh_rtc_interrupt() 126 static int __sh_rtc_alarm(struct sh_rtc *rtc) in __sh_rtc_alarm() 141 static int __sh_rtc_periodic(struct sh_rtc *rtc) in __sh_rtc_periodic() 167 struct sh_rtc *rtc = dev_id; in sh_rtc_interrupt() local 179 struct sh_rtc *rtc = dev_id; in sh_rtc_alarm() local 191 struct sh_rtc *rtc = dev_id; in sh_rtc_periodic() local 203 struct sh_rtc *rtc = dev_id; in sh_rtc_shared() local 217 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_setaie() local 236 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_proc() local 251 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_setcie() local [all …]
|
D | class.c | 28 struct rtc_device *rtc = to_rtc_device(dev); in rtc_device_release() local 59 static void rtc_hctosys(struct rtc_device *rtc) in rtc_hctosys() 103 struct rtc_device *rtc = to_rtc_device(dev); in rtc_suspend() local 148 struct rtc_device *rtc = to_rtc_device(dev); in rtc_resume() local 205 struct rtc_device *rtc; in rtc_allocate_device() local 270 static void rtc_device_get_offset(struct rtc_device *rtc) in rtc_device_get_offset() 339 struct rtc_device *rtc = data; in devm_rtc_unregister_device() local 355 struct rtc_device *rtc = res; in devm_rtc_release_device() local 362 struct rtc_device *rtc; in devm_rtc_allocate_device() local 389 int __devm_rtc_register_device(struct module *owner, struct rtc_device *rtc) in __devm_rtc_register_device() [all …]
|
D | rtc-da9055.c | 19 struct rtc_device *rtc; member 24 static int da9055_rtc_enable_alarm(struct da9055_rtc *rtc, bool enable) in da9055_rtc_enable_alarm() 48 struct da9055_rtc *rtc = data; in da9055_rtc_alm_irq() local 127 struct da9055_rtc *rtc = dev_get_drvdata(dev); in da9055_rtc_read_time() local 161 struct da9055_rtc *rtc; in da9055_rtc_set_time() local 180 struct da9055_rtc *rtc = dev_get_drvdata(dev); in da9055_rtc_read_alarm() local 196 struct da9055_rtc *rtc = dev_get_drvdata(dev); in da9055_rtc_set_alarm() local 213 struct da9055_rtc *rtc = dev_get_drvdata(dev); in da9055_rtc_alarm_irq_enable() local 268 struct da9055_rtc *rtc; in da9055_rtc_probe() local 321 struct da9055_rtc *rtc = dev_get_drvdata(&pdev->dev); in da9055_rtc_suspend() local [all …]
|
D | rtc-fsl-ftm-alarm.c | 64 static inline void ftm_counter_enable(struct ftm_rtc *rtc) in ftm_counter_enable() 75 static inline void ftm_counter_disable(struct ftm_rtc *rtc) in ftm_counter_disable() 85 static inline void ftm_irq_acknowledge(struct ftm_rtc *rtc) in ftm_irq_acknowledge() 114 static inline void ftm_irq_enable(struct ftm_rtc *rtc) in ftm_irq_enable() 123 static inline void ftm_irq_disable(struct ftm_rtc *rtc) in ftm_irq_disable() 132 static inline void ftm_reset_counter(struct ftm_rtc *rtc) in ftm_reset_counter() 142 static void ftm_clean_alarm(struct ftm_rtc *rtc) in ftm_clean_alarm() 154 struct ftm_rtc *rtc = dev; in ftm_rtc_alarm_interrupt() local 168 struct ftm_rtc *rtc = dev_get_drvdata(dev); in ftm_rtc_alarm_irq_enable() local 212 struct ftm_rtc *rtc = dev_get_drvdata(dev); in ftm_rtc_set_alarm() local [all …]
|
D | rtc-lpc32xx.c | 51 struct rtc_device *rtc; member 58 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_read_time() local 68 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_set_time() local 89 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_read_alarm() local 102 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_set_alarm() local 132 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_alarm_irq_enable() local 154 struct lpc32xx_rtc *rtc = dev; in lpc32xx_rtc_alarm_interrupt() local 188 struct lpc32xx_rtc *rtc; in lpc32xx_rtc_probe() local 270 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_suspend() local 284 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_resume() local [all …]
|
D | rtc-mt6397.c | 19 static int mtk_rtc_write_trigger(struct mt6397_rtc *rtc) in mtk_rtc_write_trigger() 42 struct mt6397_rtc *rtc = data; in mtk_rtc_irq_handler_thread() local 62 static int __mtk_rtc_read_time(struct mt6397_rtc *rtc, in __mtk_rtc_read_time() 90 struct mt6397_rtc *rtc = dev_get_drvdata(dev); in mtk_rtc_read_time() local 121 struct mt6397_rtc *rtc = dev_get_drvdata(dev); in mtk_rtc_set_time() local 152 struct mt6397_rtc *rtc = dev_get_drvdata(dev); in mtk_rtc_read_alarm() local 193 struct mt6397_rtc *rtc = dev_get_drvdata(dev); in mtk_rtc_set_alarm() local 264 struct mt6397_rtc *rtc; in mtk_rtc_probe() local 312 struct mt6397_rtc *rtc = dev_get_drvdata(dev); in mt6397_rtc_suspend() local 322 struct mt6397_rtc *rtc = dev_get_drvdata(dev); in mt6397_rtc_resume() local
|
D | rtc-rc5t619.c | 25 struct rtc_device *rtc; member 69 struct rc5t619_rtc *rtc = dev_get_drvdata(dev); in rc5t619_rtc_periodic_disable() local 91 struct rc5t619_rtc *rtc = dev_get_drvdata(dev); in rc5t619_rtc_pon_setup() local 118 struct rc5t619_rtc *rtc = dev_get_drvdata(dev); in rc5t619_rtc_read_time() local 164 struct rc5t619_rtc *rtc = dev_get_drvdata(dev); in rc5t619_rtc_set_time() local 216 struct rc5t619_rtc *rtc = dev_get_drvdata(dev); in rc5t619_rtc_alarm_enable() local 226 struct rc5t619_rtc *rtc = dev_get_drvdata(dev); in rc5t619_rtc_read_alarm() local 274 struct rc5t619_rtc *rtc = dev_get_drvdata(dev); in rc5t619_rtc_set_alarm() local 331 struct rc5t619_rtc *rtc = dev_get_drvdata(dev); in rc5t619_rtc_alarm_flag_clr() local 342 struct rc5t619_rtc *rtc = dev_get_drvdata(dev); in rc5t619_rtc_irq() local [all …]
|
D | rtc-pl030.c | 24 struct rtc_device *rtc; member 30 struct pl030_rtc *rtc = dev_id; in pl030_interrupt() local 37 struct pl030_rtc *rtc = dev_get_drvdata(dev); in pl030_read_alarm() local 45 struct pl030_rtc *rtc = dev_get_drvdata(dev); in pl030_set_alarm() local 54 struct pl030_rtc *rtc = dev_get_drvdata(dev); in pl030_read_time() local 71 struct pl030_rtc *rtc = dev_get_drvdata(dev); in pl030_set_time() local 87 struct pl030_rtc *rtc; in pl030_probe() local 142 struct pl030_rtc *rtc = amba_get_drvdata(dev); in pl030_remove() local
|
D | rtc-digicolor.c | 41 static int dc_rtc_cmds(struct dc_rtc *rtc, const u8 *cmds, int len) in dc_rtc_cmds() 59 static int dc_rtc_read(struct dc_rtc *rtc, unsigned long *val) in dc_rtc_read() 83 static int dc_rtc_write(struct dc_rtc *rtc, u32 val) in dc_rtc_write() 93 struct dc_rtc *rtc = dev_get_drvdata(dev); in dc_rtc_read_time() local 107 struct dc_rtc *rtc = dev_get_drvdata(dev); in dc_rtc_set_time() local 114 struct dc_rtc *rtc = dev_get_drvdata(dev); in dc_rtc_read_alarm() local 135 struct dc_rtc *rtc = dev_get_drvdata(dev); in dc_rtc_set_alarm() local 151 struct dc_rtc *rtc = dev_get_drvdata(dev); in dc_rtc_alarm_irq_enable() local 168 struct dc_rtc *rtc = dev_id; in dc_rtc_irq() local 178 struct dc_rtc *rtc; in dc_rtc_probe() local
|
D | rtc-stm32.c | 133 static void stm32_rtc_wpr_unlock(struct stm32_rtc *rtc) in stm32_rtc_wpr_unlock() 141 static void stm32_rtc_wpr_lock(struct stm32_rtc *rtc) in stm32_rtc_wpr_lock() 148 static int stm32_rtc_enter_init_mode(struct stm32_rtc *rtc) in stm32_rtc_enter_init_mode() 172 static void stm32_rtc_exit_init_mode(struct stm32_rtc *rtc) in stm32_rtc_exit_init_mode() 181 static int stm32_rtc_wait_sync(struct stm32_rtc *rtc) in stm32_rtc_wait_sync() 199 static void stm32_rtc_clear_event_flags(struct stm32_rtc *rtc, in stm32_rtc_clear_event_flags() 207 struct stm32_rtc *rtc = (struct stm32_rtc *)dev_id; in stm32_rtc_alarm_irq() local 272 struct stm32_rtc *rtc = dev_get_drvdata(dev); in stm32_rtc_read_time() local 298 struct stm32_rtc *rtc = dev_get_drvdata(dev); in stm32_rtc_set_time() local 338 struct stm32_rtc *rtc = dev_get_drvdata(dev); in stm32_rtc_read_alarm() local [all …]
|
D | rtc-st-lpc.c | 52 static void st_rtc_set_hw_alarm(struct st_rtc *rtc, in st_rtc_set_hw_alarm() 72 struct st_rtc *rtc = (struct st_rtc *)data; in st_rtc_handler() local 81 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_read_time() local 104 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_set_time() local 125 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_read_alarm() local 139 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_alarm_irq_enable() local 154 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_set_alarm() local 187 struct st_rtc *rtc; in st_rtc_probe() local 266 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_suspend() local 280 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_resume() local
|
D | rtc-cpcap.c | 51 static void cpcap2rtc_time(struct rtc_time *rtc, struct cpcap_time *cpcap) in cpcap2rtc_time() 62 static void rtc2cpcap_time(struct cpcap_time *cpcap, struct rtc_time *rtc) in rtc2cpcap_time() 76 struct cpcap_rtc *rtc = dev_get_drvdata(dev); in cpcap_rtc_alarm_irq_enable() local 93 struct cpcap_rtc *rtc; in cpcap_rtc_read_time() local 120 struct cpcap_rtc *rtc; in cpcap_rtc_set_time() local 171 struct cpcap_rtc *rtc; in cpcap_rtc_read_alarm() local 194 struct cpcap_rtc *rtc; in cpcap_rtc_set_alarm() local 230 struct cpcap_rtc *rtc = data; in cpcap_rtc_alarm_irq() local 238 struct cpcap_rtc *rtc = data; in cpcap_rtc_update_irq() local 247 struct cpcap_rtc *rtc; in cpcap_rtc_probe() local
|
D | rtc-pcf50633.c | 62 static void pcf2rtc_time(struct rtc_time *rtc, struct pcf50633_time *pcf) in pcf2rtc_time() 73 static void rtc2pcf_time(struct pcf50633_time *pcf, struct rtc_time *rtc) in rtc2pcf_time() 87 struct pcf50633_rtc *rtc = dev_get_drvdata(dev); in pcf50633_rtc_alarm_irq_enable() local 105 struct pcf50633_rtc *rtc; in pcf50633_rtc_read_time() local 136 struct pcf50633_rtc *rtc; in pcf50633_rtc_set_time() local 173 struct pcf50633_rtc *rtc; in pcf50633_rtc_read_alarm() local 196 struct pcf50633_rtc *rtc; in pcf50633_rtc_set_alarm() local 236 struct pcf50633_rtc *rtc = data; in pcf50633_rtc_irq() local 244 struct pcf50633_rtc *rtc; in pcf50633_rtc_probe() local 265 struct pcf50633_rtc *rtc; in pcf50633_rtc_remove() local
|
D | rtc-sc27xx.c | 104 struct rtc_device *rtc; member 126 static int sprd_rtc_clear_alarm_ints(struct sprd_rtc *rtc) in sprd_rtc_clear_alarm_ints() 132 static int sprd_rtc_lock_alarm(struct sprd_rtc *rtc, bool lock) in sprd_rtc_lock_alarm() 166 static int sprd_rtc_get_secs(struct sprd_rtc *rtc, enum sprd_rtc_reg_types type, in sprd_rtc_get_secs() 223 static int sprd_rtc_set_secs(struct sprd_rtc *rtc, enum sprd_rtc_reg_types type, in sprd_rtc_set_secs() 304 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_set_aux_alarm() local 334 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_read_time() local 353 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_set_time() local 385 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_read_alarm() local 416 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_set_alarm() local [all …]
|
D | rtc-mpc5121.c | 80 struct rtc_device *rtc; member 105 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_read_time() local 127 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_set_time() local 149 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5200_rtc_read_time() local 176 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5200_rtc_set_time() local 198 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_read_alarm() local 210 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_set_alarm() local 228 struct mpc5121_rtc_data *rtc = dev_get_drvdata((struct device *)dev); in mpc5121_rtc_handler() local 245 struct mpc5121_rtc_data *rtc = dev_get_drvdata((struct device *)dev); in mpc5121_rtc_handler_upd() local 262 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_alarm_irq_enable() local [all …]
|
D | rtc-rzn1.c | 67 static void rzn1_rtc_get_time_snapshot(struct rzn1_rtc *rtc, struct rtc_time *tm) in rzn1_rtc_get_time_snapshot() 93 struct rzn1_rtc *rtc = dev_get_drvdata(dev); in rzn1_rtc_read_time() local 122 struct rzn1_rtc *rtc = dev_get_drvdata(dev); in rzn1_rtc_set_time() local 161 struct rzn1_rtc *rtc = dev_id; in rzn1_rtc_alarm_irq() local 170 struct rzn1_rtc *rtc = dev_get_drvdata(dev); in rzn1_rtc_alarm_irq_enable() local 185 struct rzn1_rtc *rtc = dev_get_drvdata(dev); in rzn1_rtc_read_alarm() local 219 struct rzn1_rtc *rtc = dev_get_drvdata(dev); in rzn1_rtc_set_alarm() local 250 struct rzn1_rtc *rtc = dev_get_drvdata(dev); in rzn1_rtc_read_offset() local 272 struct rzn1_rtc *rtc = dev_get_drvdata(dev); in rzn1_rtc_set_offset() local 330 struct rzn1_rtc *rtc; in rzn1_rtc_probe() local
|