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

/linux-4.4.14/drivers/input/misc/
H A Dhp_sdc_rtc.c88 uint8_t tseq[91]; hp_sdc_rtc_do_read_bbrtc() local
93 tseq[i++] = HP_SDC_ACT_DATAREG | hp_sdc_rtc_do_read_bbrtc()
95 tseq[i++] = 0x01; /* write i8042[0x70] */ hp_sdc_rtc_do_read_bbrtc()
96 tseq[i] = i / 7; /* BBRTC reg address */ hp_sdc_rtc_do_read_bbrtc()
98 tseq[i++] = HP_SDC_CMD_DO_RTCR; /* Trigger command */ hp_sdc_rtc_do_read_bbrtc()
99 tseq[i++] = 2; /* expect 1 stat/dat pair back. */ hp_sdc_rtc_do_read_bbrtc()
102 tseq[84] |= HP_SDC_ACT_SEMAPHORE; hp_sdc_rtc_do_read_bbrtc()
104 t.seq = tseq; hp_sdc_rtc_do_read_bbrtc()
115 if (!((tseq[83] | tseq[90] | tseq[69] | tseq[76] | hp_sdc_rtc_do_read_bbrtc()
116 tseq[55] | tseq[62] | tseq[34] | tseq[41] | hp_sdc_rtc_do_read_bbrtc()
117 tseq[20] | tseq[27] | tseq[6] | tseq[13]) & 0x0f)) hp_sdc_rtc_do_read_bbrtc()
121 rtctm->tm_year = (tseq[83] & 0x0f) + (tseq[90] & 0x0f) * 10; hp_sdc_rtc_do_read_bbrtc()
122 rtctm->tm_mon = (tseq[69] & 0x0f) + (tseq[76] & 0x0f) * 10; hp_sdc_rtc_do_read_bbrtc()
123 rtctm->tm_mday = (tseq[55] & 0x0f) + (tseq[62] & 0x0f) * 10; hp_sdc_rtc_do_read_bbrtc()
124 rtctm->tm_wday = (tseq[48] & 0x0f); hp_sdc_rtc_do_read_bbrtc()
125 rtctm->tm_hour = (tseq[34] & 0x0f) + (tseq[41] & 0x0f) * 10; hp_sdc_rtc_do_read_bbrtc()
126 rtctm->tm_min = (tseq[20] & 0x0f) + (tseq[27] & 0x0f) * 10; hp_sdc_rtc_do_read_bbrtc()
127 rtctm->tm_sec = (tseq[6] & 0x0f) + (tseq[13] & 0x0f) * 10; hp_sdc_rtc_do_read_bbrtc()
157 uint8_t tseq[26] = { hp_sdc_rtc_read_i8042timer() local
173 tseq[1] = loadcmd; hp_sdc_rtc_read_i8042timer()
174 tseq[t.endidx - 4] |= HP_SDC_ACT_SEMAPHORE; /* numreg assumed > 1 */ hp_sdc_rtc_read_i8042timer()
176 t.seq = tseq; hp_sdc_rtc_read_i8042timer()
194 return (tseq[5] | hp_sdc_rtc_read_i8042timer()
195 ((uint64_t)(tseq[10]) << 8) | ((uint64_t)(tseq[15]) << 16) | hp_sdc_rtc_read_i8042timer()
196 ((uint64_t)(tseq[20]) << 24) | ((uint64_t)(tseq[25]) << 32)); hp_sdc_rtc_read_i8042timer()
294 uint8_t tseq[11] = {
315 tseq[3] = (uint8_t)(tenms & 0xff);
316 tseq[4] = (uint8_t)((tenms >> 8) & 0xff);
317 tseq[5] = (uint8_t)((tenms >> 16) & 0xff);
319 tseq[9] = (uint8_t)(days & 0xff);
320 tseq[10] = (uint8_t)((days >> 8) & 0xff);
322 t.seq = tseq;
333 uint8_t tseq[5] = {
346 tseq[3] = (uint8_t)(tenms & 0xff);
347 tseq[4] = (uint8_t)((tenms >> 8) & 0xff);
349 t.seq = tseq;
373 uint8_t tseq[6] = {
386 tseq[1] = setcmd;
387 tseq[3] = (uint8_t)(tenms & 0xff);
388 tseq[4] = (uint8_t)((tenms >> 8) & 0xff);
389 tseq[5] = (uint8_t)((tenms >> 16) & 0xff);
391 t.seq = tseq;
/linux-4.4.14/drivers/input/serio/
H A Dhp_sdc_mlc.c56 u8 tseq[16]; member in struct:hp_sdc_mlc_priv_s
202 if (!(priv->tseq[4] & HP_SDC_USE_LOOP)) hp_sdc_mlc_cts()
210 priv->tseq[0] = hp_sdc_mlc_cts()
212 priv->tseq[1] = HP_SDC_CMD_READ_USE; hp_sdc_mlc_cts()
213 priv->tseq[2] = 1; hp_sdc_mlc_cts()
214 priv->tseq[3] = 0; hp_sdc_mlc_cts()
215 priv->tseq[4] = 0; hp_sdc_mlc_cts()
250 priv->tseq[0] = hp_sdc_mlc_out()
252 priv->tseq[1] = 0x7; hp_sdc_mlc_out()
253 priv->tseq[2] = hp_sdc_mlc_out()
257 priv->tseq[3] = hp_sdc_mlc_out()
260 priv->tseq[4] = 0; /* No timeout */ hp_sdc_mlc_out()
261 if (priv->tseq[3] == HIL_CMD_DHR) hp_sdc_mlc_out()
262 priv->tseq[4] = 1; hp_sdc_mlc_out()
263 priv->tseq[5] = HP_SDC_CMD_DO_HIL; hp_sdc_mlc_out()
291 priv->tseq[0] = hp_sdc_mlc_out()
293 priv->tseq[1] = HP_SDC_CMD_SET_LPC; hp_sdc_mlc_out()
294 priv->tseq[2] = 1; hp_sdc_mlc_out()
295 /* priv->tseq[3] = (mlc->ddc + 1) | HP_SDC_LPS_ACSUCC; */ hp_sdc_mlc_out()
296 priv->tseq[3] = 0; hp_sdc_mlc_out()
298 priv->tseq[3] |= HP_SDC_LPC_APE_IPF; hp_sdc_mlc_out()
318 hp_sdc_mlc_priv.trans.seq = hp_sdc_mlc_priv.tseq; hp_sdc_mlc_init()

Completed in 149 milliseconds