Searched refs:mostek48t02 (Results 1 – 2 of 2) sorted by relevance
54 struct mostek48t02 { struct97 #define MSTK_GET(regs,var,mask) (MSTK_REGVAL_TO_DECIMAL(((struct mostek48t02 *)regs)->var & MSTK_ #…98 …SET(regs,var,value,mask) do { ((struct mostek48t02 *)regs)->var &= ~(MSTK_ ## mask ## _MASK); ((st…104 #define MSTK_REG_CREG(regs) (((struct mostek48t02 *)regs)->creg)128 struct mostek48t02 regs; /* Here is what we are interested in. */
156 struct mostek48t02 *regs = (struct mostek48t02 *)mstk48t02_regs; in kick_start_clock()216 struct mostek48t02 *regs = (struct mostek48t02 *)mstk48t02_regs; in has_low_battery()241 sizeof(struct mostek48t02), 0); in sun4_clock_probe()329 sizeof(struct mostek48t02), "mk48t02"); in clock_probe()367 struct mostek48t02 *mregs; in sbus_time_init()387 mregs = (struct mostek48t02 *)mstk48t02_regs; in sbus_time_init()540 struct mostek48t02 *regs = (struct mostek48t02 *)mstk48t02_regs; in set_rtc_mmss()