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

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/hil/
H A Dhil_kbd.c145 int idx4; /* four counts per packet */ member in struct:hil_kbd
165 idx = kbd->idx4/4;
261 kbd->idx4 = 0;
267 kbd->idx4 = 0;
286 if (kbd->idx4 >= (HIL_KBD_MAX_LENGTH * sizeof(hil_packet))) {
290 idx = kbd->idx4/4;
291 if (!(kbd->idx4 % 4)) kbd->data[idx] = 0;
293 packet |= ((hil_packet)data) << ((3 - (kbd->idx4 % 4)) * 8);
297 if ((++(kbd->idx4)) % 4) return;
H A Dhil_ptr.c62 int idx4; /* four counts per packet */ member in struct:hil_ptr
87 idx = ptr->idx4/4;
179 ptr->idx4 = 0;
185 ptr->idx4 = 0;
204 if (ptr->idx4 >= (HIL_PTR_MAX_LENGTH * sizeof(hil_packet))) {
208 idx = ptr->idx4/4;
209 if (!(ptr->idx4 % 4)) ptr->data[idx] = 0;
211 packet |= ((hil_packet)data) << ((3 - (ptr->idx4 % 4)) * 8);
215 if ((++(ptr->idx4)) % 4) return;

Completed in 36 milliseconds