Lines Matching refs:head
37 gf119_sor_hda_device_entry(struct nvkm_ior *ior, int head) in gf119_sor_hda_device_entry() argument
40 const u32 hoff = 0x800 * head; in gf119_sor_hda_device_entry()
42 nvkm_mask(device, 0x616548 + hoff, 0x00000070, head << 4); in gf119_sor_hda_device_entry()
46 gf119_sor_hda_eld(struct nvkm_ior *ior, int head, u8 *data, u8 size) in gf119_sor_hda_eld() argument
49 const u32 soff = 0x030 * ior->id + (head * 0x04); in gf119_sor_hda_eld()
60 gf119_sor_hda_hpd(struct nvkm_ior *ior, int head, bool present) in gf119_sor_hda_hpd() argument
63 const u32 soff = 0x030 * ior->id + (head * 0x04); in gf119_sor_hda_hpd()
68 ior->func->hda->device_entry(ior, head); in gf119_sor_hda_hpd()
85 gf119_sor_dp_watermark(struct nvkm_ior *sor, int head, u8 watermark) in gf119_sor_dp_watermark() argument
88 const u32 hoff = head * 0x800; in gf119_sor_dp_watermark()
94 gf119_sor_dp_audio_sym(struct nvkm_ior *sor, int head, u16 h, u32 v) in gf119_sor_dp_audio_sym() argument
97 const u32 hoff = head * 0x800; in gf119_sor_dp_audio_sym()
104 gf119_sor_dp_audio(struct nvkm_ior *sor, int head, bool enable) in gf119_sor_dp_audio() argument
107 const u32 hoff = 0x800 * head; in gf119_sor_dp_audio()
119 gf119_sor_dp_vcpi(struct nvkm_ior *sor, int head, u8 slot, u8 slot_nr, u16 pbn, u16 aligned) in gf119_sor_dp_vcpi() argument
122 const u32 hoff = head * 0x800; in gf119_sor_dp_vcpi()
205 gf119_sor_hdmi_infoframe_vsi(struct nvkm_ior *ior, int head, void *data, u32 size) in gf119_sor_hdmi_infoframe_vsi() argument
209 const u32 hoff = head * 0x800; in gf119_sor_hdmi_infoframe_vsi()
231 gf119_sor_hdmi_infoframe_avi(struct nvkm_ior *ior, int head, void *data, u32 size) in gf119_sor_hdmi_infoframe_avi() argument
235 const u32 hoff = head * 0x800; in gf119_sor_hdmi_infoframe_avi()
253 gf119_sor_hdmi_ctrl(struct nvkm_ior *ior, int head, bool enable, u8 max_ac_packet, u8 rekey) in gf119_sor_hdmi_ctrl() argument
259 const u32 hoff = head * 0x800; in gf119_sor_hdmi_ctrl()
323 state->head = ctrl & 0x0000000f; in gf119_sor_state()
373 state->head = ctrl & 0x0000000f; in gf119_dac_state()
399 gf119_head_vblank_put(struct nvkm_head *head) in gf119_head_vblank_put() argument
401 struct nvkm_device *device = head->disp->engine.subdev.device; in gf119_head_vblank_put()
402 const u32 hoff = head->id * 0x800; in gf119_head_vblank_put()
407 gf119_head_vblank_get(struct nvkm_head *head) in gf119_head_vblank_get() argument
409 struct nvkm_device *device = head->disp->engine.subdev.device; in gf119_head_vblank_get()
410 const u32 hoff = head->id * 0x800; in gf119_head_vblank_get()
415 gf119_head_rgclk(struct nvkm_head *head, int div) in gf119_head_rgclk() argument
417 struct nvkm_device *device = head->disp->engine.subdev.device; in gf119_head_rgclk()
418 nvkm_mask(device, 0x612200 + (head->id * 0x800), 0x0000000f, div); in gf119_head_rgclk()
422 gf119_head_state(struct nvkm_head *head, struct nvkm_head_state *state) in gf119_head_state() argument
424 struct nvkm_device *device = head->disp->engine.subdev.device; in gf119_head_state()
425 const u32 hoff = (state == &head->asy) * 0x20000 + head->id * 0x300; in gf119_head_state()
1015 struct nvkm_head *head; in gf119_disp_super() local
1021 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_super()
1022 mask[head->id] = nvkm_rd32(device, 0x6101d4 + (head->id * 0x800)); in gf119_disp_super()
1023 HEAD_DBG(head, "%08x", mask[head->id]); in gf119_disp_super()
1029 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_super()
1030 if (!(mask[head->id] & 0x00001000)) in gf119_disp_super()
1032 nv50_disp_super_1_0(disp, head); in gf119_disp_super()
1036 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_super()
1037 if (!(mask[head->id] & 0x00001000)) in gf119_disp_super()
1039 nv50_disp_super_2_0(disp, head); in gf119_disp_super()
1042 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_super()
1043 if (!(mask[head->id] & 0x00010000)) in gf119_disp_super()
1045 nv50_disp_super_2_1(disp, head); in gf119_disp_super()
1047 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_super()
1048 if (!(mask[head->id] & 0x00001000)) in gf119_disp_super()
1050 nv50_disp_super_2_2(disp, head); in gf119_disp_super()
1054 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_super()
1055 if (!(mask[head->id] & 0x00001000)) in gf119_disp_super()
1057 nv50_disp_super_3_0(disp, head); in gf119_disp_super()
1061 list_for_each_entry(head, &disp->heads, head) in gf119_disp_super()
1062 nvkm_wr32(device, 0x6101d4 + (head->id * 0x800), 0x00000000); in gf119_disp_super()
1105 struct nvkm_head *head; in gf119_disp_intr() local
1143 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_intr()
1144 const u32 hoff = head->id * 0x800; in gf119_disp_intr()
1145 u32 mask = 0x01000000 << head->id; in gf119_disp_intr()
1149 nvkm_disp_vblank(disp, head->id); in gf119_disp_intr()
1168 struct nvkm_head *head; in gf119_disp_init() local
1178 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_init()
1179 const u32 hoff = head->id * 0x800; in gf119_disp_init()
1225 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_init()
1226 const u32 hoff = head->id * 0x800; in gf119_disp_init()
1242 .head = { .cnt = gf119_head_cnt, .new = gf119_head_new },