Lines Matching refs:or

51 	NV_DEBUG_KMS(dev, "Disconnecting DAC %d\n", nv_encoder->or);  in nv50_dac_disconnect()
58 BEGIN_RING(evo, 0, NV50_EVO_DAC(nv_encoder->or, MODE_CTRL), 1); in nv50_dac_disconnect()
74 int or = nv_encoder->or; in nv50_dac_detect() local
76 nv_wr32(dev, NV50_PDISPLAY_DAC_CLK_CTRL1(or), 0x00000001); in nv50_dac_detect()
77 dpms_state = nv_rd32(dev, NV50_PDISPLAY_DAC_DPMS_CTRL(or)); in nv50_dac_detect()
79 nv_wr32(dev, NV50_PDISPLAY_DAC_DPMS_CTRL(or), in nv50_dac_detect()
81 if (!nv_wait(dev, NV50_PDISPLAY_DAC_DPMS_CTRL(or), in nv50_dac_detect()
83 NV_ERROR(dev, "timeout: DAC_DPMS_CTRL_PENDING(%d) == 0\n", or); in nv50_dac_detect()
84 NV_ERROR(dev, "DAC_DPMS_CTRL(%d) = 0x%08x\n", or, in nv50_dac_detect()
85 nv_rd32(dev, NV50_PDISPLAY_DAC_DPMS_CTRL(or))); in nv50_dac_detect()
100 nv_wr32(dev, NV50_PDISPLAY_DAC_LOAD_CTRL(or), in nv50_dac_detect()
103 load_state = nv_rd32(dev, NV50_PDISPLAY_DAC_LOAD_CTRL(or)); in nv50_dac_detect()
105 nv_wr32(dev, NV50_PDISPLAY_DAC_LOAD_CTRL(or), 0); in nv50_dac_detect()
106 nv_wr32(dev, NV50_PDISPLAY_DAC_DPMS_CTRL(or), dpms_state | in nv50_dac_detect()
114 NV_DEBUG_KMS(dev, "Load was detected on output with or %d\n", or); in nv50_dac_detect()
116 NV_DEBUG_KMS(dev, "Load was not detected on output with or %d\n", or); in nv50_dac_detect()
127 int or = nv_encoder->or; in nv50_dac_dpms() local
129 NV_DEBUG_KMS(dev, "or %d mode %d\n", or, mode); in nv50_dac_dpms()
132 if (!nv_wait(dev, NV50_PDISPLAY_DAC_DPMS_CTRL(or), in nv50_dac_dpms()
134 NV_ERROR(dev, "timeout: DAC_DPMS_CTRL_PENDING(%d) == 0\n", or); in nv50_dac_dpms()
135 NV_ERROR(dev, "DAC_DPMS_CTRL(%d) = 0x%08x\n", or, in nv50_dac_dpms()
136 nv_rd32(dev, NV50_PDISPLAY_DAC_DPMS_CTRL(or))); in nv50_dac_dpms()
140 val = nv_rd32(dev, NV50_PDISPLAY_DAC_DPMS_CTRL(or)) & ~0x7F; in nv50_dac_dpms()
161 nv_wr32(dev, NV50_PDISPLAY_DAC_DPMS_CTRL(or), val | in nv50_dac_dpms()
184 NV_DEBUG_KMS(encoder->dev, "or %d\n", nv_encoder->or); in nv50_dac_mode_fixup()
216 nv_encoder->or, nv_encoder->dcb->type, crtc->index); in nv50_dac_mode_set()
243 BEGIN_RING(evo, 0, NV50_EVO_DAC(nv_encoder->or, MODE_CTRL), 2); in nv50_dac_mode_set()
299 nv_encoder->or = ffs(entry->or) - 1; in nv50_dac_create()