Home
last modified time | relevance | path

Searched refs:hoff (Results 1 – 18 of 18) sorted by relevance

/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dhdmig84.c35 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 …]
Dhdmigf119.c34 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 …]
Dheadgf119.c30 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 …]
Dheadgv100.c42 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()
Dheadnv50.c51 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()
Dgf119.c165 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 …]
Dsorgf119.c32 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 …]
Dsorgv100.c30 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()
Dheadnv04.c53 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()
Dcursgv100.c52 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()
Dhdmigk104.c34 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()
Dhdmigv100.c32 const u32 hoff = head * 0x800; in gv100_hdmi_ctrl() local
41 nvkm_mask(device, 0x6165c0 + hoff, 0x40000000, 0x00000000); in gv100_hdmi_ctrl()
83 nvkm_mask(device, 0x6165c0 + hoff, 0x401f007f, ctrl); in gv100_hdmi_ctrl()
Dhdagv100.c28 const u32 hoff = 0x800 * head; in gv100_hda_device_entry() local
29 nvkm_mask(device, 0x616528 + hoff, 0x00000070, head << 4); in gv100_hda_device_entry()
Dsortu102.c31 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()
Dtu102.c123 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()
Dhdagf119.c30 const u32 hoff = 0x800 * head; in gf119_hda_device_entry() local
31 nvkm_mask(device, 0x616548 + hoff, 0x00000070, head << 4); in gf119_hda_device_entry()
Dgv100.c418 const u32 hoff = head->id * 4; in gv100_disp_init() local
419 nvkm_wr32(device, 0x611cc0 + hoff, 0x00000004); /* MSK. */ in gv100_disp_init()
420 nvkm_wr32(device, 0x611d80 + hoff, 0x00000000); /* EN. */ in gv100_disp_init()
/drivers/net/ethernet/netronome/nfp/abm/
Dcls.c45 if (knode->sel->hoff || knode->sel->hmask) { in nfp_abm_u32_check_knode()