Searched refs:ds1603 (Results 1 – 4 of 4) sorted by relevance
21 struct ds_defs *ds1603; variable26 *ds1603->reg = val; in rtc_reg_write()31 unsigned long tmp = *ds1603->reg; in rtc_reg_read()37 unsigned long tmp = *ds1603->data_reg; in rtc_datareg_read()43 rtc_reg_write(rtc_reg_read() | ds1603->rst); in rtc_nrst_high()48 rtc_reg_write(rtc_reg_read() & ~ds1603->rst); in rtc_nrst_low()53 data |= ds1603->clk; in rtc_cycle_clock()56 if (ds1603->data_reversed) in rtc_cycle_clock()57 data &= ~ds1603->data; in rtc_cycle_clock()59 data |= ds1603->data; in rtc_cycle_clock()[all …]
21 extern struct ds_defs *ds1603;
9 obj-$(CONFIG_DS1603) += ds1603.o
145 ds1603 = &ds_defs[lasat_type]; in plat_mem_setup()