/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | hdmig84.c | 35 const u32 hoff = head * 0x800; in g84_hdmi_ctrl() local 43 nvkm_mask(device, 0x6165a4 + hoff, 0x40000000, 0x00000000); in g84_hdmi_ctrl() 44 nvkm_mask(device, 0x61653c + hoff, 0x00000001, 0x00000000); in g84_hdmi_ctrl() 45 nvkm_mask(device, 0x616520 + hoff, 0x00000001, 0x00000000); in g84_hdmi_ctrl() 46 nvkm_mask(device, 0x616500 + hoff, 0x00000001, 0x00000000); in g84_hdmi_ctrl() 51 nvkm_mask(device, 0x616520 + hoff, 0x00000001, 0x00000000); in g84_hdmi_ctrl() 53 nvkm_wr32(device, 0x616528 + hoff, avi_infoframe.header); in g84_hdmi_ctrl() 54 nvkm_wr32(device, 0x61652c + hoff, avi_infoframe.subpack0_low); in g84_hdmi_ctrl() 55 nvkm_wr32(device, 0x616530 + hoff, avi_infoframe.subpack0_high); in g84_hdmi_ctrl() 56 nvkm_wr32(device, 0x616534 + hoff, avi_infoframe.subpack1_low); in g84_hdmi_ctrl() [all …]
|
D | hdmigf119.c | 34 const u32 hoff = head * 0x800; in gf119_hdmi_ctrl() local 42 nvkm_mask(device, 0x616798 + hoff, 0x40000000, 0x00000000); in gf119_hdmi_ctrl() 43 nvkm_mask(device, 0x616730 + hoff, 0x00000001, 0x00000000); in gf119_hdmi_ctrl() 44 nvkm_mask(device, 0x6167a4 + hoff, 0x00000001, 0x00000000); in gf119_hdmi_ctrl() 45 nvkm_mask(device, 0x616714 + hoff, 0x00000001, 0x00000000); in gf119_hdmi_ctrl() 50 nvkm_mask(device, 0x616714 + hoff, 0x00000001, 0x00000000); in gf119_hdmi_ctrl() 52 nvkm_wr32(device, 0x61671c + hoff, avi_infoframe.header); in gf119_hdmi_ctrl() 53 nvkm_wr32(device, 0x616720 + hoff, avi_infoframe.subpack0_low); in gf119_hdmi_ctrl() 54 nvkm_wr32(device, 0x616724 + hoff, avi_infoframe.subpack0_high); in gf119_hdmi_ctrl() 55 nvkm_wr32(device, 0x616728 + hoff, avi_infoframe.subpack1_low); in gf119_hdmi_ctrl() [all …]
|
D | headgf119.c | 30 const u32 hoff = head->id * 0x800; in gf119_head_vblank_put() local 31 nvkm_mask(device, 0x6100c0 + hoff, 0x00000001, 0x00000000); in gf119_head_vblank_put() 38 const u32 hoff = head->id * 0x800; in gf119_head_vblank_get() local 39 nvkm_mask(device, 0x6100c0 + hoff, 0x00000001, 0x00000001); in gf119_head_vblank_get() 53 const u32 hoff = (state == &head->asy) * 0x20000 + head->id * 0x300; in gf119_head_state() local 56 data = nvkm_rd32(device, 0x640414 + hoff); in gf119_head_state() 59 data = nvkm_rd32(device, 0x640418 + hoff); in gf119_head_state() 62 data = nvkm_rd32(device, 0x64041c + hoff); in gf119_head_state() 65 data = nvkm_rd32(device, 0x640420 + hoff); in gf119_head_state() 68 state->hz = nvkm_rd32(device, 0x640450 + hoff); in gf119_head_state() [all …]
|
D | headgv100.c | 42 const u32 hoff = head->id * 0x800; in gv100_head_rgpos() local 44 *vline = nvkm_rd32(device, 0x616330 + hoff) & 0x0000ffff; in gv100_head_rgpos() 45 *hline = nvkm_rd32(device, 0x616334 + hoff) & 0x0000ffff; in gv100_head_rgpos() 52 const u32 hoff = (state == &head->arm) * 0x8000 + head->id * 0x400; in gv100_head_state() local 55 data = nvkm_rd32(device, 0x682064 + hoff); in gv100_head_state() 58 data = nvkm_rd32(device, 0x682068 + hoff); in gv100_head_state() 61 data = nvkm_rd32(device, 0x68206c + hoff); in gv100_head_state() 64 data = nvkm_rd32(device, 0x682070 + hoff); in gv100_head_state() 67 state->hz = nvkm_rd32(device, 0x68200c + hoff); in gv100_head_state() 69 data = nvkm_rd32(device, 0x682004 + hoff); in gv100_head_state()
|
D | headnv50.c | 51 const u32 hoff = head->id * 0x800; in nv50_head_rgpos() local 53 *vline = nvkm_rd32(device, 0x616340 + hoff) & 0x0000ffff; in nv50_head_rgpos() 54 *hline = nvkm_rd32(device, 0x616344 + hoff) & 0x0000ffff; in nv50_head_rgpos() 61 const u32 hoff = head->id * 0x540 + (state == &head->arm) * 4; in nv50_head_state() local 64 data = nvkm_rd32(device, 0x610ae8 + hoff); in nv50_head_state() 67 data = nvkm_rd32(device, 0x610af0 + hoff); in nv50_head_state() 70 data = nvkm_rd32(device, 0x610af8 + hoff); in nv50_head_state() 73 data = nvkm_rd32(device, 0x610b00 + hoff); in nv50_head_state() 76 state->hz = (nvkm_rd32(device, 0x610ad0 + hoff) & 0x003fffff) * 1000; in nv50_head_state()
|
D | gf119.c | 165 const u32 hoff = head->id * 0x800; in gf119_disp_intr() local 168 u32 stat = nvkm_rd32(device, 0x6100bc + hoff); in gf119_disp_intr() 171 nvkm_mask(device, 0x6100bc + hoff, 0, 0); in gf119_disp_intr() 172 nvkm_rd32(device, 0x6100c0 + hoff); in gf119_disp_intr() 200 const u32 hoff = head->id * 0x800; in gf119_disp_init() local 201 tmp = nvkm_rd32(device, 0x616104 + hoff); in gf119_disp_init() 202 nvkm_wr32(device, 0x6101b4 + hoff, tmp); in gf119_disp_init() 203 tmp = nvkm_rd32(device, 0x616108 + hoff); in gf119_disp_init() 204 nvkm_wr32(device, 0x6101b8 + hoff, tmp); in gf119_disp_init() 205 tmp = nvkm_rd32(device, 0x61610c + hoff); in gf119_disp_init() [all …]
|
D | sorgv100.c | 30 const u32 hoff = head * 0x800; in gv100_sor_dp_watermark() local 31 nvkm_mask(device, 0x616550 + hoff, 0x0c00003f, 0x08000000 | watermark); in gv100_sor_dp_watermark() 38 const u32 hoff = head * 0x800; in gv100_sor_dp_audio_sym() local 39 nvkm_mask(device, 0x616568 + hoff, 0x0000ffff, h); in gv100_sor_dp_audio_sym() 40 nvkm_mask(device, 0x61656c + hoff, 0x00ffffff, v); in gv100_sor_dp_audio_sym() 47 const u32 hoff = 0x800 * head; in gv100_sor_dp_audio() local 50 nvkm_mask(device, 0x616560 + hoff, mask, data); in gv100_sor_dp_audio() 52 if (!(nvkm_rd32(device, 0x616560 + hoff) & 0x80000000)) in gv100_sor_dp_audio()
|
D | sorgf119.c | 32 const u32 hoff = head * 0x800; in gf119_sor_dp_watermark() local 33 nvkm_mask(device, 0x616610 + hoff, 0x0800003f, 0x08000000 | watermark); in gf119_sor_dp_watermark() 40 const u32 hoff = head * 0x800; in gf119_sor_dp_audio_sym() local 41 nvkm_mask(device, 0x616620 + hoff, 0x0000ffff, h); in gf119_sor_dp_audio_sym() 42 nvkm_mask(device, 0x616624 + hoff, 0x00ffffff, v); in gf119_sor_dp_audio_sym() 49 const u32 hoff = 0x800 * head; in gf119_sor_dp_audio() local 52 nvkm_mask(device, 0x616618 + hoff, mask, data); in gf119_sor_dp_audio() 54 if (!(nvkm_rd32(device, 0x616618 + hoff) & 0x80000000)) in gf119_sor_dp_audio() 64 const u32 hoff = head * 0x800; in gf119_sor_dp_vcpi() local 66 nvkm_mask(device, 0x616588 + hoff, 0x00003f3f, (slot_nr << 8) | slot); in gf119_sor_dp_vcpi() [all …]
|
D | headnv04.c | 53 const u32 hoff = head->id * 0x0200; in nv04_head_state() local 54 state->vblanks = nvkm_rd32(device, 0x680800 + hoff) & 0x0000ffff; in nv04_head_state() 55 state->vtotal = nvkm_rd32(device, 0x680804 + hoff) & 0x0000ffff; in nv04_head_state() 57 state->hblanks = nvkm_rd32(device, 0x680820 + hoff) & 0x0000ffff; in nv04_head_state() 58 state->htotal = nvkm_rd32(device, 0x680824 + hoff) & 0x0000ffff; in nv04_head_state()
|
D | cursgv100.c | 52 const u32 hoff = chan->chid.ctrl * 4; in gv100_disp_curs_fini() local 53 nvkm_mask(device, 0x6104e0 + hoff, 0x00000010, 0x00000010); in gv100_disp_curs_fini() 55 nvkm_mask(device, 0x6104e0 + hoff, 0x00000001, 0x00000000); in gv100_disp_curs_fini()
|
D | hdmigk104.c | 34 const u32 hoff = head * 0x800; in gk104_hdmi_ctrl() local 43 nvkm_mask(device, 0x616798 + hoff, 0x40000000, 0x00000000); in gk104_hdmi_ctrl() 81 nvkm_mask(device, 0x616798 + hoff, 0x401f007f, ctrl); in gk104_hdmi_ctrl()
|
D | sortu102.c | 31 const u32 hoff = head * 0x800; in tu102_sor_dp_vcpi() local 33 nvkm_mask(device, 0x61657c + hoff, 0xffffffff, (aligned << 16) | pbn); in tu102_sor_dp_vcpi() 34 nvkm_mask(device, 0x616578 + hoff, 0x00003f3f, (slot_nr << 8) | slot); in tu102_sor_dp_vcpi()
|
D | hdmigv100.c | 32 const u32 hoff = head * 0x800; in gv100_hdmi_ctrl() local 41 nvkm_mask(device, 0x6165c0 + hoff, 0x40000000, 0x00000000); in gv100_hdmi_ctrl() 84 nvkm_mask(device, 0x6165c0 + hoff, 0x401f007f, ctrl); in gv100_hdmi_ctrl()
|
D | hdmigm200.c | 30 const u32 hoff = head * 0x800; in gm200_hdmi_scdc() local 33 nvkm_mask(device, 0x61c5bc + hoff, 0x00000003, ctrl); in gm200_hdmi_scdc()
|
D | tu102.c | 123 const u32 hoff = head->id * 4; in tu102_disp_init() local 124 nvkm_wr32(device, 0x611cc0 + hoff, 0x00000004); /* MSK. */ in tu102_disp_init() 125 nvkm_wr32(device, 0x611d80 + hoff, 0x00000000); /* EN. */ in tu102_disp_init()
|
D | hdagf119.c | 44 const u32 hoff = 0x800 * head; in gf119_hda_hpd() local 48 nvkm_mask(device, 0x616548 + hoff, 0x00000070, 0x00000000); in gf119_hda_hpd()
|
D | gv100.c | 401 const u32 hoff = head->id * 4; in gv100_disp_init() local 402 nvkm_wr32(device, 0x611cc0 + hoff, 0x00000004); /* MSK. */ in gv100_disp_init() 403 nvkm_wr32(device, 0x611d80 + hoff, 0x00000000); /* EN. */ in gv100_disp_init()
|
/drivers/net/ethernet/netronome/nfp/abm/ |
D | cls.c | 45 if (knode->sel->hoff || knode->sel->hmask) { in nfp_abm_u32_check_knode()
|