Lines Matching refs:h
65 volatile struct mostek_dt *h = in sun3x_hwclk() local
72 h->csr |= C_WRITE; in sun3x_hwclk()
73 h->sec = BIN_TO_BCD(t->tm_sec); in sun3x_hwclk()
74 h->min = BIN_TO_BCD(t->tm_min); in sun3x_hwclk()
75 h->hour = BIN_TO_BCD(t->tm_hour); in sun3x_hwclk()
76 h->wday = BIN_TO_BCD(t->tm_wday); in sun3x_hwclk()
77 h->mday = BIN_TO_BCD(t->tm_mday); in sun3x_hwclk()
78 h->month = BIN_TO_BCD(t->tm_mon); in sun3x_hwclk()
79 h->year = BIN_TO_BCD(t->tm_year); in sun3x_hwclk()
80 h->csr &= ~C_WRITE; in sun3x_hwclk()
82 h->csr |= C_READ; in sun3x_hwclk()
83 t->tm_sec = BCD_TO_BIN(h->sec); in sun3x_hwclk()
84 t->tm_min = BCD_TO_BIN(h->min); in sun3x_hwclk()
85 t->tm_hour = BCD_TO_BIN(h->hour); in sun3x_hwclk()
86 t->tm_wday = BCD_TO_BIN(h->wday); in sun3x_hwclk()
87 t->tm_mday = BCD_TO_BIN(h->mday); in sun3x_hwclk()
88 t->tm_mon = BCD_TO_BIN(h->month); in sun3x_hwclk()
89 t->tm_year = BCD_TO_BIN(h->year); in sun3x_hwclk()
90 h->csr &= ~C_READ; in sun3x_hwclk()