Lines Matching refs:head

27 #include "head.h"
37 gf119_sor_hda_device_entry(struct nvkm_ior *ior, int head)
40 const u32 hoff = 0x800 * head;
42 nvkm_mask(device, 0x616548 + hoff, 0x00000070, head << 4);
46 gf119_sor_hda_eld(struct nvkm_ior *ior, int head, u8 *data, u8 size)
49 const u32 soff = 0x030 * ior->id + (head * 0x04);
60 gf119_sor_hda_hpd(struct nvkm_ior *ior, int head, bool present)
63 const u32 soff = 0x030 * ior->id + (head * 0x04);
68 ior->func->hda->device_entry(ior, head);
85 gf119_sor_dp_watermark(struct nvkm_ior *sor, int head, u8 watermark)
88 const u32 hoff = head * 0x800;
94 gf119_sor_dp_audio_sym(struct nvkm_ior *sor, int head, u16 h, u32 v)
97 const u32 hoff = head * 0x800;
104 gf119_sor_dp_audio(struct nvkm_ior *sor, int head, bool enable)
107 const u32 hoff = 0x800 * head;
119 gf119_sor_dp_vcpi(struct nvkm_ior *sor, int head, u8 slot, u8 slot_nr, u16 pbn, u16 aligned)
122 const u32 hoff = head * 0x800;
205 gf119_sor_hdmi_infoframe_vsi(struct nvkm_ior *ior, int head, void *data, u32 size)
209 const u32 hoff = head * 0x800;
231 gf119_sor_hdmi_infoframe_avi(struct nvkm_ior *ior, int head, void *data, u32 size)
235 const u32 hoff = head * 0x800;
253 gf119_sor_hdmi_ctrl(struct nvkm_ior *ior, int head, bool enable, u8 max_ac_packet, u8 rekey)
259 const u32 hoff = head * 0x800;
323 state->head = ctrl & 0x0000000f;
374 state->head = ctrl & 0x0000000f;
400 gf119_head_vblank_put(struct nvkm_head *head)
402 struct nvkm_device *device = head->disp->engine.subdev.device;
403 const u32 hoff = head->id * 0x800;
408 gf119_head_vblank_get(struct nvkm_head *head)
410 struct nvkm_device *device = head->disp->engine.subdev.device;
411 const u32 hoff = head->id * 0x800;
416 gf119_head_rgclk(struct nvkm_head *head, int div)
418 struct nvkm_device *device = head->disp->engine.subdev.device;
419 nvkm_mask(device, 0x612200 + (head->id * 0x800), 0x0000000f, div);
423 gf119_head_state(struct nvkm_head *head, struct nvkm_head_state *state)
425 struct nvkm_device *device = head->disp->engine.subdev.device;
426 const u32 hoff = (state == &head->asy) * 0x20000 + head->id * 0x300;
1016 struct nvkm_head *head;
1022 list_for_each_entry(head, &disp->heads, head) {
1023 mask[head->id] = nvkm_rd32(device, 0x6101d4 + (head->id * 0x800));
1024 HEAD_DBG(head, "%08x", mask[head->id]);
1030 list_for_each_entry(head, &disp->heads, head) {
1031 if (!(mask[head->id] & 0x00001000))
1033 nv50_disp_super_1_0(disp, head);
1037 list_for_each_entry(head, &disp->heads, head) {
1038 if (!(mask[head->id] & 0x00001000))
1040 nv50_disp_super_2_0(disp, head);
1042 list_for_each_entry(head, &disp->heads, head) {
1043 if (!(mask[head->id] & 0x00010000))
1045 nv50_disp_super_2_1(disp, head);
1047 list_for_each_entry(head, &disp->heads, head) {
1048 if (!(mask[head->id] & 0x00001000))
1050 nv50_disp_super_2_2(disp, head);
1054 list_for_each_entry(head, &disp->heads, head) {
1055 if (!(mask[head->id] & 0x00001000))
1057 nv50_disp_super_3_0(disp, head);
1061 list_for_each_entry(head, &disp->heads, head)
1062 nvkm_wr32(device, 0x6101d4 + (head->id * 0x800), 0x00000000);
1105 struct nvkm_head *head;
1143 list_for_each_entry(head, &disp->heads, head) {
1144 const u32 hoff = head->id * 0x800;
1145 u32 mask = 0x01000000 << head->id;
1149 nvkm_disp_vblank(disp, head->id);
1168 struct nvkm_head *head;
1178 list_for_each_entry(head, &disp->heads, head) {
1179 const u32 hoff = head->id * 0x800;
1225 list_for_each_entry(head, &disp->heads, head) {
1226 const u32 hoff = head->id * 0x800;
1242 .head = { .cnt = gf119_head_cnt, .new = gf119_head_new },