Home
last modified time | relevance | path

Searched refs:vdec (Results 1 – 7 of 7) sorted by relevance

/linux-3.4.99/drivers/gpu/drm/nouveau/
Dnva3_pm.c226 perflvl->vdec = read_clk(dev, 0x21, false); in nva3_pm_clocks_get()
236 struct creg vdec; member
266 ret = calc_clk(dev, 0x21, 0x0000, perflvl->vdec, &info->vdec); in nva3_pm_clocks_pre()
317 prog_clk(dev, 0x21, &info->vdec); in nva3_pm_clocks_set()
Dnv50_pm.c348 perflvl->vdec = read_clk(dev, clk_src_vdec); in nv50_pm_clocks_get()
627 if (perflvl->vdec) { in nv50_pm_clocks_pre()
643 if (perflvl->vdec) { in nv50_pm_clocks_pre()
645 clk = calc_div(perflvl->core, perflvl->vdec, &P1); in nv50_pm_clocks_pre()
652 out = calc_div(out, perflvl->vdec, &P2); in nv50_pm_clocks_pre()
655 if (abs((int)perflvl->vdec - clk) <= in nv50_pm_clocks_pre()
656 abs((int)perflvl->vdec - out)) { in nv50_pm_clocks_pre()
Dnouveau_perf.c352 perflvl->vdec = ROM16(perf[16]) * 1000; in nouveau_perf_init()
363 perflvl->vdec = subent(3); in nouveau_perf_init()
372 perflvl->vdec = subent(6); in nouveau_perf_init()
Dnvc0_pm.c153 perflvl->vdec = read_clk(dev, 0x0e); in nvc0_pm_clocks_get()
333 (ret = calc_clk(dev, 0x0e, &info->eng[0x0e], perflvl->vdec))) { in nvc0_pm_clocks_pre()
Dnouveau_drv.h519 u32 vdec; member
/linux-3.4.99/drivers/video/matrox/
Dmatroxfb_maven.c869 int vdec; in maven_compute_timming() local
884 vdec = f1; in maven_compute_timming()
886 vdec = m->vlines * 32768 / mt->VTotal; in maven_compute_timming()
889 vdec = 0x8000; in maven_compute_timming()
890 if (vdec > 0x8000) in maven_compute_timming()
891 vdec = 0x8000; in maven_compute_timming()
892 vlen = (vslen + umargin + mt->VDisplay) * vdec; in maven_compute_timming()
898 vdec--; in maven_compute_timming()
899 m->regs[0x91] = vdec; in maven_compute_timming()
900 m->regs[0x92] = vdec >> 8; in maven_compute_timming()
/linux-3.4.99/drivers/media/video/
Dhexium_gemini.c209 static int hexium_set_standard(struct hexium *hexium, struct hexium_data *vdec) in hexium_set_standard() argument
216 while (vdec[i].adr != -1) { in hexium_set_standard()
217 data.byte = vdec[i].byte; in hexium_set_standard()
218 …if (0 != i2c_smbus_xfer(&hexium->i2c_adapter, 0x6c, 0, I2C_SMBUS_WRITE, vdec[i].adr, I2C_SMBUS_BYT… in hexium_set_standard()