/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | base.c | 41 struct nvkm_disp *disp = container_of(event, typeof(*disp), vblank); in nvkm_disp_vblank_fini() local 42 struct nvkm_head *head = nvkm_head_find(disp, id); in nvkm_disp_vblank_fini() 50 struct nvkm_disp *disp = container_of(event, typeof(*disp), vblank); in nvkm_disp_vblank_init() local 51 struct nvkm_head *head = nvkm_head_find(disp, id); in nvkm_disp_vblank_init() 63 nvkm_disp_vblank(struct nvkm_disp *disp, int head) in nvkm_disp_vblank() argument 65 nvkm_event_ntfy(&disp->vblank, head, NVKM_DISP_HEAD_EVENT_VBLANK); in nvkm_disp_vblank() 85 struct nvkm_disp *disp = nvkm_disp(oclass->engine); in nvkm_disp_class_get() local 87 oclass->base = disp->func->root; in nvkm_disp_class_get() 97 struct nvkm_disp *disp = nvkm_disp(engine); in nvkm_disp_intr() local 98 disp->func->intr(disp); in nvkm_disp_intr() [all …]
|
D | Kbuild | 2 nvkm-y += nvkm/engine/disp/base.o 3 nvkm-y += nvkm/engine/disp/chan.o 4 nvkm-y += nvkm/engine/disp/conn.o 5 nvkm-y += nvkm/engine/disp/dp.o 6 nvkm-y += nvkm/engine/disp/hdmi.o 7 nvkm-y += nvkm/engine/disp/head.o 8 nvkm-y += nvkm/engine/disp/ior.o 9 nvkm-y += nvkm/engine/disp/outp.o 10 nvkm-y += nvkm/engine/disp/vga.o 12 nvkm-y += nvkm/engine/disp/nv04.o [all …]
|
D | r535.c | 83 struct nvkm_gsp *gsp = chan->disp->engine.subdev.device->gsp; in r535_chan_push() 131 args = nvkm_gsp_rm_alloc_get(&chan->disp->rm.object, in r535_curs_init() 159 return nvkm_ramht_insert(chan->disp->ramht, object, chan->chid.user, -9, handle, in r535_dmac_bind() 161 (chan->disp->rm.client.object.handle & 0x3fff)); in r535_dmac_bind() 167 struct nvkm_device *device = chan->disp->engine.subdev.device; in r535_dmac_fini() 184 args = nvkm_gsp_rm_alloc_get(&chan->disp->rm.object, in r535_dmac_init() 240 struct nvkm_device *device = chan->disp->engine.subdev.device; in r535_core_fini() 265 struct nvkm_disp *disp = sor->disp; in r535_sor_bl_set() local 268 ctrl = nvkm_gsp_rm_ctrl_get(&disp->rm.objcom, in r535_sor_bl_set() 277 return nvkm_gsp_rm_ctrl_wr(&disp->rm.objcom, ctrl); in r535_sor_bl_set() [all …]
|
D | gv100.c | 40 struct nvkm_device *device = ior->disp->engine.subdev.device; in gv100_sor_hda_device_entry() 56 struct nvkm_device *device = sor->disp->engine.subdev.device; in gv100_sor_dp_watermark() 65 struct nvkm_device *device = sor->disp->engine.subdev.device; in gv100_sor_dp_audio_sym() 75 struct nvkm_device *device = sor->disp->engine.subdev.device; in gv100_sor_dp_audio() 102 struct nvkm_device *device = ior->disp->engine.subdev.device; in gv100_sor_hdmi_infoframe_vsi() 126 struct nvkm_device *device = ior->disp->engine.subdev.device; in gv100_sor_hdmi_infoframe_avi() 148 struct nvkm_device *device = ior->disp->engine.subdev.device; in gv100_sor_hdmi_ctrl() 186 struct nvkm_device *device = sor->disp->engine.subdev.device; in gv100_sor_state() 222 gv100_sor_new(struct nvkm_disp *disp, int id) in gv100_sor_new() argument 224 struct nvkm_device *device = disp->engine.subdev.device; in gv100_sor_new() [all …]
|
D | chan.c | 33 struct nvkm_disp *disp = chan->disp; in nvkm_disp_chan_ntfy() local 37 *pevent = &disp->uevent; in nvkm_disp_chan_ntfy() 51 struct nvkm_device *device = chan->disp->engine.subdev.device; in nvkm_disp_chan_map() 61 struct nvkm_disp *disp; member 70 nvkm_ramht_remove(object->disp->ramht, object->hash); in nvkm_disp_chan_child_del_() 83 struct nvkm_disp *disp = chan->disp; in nvkm_disp_chan_child_new() local 84 struct nvkm_device *device = disp->engine.subdev.device; in nvkm_disp_chan_child_new() 92 object->disp = disp; in nvkm_disp_chan_child_new() 110 struct nvkm_device *device = chan->disp->engine.subdev.device; in nvkm_disp_chan_child_get() 153 struct nvkm_disp *disp = chan->disp; in nvkm_disp_chan_dtor() local [all …]
|
D | nv50.c | 49 struct nvkm_device *device = pior->disp->engine.subdev.device; in nv50_pior_clock() 82 struct nvkm_device *device = pior->disp->engine.subdev.device; in nv50_pior_power() 100 struct nvkm_head *head = nvkm_head_find(ior->disp, __ffs(state->head)); in nv50_pior_depth() 121 struct nvkm_device *device = pior->disp->engine.subdev.device; in nv50_pior_state() 147 nv50_pior_new(struct nvkm_disp *disp, int id) in nv50_pior_new() argument 149 return nvkm_ior_new_(&nv50_pior, disp, PIOR, id, false); in nv50_pior_new() 153 nv50_pior_cnt(struct nvkm_disp *disp, unsigned long *pmask) in nv50_pior_cnt() argument 155 struct nvkm_device *device = disp->engine.subdev.device; in nv50_pior_cnt() 164 struct nvkm_device *device = ior->disp->engine.subdev.device; in nv50_sor_bl_set() 176 struct nvkm_device *device = ior->disp->engine.subdev.device; in nv50_sor_bl_get() [all …]
|
D | gf119.c | 39 struct nvkm_device *device = ior->disp->engine.subdev.device; in gf119_sor_hda_device_entry() 48 struct nvkm_device *device = ior->disp->engine.subdev.device; in gf119_sor_hda_eld() 62 struct nvkm_device *device = ior->disp->engine.subdev.device; in gf119_sor_hda_hpd() 87 struct nvkm_device *device = sor->disp->engine.subdev.device; in gf119_sor_dp_watermark() 96 struct nvkm_device *device = sor->disp->engine.subdev.device; in gf119_sor_dp_audio_sym() 106 struct nvkm_device *device = sor->disp->engine.subdev.device; in gf119_sor_dp_audio() 121 struct nvkm_device *device = sor->disp->engine.subdev.device; in gf119_sor_dp_vcpi() 131 struct nvkm_device *device = sor->disp->engine.subdev.device; in gf119_sor_dp_drive() 153 struct nvkm_device *device = sor->disp->engine.subdev.device; in gf119_sor_dp_pattern() 173 struct nvkm_device *device = sor->disp->engine.subdev.device; in gf119_sor_dp_links() [all …]
|
D | udisp.c | 33 struct nvkm_disp *disp = nvkm_udisp(object); in nvkm_udisp_sclass() local 53 if (disp->func->user[index].ctor) { in nvkm_udisp_sclass() 54 sclass->base = disp->func->user[index].base; in nvkm_udisp_sclass() 55 sclass->ctor = disp->func->user[index].ctor; in nvkm_udisp_sclass() 65 struct nvkm_disp *disp = nvkm_udisp(object); in nvkm_udisp_dtor() local 67 spin_lock(&disp->client.lock); in nvkm_udisp_dtor() 68 if (object == &disp->client.object) in nvkm_udisp_dtor() 69 disp->client.object.func = NULL; in nvkm_udisp_dtor() 70 spin_unlock(&disp->client.lock); in nvkm_udisp_dtor() 83 struct nvkm_disp *disp = nvkm_disp(oclass->engine); in nvkm_udisp_new() local [all …]
|
D | tu102.c | 36 struct nvkm_device *device = sor->disp->engine.subdev.device; in tu102_sor_dp_vcpi() 46 struct nvkm_device *device = sor->disp->engine.subdev.device; in tu102_sor_dp_links() 99 tu102_sor_new(struct nvkm_disp *disp, int id) in tu102_sor_new() argument 101 struct nvkm_device *device = disp->engine.subdev.device; in tu102_sor_new() 104 return nvkm_ior_new_(&tu102_sor, disp, SOR, id, hda & BIT(id)); in tu102_sor_new() 108 tu102_disp_init(struct nvkm_disp *disp) in tu102_disp_init() argument 110 struct nvkm_device *device = disp->engine.subdev.device; in tu102_disp_init() 130 for (i = 0; i < disp->sor.nr; i++) { in tu102_disp_init() 137 list_for_each_entry(head, &disp->heads, head) { in tu102_disp_init() 152 for (i = 0; i < disp->wndw.nr; i++) { in tu102_disp_init() [all …]
|
D | nv04.c | 32 struct nvkm_device *device = head->disp->engine.subdev.device; in nv04_head_vblank_put() 39 struct nvkm_device *device = head->disp->engine.subdev.device; in nv04_head_vblank_get() 46 struct nvkm_device *device = head->disp->engine.subdev.device; in nv04_head_rgpos() 55 struct nvkm_device *device = head->disp->engine.subdev.device; in nv04_head_state() 74 nv04_head_new(struct nvkm_disp *disp, int id) in nv04_head_new() argument 76 return nvkm_head_new_(&nv04_head, disp, id); in nv04_head_new() 80 nv04_disp_intr(struct nvkm_disp *disp) in nv04_disp_intr() argument 82 struct nvkm_subdev *subdev = &disp->engine.subdev; in nv04_disp_intr() 89 nvkm_disp_vblank(disp, 0); in nv04_disp_intr() 94 nvkm_disp_vblank(disp, 1); in nv04_disp_intr()
|
D | uconn.c | 98 struct nvkm_disp *disp = conn->disp; in nvkm_uconn_uevent() local 99 struct nvkm_device *device = disp->engine.subdev.device; in nvkm_uconn_uevent() 105 if (!disp->rm.client.gsp && conn->info.hpd == DCB_GPIO_UNUSED) in nvkm_uconn_uevent() 113 list_for_each_entry(outp, &conn->disp->outps, head) { in nvkm_uconn_uevent() 118 if (&outp->head == &conn->disp->outps) in nvkm_uconn_uevent() 121 if (disp->rm.client.gsp) { in nvkm_uconn_uevent() 126 return nvkm_uevent_add(uevent, &disp->rm.event, outp->index, bits, in nvkm_uconn_uevent() 155 struct nvkm_disp *disp = conn->disp; in nvkm_uconn_dtor() local 157 spin_lock(&disp->client.lock); in nvkm_uconn_dtor() 159 spin_unlock(&disp->client.lock); in nvkm_uconn_dtor() [all …]
|
D | g94.c | 36 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_watermark() 46 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_activesym() 56 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_audio_sym() 66 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_drive() 85 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_pattern() 104 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_power() 123 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_links() 155 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_war_needed() 172 g94_sor_war_update_sppll1(struct nvkm_disp *disp) in g94_sor_war_update_sppll1() argument 174 struct nvkm_device *device = disp->engine.subdev.device; in g94_sor_war_update_sppll1() [all …]
|
D | outp.c | 35 nvkm_outp_route(struct nvkm_disp *disp) in nvkm_outp_route() argument 40 list_for_each_entry(ior, &disp->iors, head) { in nvkm_outp_route() 49 list_for_each_entry(ior, &disp->iors, head) { in nvkm_outp_route() 122 list_for_each_entry(ior, &outp->disp->iors, head) { in nvkm_outp_acquire_hda() 132 list_for_each_entry(ior, &outp->disp->iors, head) { in nvkm_outp_acquire_hda() 162 ior = nvkm_ior_find(outp->disp, SOR, ffs(outp->info.or) - 1); in nvkm_outp_acquire_or() 171 list_for_each_entry(ior, &outp->disp->iors, head) { in nvkm_outp_acquire_or() 249 struct nvkm_gpio *gpio = outp->disp->engine.subdev.device->gpio; in nvkm_outp_detect() 275 nvkm_outp_route(outp->disp); in nvkm_outp_release() 286 nvkm_outp_route(outp->disp); in nvkm_outp_acquire() [all …]
|
/linux-6.12.1/drivers/gpu/drm/xlnx/ |
D | zynqmp_disp.c | 130 struct zynqmp_disp *disp; member 405 static u32 zynqmp_disp_avbuf_read(struct zynqmp_disp *disp, int reg) in zynqmp_disp_avbuf_read() argument 407 return readl(disp->avbuf + reg); in zynqmp_disp_avbuf_read() 410 static void zynqmp_disp_avbuf_write(struct zynqmp_disp *disp, int reg, u32 val) in zynqmp_disp_avbuf_write() argument 412 writel(val, disp->avbuf + reg); in zynqmp_disp_avbuf_write() 428 static void zynqmp_disp_avbuf_set_format(struct zynqmp_disp *disp, in zynqmp_disp_avbuf_set_format() argument 438 val = zynqmp_disp_avbuf_read(disp, ZYNQMP_DISP_AV_BUF_FMT); in zynqmp_disp_avbuf_set_format() 443 zynqmp_disp_avbuf_write(disp, reg, val); in zynqmp_disp_avbuf_set_format() 449 zynqmp_disp_avbuf_write(disp, reg, val); in zynqmp_disp_avbuf_set_format() 457 zynqmp_disp_avbuf_write(disp, reg, fmt->sf[i]); in zynqmp_disp_avbuf_set_format() [all …]
|
/linux-6.12.1/drivers/gpu/drm/msm/ |
D | Makefile | 4 ccflags-y += -I $(src)/disp/dpu1 46 disp/mdp4/mdp4_crtc.o \ 47 disp/mdp4/mdp4_dsi_encoder.o \ 48 disp/mdp4/mdp4_dtv_encoder.o \ 49 disp/mdp4/mdp4_lcdc_encoder.o \ 50 disp/mdp4/mdp4_lvds_connector.o \ 51 disp/mdp4/mdp4_lvds_pll.o \ 52 disp/mdp4/mdp4_irq.o \ 53 disp/mdp4/mdp4_kms.o \ 54 disp/mdp4/mdp4_plane.o \ [all …]
|
/linux-6.12.1/scripts/dtc/ |
D | fdtput.c | 56 static int encode_value(struct display_info *disp, char **arg, int arg_count, in encode_value() argument 69 if (disp->verbose) in encode_value() 73 fmt[1] = disp->type ? disp->type : 'd'; in encode_value() 77 if (disp->type == 's') in encode_value() 80 len = disp->size == -1 ? 4 : disp->size; in encode_value() 94 if (disp->type == 's') { in encode_value() 96 if (disp->verbose) in encode_value() 105 if (disp->verbose) { in encode_value() 107 disp->size == 1 ? "byte" : in encode_value() 108 disp->size == 2 ? "short" : "int", in encode_value() [all …]
|
D | fdtget.c | 53 static int show_data(struct display_info *disp, const char *data, int len) in show_data() argument 66 is_string = (disp->type) == 's' || in show_data() 67 (!disp->type && util_is_printable_string(data, len)); in show_data() 80 size = disp->size; in show_data() 89 fmt[1] = disp->type ? disp->type : 'd'; in show_data() 192 static int show_data_for_item(const void *blob, struct display_info *disp, in show_data_for_item() argument 198 switch (disp->mode) { in show_data_for_item() 211 if (show_data(disp, value, len)) in show_data_for_item() 215 } else if (disp->default_val) { in show_data_for_item() 216 puts(disp->default_val); in show_data_for_item() [all …]
|
/linux-6.12.1/drivers/video/ |
D | of_display_timing.c | 149 struct display_timings *disp; in of_get_display_timings() local 160 disp = kzalloc(sizeof(*disp), GFP_KERNEL); in of_get_display_timings() 161 if (!disp) { in of_get_display_timings() 180 disp->num_timings = of_get_child_count(timings_np); in of_get_display_timings() 181 if (disp->num_timings == 0) { in of_get_display_timings() 187 disp->timings = kcalloc(disp->num_timings, in of_get_display_timings() 190 if (!disp->timings) { in of_get_display_timings() 195 disp->num_timings = 0; in of_get_display_timings() 196 disp->native_mode = 0; in of_get_display_timings() 216 np, disp->num_timings + 1); in of_get_display_timings() [all …]
|
D | display_timing.c | 12 void display_timings_release(struct display_timings *disp) in display_timings_release() argument 14 if (disp->timings) { in display_timings_release() 17 for (i = 0; i < disp->num_timings; i++) in display_timings_release() 18 kfree(disp->timings[i]); in display_timings_release() 19 kfree(disp->timings); in display_timings_release() 21 kfree(disp); in display_timings_release()
|
D | of_videomode.c | 33 struct display_timings *disp; in of_get_videomode() local 36 disp = of_get_display_timings(np); in of_get_videomode() 37 if (!disp) { in of_get_videomode() 43 index = disp->native_mode; in of_get_videomode() 45 ret = videomode_from_timings(disp, vm, index); in of_get_videomode() 47 display_timings_release(disp); in of_get_videomode()
|
/linux-6.12.1/drivers/gpu/drm/nouveau/ |
D | nouveau_display.c | 136 struct nouveau_display *disp = nouveau_display(drm->dev); in nouveau_decode_mod() local 151 modifier |= disp->format_modifiers[0] & (0xffull << 12); in nouveau_decode_mod() 195 struct nouveau_display *disp = nouveau_display(drm->dev); in nouveau_validate_decode_mod() local 202 BUG_ON(!disp->format_modifiers); in nouveau_validate_decode_mod() 205 (disp->format_modifiers[mod] != DRM_FORMAT_MOD_INVALID) && in nouveau_validate_decode_mod() 206 (disp->format_modifiers[mod] != modifier); in nouveau_validate_decode_mod() 209 if (disp->format_modifiers[mod] == DRM_FORMAT_MOD_INVALID) { in nouveau_validate_decode_mod() 585 struct nouveau_display *disp = nouveau_display(dev); in nouveau_display_init() local 602 ret = disp->init(dev, resume, runtime); in nouveau_display_init() 617 struct nouveau_display *disp = nouveau_display(dev); in nouveau_display_fini() local [all …]
|
/linux-6.12.1/arch/s390/include/asm/ |
D | fpu-insn-asm.h | 286 .macro VLVG v, gr, disp, m 291 .word (b2 << 12) | (\disp) 317 .macro VL v, disp, index="%r0", base 322 .word (b2 << 12) | (\disp) 327 .macro VLEx vr1, disp, index="%r0", base, m3, opc 332 .word (b2 << 12) | (\disp) 335 .macro VLEB vr1, disp, index="%r0", base, m3 336 VLEx \vr1, \disp, \index, \base, \m3, 0x00 338 .macro VLEH vr1, disp, index="%r0", base, m3 339 VLEx \vr1, \disp, \index, \base, \m3, 0x01 [all …]
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvif/ |
D | disp.c | 30 nvif_disp_dtor(struct nvif_disp *disp) in nvif_disp_dtor() argument 32 nvif_object_dtor(&disp->object); in nvif_disp_dtor() 36 nvif_disp_ctor(struct nvif_device *device, const char *name, s32 oclass, struct nvif_disp *disp) in nvif_disp_ctor() argument 62 disp->object.client = NULL; in nvif_disp_ctor() 71 disps[cid].oclass, &args, sizeof(args), &disp->object); in nvif_disp_ctor() 76 NVIF_DEBUG(&disp->object, "[NEW] conn_mask:%08x outp_mask:%08x head_mask:%08x", in nvif_disp_ctor() 78 disp->conn_mask = args.conn_mask; in nvif_disp_ctor() 79 disp->outp_mask = args.outp_mask; in nvif_disp_ctor() 80 disp->head_mask = args.head_mask; in nvif_disp_ctor()
|
/linux-6.12.1/drivers/video/fbdev/mb862xx/ |
D | mb862xxfbdrv.c | 92 outreg(disp, GC_L0PAL0 + (regno * 4), val); in mb862xxfb_setcolreg() 208 reg = inreg(disp, GC_DCM1); in mb862xxfb_set_par() 210 outreg(disp, GC_DCM1, reg); in mb862xxfb_set_par() 214 reg = inreg(disp, GC_DCM1); in mb862xxfb_set_par() 217 outreg(disp, GC_DCM1, reg); in mb862xxfb_set_par() 225 outreg(disp, GC_L0M, reg); in mb862xxfb_set_par() 228 reg = inreg(disp, GC_L0EM); in mb862xxfb_set_par() 229 outreg(disp, GC_L0EM, reg | GC_L0EM_L0EC_24); in mb862xxfb_set_par() 231 outreg(disp, GC_WY_WX, 0); in mb862xxfb_set_par() 233 outreg(disp, GC_WH_WW, reg); in mb862xxfb_set_par() [all …]
|
/linux-6.12.1/arch/arm64/kernel/probes/ |
D | simulate-insn.c | 108 int disp = bbl_displacement(opcode); in simulate_b_bl() local 114 instruction_pointer_set(regs, addr + disp); in simulate_b_bl() 120 int disp = 4; in simulate_b_cond() local 123 disp = bcond_displacement(opcode); in simulate_b_cond() 125 instruction_pointer_set(regs, addr + disp); in simulate_b_cond() 144 int disp = 4; in simulate_cbz_cbnz() local 148 disp = cbz_displacement(opcode); in simulate_cbz_cbnz() 151 disp = cbz_displacement(opcode); in simulate_cbz_cbnz() 153 instruction_pointer_set(regs, addr + disp); in simulate_cbz_cbnz() 159 int disp = 4; in simulate_tbz_tbnz() local [all …]
|