Lines Matching defs:ds1307

170 struct ds1307 {  struct
193 u8 (*do_trickle_setup)(struct ds1307 *, u32, argument
210 struct ds1307 *ds1307 = dev_get_drvdata(dev); in ds1307_get_time() local
321 struct ds1307 *ds1307 = dev_get_drvdata(dev); in ds1307_set_time() local
415 struct ds1307 *ds1307 = dev_get_drvdata(dev); in ds1337_read_alarm() local
454 struct ds1307 *ds1307 = dev_get_drvdata(dev); in ds1337_set_alarm() local
512 struct ds1307 *ds1307 = dev_get_drvdata(dev); in ds1307_alarm_irq_enable() local
519 static u8 do_trickle_setup_ds1339(struct ds1307 *ds1307, u32 ohms, bool diode) in do_trickle_setup_ds1339()
544 static u8 do_trickle_setup_rx8130(struct ds1307 *ds1307, u32 ohms, bool diode) in do_trickle_setup_rx8130()
556 struct ds1307 *ds1307 = dev_id; in rx8130_irq() local
587 struct ds1307 *ds1307 = dev_get_drvdata(dev); in rx8130_read_alarm() local
626 struct ds1307 *ds1307 = dev_get_drvdata(dev); in rx8130_set_alarm() local
671 struct ds1307 *ds1307 = dev_get_drvdata(dev); in rx8130_alarm_irq_enable() local
688 struct ds1307 *ds1307 = dev_id; in mcp794xx_irq() local
721 struct ds1307 *ds1307 = dev_get_drvdata(dev); in mcp794xx_read_alarm() local
776 struct ds1307 *ds1307 = dev_get_drvdata(dev); in mcp794xx_set_alarm() local
824 struct ds1307 *ds1307 = dev_get_drvdata(dev); in mcp794xx_alarm_irq_enable() local
833 struct ds1307 *ds1307 = dev_get_drvdata(dev); in m41txx_rtc_read_offset() local
852 struct ds1307 *ds1307 = dev_get_drvdata(dev); in m41txx_rtc_set_offset() local
875 struct ds1307 *ds1307 = watchdog_get_drvdata(wdt_dev); in ds1388_wdt_start() local
908 struct ds1307 *ds1307 = watchdog_get_drvdata(wdt_dev); in ds1388_wdt_stop() local
916 struct ds1307 *ds1307 = watchdog_get_drvdata(wdt_dev); in ds1388_wdt_ping() local
926 struct ds1307 *ds1307 = watchdog_get_drvdata(wdt_dev); in ds1388_wdt_set_timeout() local
1155 struct ds1307 *ds1307 = dev_id; in ds1307_irq() local
1196 struct ds1307 *ds1307 = dev_get_drvdata(dev->parent); in frequency_test_store() local
1216 struct ds1307 *ds1307 = dev_get_drvdata(dev->parent); in frequency_test_show() local
1236 static int ds1307_add_frequency_test(struct ds1307 *ds1307) in ds1307_add_frequency_test()
1260 struct ds1307 *ds1307 = priv; in ds1307_nvram_read() local
1270 struct ds1307 *ds1307 = priv; in ds1307_nvram_write() local
1279 static u8 ds1307_trickle_init(struct ds1307 *ds1307, in ds1307_trickle_init()
1333 struct ds1307 *ds1307 = dev_get_drvdata(dev); in ds3231_hwmon_read_temp() local
1374 static void ds1307_hwmon_register(struct ds1307 *ds1307) in ds1307_hwmon_register()
1392 static void ds1307_hwmon_register(struct ds1307 *ds1307) in ds1307_hwmon_register()
1423 static int ds1337_write_control(struct ds1307 *ds1307, u8 mask, u8 value) in ds1337_write_control()
1439 struct ds1307 *ds1307 = clk_sqw_to_ds1307(hw); in ds3231_clk_sqw_recalc_rate() local
1470 struct ds1307 *ds1307 = clk_sqw_to_ds1307(hw); in ds3231_clk_sqw_set_rate() local
1494 struct ds1307 *ds1307 = clk_sqw_to_ds1307(hw); in ds3231_clk_sqw_prepare() local
1501 struct ds1307 *ds1307 = clk_sqw_to_ds1307(hw); in ds3231_clk_sqw_unprepare() local
1508 struct ds1307 *ds1307 = clk_sqw_to_ds1307(hw); in ds3231_clk_sqw_is_prepared() local
1533 static int ds3231_clk_32khz_control(struct ds1307 *ds1307, bool enable) in ds3231_clk_32khz_control()
1549 struct ds1307 *ds1307 = clk_32khz_to_ds1307(hw); in ds3231_clk_32khz_prepare() local
1556 struct ds1307 *ds1307 = clk_32khz_to_ds1307(hw); in ds3231_clk_32khz_unprepare() local
1563 struct ds1307 *ds1307 = clk_32khz_to_ds1307(hw); in ds3231_clk_32khz_is_prepared() local
1594 static int ds3231_clks_register(struct ds1307 *ds1307) in ds3231_clks_register()
1640 static void ds1307_clks_register(struct ds1307 *ds1307) in ds1307_clks_register()
1656 static void ds1307_clks_register(struct ds1307 *ds1307) in ds1307_clks_register()
1677 static void ds1307_wdt_register(struct ds1307 *ds1307) in ds1307_wdt_register()
1705 static void ds1307_wdt_register(struct ds1307 *ds1307) in ds1307_wdt_register()
1718 struct ds1307 *ds1307; in ds1307_probe() local