Home
last modified time | relevance | path

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

1234567891011

/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
DKbuild2 nvkm-y += nvkm/engine/disp/base.o
3 nvkm-y += nvkm/engine/disp/nv04.o
4 nvkm-y += nvkm/engine/disp/nv50.o
5 nvkm-y += nvkm/engine/disp/g84.o
6 nvkm-y += nvkm/engine/disp/g94.o
7 nvkm-y += nvkm/engine/disp/gt200.o
8 nvkm-y += nvkm/engine/disp/mcp77.o
9 nvkm-y += nvkm/engine/disp/gt215.o
10 nvkm-y += nvkm/engine/disp/mcp89.o
11 nvkm-y += nvkm/engine/disp/gf119.o
[all …]
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 …]
Dnv50.c48 struct nv50_disp *disp = nv50_disp(base); in nv50_disp_intr_() local
49 disp->func->intr(disp); in nv50_disp_intr_()
55 struct nv50_disp *disp = nv50_disp(base); in nv50_disp_fini_() local
56 disp->func->fini(disp); in nv50_disp_fini_()
62 struct nv50_disp *disp = nv50_disp(base); in nv50_disp_init_() local
63 return disp->func->init(disp); in nv50_disp_init_()
69 struct nv50_disp *disp = nv50_disp(base); in nv50_disp_dtor_() local
71 nvkm_ramht_del(&disp->ramht); in nv50_disp_dtor_()
72 nvkm_gpuobj_del(&disp->inst); in nv50_disp_dtor_()
74 nvkm_event_fini(&disp->uevent); in nv50_disp_dtor_()
[all …]
Dgv100.c32 gv100_disp_wndw_cnt(struct nvkm_disp *disp, unsigned long *pmask) in gv100_disp_wndw_cnt() argument
34 struct nvkm_device *device = disp->engine.subdev.device; in gv100_disp_wndw_cnt()
42 struct nv50_disp *disp = in gv100_disp_super() local
44 struct nvkm_subdev *subdev = &disp->base.engine.subdev; in gv100_disp_super()
50 nvkm_debug(subdev, "supervisor %d: %08x\n", ffs(disp->super), stat); in gv100_disp_super()
51 list_for_each_entry(head, &disp->base.head, head) { in gv100_disp_super()
56 if (disp->super & 0x00000001) { in gv100_disp_super()
57 nv50_disp_chan_mthd(disp->chan[0], NV_DBG_DEBUG); in gv100_disp_super()
58 nv50_disp_super_1(disp); in gv100_disp_super()
59 list_for_each_entry(head, &disp->base.head, head) { in gv100_disp_super()
[all …]
Dgf119.c36 struct nv50_disp *disp = in gf119_disp_super() local
38 struct nvkm_subdev *subdev = &disp->base.engine.subdev; in gf119_disp_super()
43 nvkm_debug(subdev, "supervisor %d\n", ffs(disp->super)); in gf119_disp_super()
44 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super()
49 if (disp->super & 0x00000001) { in gf119_disp_super()
50 nv50_disp_chan_mthd(disp->chan[0], NV_DBG_DEBUG); in gf119_disp_super()
51 nv50_disp_super_1(disp); in gf119_disp_super()
52 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super()
55 nv50_disp_super_1_0(disp, head); in gf119_disp_super()
58 if (disp->super & 0x00000002) { in gf119_disp_super()
[all …]
Dchannv50.c38 nv50_disp_mthd_list(struct nv50_disp *disp, int debug, u32 base, int c, in nv50_disp_mthd_list() argument
41 struct nvkm_subdev *subdev = &disp->base.engine.subdev; in nv50_disp_mthd_list()
69 struct nv50_disp *disp = chan->disp; in nv50_disp_chan_mthd() local
70 struct nvkm_subdev *subdev = &disp->base.engine.subdev; in nv50_disp_chan_mthd()
100 nv50_disp_mthd_list(disp, debug, base, mthd->prev, in nv50_disp_chan_mthd()
109 struct nv50_disp *disp = container_of(event, typeof(*disp), uevent); in nv50_disp_chan_uevent_fini() local
110 struct nvkm_device *device = disp->base.engine.subdev.device; in nv50_disp_chan_uevent_fini()
118 struct nv50_disp *disp = container_of(event, typeof(*disp), uevent); in nv50_disp_chan_uevent_init() local
119 struct nvkm_device *device = disp->base.engine.subdev.device; in nv50_disp_chan_uevent_init()
125 nv50_disp_chan_uevent_send(struct nv50_disp *disp, int chid) in nv50_disp_chan_uevent_send() argument
[all …]
Dtu102.c32 tu102_disp_init(struct nv50_disp *disp) in tu102_disp_init() argument
34 struct nvkm_device *device = disp->base.engine.subdev.device; in tu102_disp_init()
54 for (i = 0; i < disp->sor.nr; i++) { in tu102_disp_init()
61 list_for_each_entry(head, &disp->base.head, head) { in tu102_disp_init()
76 for (i = 0; i < disp->wndw.nr; i++) { in tu102_disp_init()
94 switch (nvkm_memory_target(disp->inst->memory)) { in tu102_disp_init()
102 nvkm_wr32(device, 0x610014, disp->inst->addr >> 16); in tu102_disp_init()
109 nvkm_wr32(device, 0x611cec, disp->head.mask << 16 | in tu102_disp_init()
114 nvkm_wr32(device, 0x611ce8, disp->wndw.mask); /* MSK. */ in tu102_disp_init()
118 nvkm_wr32(device, 0x611ce4, disp->wndw.mask); /* MSK. */ in tu102_disp_init()
[all …]
Dsorg94.c31 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_watermark()
40 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_activesym()
51 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_audio_sym()
60 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_drive()
78 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_pattern()
97 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_power()
116 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_links()
136 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_war_needed()
151 g94_sor_war_update_sppll1(struct nvkm_disp *disp) in g94_sor_war_update_sppll1() argument
153 struct nvkm_device *device = disp->engine.subdev.device; in g94_sor_war_update_sppll1()
[all …]
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()
125 nvkm_conn_new(struct nvkm_disp *disp, int index, struct nvbios_connE *info, in nvkm_conn_new() argument
130 nvkm_conn_ctor(disp, index, info, *pconn); in nvkm_conn_new()
Dheadgv100.c27 struct nvkm_device *device = head->disp->engine.subdev.device; in gv100_head_vblank_put()
34 struct nvkm_device *device = head->disp->engine.subdev.device; in gv100_head_vblank_get()
41 struct nvkm_device *device = head->disp->engine.subdev.device; in gv100_head_rgpos()
51 struct nvkm_device *device = head->disp->engine.subdev.device; in gv100_head_state()
91 gv100_head_new(struct nvkm_disp *disp, int id) in gv100_head_new() argument
93 struct nvkm_device *device = disp->engine.subdev.device; in gv100_head_new()
96 return nvkm_head_new_(&gv100_head, disp, id); in gv100_head_new()
100 gv100_head_cnt(struct nvkm_disp *disp, unsigned long *pmask) in gv100_head_cnt() argument
102 struct nvkm_device *device = disp->engine.subdev.device; in gv100_head_cnt()
Dchangf119.c29 struct nv50_disp *disp = container_of(event, typeof(*disp), uevent); in gf119_disp_chan_uevent_fini() local
30 struct nvkm_device *device = disp->base.engine.subdev.device; in gf119_disp_chan_uevent_fini()
38 struct nv50_disp *disp = container_of(event, typeof(*disp), uevent); in gf119_disp_chan_uevent_init() local
39 struct nvkm_device *device = disp->base.engine.subdev.device; in gf119_disp_chan_uevent_init()
54 struct nvkm_device *device = chan->disp->base.engine.subdev.device; in gf119_disp_chan_intr()
Dheadnv50.c29 struct nvkm_device *device = head->disp->engine.subdev.device; in nv50_head_vblank_put()
36 struct nvkm_device *device = head->disp->engine.subdev.device; in nv50_head_vblank_get()
43 struct nvkm_device *device = head->disp->engine.subdev.device; in nv50_head_rgclk()
50 struct nvkm_device *device = head->disp->engine.subdev.device; in nv50_head_rgpos()
60 struct nvkm_device *device = head->disp->engine.subdev.device; in nv50_head_state()
89 nv50_head_new(struct nvkm_disp *disp, int id) in nv50_head_new() argument
91 return nvkm_head_new_(&nv50_head, disp, id); in nv50_head_new()
95 nv50_head_cnt(struct nvkm_disp *disp, unsigned long *pmask) in nv50_head_cnt() argument
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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,mt8192-disp-pwm
31 - mediatek,mt8195-disp-pwm
[all …]
/linux-5.19.10/drivers/video/fbdev/mb862xx/
Dmb862xxfbdrv.c100 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-5.19.10/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 …]
/linux-5.19.10/Documentation/devicetree/bindings/display/mediatek/
Dmediatek,color.yaml26 - const: mediatek,mt2701-disp-color
28 - const: mediatek,mt8167-disp-color
30 - const: mediatek,mt8173-disp-color
33 - mediatek,mt7623-disp-color
34 - mediatek,mt2712-disp-color
35 - const: mediatek,mt2701-disp-color
38 - mediatek,mt8183-disp-color
39 - mediatek,mt8186-disp-color
40 - mediatek,mt8192-disp-color
41 - mediatek,mt8195-disp-color
[all …]

1234567891011