Searched refs:rtctm (Results 1 - 1 of 1) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/input/misc/
H A Dhp_sdc_rtc.c84 static int hp_sdc_rtc_do_read_bbrtc (struct rtc_time *rtctm) argument
118 memset(rtctm, 0, sizeof(struct rtc_time));
119 rtctm->tm_year = (tseq[83] & 0x0f) + (tseq[90] & 0x0f) * 10;
120 rtctm->tm_mon = (tseq[69] & 0x0f) + (tseq[76] & 0x0f) * 10;
121 rtctm->tm_mday = (tseq[55] & 0x0f) + (tseq[62] & 0x0f) * 10;
122 rtctm->tm_wday = (tseq[48] & 0x0f);
123 rtctm->tm_hour = (tseq[34] & 0x0f) + (tseq[41] & 0x0f) * 10;
124 rtctm->tm_min = (tseq[20] & 0x0f) + (tseq[27] & 0x0f) * 10;
125 rtctm->tm_sec = (tseq[6] & 0x0f) + (tseq[13] & 0x0f) * 10;
130 static int hp_sdc_rtc_read_bbrtc (struct rtc_time *rtctm) argument
[all...]

Completed in 23 milliseconds