Lines Matching +full:600 +full:ns
395 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_readb() local
423 if (!ns->quiet) { in ns2501_readb()
440 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_writeb() local
458 if (!ns->quiet) { in ns2501_writeb()
476 struct ns2501_priv *ns; in ns2501_init() local
479 ns = kzalloc(sizeof(struct ns2501_priv), GFP_KERNEL); in ns2501_init()
480 if (ns == NULL) in ns2501_init()
484 dvo->dev_priv = ns; in ns2501_init()
485 ns->quiet = true; in ns2501_init()
504 ns->quiet = false; in ns2501_init()
511 kfree(ns); in ns2501_init()
541 (mode->hdisplay == 800 && mode->vdisplay == 600 && mode->clock == 40000) || in ns2501_mode_valid()
554 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); in ns2501_mode_set() local
593 else if (mode->hdisplay == 800 && mode->vdisplay == 600) in ns2501_mode_set()
611 ns->conf = conf; in ns2501_mode_set()
658 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); in ns2501_dpms() local
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()
694 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_destroy() local
696 if (ns) { in ns2501_destroy()
697 kfree(ns); in ns2501_destroy()