Home
last modified time | relevance | path

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

1234567891011

/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dbase.c44 struct nvkm_disp *disp = container_of(event, typeof(*disp), vblank); in nvkm_disp_vblank_fini() local
53 struct nvkm_disp *disp = container_of(event, typeof(*disp), vblank); in nvkm_disp_vblank_init() local
101 disp->func->intr(disp); in nvkm_disp_intr()
111 if (disp->func->fini) in nvkm_disp_fini()
112 disp->func->fini(disp); in nvkm_disp_fini()
142 int ret = disp->func->init(disp); in nvkm_disp_init()
280 ret = disp->func->oneinit(disp); in nvkm_disp_oneinit()
313 void *data = disp; in nvkm_disp_dtor()
320 if (disp->super.wq) { in nvkm_disp_dtor()
372 disp->func = func; in nvkm_disp_new_()
[all …]
H A 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
14 nvkm-y += nvkm/engine/disp/g84.o
[all …]
H A Dgv100.c797 struct nvkm_disp *disp; member
829 caps->disp = disp; in gv100_disp_caps_new()
842 mutex_lock(&disp->super.mutex); in gv100_disp_super()
853 nv50_disp_super_1(disp); in gv100_disp_super()
866 nvkm_outp_route(disp); in gv100_disp_super()
890 mutex_unlock(&disp->super.mutex); in gv100_disp_super()
922 if (chid < ARRAY_SIZE(disp->chan) && disp->chan[chid]) { in gv100_disp_exception()
944 queue_work(disp->super.wq, &disp->super.work); in gv100_disp_intr_ctrl_disp()
994 gv100_disp_exception(disp, 0); in gv100_disp_intr_exc_other()
1066 nvkm_disp_vblank(disp, head); in gv100_disp_intr_head_timing()
[all …]
H A Dchan.c55 struct nvkm_disp *disp = chan->disp; in nvkm_disp_chan_ntfy() local
59 *pevent = &disp->uevent; in nvkm_disp_chan_ntfy()
83 struct nvkm_disp *disp; member
105 struct nvkm_disp *disp = chan->disp; in nvkm_disp_chan_child_new() local
114 object->disp = disp; in nvkm_disp_chan_child_new()
175 struct nvkm_disp *disp = chan->disp; in nvkm_disp_chan_dtor() local
177 spin_lock(&disp->client.lock); in nvkm_disp_chan_dtor()
229 chan->disp = disp; in nvkm_disp_chan_new_()
240 spin_lock(&disp->client.lock); in nvkm_disp_chan_new_()
256 return nvkm_disp_chan_new_(disp, disp->wndw.nr, oclass, argv, argc, pobject); in nvkm_disp_wndw_new()
[all …]
H A 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()
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()
92 spin_lock(&disp->client.lock); in nvkm_udisp_new()
93 if (disp->client.object.func) { in nvkm_udisp_new()
94 spin_unlock(&disp->client.lock); in nvkm_udisp_new()
98 *pobject = &disp->client.object; in nvkm_udisp_new()
[all …]
H A Dnv50.c448 struct nvkm_disp *disp = chan->disp; in nv50_disp_chan_mthd() local
534 struct nvkm_disp *disp = chan->disp; in nv50_disp_pioc_fini() local
553 struct nvkm_disp *disp = chan->disp; in nv50_disp_pioc_init() local
1481 queue_work(disp->super.wq, &disp->super.work); in nv50_disp_intr()
1569 disp->wndw.nr = func->wndw.cnt(disp, &disp->wndw.mask); in nv50_disp_oneinit()
1573 disp->head.nr = func->head.cnt(disp, &disp->head.mask); in nv50_disp_oneinit()
1582 disp->dac.nr = func->dac.cnt(disp, &disp->dac.mask); in nv50_disp_oneinit()
1592 disp->pior.nr = func->pior.cnt(disp, &disp->pior.mask); in nv50_disp_oneinit()
1601 disp->sor.nr = func->sor.cnt(disp, &disp->sor.mask); in nv50_disp_oneinit()
1603 for_each_set_bit(i, &disp->sor.mask, disp->sor.nr) { in nv50_disp_oneinit()
[all …]
H A Dgf119.c481 struct nvkm_disp *disp = container_of(event, typeof(*disp), uevent); in gf119_disp_chan_uevent_fini() local
490 struct nvkm_disp *disp = container_of(event, typeof(*disp), uevent); in gf119_disp_chan_uevent_init() local
518 struct nvkm_disp *disp = chan->disp; in gf119_disp_pioc_fini() local
537 struct nvkm_disp *disp = chan->disp; in gf119_disp_pioc_init() local
1019 mutex_lock(&disp->super.mutex); in gf119_disp_super()
1028 nv50_disp_super_1(disp); in gf119_disp_super()
1032 nv50_disp_super_1_0(disp, head); in gf119_disp_super()
1041 nvkm_outp_route(disp); in gf119_disp_super()
1065 mutex_unlock(&disp->super.mutex); in gf119_disp_super()
1122 disp->func->intr_error(disp, chid); in gf119_disp_intr()
[all …]
H A Dtu102.c97 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()
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()
168 switch (nvkm_memory_target(disp->inst->memory)) { in tu102_disp_init()
176 nvkm_wr32(device, 0x610014, disp->inst->addr >> 16); in tu102_disp_init()
183 nvkm_wr32(device, 0x611cec, disp->head.mask << 16 | in tu102_disp_init()
[all …]
/openbmc/linux/drivers/gpu/drm/xlnx/
H A Dzynqmp_disp.c1067 zynqmp_disp_layer_release_dma(disp, &disp->layers[i]); in zynqmp_disp_destroy_layers()
1135 layer->disp = disp; in zynqmp_disp_create_layers()
1167 zynqmp_disp_avbuf_set_clocks_sources(disp, disp->dpsub->vid_clk_from_ps, in zynqmp_disp_enable()
1212 dev_info(disp->dev, in zynqmp_disp_setup_clock()
1216 dev_dbg(disp->dev, in zynqmp_disp_setup_clock()
1233 disp = kzalloc(sizeof(*disp), GFP_KERNEL); in zynqmp_disp_probe()
1234 if (!disp) in zynqmp_disp_probe()
1238 disp->dpsub = dpsub; in zynqmp_disp_probe()
1269 dpsub->disp = disp; in zynqmp_disp_probe()
1274 kfree(disp); in zynqmp_disp_probe()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/
H A DMakefile34 disp/mdp4/mdp4_crtc.o \
40 disp/mdp4/mdp4_irq.o \
41 disp/mdp4/mdp4_kms.o \
45 disp/mdp5/mdp5_cfg.o \
47 disp/mdp5/mdp5_ctl.o \
50 disp/mdp5/mdp5_irq.o \
51 disp/mdp5/mdp5_kms.o \
80 disp/dpu1/dpu_kms.o \
82 disp/dpu1/dpu_rm.o \
90 disp/mdp_format.o \
[all …]
/openbmc/u-boot/tools/
H A Dfdtgrep.c129 if (disp->types_inc & disp->types_exc & type) { in value_add()
520 if (!((disp->types_inc | disp->types_exc) & type)) { in check_type_include()
572 disp->types_inc, disp->types_exc, none_match); in check_type_include()
818 disp->flags); in do_fdtgrep()
1089 disp->all = 1; in scan_args()
1178 if (type && value_add(disp, &disp->value_head, type, inc, in scan_args()
1183 if (disp->invert && disp->types_exc) in scan_args()
1194 memset(&disp, '\0', sizeof(disp)); in main()
1200 disp.colour = disp.all && isatty(0); in main()
1204 if (value_add(&disp, &disp.value_head, FDT_IS_ANY, 1, in main()
[all …]
/openbmc/linux/scripts/dtc/
H A Dfdtput.c69 if (disp->verbose) in encode_value()
73 fmt[1] = disp->type ? disp->type : 'd'; in encode_value()
80 len = disp->size == -1 ? 4 : disp->size; in encode_value()
96 if (disp->verbose) in encode_value()
105 if (disp->verbose) { in encode_value()
115 if (disp->verbose) in encode_value()
232 switch (disp->oper) { in do_fdtput()
291 memset(&disp, '\0', sizeof(disp)); in main()
292 disp.size = -1; in main()
320 &disp.size)) in main()
[all …]
H A Dfdtget.c80 size = disp->size; in show_data()
89 fmt[1] = disp->type ? disp->type : 'd'; in show_data()
198 switch (disp->mode) { in show_data_for_item()
216 puts(disp->default_val); in show_data_for_item()
250 if (disp->default_val) { in do_fdtget()
251 puts(disp->default_val); in do_fdtget()
294 struct display_info disp; in main() local
298 memset(&disp, '\0', sizeof(disp)); in main()
299 disp.size = -1; in main()
300 disp.mode = MODE_SHOW_VALUE; in main()
[all …]
/openbmc/linux/drivers/video/
H A Dof_display_timing.c160 disp = kzalloc(sizeof(*disp), GFP_KERNEL); in of_get_display_timings()
161 if (!disp) { 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()
222 disp->native_mode = disp->num_timings; in of_get_display_timings()
224 disp->timings[disp->num_timings] = dt; in of_get_display_timings()
225 disp->num_timings++; in of_get_display_timings()
238 return disp; in of_get_display_timings()
243 disp = NULL; in of_get_display_timings()
[all …]
H A 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()
H A 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()
/openbmc/linux/Documentation/devicetree/bindings/pwm/
H A Dmediatek,pwm-disp.yaml20 - 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
33 - mediatek,mt8192-disp-pwm
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_display.c651 if (disp->disp.object.oclass < NV50_DISP) in nouveau_display_create_properties()
654 if (disp->disp.object.oclass < GF110_DISP) in nouveau_display_create_properties()
688 disp = drm->display = kzalloc(sizeof(*disp), GFP_KERNEL); in nouveau_display_create()
689 if (!disp) in nouveau_display_create()
729 &disp->disp); in nouveau_display_create()
732 if (disp->disp.object.oclass < NV50_DISP) { in nouveau_display_create()
753 if (disp->disp.object.oclass >= NV50_DISP) in nouveau_display_create()
767 disp->dtor(dev); in nouveau_display_create()
787 if (disp->dtor) in nouveau_display_destroy()
790 nvif_disp_dtor(&disp->disp); in nouveau_display_destroy()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/soc/mediatek/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvif/
H A 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()
/openbmc/u-boot/drivers/video/
H A Dipu_disp.c880 clk_set_rate(g_di_clk[disp], in ipu_init_sync_panel()
911 disp, /* display */ in ipu_init_sync_panel()
928 disp, /* display */ in ipu_init_sync_panel()
945 disp, /* display */ in ipu_init_sync_panel()
962 disp, /* display */ in ipu_init_sync_panel()
979 disp, /* display */ in ipu_init_sync_panel()
996 disp, /* display */ in ipu_init_sync_panel()
1014 disp, /* display */ in ipu_init_sync_panel()
1031 disp, /* display */ in ipu_init_sync_panel()
1047 disp, /* display */ in ipu_init_sync_panel()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/display/mediatek/
H A 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
40 - mediatek,mt8188-disp-ovl
41 - mediatek,mt8195-disp-ovl
[all …]
H A 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
36 - mediatek,mt6795-disp-color
37 - mediatek,mt8183-disp-color
38 - mediatek,mt8186-disp-color
39 - mediatek,mt8188-disp-color
40 - mediatek,mt8192-disp-color
[all …]
/openbmc/linux/arch/arm64/kernel/probes/
H A 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()
159 int disp = 4; in simulate_tbz_tbnz() local
163 disp = tbz_displacement(opcode); in simulate_tbz_tbnz()
[all …]
/openbmc/linux/drivers/video/fbdev/mb862xx/
H A Dmb862xxfbdrv.c217 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()
240 outreg(disp, GC_WY_WX, 0); in mb862xxfb_set_par()
243 outreg(disp, GC_L0OA0, 0); in mb862xxfb_set_par()
244 outreg(disp, GC_L0DA0, 0); in mb862xxfb_set_par()
379 outreg(disp, GC_DLS, 1); in mb862xxfb_ioctl()
382 outreg(disp, GC_DCM1, inreg(disp, GC_DCM1) | in mb862xxfb_ioctl()
[all …]

1234567891011