Lines Matching defs:ns
100 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv);
109 ns->dvoc = I915_READ(DVO_C);
110 ns->pll_a = I915_READ(_DPLL_A);
111 ns->srcdim = I915_READ(DVOC_SRCDIM);
112 ns->fw_blc = I915_READ(FW_BLC);
133 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv);
135 I915_WRITE(DVOC, ns->dvoc);
136 I915_WRITE(_DPLL_A, ns->pll_a);
137 I915_WRITE(DVOC_SRCDIM, ns->srcdim);
138 I915_WRITE(FW_BLC, ns->fw_blc);
149 struct ns2501_priv *ns = dvo->dev_priv;
177 if (!ns->quiet) {
194 struct ns2501_priv *ns = dvo->dev_priv;
212 if (!ns->quiet) {
230 struct ns2501_priv *ns;
233 ns = kzalloc(sizeof(struct ns2501_priv), GFP_KERNEL);
234 if (ns == NULL)
238 dvo->dev_priv = ns;
239 ns->quiet = true;
258 ns->quiet = false;
259 ns->reg_8_set = 0;
260 ns->reg_8_shadow =
267 kfree(ns, sizeof(struct ns2501_priv));
312 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv);
330 ns->reg_8_shadow &= ~NS2501_8_BPAS;
404 ns->reg_8_shadow &= ~NS2501_8_BPAS;
476 ns->reg_8_shadow |= NS2501_8_BPAS;
484 ns->reg_8_shadow |= NS2501_8_BPAS;
486 ok &= ns2501_writeb(dvo, NS2501_REG8, ns->reg_8_shadow);
522 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv);
528 ch = ns->reg_8_shadow;
535 if (ns->reg_8_set == 0 || ns->reg_8_shadow != ch) {
536 ns->reg_8_set = 1;
537 ns->reg_8_shadow = ch;
579 struct ns2501_priv *ns = dvo->dev_priv;
581 if (ns) {
582 kfree(ns, sizeof(struct ns2501_priv));