Lines Matching defs:cb
797 u_int32_t *ci, r, pcs, rcs, ecs, ws, memsz, cb;
859 cb = 0;
861 ds_wr(sc, YDSXGR_WORKBASE, sc->ctrlbase + cb, 4);
862 cb += ws;
863 sc->pbase = (u_int32_t *)(t + cb);
864 /* printf("pbase = %p -> 0x%x\n", sc->pbase, sc->ctrlbase + cb); */
865 ds_wr(sc, YDSXGR_PLAYCTRLBASE, sc->ctrlbase + cb, 4);
866 cb += (64 + 1) * 4;
867 sc->rbank = (struct rbank *)(t + cb);
868 ds_wr(sc, YDSXGR_RECCTRLBASE, sc->ctrlbase + cb, 4);
869 cb += 2 * 2 * rcs;
870 ds_wr(sc, YDSXGR_EFFCTRLBASE, sc->ctrlbase + cb, 4);
871 cb += 5 * 2 * ecs;
873 sc->pbankbase = sc->ctrlbase + cb;
877 sc->pbank[i * 2] = (struct pbank *)(t + cb);
878 /* printf("pbank[%d] = %p -> 0x%x; ", i * 2, (struct pbank *)(t + cb), sc->ctrlbase + cb - vtophys(t + cb)); */
879 cb += pcs;
880 sc->pbank[i * 2 + 1] = (struct pbank *)(t + cb);
881 /* printf("pbank[%d] = %p -> 0x%x\n", i * 2 + 1, (struct pbank *)(t + cb), sc->ctrlbase + cb - vtophys(t + cb)); */
882 cb += pcs;