• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/

Lines Matching refs:vdau

102 	vdau_t vdau[NUM_DAUS];			/* Data for virtual DAUs (the 5249 only has one */
226 memset(t->vdau[req->pgbuf].pgbuf, ' ', sizeof(t->vdau[0].pgbuf));
227 t->vdau[req->pgbuf].clrfound = true;
237 t->vdau[req->pgbuf].clrfound = true;
256 t->vdau[req->pgbuf].sregs[0] = (req->pagemask & PG_HUND ? 0x10 : 0) | (req->page / 0x100);
257 t->vdau[req->pgbuf].sregs[1] = (req->pagemask & PG_TEN ? 0x10 : 0) | ((req->page / 0x10) & 0xf);
258 t->vdau[req->pgbuf].sregs[2] = (req->pagemask & PG_UNIT ? 0x10 : 0) | (req->page & 0xf);
259 t->vdau[req->pgbuf].sregs[3] = (req->pagemask & HR_TEN ? 0x10 : 0) | (req->hour / 0x10);
260 t->vdau[req->pgbuf].sregs[4] = (req->pagemask & HR_UNIT ? 0x10 : 0) | (req->hour & 0xf);
261 t->vdau[req->pgbuf].sregs[5] = (req->pagemask & MIN_TEN ? 0x10 : 0) | (req->minute / 0x10);
262 t->vdau[req->pgbuf].sregs[6] = (req->pagemask & MIN_UNIT ? 0x10 : 0) | (req->minute & 0xf);
263 t->vdau[req->pgbuf].stopped = false;
264 t->vdau[req->pgbuf].clrfound = true;
278 if (!t->vdau[req->pgbuf].stopped) {
280 i2c_sendbuf(t, 3, sizeof(t->vdau[0].sregs), t->vdau[req->pgbuf].sregs) ||
282 i2c_senddata(t, 2, 0, t->vdau[req->pgbuf].sregs[0] | 8, -1) ||
290 (memcmp(infobits, t->vdau[req->pgbuf].laststat, sizeof(infobits)) ||
291 time_after_eq(jiffies, t->vdau[req->pgbuf].expire)))
294 i2c_getdata(t, VTX_PAGESIZE, t->vdau[req->pgbuf].pgbuf))
296 t->vdau[req->pgbuf].expire = jiffies + PGBUF_EXPIRE;
297 memset(t->vdau[req->pgbuf].pgbuf + VTX_PAGESIZE, ' ', VTX_VIRTUALSIZE - VTX_PAGESIZE);
301 i2c_getdata(t, 40, t->vdau[req->pgbuf].pgbuf + VTX_PAGESIZE + 20 * 40))
305 i2c_getdata(t, 40, t->vdau[req->pgbuf].pgbuf + VTX_PAGESIZE + 16 * 40))
308 i2c_getdata(t, 40, t->vdau[req->pgbuf].pgbuf + VTX_PAGESIZE + 23 * 40))
311 t->vdau[req->pgbuf].clrfound = false;
312 memcpy(t->vdau[req->pgbuf].laststat, infobits, sizeof(infobits));
314 memcpy(infobits, t->vdau[req->pgbuf].laststat, sizeof(infobits));
317 memcpy(infobits, t->vdau[req->pgbuf].laststat, sizeof(infobits));
343 if (t->vdau[req->pgbuf].clrfound)
360 if (copy_to_user(req->buffer, &t->vdau[req->pgbuf].pgbuf[req->start], req->end - req->start + 1))
402 t->vdau[req->pgbuf].stopped = true;
522 memset(t->vdau[pgbuf].pgbuf, ' ', sizeof(t->vdau[0].pgbuf));
523 memset(t->vdau[pgbuf].sregs, 0, sizeof(t->vdau[0].sregs));
524 memset(t->vdau[pgbuf].laststat, 0, sizeof(t->vdau[0].laststat));
525 t->vdau[pgbuf].expire = 0;
526 t->vdau[pgbuf].clrfound = true;
527 t->vdau[pgbuf].stopped = true;
604 memset(t->vdau[pgbuf].pgbuf, ' ', sizeof(t->vdau[0].pgbuf));
605 memset(t->vdau[pgbuf].sregs, 0, sizeof(t->vdau[0].sregs));
606 memset(t->vdau[pgbuf].laststat, 0, sizeof(t->vdau[0].laststat));
607 t->vdau[pgbuf].expire = 0;
608 t->vdau[pgbuf].clrfound = true;
609 t->vdau[pgbuf].stopped = true;