Lines Matching refs:tseq

70 	uint8_t tseq[91];  in hp_sdc_rtc_do_read_bbrtc()  local
75 tseq[i++] = HP_SDC_ACT_DATAREG | in hp_sdc_rtc_do_read_bbrtc()
77 tseq[i++] = 0x01; /* write i8042[0x70] */ in hp_sdc_rtc_do_read_bbrtc()
78 tseq[i] = i / 7; /* BBRTC reg address */ in hp_sdc_rtc_do_read_bbrtc()
80 tseq[i++] = HP_SDC_CMD_DO_RTCR; /* Trigger command */ in hp_sdc_rtc_do_read_bbrtc()
81 tseq[i++] = 2; /* expect 1 stat/dat pair back. */ in hp_sdc_rtc_do_read_bbrtc()
84 tseq[84] |= HP_SDC_ACT_SEMAPHORE; in hp_sdc_rtc_do_read_bbrtc()
86 t.seq = tseq; in hp_sdc_rtc_do_read_bbrtc()
97 if (!((tseq[83] | tseq[90] | tseq[69] | tseq[76] | in hp_sdc_rtc_do_read_bbrtc()
98 tseq[55] | tseq[62] | tseq[34] | tseq[41] | in hp_sdc_rtc_do_read_bbrtc()
99 tseq[20] | tseq[27] | tseq[6] | tseq[13]) & 0x0f)) in hp_sdc_rtc_do_read_bbrtc()
103 rtctm->tm_year = (tseq[83] & 0x0f) + (tseq[90] & 0x0f) * 10; in hp_sdc_rtc_do_read_bbrtc()
104 rtctm->tm_mon = (tseq[69] & 0x0f) + (tseq[76] & 0x0f) * 10; in hp_sdc_rtc_do_read_bbrtc()
105 rtctm->tm_mday = (tseq[55] & 0x0f) + (tseq[62] & 0x0f) * 10; in hp_sdc_rtc_do_read_bbrtc()
106 rtctm->tm_wday = (tseq[48] & 0x0f); in hp_sdc_rtc_do_read_bbrtc()
107 rtctm->tm_hour = (tseq[34] & 0x0f) + (tseq[41] & 0x0f) * 10; in hp_sdc_rtc_do_read_bbrtc()
108 rtctm->tm_min = (tseq[20] & 0x0f) + (tseq[27] & 0x0f) * 10; in hp_sdc_rtc_do_read_bbrtc()
109 rtctm->tm_sec = (tseq[6] & 0x0f) + (tseq[13] & 0x0f) * 10; in hp_sdc_rtc_do_read_bbrtc()
139 uint8_t tseq[26] = { in hp_sdc_rtc_read_i8042timer() local
155 tseq[1] = loadcmd; in hp_sdc_rtc_read_i8042timer()
156 tseq[t.endidx - 4] |= HP_SDC_ACT_SEMAPHORE; /* numreg assumed > 1 */ in hp_sdc_rtc_read_i8042timer()
158 t.seq = tseq; in hp_sdc_rtc_read_i8042timer()
176 return (tseq[5] | in hp_sdc_rtc_read_i8042timer()
177 ((uint64_t)(tseq[10]) << 8) | ((uint64_t)(tseq[15]) << 16) | in hp_sdc_rtc_read_i8042timer()
178 ((uint64_t)(tseq[20]) << 24) | ((uint64_t)(tseq[25]) << 32)); in hp_sdc_rtc_read_i8042timer()