Home
last modified time | relevance | path

Searched refs:disp (Results 1 – 25 of 214) sorted by relevance

123456789

/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dbase.c44 struct nvkm_disp *disp = container_of(event, typeof(*disp), vblank); in nvkm_disp_vblank_fini() local
45 struct nvkm_head *head = nvkm_head_find(disp, id); in nvkm_disp_vblank_fini()
53 struct nvkm_disp *disp = container_of(event, typeof(*disp), vblank); in nvkm_disp_vblank_init() local
54 struct nvkm_head *head = nvkm_head_find(disp, id); in nvkm_disp_vblank_init()
66 nvkm_disp_vblank(struct nvkm_disp *disp, int head) in nvkm_disp_vblank() argument
68 nvkm_event_ntfy(&disp->vblank, head, NVKM_DISP_HEAD_EVENT_VBLANK); in nvkm_disp_vblank()
88 struct nvkm_disp *disp = nvkm_disp(oclass->engine); in nvkm_disp_class_get() local
90 oclass->base = disp->func->root; in nvkm_disp_class_get()
100 struct nvkm_disp *disp = nvkm_disp(engine); in nvkm_disp_intr() local
101 disp->func->intr(disp); in nvkm_disp_intr()
[all …]
DKbuild2 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 …]
Dgv100.c40 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()
221 gv100_sor_new(struct nvkm_disp *disp, int id) in gv100_sor_new() argument
223 struct nvkm_device *device = disp->engine.subdev.device; in gv100_sor_new()
[all …]
Dnv50.c47 struct nvkm_device *device = pior->disp->engine.subdev.device; in nv50_pior_clock()
80 struct nvkm_device *device = pior->disp->engine.subdev.device; in nv50_pior_power()
98 struct nvkm_head *head = nvkm_head_find(ior->disp, __ffs(state->head)); in nv50_pior_depth()
119 struct nvkm_device *device = pior->disp->engine.subdev.device; in nv50_pior_state()
145 nv50_pior_new(struct nvkm_disp *disp, int id) in nv50_pior_new() argument
147 return nvkm_ior_new_(&nv50_pior, disp, PIOR, id, false); in nv50_pior_new()
151 nv50_pior_cnt(struct nvkm_disp *disp, unsigned long *pmask) in nv50_pior_cnt() argument
153 struct nvkm_device *device = disp->engine.subdev.device; in nv50_pior_cnt()
162 struct nvkm_device *device = sor->disp->engine.subdev.device; in nv50_sor_clock()
181 struct nvkm_device *device = sor->disp->engine.subdev.device; in nv50_sor_power()
[all …]
Dchan.c33 struct nvkm_device *device = chan->disp->engine.subdev.device; in nvkm_disp_chan_rd32()
44 struct nvkm_device *device = chan->disp->engine.subdev.device; in nvkm_disp_chan_wr32()
55 struct nvkm_disp *disp = chan->disp; in nvkm_disp_chan_ntfy() local
59 *pevent = &disp->uevent; in nvkm_disp_chan_ntfy()
73 struct nvkm_device *device = chan->disp->engine.subdev.device; in nvkm_disp_chan_map()
83 struct nvkm_disp *disp; member
92 nvkm_ramht_remove(object->disp->ramht, object->hash); in nvkm_disp_chan_child_del_()
105 struct nvkm_disp *disp = chan->disp; in nvkm_disp_chan_child_new() local
106 struct nvkm_device *device = disp->engine.subdev.device; in nvkm_disp_chan_child_new()
114 object->disp = disp; in nvkm_disp_chan_child_new()
[all …]
Dudisp.c33 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 …]
Dgf119.c39 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 …]
Dtu102.c35 struct nvkm_device *device = sor->disp->engine.subdev.device; in tu102_sor_dp_vcpi()
45 struct nvkm_device *device = sor->disp->engine.subdev.device; in tu102_sor_dp_links()
97 tu102_sor_new(struct nvkm_disp *disp, int id) in tu102_sor_new() argument
99 struct nvkm_device *device = disp->engine.subdev.device; in tu102_sor_new()
102 return nvkm_ior_new_(&tu102_sor, disp, SOR, id, hda & BIT(id)); in tu102_sor_new()
106 tu102_disp_init(struct nvkm_disp *disp) in tu102_disp_init() argument
108 struct nvkm_device *device = disp->engine.subdev.device; in tu102_disp_init()
128 for (i = 0; i < disp->sor.nr; i++) { in tu102_disp_init()
135 list_for_each_entry(head, &disp->heads, head) { in tu102_disp_init()
150 for (i = 0; i < disp->wndw.nr; i++) { in tu102_disp_init()
[all …]
Dnv04.c32 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()
/linux-6.6.21/drivers/gpu/drm/xlnx/
Dzynqmp_disp.c117 struct zynqmp_disp *disp; member
357 static u32 zynqmp_disp_avbuf_read(struct zynqmp_disp *disp, int reg) in zynqmp_disp_avbuf_read() argument
359 return readl(disp->avbuf.base + reg); in zynqmp_disp_avbuf_read()
362 static void zynqmp_disp_avbuf_write(struct zynqmp_disp *disp, int reg, u32 val) in zynqmp_disp_avbuf_write() argument
364 writel(val, disp->avbuf.base + reg); in zynqmp_disp_avbuf_write()
380 static void zynqmp_disp_avbuf_set_format(struct zynqmp_disp *disp, in zynqmp_disp_avbuf_set_format() argument
387 val = zynqmp_disp_avbuf_read(disp, ZYNQMP_DISP_AV_BUF_FMT); in zynqmp_disp_avbuf_set_format()
392 zynqmp_disp_avbuf_write(disp, ZYNQMP_DISP_AV_BUF_FMT, val); in zynqmp_disp_avbuf_set_format()
399 zynqmp_disp_avbuf_write(disp, reg, fmt->sf[i]); in zynqmp_disp_avbuf_set_format()
415 zynqmp_disp_avbuf_set_clocks_sources(struct zynqmp_disp *disp, in zynqmp_disp_avbuf_set_clocks_sources() argument
[all …]
/linux-6.6.21/drivers/gpu/drm/msm/
DMakefile3 ccflags-y += -I $(srctree)/$(src)/disp/dpu1
34 disp/mdp4/mdp4_crtc.o \
35 disp/mdp4/mdp4_dsi_encoder.o \
36 disp/mdp4/mdp4_dtv_encoder.o \
37 disp/mdp4/mdp4_lcdc_encoder.o \
38 disp/mdp4/mdp4_lvds_connector.o \
39 disp/mdp4/mdp4_lvds_pll.o \
40 disp/mdp4/mdp4_irq.o \
41 disp/mdp4/mdp4_kms.o \
42 disp/mdp4/mdp4_plane.o \
[all …]
/linux-6.6.21/scripts/dtc/
Dfdtput.c56 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 …]
Dfdtget.c53 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.6.21/drivers/video/
Dof_display_timing.c149 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 …]
Ddisplay_timing.c12 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()
Dof_videomode.c33 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.6.21/Documentation/devicetree/bindings/pwm/
Dmediatek,pwm-disp.yaml4 $id: http://devicetree.org/schemas/pwm/mediatek,pwm-disp.yaml#
20 - mediatek,mt2701-disp-pwm
21 - mediatek,mt6595-disp-pwm
22 - mediatek,mt8173-disp-pwm
23 - mediatek,mt8183-disp-pwm
26 - mediatek,mt6795-disp-pwm
27 - mediatek,mt8167-disp-pwm
28 - const: mediatek,mt8173-disp-pwm
31 - mediatek,mt8186-disp-pwm
32 - mediatek,mt8188-disp-pwm
[all …]
/linux-6.6.21/arch/arm64/kernel/probes/
Dsimulate-insn.c108 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 …]
/linux-6.6.21/drivers/gpu/drm/nouveau/
Dnouveau_display.c136 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.6.21/Documentation/devicetree/bindings/soc/mediatek/
Dmediatek,mutex.yaml27 - mediatek,mt2701-disp-mutex
28 - mediatek,mt2712-disp-mutex
29 - mediatek,mt6795-disp-mutex
30 - mediatek,mt8167-disp-mutex
31 - mediatek,mt8173-disp-mutex
32 - mediatek,mt8183-disp-mutex
33 - mediatek,mt8186-disp-mutex
35 - mediatek,mt8188-disp-mutex
36 - mediatek,mt8192-disp-mutex
37 - mediatek,mt8195-disp-mutex
[all …]
/linux-6.6.21/drivers/gpu/drm/nouveau/nvif/
Ddisp.c30 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
61 disp->object.client = NULL; in nvif_disp_ctor()
70 disps[cid].oclass, &args, sizeof(args), &disp->object); in nvif_disp_ctor()
75 NVIF_DEBUG(&disp->object, "[NEW] conn_mask:%08x outp_mask:%08x head_mask:%08x", in nvif_disp_ctor()
77 disp->conn_mask = args.conn_mask; in nvif_disp_ctor()
78 disp->outp_mask = args.outp_mask; in nvif_disp_ctor()
79 disp->head_mask = args.head_mask; in nvif_disp_ctor()
/linux-6.6.21/drivers/video/fbdev/mb862xx/
Dmb862xxfbdrv.c101 outreg(disp, GC_L0PAL0 + (regno * 4), val); in mb862xxfb_setcolreg()
217 reg = inreg(disp, GC_DCM1); in mb862xxfb_set_par()
219 outreg(disp, GC_DCM1, reg); in mb862xxfb_set_par()
223 reg = inreg(disp, GC_DCM1); in mb862xxfb_set_par()
226 outreg(disp, GC_DCM1, reg); in mb862xxfb_set_par()
234 outreg(disp, GC_L0M, reg); in mb862xxfb_set_par()
237 reg = inreg(disp, GC_L0EM); in mb862xxfb_set_par()
238 outreg(disp, GC_L0EM, reg | GC_L0EM_L0EC_24); in mb862xxfb_set_par()
240 outreg(disp, GC_WY_WX, 0); in mb862xxfb_set_par()
242 outreg(disp, GC_WH_WW, reg); in mb862xxfb_set_par()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/display/mediatek/
Dmediatek,ovl.yaml25 - mediatek,mt2701-disp-ovl
26 - mediatek,mt8173-disp-ovl
27 - mediatek,mt8183-disp-ovl
28 - mediatek,mt8192-disp-ovl
31 - mediatek,mt7623-disp-ovl
32 - mediatek,mt2712-disp-ovl
33 - const: mediatek,mt2701-disp-ovl
36 - mediatek,mt6795-disp-ovl
37 - const: mediatek,mt8173-disp-ovl
40 - mediatek,mt8188-disp-ovl
[all …]
Dmediatek,color.yaml26 - mediatek,mt2701-disp-color
27 - mediatek,mt8167-disp-color
28 - mediatek,mt8173-disp-color
31 - mediatek,mt7623-disp-color
32 - mediatek,mt2712-disp-color
33 - const: mediatek,mt2701-disp-color
36 - mediatek,mt6795-disp-color
37 - mediatek,mt8183-disp-color
38 - mediatek,mt8186-disp-color
39 - mediatek,mt8188-disp-color
[all …]
/linux-6.6.21/arch/s390/include/asm/
Dvx-insn-asm.h264 .macro VLVG v, gr, disp, m
269 .word (b2 << 12) | (\disp)
295 .macro VL v, disp, index="%r0", base
300 .word (b2 << 12) | (\disp)
305 .macro VLEx vr1, disp, index="%r0", base, m3, opc
310 .word (b2 << 12) | (\disp)
313 .macro VLEB vr1, disp, index="%r0", base, m3
314 VLEx \vr1, \disp, \index, \base, \m3, 0x00
316 .macro VLEH vr1, disp, index="%r0", base, m3
317 VLEx \vr1, \disp, \index, \base, \m3, 0x01
[all …]

123456789