Lines Matching full:main

361 /* risc group / risc main loop / dma management               */
371 btv->main.cpu[RISC_SLOT_LOOP] = cpu_to_le32(cmd); in bttv_set_risc_status()
405 btwrite(btv->main.dma, BT848_RISC_STRT_ADD); in bttv_start_dma()
446 if ((rc = btcx_riscmem_alloc(btv->c.pci,&btv->main,PAGE_SIZE)) < 0) in bttv_risc_init_main()
448 dprintk("%d: risc main @ %08llx\n", in bttv_risc_init_main()
449 btv->c.nr, (unsigned long long)btv->main.dma); in bttv_risc_init_main()
451 btv->main.cpu[0] = cpu_to_le32(BT848_RISC_SYNC | BT848_RISC_RESYNC | in bttv_risc_init_main()
453 btv->main.cpu[1] = cpu_to_le32(0); in bttv_risc_init_main()
454 btv->main.cpu[2] = cpu_to_le32(BT848_RISC_JUMP); in bttv_risc_init_main()
455 btv->main.cpu[3] = cpu_to_le32(btv->main.dma + (4<<2)); in bttv_risc_init_main()
458 btv->main.cpu[4] = cpu_to_le32(BT848_RISC_JUMP); in bttv_risc_init_main()
459 btv->main.cpu[5] = cpu_to_le32(btv->main.dma + (6<<2)); in bttv_risc_init_main()
460 btv->main.cpu[6] = cpu_to_le32(BT848_RISC_JUMP); in bttv_risc_init_main()
461 btv->main.cpu[7] = cpu_to_le32(btv->main.dma + (8<<2)); in bttv_risc_init_main()
463 btv->main.cpu[8] = cpu_to_le32(BT848_RISC_SYNC | BT848_RISC_RESYNC | in bttv_risc_init_main()
465 btv->main.cpu[9] = cpu_to_le32(0); in bttv_risc_init_main()
468 btv->main.cpu[10] = cpu_to_le32(BT848_RISC_JUMP); in bttv_risc_init_main()
469 btv->main.cpu[11] = cpu_to_le32(btv->main.dma + (12<<2)); in bttv_risc_init_main()
470 btv->main.cpu[12] = cpu_to_le32(BT848_RISC_JUMP); in bttv_risc_init_main()
471 btv->main.cpu[13] = cpu_to_le32(btv->main.dma + (14<<2)); in bttv_risc_init_main()
474 btv->main.cpu[14] = cpu_to_le32(BT848_RISC_JUMP); in bttv_risc_init_main()
475 btv->main.cpu[15] = cpu_to_le32(btv->main.dma + (0<<2)); in bttv_risc_init_main()
485 unsigned long next = btv->main.dma + ((slot+2) << 2); in bttv_risc_hook()
489 btv->main.cpu[slot+1] = cpu_to_le32(next); in bttv_risc_hook()
502 btv->main.cpu[slot+1] = cpu_to_le32(risc->dma); in bttv_risc_hook()