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