Lines Matching defs:ratio
475 vortex_src_persist_convratio(vortex_t * vortex, unsigned char src, int ratio)
480 hwwrite(vortex->mmio, VORTEX_SRC_CONVRATIO + (src << 2), ratio);
487 while (temp != ratio);
505 vortex_src_change_convratio(vortex_t * vortex, unsigned char src, int ratio)
509 if ((ratio & 0x10000) && (ratio != 0x10000)) {
510 if (ratio & 0x3fff)
511 a = (0x11 - ((ratio >> 0xe) & 0x3)) - 1;
513 a = (0x11 - ((ratio >> 0xe) & 0x3)) - 2;
521 vortex_src_persist_convratio(vortex, src, ratio);