Home
last modified time | relevance | path

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

123456789

/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dbase.c45 struct nvkm_disp *disp = container_of(event, typeof(*disp), vblank); in nvkm_disp_vblank_fini() local
46 struct nvkm_head *head = nvkm_head_find(disp, id); in nvkm_disp_vblank_fini()
54 struct nvkm_disp *disp = container_of(event, typeof(*disp), vblank); in nvkm_disp_vblank_init() local
55 struct nvkm_head *head = nvkm_head_find(disp, id); in nvkm_disp_vblank_init()
64 struct nvkm_disp *disp = in nvkm_disp_vblank_ctor() local
65 container_of(notify->event, typeof(*disp), vblank); in nvkm_disp_vblank_ctor()
73 if (ret = -ENXIO, req->v0.head <= disp->vblank.index_nr) { in nvkm_disp_vblank_ctor()
91 nvkm_disp_vblank(struct nvkm_disp *disp, int head) in nvkm_disp_vblank() argument
94 nvkm_event_send(&disp->vblank, 1, head, &rep, sizeof(rep)); in nvkm_disp_vblank()
101 struct nvkm_disp *disp = in nvkm_disp_hpd_ctor() local
[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()
103 struct nvkm_device *device = ior->disp->engine.subdev.device; in gv100_sor_hdmi_ctrl()
164 struct nvkm_device *device = sor->disp->engine.subdev.device; in gv100_sor_state()
202 gv100_sor_new(struct nvkm_disp *disp, int id) in gv100_sor_new() argument
204 struct nvkm_device *device = disp->engine.subdev.device; in gv100_sor_new()
210 return nvkm_ior_new_(&gv100_sor, disp, SOR, id, hda & BIT(id)); in gv100_sor_new()
214 gv100_sor_cnt(struct nvkm_disp *disp, unsigned long *pmask) in gv100_sor_cnt() argument
[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.c32 struct nvkm_disp *disp = nvkm_udisp(object); in nvkm_udisp_sclass() local
46 if (disp->func->user[index].ctor) { in nvkm_udisp_sclass()
47 sclass->base = disp->func->user[index].base; in nvkm_udisp_sclass()
48 sclass->ctor = disp->func->user[index].ctor; in nvkm_udisp_sclass()
58 struct nvkm_disp *disp = nvkm_udisp(object); in nvkm_udisp_mthd() local
60 if (disp->engine.subdev.device->card_type >= NV_50) in nvkm_udisp_mthd()
69 struct nvkm_disp *disp = nvkm_udisp(object); in nvkm_udisp_dtor() local
71 spin_lock(&disp->client.lock); in nvkm_udisp_dtor()
72 if (object == &disp->client.object) in nvkm_udisp_dtor()
73 disp->client.object.func = NULL; in nvkm_udisp_dtor()
[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 …]
Duoutp.c67 struct nvkm_disp *disp = outp->disp; in nvkm_uoutp_mthd() local
70 mutex_lock(&disp->super.mutex); in nvkm_uoutp_mthd()
77 mutex_unlock(&disp->super.mutex); in nvkm_uoutp_mthd()
85 struct nvkm_disp *disp = outp->disp; in nvkm_uoutp_dtor() local
87 spin_lock(&disp->client.lock); in nvkm_uoutp_dtor()
89 spin_unlock(&disp->client.lock); in nvkm_uoutp_dtor()
102 struct nvkm_disp *disp = nvkm_udisp(oclass->parent); in nvkm_uoutp_new() local
110 list_for_each_entry(outt, &disp->outps, head) { in nvkm_uoutp_new()
121 spin_lock(&disp->client.lock); in nvkm_uoutp_new()
127 spin_unlock(&disp->client.lock); in nvkm_uoutp_new()
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()
100 tu102_sor_new(struct nvkm_disp *disp, int id) in tu102_sor_new() argument
102 struct nvkm_device *device = disp->engine.subdev.device; in tu102_sor_new()
105 return nvkm_ior_new_(&tu102_sor, disp, SOR, id, hda & BIT(id)); in tu102_sor_new()
109 tu102_disp_init(struct nvkm_disp *disp) in tu102_disp_init() argument
111 struct nvkm_device *device = disp->engine.subdev.device; in tu102_disp_init()
131 for (i = 0; i < disp->sor.nr; i++) { in tu102_disp_init()
138 list_for_each_entry(head, &disp->heads, head) { in tu102_disp_init()
153 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()
Dconn.c36 struct nvkm_disp *disp = conn->disp; in nvkm_conn_hpd() local
37 struct nvkm_gpio *gpio = disp->engine.subdev.device->gpio; in nvkm_conn_hpd()
50 nvkm_event_send(&disp->hpd, rep.mask, index, &rep, sizeof(rep)); in nvkm_conn_hpd()
78 nvkm_conn_ctor(struct nvkm_disp *disp, int index, struct nvbios_connE *info, in nvkm_conn_ctor() argument
82 struct nvkm_gpio *gpio = disp->engine.subdev.device->gpio; in nvkm_conn_ctor()
86 conn->disp = disp; in nvkm_conn_ctor()
127 nvkm_conn_new(struct nvkm_disp *disp, int index, struct nvbios_connE *info, in nvkm_conn_new() argument
132 nvkm_conn_ctor(disp, index, info, *pconn); in nvkm_conn_new()
Dg94.c36 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 …]
/linux-6.1.9/drivers/gpu/drm/xlnx/
Dzynqmp_disp.c152 struct zynqmp_disp *disp; member
409 static u32 zynqmp_disp_avbuf_read(struct zynqmp_disp *disp, int reg) in zynqmp_disp_avbuf_read() argument
411 return readl(disp->avbuf.base + reg); in zynqmp_disp_avbuf_read()
414 static void zynqmp_disp_avbuf_write(struct zynqmp_disp *disp, int reg, u32 val) in zynqmp_disp_avbuf_write() argument
416 writel(val, disp->avbuf.base + reg); in zynqmp_disp_avbuf_write()
437 static void zynqmp_disp_avbuf_set_format(struct zynqmp_disp *disp, in zynqmp_disp_avbuf_set_format() argument
444 val = zynqmp_disp_avbuf_read(disp, ZYNQMP_DISP_AV_BUF_FMT); in zynqmp_disp_avbuf_set_format()
449 zynqmp_disp_avbuf_write(disp, ZYNQMP_DISP_AV_BUF_FMT, val); in zynqmp_disp_avbuf_set_format()
456 zynqmp_disp_avbuf_write(disp, reg, fmt->sf[i]); in zynqmp_disp_avbuf_set_format()
472 zynqmp_disp_avbuf_set_clocks_sources(struct zynqmp_disp *disp, in zynqmp_disp_avbuf_set_clocks_sources() argument
[all …]
/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/gpu/drm/nouveau/
Dnouveau_display.c94 struct nouveau_display *disp = nouveau_display(crtc->dev); in nouveau_display_scanoutpos_head() local
100 ret = nvif_mthd(&disp->disp.object, 0, &args, sizeof(args)); in nouveau_display_scanoutpos_head()
142 struct nouveau_display *disp = nouveau_display(drm->dev); in nouveau_decode_mod() local
157 modifier |= disp->format_modifiers[0] & (0xffull << 12); in nouveau_decode_mod()
201 struct nouveau_display *disp = nouveau_display(drm->dev); in nouveau_validate_decode_mod() local
208 BUG_ON(!disp->format_modifiers); in nouveau_validate_decode_mod()
211 (disp->format_modifiers[mod] != DRM_FORMAT_MOD_INVALID) && in nouveau_validate_decode_mod()
212 (disp->format_modifiers[mod] != modifier); in nouveau_validate_decode_mod()
215 if (disp->format_modifiers[mod] == DRM_FORMAT_MOD_INVALID) { in nouveau_validate_decode_mod()
564 struct nouveau_display *disp = nouveau_display(dev); in nouveau_display_init() local
[all …]
/linux-6.1.9/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.1.9/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
25 - const: mediatek,mt8167-disp-pwm
26 - const: mediatek,mt8173-disp-pwm
29 - mediatek,mt8186-disp-pwm
30 - mediatek,mt8188-disp-pwm
31 - mediatek,mt8192-disp-pwm
[all …]
/linux-6.1.9/drivers/video/fbdev/mb862xx/
Dmb862xxfbdrv.c101 outreg(disp, GC_L0PAL0 + (regno * 4), val); in mb862xxfb_setcolreg()
218 reg = inreg(disp, GC_DCM1); in mb862xxfb_set_par()
220 outreg(disp, GC_DCM1, reg); in mb862xxfb_set_par()
224 reg = inreg(disp, GC_DCM1); in mb862xxfb_set_par()
227 outreg(disp, GC_DCM1, reg); in mb862xxfb_set_par()
235 outreg(disp, GC_L0M, reg); in mb862xxfb_set_par()
238 reg = inreg(disp, GC_L0EM); in mb862xxfb_set_par()
239 outreg(disp, GC_L0EM, reg | GC_L0EM_L0EC_24); in mb862xxfb_set_par()
241 outreg(disp, GC_WY_WX, 0); in mb862xxfb_set_par()
243 outreg(disp, GC_WH_WW, reg); in mb862xxfb_set_par()
[all …]
/linux-6.1.9/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", 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()
/linux-6.1.9/arch/s390/include/asm/
Dvx-insn.h261 .macro VLVG v, gr, disp, m
266 .word (b2 << 12) | (\disp)
292 .macro VL v, disp, index="%r0", base
297 .word (b2 << 12) | (\disp)
302 .macro VLEx vr1, disp, index="%r0", base, m3, opc
307 .word (b2 << 12) | (\disp)
310 .macro VLEB vr1, disp, index="%r0", base, m3
311 VLEx \vr1, \disp, \index, \base, \m3, 0x00
313 .macro VLEH vr1, disp, index="%r0", base, m3
314 VLEx \vr1, \disp, \index, \base, \m3, 0x01
[all …]

123456789