/linux-4.19.296/drivers/rtc/ |
D | interface.c | 26 static void rtc_add_offset(struct rtc_device *rtc, struct rtc_time *tm) in rtc_add_offset() 49 static void rtc_subtract_offset(struct rtc_device *rtc, struct rtc_time *tm) in rtc_subtract_offset() 70 static int rtc_valid_range(struct rtc_device *rtc, struct rtc_time *tm) in rtc_valid_range() 87 static int __rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in __rtc_read_time() 112 int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_read_time() 128 int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_set_time() 187 static int rtc_read_alarm_internal(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in rtc_read_alarm_internal() 220 int __rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in __rtc_read_alarm() 398 int rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in rtc_read_alarm() 421 static int __rtc_set_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in __rtc_set_alarm() [all …]
|
D | rtc-da9052.c | 24 #define rtc_err(rtc, fmt, ...) \ argument 30 struct rtc_device *rtc; member 34 static int da9052_rtc_enable_alarm(struct da9052_rtc *rtc, bool enable) in da9052_rtc_enable_alarm() 54 struct da9052_rtc *rtc = data; in da9052_rtc_irq() local 61 static int da9052_read_alarm(struct da9052_rtc *rtc, struct rtc_time *rtc_tm) in da9052_read_alarm() 104 static int da9052_set_alarm(struct da9052_rtc *rtc, struct rtc_time *rtc_tm) in da9052_set_alarm() 147 static int da9052_rtc_get_alarm_status(struct da9052_rtc *rtc) in da9052_rtc_get_alarm_status() 162 struct da9052_rtc *rtc = dev_get_drvdata(dev); in da9052_rtc_read_time() local 205 struct da9052_rtc *rtc; in da9052_rtc_set_time() local 232 struct da9052_rtc *rtc = dev_get_drvdata(dev); in da9052_rtc_read_alarm() local [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() 79 ds1685_rtc_bcd2bin(struct ds1685_priv *rtc, u8 val, u8 bcd_mask, u8 bin_mask) in ds1685_rtc_bcd2bin() 97 ds1685_rtc_bin2bcd(struct ds1685_priv *rtc, u8 val, u8 bin_mask, u8 bcd_mask) in ds1685_rtc_bin2bcd() 113 ds1685_rtc_check_mday(struct ds1685_priv *rtc, u8 mday) in ds1685_rtc_check_mday() 130 ds1685_rtc_switch_to_bank0(struct ds1685_priv *rtc) in ds1685_rtc_switch_to_bank0() 141 ds1685_rtc_switch_to_bank1(struct ds1685_priv *rtc) in ds1685_rtc_switch_to_bank1() 161 ds1685_rtc_begin_data_access(struct ds1685_priv *rtc) in ds1685_rtc_begin_data_access() 184 ds1685_rtc_end_data_access(struct ds1685_priv *rtc) in ds1685_rtc_end_data_access() 208 ds1685_rtc_begin_ctrl_access(struct ds1685_priv *rtc, unsigned long *flags) in ds1685_rtc_begin_ctrl_access() [all …]
|
D | rtc-dev.c | 27 struct rtc_device *rtc = container_of(inode->i_cdev, in rtc_dev_open() local 49 struct rtc_device *rtc = in rtc_uie_task() local 76 struct rtc_device *rtc = from_timer(rtc, t, uie_timer); in rtc_uie_timer() local 87 static int clear_uie(struct rtc_device *rtc) in clear_uie() 109 static int set_uie(struct rtc_device *rtc) in set_uie() 131 int rtc_dev_update_irq_enable_emul(struct rtc_device *rtc, unsigned int enabled) in rtc_dev_update_irq_enable_emul() 145 struct rtc_device *rtc = file->private_data; in rtc_dev_read() local 199 struct rtc_device *rtc = file->private_data; in rtc_dev_poll() local 213 struct rtc_device *rtc = file->private_data; in rtc_dev_ioctl() local 410 struct rtc_device *rtc = file->private_data; in rtc_dev_fasync() local [all …]
|
D | rtc-at91sam9.c | 86 #define rtt_readl(rtc, field) \ argument 88 #define rtt_writel(rtc, field, val) \ argument 91 static inline unsigned int gpbr_readl(struct sam9_rtc *rtc) in gpbr_readl() 100 static inline void gpbr_writel(struct sam9_rtc *rtc, unsigned int val) in gpbr_writel() 110 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_readtime() local 139 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_settime() local 189 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_readalarm() local 215 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_setalarm() local 254 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_alarm_irq_enable() local 270 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_proc() local [all …]
|
D | class.c | 32 struct rtc_device *rtc = to_rtc_device(dev); in rtc_device_release() local 53 struct rtc_device *rtc = to_rtc_device(dev); in rtc_suspend() local 99 struct rtc_device *rtc = to_rtc_device(dev); in rtc_resume() local 156 struct rtc_device *rtc; in rtc_allocate_device() local 213 static void rtc_device_get_offset(struct rtc_device *rtc) in rtc_device_get_offset() 293 struct rtc_device *rtc; in rtc_device_register() local 362 void rtc_device_unregister(struct rtc_device *rtc) in rtc_device_unregister() 379 struct rtc_device *rtc = *(struct rtc_device **)res; in devm_rtc_device_release() local 411 struct rtc_device **ptr, *rtc; in devm_rtc_device_register() local 438 void devm_rtc_device_unregister(struct device *dev, struct rtc_device *rtc) in devm_rtc_device_unregister() [all …]
|
D | rtc-lpc32xx.c | 61 struct rtc_device *rtc; member 68 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_read_time() local 78 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_set_mmss() local 98 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_read_alarm() local 111 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_set_alarm() local 146 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_alarm_irq_enable() local 168 struct lpc32xx_rtc *rtc = dev; in lpc32xx_rtc_alarm_interrupt() local 203 struct lpc32xx_rtc *rtc; in lpc32xx_rtc_probe() local 286 struct lpc32xx_rtc *rtc = platform_get_drvdata(pdev); in lpc32xx_rtc_remove() local 297 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_suspend() local [all …]
|
D | rtc-jz4740.c | 64 struct rtc_device *rtc; member 77 static inline uint32_t jz4740_rtc_reg_read(struct jz4740_rtc *rtc, size_t reg) in jz4740_rtc_reg_read() 82 static int jz4740_rtc_wait_write_ready(struct jz4740_rtc *rtc) in jz4740_rtc_wait_write_ready() 94 static inline int jz4780_rtc_enable_write(struct jz4740_rtc *rtc) in jz4780_rtc_enable_write() 112 static inline int jz4740_rtc_reg_write(struct jz4740_rtc *rtc, size_t reg, in jz4740_rtc_reg_write() 127 static int jz4740_rtc_ctrl_set_bits(struct jz4740_rtc *rtc, uint32_t mask, in jz4740_rtc_ctrl_set_bits() 155 struct jz4740_rtc *rtc = dev_get_drvdata(dev); in jz4740_rtc_read_time() local 181 struct jz4740_rtc *rtc = dev_get_drvdata(dev); in jz4740_rtc_set_mmss() local 188 struct jz4740_rtc *rtc = dev_get_drvdata(dev); in jz4740_rtc_read_alarm() local 207 struct jz4740_rtc *rtc = dev_get_drvdata(dev); in jz4740_rtc_set_alarm() local [all …]
|
D | rtc-da9055.c | 24 struct rtc_device *rtc; member 29 static int da9055_rtc_enable_alarm(struct da9055_rtc *rtc, bool enable) in da9055_rtc_enable_alarm() 53 struct da9055_rtc *rtc = data; in da9055_rtc_alm_irq() local 132 struct da9055_rtc *rtc = dev_get_drvdata(dev); in da9055_rtc_read_time() local 166 struct da9055_rtc *rtc; in da9055_rtc_set_time() local 185 struct da9055_rtc *rtc = dev_get_drvdata(dev); in da9055_rtc_read_alarm() local 201 struct da9055_rtc *rtc = dev_get_drvdata(dev); in da9055_rtc_set_alarm() local 218 struct da9055_rtc *rtc = dev_get_drvdata(dev); in da9055_rtc_alarm_irq_enable() local 273 struct da9055_rtc *rtc; in da9055_rtc_probe() local 326 struct da9055_rtc *rtc = dev_get_drvdata(&pdev->dev); in da9055_rtc_suspend() local [all …]
|
D | rtc-omap.c | 146 struct rtc_device *rtc; member 159 static inline u8 rtc_read(struct omap_rtc *rtc, unsigned int reg) in rtc_read() 164 static inline u32 rtc_readl(struct omap_rtc *rtc, unsigned int reg) in rtc_readl() 169 static inline void rtc_write(struct omap_rtc *rtc, unsigned int reg, u8 val) in rtc_write() 174 static inline void rtc_writel(struct omap_rtc *rtc, unsigned int reg, u32 val) in rtc_writel() 179 static void am3352_rtc_unlock(struct omap_rtc *rtc) in am3352_rtc_unlock() 185 static void am3352_rtc_lock(struct omap_rtc *rtc) in am3352_rtc_lock() 191 static void default_rtc_unlock(struct omap_rtc *rtc) in default_rtc_unlock() 195 static void default_rtc_lock(struct omap_rtc *rtc) in default_rtc_lock() 204 static void rtc_wait_not_busy(struct omap_rtc *rtc) in rtc_wait_not_busy() [all …]
|
D | rtc-pl030.c | 27 struct rtc_device *rtc; member 33 struct pl030_rtc *rtc = dev_id; in pl030_interrupt() local 40 struct pl030_rtc *rtc = dev_get_drvdata(dev); in pl030_read_alarm() local 48 struct pl030_rtc *rtc = dev_get_drvdata(dev); in pl030_set_alarm() local 65 struct pl030_rtc *rtc = dev_get_drvdata(dev); in pl030_read_time() local 82 struct pl030_rtc *rtc = dev_get_drvdata(dev); in pl030_set_time() local 102 struct pl030_rtc *rtc; in pl030_probe() local 156 struct pl030_rtc *rtc = amba_get_drvdata(dev); in pl030_remove() local
|
D | rtc-armada38x.c | 109 static void rtc_delayed_write(u32 val, struct armada38x_rtc *rtc, int offset) in rtc_delayed_write() 118 static void rtc_update_38x_mbus_timing_params(struct armada38x_rtc *rtc) in rtc_update_38x_mbus_timing_params() 130 static void rtc_update_8k_mbus_timing_params(struct armada38x_rtc *rtc) in rtc_update_8k_mbus_timing_params() 147 static u32 read_rtc_register(struct armada38x_rtc *rtc, u8 rtc_reg) in read_rtc_register() 152 static u32 read_rtc_register_38x_wa(struct armada38x_rtc *rtc, u8 rtc_reg) in read_rtc_register_38x_wa() 194 static void armada38x_clear_isr(struct armada38x_rtc *rtc) in armada38x_clear_isr() 201 static void armada38x_unmask_interrupt(struct armada38x_rtc *rtc) in armada38x_unmask_interrupt() 208 static void armada8k_clear_isr(struct armada38x_rtc *rtc) in armada8k_clear_isr() 213 static void armada8k_unmask_interrupt(struct armada38x_rtc *rtc) in armada8k_unmask_interrupt() 220 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_read_time() local [all …]
|
D | rtc-sh.c | 113 static int __sh_rtc_interrupt(struct sh_rtc *rtc) in __sh_rtc_interrupt() 129 static int __sh_rtc_alarm(struct sh_rtc *rtc) in __sh_rtc_alarm() 144 static int __sh_rtc_periodic(struct sh_rtc *rtc) in __sh_rtc_periodic() 170 struct sh_rtc *rtc = dev_id; in sh_rtc_interrupt() local 182 struct sh_rtc *rtc = dev_id; in sh_rtc_alarm() local 194 struct sh_rtc *rtc = dev_id; in sh_rtc_periodic() local 206 struct sh_rtc *rtc = dev_id; in sh_rtc_shared() local 220 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_setaie() local 239 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_proc() local 254 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_setcie() local [all …]
|
D | nvmem.c | 28 struct rtc_device *rtc = attr->private; in rtc_nvram_read() local 40 struct rtc_device *rtc = attr->private; in rtc_nvram_write() local 47 static int rtc_nvram_register(struct rtc_device *rtc, size_t size) in rtc_nvram_register() 77 static void rtc_nvram_unregister(struct rtc_device *rtc) in rtc_nvram_unregister() 85 int rtc_nvmem_register(struct rtc_device *rtc, in rtc_nvmem_register() 108 void rtc_nvmem_unregister(struct rtc_device *rtc) in rtc_nvmem_unregister()
|
D | rtc-core.h | 18 static inline void rtc_dev_prepare(struct rtc_device *rtc) in rtc_dev_prepare() 31 static inline void rtc_proc_add_device(struct rtc_device *rtc) in rtc_proc_add_device() 35 static inline void rtc_proc_del_device(struct rtc_device *rtc) in rtc_proc_del_device() 52 int rtc_add_group(struct rtc_device *rtc, const struct attribute_group *grp) in rtc_add_group() 58 int rtc_add_groups(struct rtc_device *rtc, const struct attribute_group **grps) in rtc_add_groups()
|
D | rtc-proc.c | 24 static bool is_rtc_hctosys(struct rtc_device *rtc) in is_rtc_hctosys() 36 static bool is_rtc_hctosys(struct rtc_device *rtc) in is_rtc_hctosys() 45 struct rtc_device *rtc = seq->private; in rtc_proc_show() local 110 void rtc_proc_add_device(struct rtc_device *rtc) in rtc_proc_add_device() 117 void rtc_proc_del_device(struct rtc_device *rtc) in rtc_proc_del_device()
|
D | rtc-digicolor.c | 45 static int dc_rtc_cmds(struct dc_rtc *rtc, const u8 *cmds, int len) in dc_rtc_cmds() 63 static int dc_rtc_read(struct dc_rtc *rtc, unsigned long *val) in dc_rtc_read() 87 static int dc_rtc_write(struct dc_rtc *rtc, u32 val) in dc_rtc_write() 97 struct dc_rtc *rtc = dev_get_drvdata(dev); in dc_rtc_read_time() local 111 struct dc_rtc *rtc = dev_get_drvdata(dev); in dc_rtc_set_mmss() local 118 struct dc_rtc *rtc = dev_get_drvdata(dev); in dc_rtc_read_alarm() local 139 struct dc_rtc *rtc = dev_get_drvdata(dev); in dc_rtc_set_alarm() local 155 struct dc_rtc *rtc = dev_get_drvdata(dev); in dc_rtc_alarm_irq_enable() local 172 struct dc_rtc *rtc = dev_id; in dc_rtc_irq() local 183 struct dc_rtc *rtc; in dc_rtc_probe() local
|
D | rtc-cpcap.c | 59 static void cpcap2rtc_time(struct rtc_time *rtc, struct cpcap_time *cpcap) in cpcap2rtc_time() 70 static void rtc2cpcap_time(struct cpcap_time *cpcap, struct rtc_time *rtc) in rtc2cpcap_time() 84 struct cpcap_rtc *rtc = dev_get_drvdata(dev); in cpcap_rtc_alarm_irq_enable() local 101 struct cpcap_rtc *rtc; in cpcap_rtc_read_time() local 128 struct cpcap_rtc *rtc; in cpcap_rtc_set_time() local 179 struct cpcap_rtc *rtc; in cpcap_rtc_read_alarm() local 202 struct cpcap_rtc *rtc; in cpcap_rtc_set_alarm() local 238 struct cpcap_rtc *rtc = data; in cpcap_rtc_alarm_irq() local 246 struct cpcap_rtc *rtc = data; in cpcap_rtc_update_irq() local 255 struct cpcap_rtc *rtc; in cpcap_rtc_probe() local
|
D | rtc-pcf50633.c | 67 static void pcf2rtc_time(struct rtc_time *rtc, struct pcf50633_time *pcf) in pcf2rtc_time() 78 static void rtc2pcf_time(struct pcf50633_time *pcf, struct rtc_time *rtc) in rtc2pcf_time() 92 struct pcf50633_rtc *rtc = dev_get_drvdata(dev); in pcf50633_rtc_alarm_irq_enable() local 110 struct pcf50633_rtc *rtc; in pcf50633_rtc_read_time() local 143 struct pcf50633_rtc *rtc; in pcf50633_rtc_set_time() local 182 struct pcf50633_rtc *rtc; in pcf50633_rtc_read_alarm() local 205 struct pcf50633_rtc *rtc; in pcf50633_rtc_set_alarm() local 245 struct pcf50633_rtc *rtc = data; in pcf50633_rtc_irq() local 253 struct pcf50633_rtc *rtc; in pcf50633_rtc_probe() local 274 struct pcf50633_rtc *rtc; in pcf50633_rtc_remove() local
|
D | rtc-st-lpc.c | 57 static void st_rtc_set_hw_alarm(struct st_rtc *rtc, in st_rtc_set_hw_alarm() 77 struct st_rtc *rtc = (struct st_rtc *)data; in st_rtc_handler() local 86 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_read_time() local 109 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_set_time() local 130 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_read_alarm() local 144 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_alarm_irq_enable() local 159 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_set_alarm() local 196 struct st_rtc *rtc; in st_rtc_probe() local 277 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_suspend() local 291 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_resume() 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_disable_ints(struct sprd_rtc *rtc) in sprd_rtc_disable_ints() 145 static int sprd_rtc_lock_alarm(struct sprd_rtc *rtc, bool lock) in sprd_rtc_lock_alarm() 178 static int sprd_rtc_get_secs(struct sprd_rtc *rtc, enum sprd_rtc_reg_types type, in sprd_rtc_get_secs() 235 static int sprd_rtc_set_secs(struct sprd_rtc *rtc, enum sprd_rtc_reg_types type, in sprd_rtc_set_secs() 316 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_read_aux_alarm() local 343 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_set_aux_alarm() local 373 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_read_time() local 392 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_set_time() local [all …]
|
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-mt6397.c | 83 static int mtk_rtc_write_trigger(struct mt6397_rtc *rtc) in mtk_rtc_write_trigger() 112 struct mt6397_rtc *rtc = data; in mtk_rtc_irq_handler_thread() local 132 static int __mtk_rtc_read_time(struct mt6397_rtc *rtc, in __mtk_rtc_read_time() 160 struct mt6397_rtc *rtc = dev_get_drvdata(dev); in mtk_rtc_read_time() local 191 struct mt6397_rtc *rtc = dev_get_drvdata(dev); in mtk_rtc_set_time() local 222 struct mt6397_rtc *rtc = dev_get_drvdata(dev); in mtk_rtc_read_alarm() local 263 struct mt6397_rtc *rtc = dev_get_drvdata(dev); in mtk_rtc_set_alarm() local 334 struct mt6397_rtc *rtc; in mtk_rtc_probe() local 389 struct mt6397_rtc *rtc = platform_get_drvdata(pdev); in mtk_rtc_remove() local 399 struct mt6397_rtc *rtc = dev_get_drvdata(dev); in mt6397_rtc_suspend() local [all …]
|
D | rtc-mpc5121.c | 83 struct rtc_device *rtc; member 108 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_read_time() local 130 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_set_time() local 154 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5200_rtc_read_time() local 181 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5200_rtc_set_time() local 203 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_read_alarm() local 215 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_set_alarm() local 247 struct mpc5121_rtc_data *rtc = dev_get_drvdata((struct device *)dev); in mpc5121_rtc_handler() local 264 struct mpc5121_rtc_data *rtc = dev_get_drvdata((struct device *)dev); in mpc5121_rtc_handler_upd() local 281 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_alarm_irq_enable() local [all …]
|
D | rtc-lpc24xx.c | 69 struct rtc_device *rtc; member 76 struct lpc24xx_rtc *rtc = dev_get_drvdata(dev); in lpc24xx_rtc_set_time() local 97 struct lpc24xx_rtc *rtc = dev_get_drvdata(dev); in lpc24xx_rtc_read_time() local 118 struct lpc24xx_rtc *rtc = dev_get_drvdata(dev); in lpc24xx_rtc_read_alarm() local 138 struct lpc24xx_rtc *rtc = dev_get_drvdata(dev); in lpc24xx_rtc_set_alarm() local 161 struct lpc24xx_rtc *rtc = dev_get_drvdata(dev); in lpc24xx_rtc_alarm_irq_enable() local 174 struct lpc24xx_rtc *rtc = data; in lpc24xx_rtc_interrupt() local 201 struct lpc24xx_rtc *rtc; in lpc24xx_rtc_probe() local 278 struct lpc24xx_rtc *rtc = platform_get_drvdata(pdev); in lpc24xx_rtc_remove() local
|