Lines Matching refs:conf

207 	u8 conf;		/* configuration register 8 */  member
234 .conf = NS2501_8_VEN | NS2501_8_HEN | NS2501_8_PD,
254 .conf = NS2501_8_VEN | NS2501_8_HEN | NS2501_8_PD,
273 .conf = NS2501_8_VEN | NS2501_8_HEN | NS2501_8_PD,
382 const struct ns2501_configuration *conf; member
553 const struct ns2501_configuration *conf; in ns2501_mode_set() local
610 conf = ns2501_modes + mode_idx; in ns2501_mode_set()
611 ns->conf = conf; in ns2501_mode_set()
613 ns2501_writeb(dvo, NS2501_REG8, conf->conf); in ns2501_mode_set()
614 ns2501_writeb(dvo, NS2501_REG1B, conf->pll_a); in ns2501_mode_set()
615 ns2501_writeb(dvo, NS2501_REG1C, conf->pll_b & 0xff); in ns2501_mode_set()
616 ns2501_writeb(dvo, NS2501_REG1D, conf->pll_b >> 8); in ns2501_mode_set()
617 ns2501_writeb(dvo, NS2501_REGC1, conf->hstart & 0xff); in ns2501_mode_set()
618 ns2501_writeb(dvo, NS2501_REGC2, conf->hstart >> 8); in ns2501_mode_set()
619 ns2501_writeb(dvo, NS2501_REGC3, conf->hstop & 0xff); in ns2501_mode_set()
620 ns2501_writeb(dvo, NS2501_REGC4, conf->hstop >> 8); in ns2501_mode_set()
621 ns2501_writeb(dvo, NS2501_REGC5, conf->vstart & 0xff); in ns2501_mode_set()
622 ns2501_writeb(dvo, NS2501_REGC6, conf->vstart >> 8); in ns2501_mode_set()
623 ns2501_writeb(dvo, NS2501_REGC7, conf->vstop & 0xff); in ns2501_mode_set()
624 ns2501_writeb(dvo, NS2501_REGC8, conf->vstop >> 8); in ns2501_mode_set()
625 ns2501_writeb(dvo, NS2501_REG80, conf->vsync & 0xff); in ns2501_mode_set()
626 ns2501_writeb(dvo, NS2501_REG81, conf->vsync >> 8); in ns2501_mode_set()
627 ns2501_writeb(dvo, NS2501_REG82, conf->vtotal & 0xff); in ns2501_mode_set()
628 ns2501_writeb(dvo, NS2501_REG83, conf->vtotal >> 8); in ns2501_mode_set()
629 ns2501_writeb(dvo, NS2501_REG98, conf->hpos & 0xff); in ns2501_mode_set()
630 ns2501_writeb(dvo, NS2501_REG99, conf->hpos >> 8); in ns2501_mode_set()
631 ns2501_writeb(dvo, NS2501_REG8E, conf->vpos & 0xff); in ns2501_mode_set()
632 ns2501_writeb(dvo, NS2501_REG8F, conf->vpos >> 8); in ns2501_mode_set()
633 ns2501_writeb(dvo, NS2501_REG9C, conf->voffs & 0xff); in ns2501_mode_set()
634 ns2501_writeb(dvo, NS2501_REG9D, conf->voffs >> 8); in ns2501_mode_set()
635 ns2501_writeb(dvo, NS2501_REGB8, conf->hscale & 0xff); in ns2501_mode_set()
636 ns2501_writeb(dvo, NS2501_REGB9, conf->hscale >> 8); in ns2501_mode_set()
637 ns2501_writeb(dvo, NS2501_REG10, conf->vscale & 0xff); in ns2501_mode_set()
638 ns2501_writeb(dvo, NS2501_REG11, conf->vscale >> 8); in ns2501_mode_set()
639 ns2501_writeb(dvo, NS2501_REGF9, conf->dither); in ns2501_mode_set()
640 ns2501_writeb(dvo, NS2501_REG41, conf->syncb); in ns2501_mode_set()
641 ns2501_writeb(dvo, NS2501_REGC0, conf->sync); in ns2501_mode_set()
663 ns2501_writeb(dvo, NS2501_REGC0, ns->conf->sync | 0x08); in ns2501_dpms()
665 ns2501_writeb(dvo, NS2501_REG41, ns->conf->syncb); in ns2501_dpms()
671 ns->conf->conf | NS2501_8_BPAS); in ns2501_dpms()
672 if (!(ns->conf->conf & NS2501_8_BPAS)) in ns2501_dpms()
673 ns2501_writeb(dvo, NS2501_REG8, ns->conf->conf); in ns2501_dpms()
679 ns2501_writeb(dvo, NS2501_REGC0, ns->conf->sync); in ns2501_dpms()