• 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/bt8xx/

Lines Matching refs:risc

3     bttv-risc.c  --  interfaces to other kernel modules
5 bttv risc code handling
42 /* risc code generators */
45 bttv_risc_packed(struct bttv *btv, struct btcx_riscmem *risc,
56 /* estimate risc mem: worst case is one write per page border +
64 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions)) < 0)
68 rp = risc->cpu;
118 risc->jmp = rp;
119 BUG_ON((risc->jmp - risc->cpu + 2) * sizeof(*risc->cpu) > risc->size);
124 bttv_risc_planar(struct bttv *btv, struct btcx_riscmem *risc,
141 /* estimate risc mem: worst case is one write per page border +
147 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions*4*5)) < 0)
151 rp = risc->cpu;
217 /* write risc instruction */
238 risc->jmp = rp;
239 BUG_ON((risc->jmp - risc->cpu + 2) * sizeof(*risc->cpu) > risc->size);
244 bttv_risc_overlay(struct bttv *btv, struct btcx_riscmem *risc,
259 /* estimate risc mem: worst case is (1.5*clip+1) * lines instructions
264 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,dwords*4)) < 0) {
270 rp = risc->cpu;
294 /* write out risc code */
325 risc->jmp = rp;
326 BUG_ON((risc->jmp - risc->cpu + 2) * sizeof(*risc->cpu) > risc->size);
458 /* risc group / risc main loop / dma management */
520 dprintk(KERN_DEBUG "bttv%d: risc main @ %08Lx\n",
553 bttv_risc_hook(struct bttv *btv, int slot, struct btcx_riscmem *risc,
559 if (NULL == risc) {
560 d2printk(KERN_DEBUG "bttv%d: risc=%p slot[%d]=NULL\n",
561 btv->c.nr,risc,slot);
564 d2printk(KERN_DEBUG "bttv%d: risc=%p slot[%d]=%08Lx irq=%d\n",
565 btv->c.nr,risc,slot,(unsigned long long)risc->dma,irqflags);
572 risc->jmp[0] = cpu_to_le32(cmd);
573 risc->jmp[1] = cpu_to_le32(next);
574 btv->main.cpu[slot+1] = cpu_to_le32(risc->dma);
704 /* calculate geometry, build risc code */
846 /* build risc code */
865 /* calculate geometry, build risc code */
883 /* build risc code */