Lines Matching refs:dac
275 nv50_dac_clock(struct nvkm_ior *dac) in nv50_dac_clock() argument
277 struct nvkm_device *device = dac->disp->engine.subdev.device; in nv50_dac_clock()
278 const u32 doff = nv50_ior_base(dac); in nv50_dac_clock()
284 nv50_dac_sense(struct nvkm_ior *dac, u32 loadval) in nv50_dac_sense() argument
286 struct nvkm_device *device = dac->disp->engine.subdev.device; in nv50_dac_sense()
287 const u32 doff = nv50_ior_base(dac); in nv50_dac_sense()
289 dac->func->power(dac, false, true, false, false, false); in nv50_dac_sense()
296 dac->func->power(dac, false, false, false, false, false); in nv50_dac_sense()
313 nv50_dac_power(struct nvkm_ior *dac, bool normal, bool pu, bool data, bool vsync, bool hsync) in nv50_dac_power() argument
315 struct nvkm_device *device = dac->disp->engine.subdev.device; in nv50_dac_power()
316 const u32 doff = nv50_ior_base(dac); in nv50_dac_power()
330 nv50_dac_state(struct nvkm_ior *dac, struct nvkm_ior_state *state) in nv50_dac_state() argument
332 struct nvkm_device *device = dac->disp->engine.subdev.device; in nv50_dac_state()
333 const u32 coff = dac->id * 8 + (state == &dac->arm) * 4; in nv50_dac_state()
1543 for (i = 0; i < disp->dac.nr; i++) { in nv50_disp_init()
1609 if (func->dac.cnt) { in nv50_disp_oneinit()
1610 disp->dac.nr = func->dac.cnt(disp, &disp->dac.mask); in nv50_disp_oneinit()
1611 nvkm_debug(subdev, " DAC(s): %d (%02lx)\n", disp->dac.nr, disp->dac.mask); in nv50_disp_oneinit()
1612 for_each_set_bit(i, &disp->dac.mask, disp->dac.nr) { in nv50_disp_oneinit()
1613 ret = func->dac.new(disp, i); in nv50_disp_oneinit()
1776 .dac = { .cnt = nv50_dac_cnt, .new = nv50_dac_new },