/drivers/gpu/drm/nouveau/core/engine/disp/ |
D | base.c | 38 struct nouveau_disp *disp = in nouveau_disp_vblank_ctor() local 39 container_of(notify->event, typeof(*disp), vblank); in nouveau_disp_vblank_ctor() 47 if (ret = -ENXIO, req->v0.head <= disp->vblank.index_nr) { in nouveau_disp_vblank_ctor() 58 nouveau_disp_vblank(struct nouveau_disp *disp, int head) in nouveau_disp_vblank() argument 61 nvkm_event_send(&disp->vblank, 1, head, &rep, sizeof(rep)); in nouveau_disp_vblank() 68 struct nouveau_disp *disp = in nouveau_disp_hpd_ctor() local 69 container_of(notify->event, typeof(*disp), hpd); in nouveau_disp_hpd_ctor() 78 list_for_each_entry(outp, &disp->outp, head) { in nouveau_disp_hpd_ctor() 102 struct nouveau_disp *disp = (void *)object->engine; in nouveau_disp_ntfy() local 105 *event = &disp->vblank; in nouveau_disp_ntfy() [all …]
|
D | priv.h | 21 struct nouveau_disp *disp = (d); \ 22 _nouveau_disp_dtor(nv_object(disp)); \ 25 struct nouveau_disp *disp = (d); \ 26 _nouveau_disp_init(nv_object(disp)); \ 29 struct nouveau_disp *disp = (d); \ 30 _nouveau_disp_fini(nv_object(disp), (s)); \
|
D | conn.h | 19 struct nvkm_connector *disp = (d); \ 20 _nvkm_connector_dtor(nv_object(disp)); \ 23 struct nvkm_connector *disp = (d); \ 24 _nvkm_connector_init(nv_object(disp)); \ 27 struct nvkm_connector *disp = (d); \ 28 _nvkm_connector_fini(nv_object(disp), (s)); \
|
D | dport.c | 57 struct nouveau_disp *disp = nouveau_disp(outp); in dp_set_link_config() local 58 struct nouveau_bios *bios = nouveau_bios(disp); in dp_set_link_config() 60 .subdev = nv_subdev(disp), in dp_set_link_config() 267 struct nouveau_disp *disp = nouveau_disp(outp); in dp_link_train_init() local 268 struct nouveau_bios *bios = nouveau_bios(disp); in dp_link_train_init() 270 .subdev = nv_subdev(disp), in dp_link_train_init() 293 struct nouveau_disp *disp = nouveau_disp(outp); in dp_link_train_fini() local 294 struct nouveau_bios *bios = nouveau_bios(disp); in dp_link_train_fini() 296 .subdev = nv_subdev(disp), in dp_link_train_fini() 329 struct nouveau_disp *disp = nouveau_disp(outp); in nouveau_dp_train() local [all …]
|
D | nv04.c | 131 struct nouveau_disp *disp = container_of(event, typeof(*disp), vblank); in nv04_disp_vblank_init() local 132 nv_wr32(disp, 0x600140 + (head * 0x2000) , 0x00000001); in nv04_disp_vblank_init() 138 struct nouveau_disp *disp = container_of(event, typeof(*disp), vblank); in nv04_disp_vblank_fini() local 139 nv_wr32(disp, 0x600140 + (head * 0x2000) , 0x00000000); in nv04_disp_vblank_fini()
|
D | conn.c | 37 struct nouveau_disp *disp = nouveau_disp(conn); in nvkm_connector_hpd() local 51 nvkm_event_send(&disp->hpd, rep.mask, index, &rep, sizeof(rep)); in nvkm_connector_hpd() 90 struct nouveau_disp *disp = (void *)engine; in nvkm_connector_create_() local 96 list_for_each_entry(outp, &disp->outp, head) { in nvkm_connector_create_()
|
D | outpdp.c | 144 struct nouveau_disp *disp = nouveau_disp(conn); in nvkm_output_dp_hpd() local 148 list_for_each_entry(outp, &disp->outp, base.head) { in nvkm_output_dp_hpd() 159 nvkm_event_send(&disp->hpd, rep.mask, conn->index, in nvkm_output_dp_hpd() 173 struct nouveau_disp *disp = nouveau_disp(outp); in nvkm_output_dp_irq() local 183 nvkm_event_send(&disp->hpd, rep.mask, index, &rep, sizeof(rep)); in nvkm_output_dp_irq()
|
/drivers/video/fbdev/ |
D | pmag-aa-fb.c | 86 struct display disp; member 116 static void aafbcon_cursor(struct display *disp, int mode, int x, int y) in aafbcon_cursor() argument 118 struct aafb_info *info = (struct aafb_info *)disp->fb_info; in aafbcon_cursor() 121 x *= fontwidth(disp); in aafbcon_cursor() 122 y *= fontheight(disp); in aafbcon_cursor() 130 c->x = x - disp->var.xoffset; in aafbcon_cursor() 131 c->y = y - disp->var.yoffset; in aafbcon_cursor() 148 static int aafbcon_set_font(struct display *disp, int width, int height) in aafbcon_set_font() argument 150 struct aafb_info *info = (struct aafb_info *)disp->fb_info; in aafbcon_set_font() 152 u8 fgc = ~attr_bgcol_ec(disp, disp->conp, &info->info); in aafbcon_set_font() [all …]
|
D | clps711x-fb.c | 215 struct device_node *disp, *np = dev->of_node; in clps711x_fb_probe() local 282 disp = of_parse_phandle(np, "display", 0); in clps711x_fb_probe() 283 if (!disp) { in clps711x_fb_probe() 289 ret = of_get_fb_videomode(disp, &cfb->mode, OF_USE_NATIVE_MODE); in clps711x_fb_probe() 293 of_property_read_u32(disp, "ac-prescale", &cfb->ac_prescale); in clps711x_fb_probe() 294 cfb->cmap_invert = of_property_read_bool(disp, "cmap-invert"); in clps711x_fb_probe() 296 ret = of_property_read_u32(disp, "bits-per-pixel", in clps711x_fb_probe()
|
D | bf54x-lq043fb.c | 241 u16 disp = fbi->mach_info->disp; in request_ports() local 243 if (gpio_request_one(disp, GPIOF_OUT_INIT_HIGH, DRIVER_NAME)) { in request_ports() 244 printk(KERN_ERR "Requesting GPIO %d failed\n", disp); in request_ports() 250 gpio_free(disp); in request_ports() 261 gpio_free(disp); in request_ports() 274 gpio_free(fbi->mach_info->disp); in free_ports()
|
/drivers/video/ |
D | of_display_timing.c | 141 struct display_timings *disp; in of_get_display_timings() local 153 disp = kzalloc(sizeof(*disp), GFP_KERNEL); in of_get_display_timings() 154 if (!disp) { in of_get_display_timings() 176 disp->num_timings = of_get_child_count(timings_np); in of_get_display_timings() 177 if (disp->num_timings == 0) { in of_get_display_timings() 183 disp->timings = kzalloc(sizeof(struct display_timing *) * in of_get_display_timings() 184 disp->num_timings, GFP_KERNEL); in of_get_display_timings() 185 if (!disp->timings) { in of_get_display_timings() 191 disp->num_timings = 0; in of_get_display_timings() 192 disp->native_mode = 0; in of_get_display_timings() [all …]
|
D | display_timing.c | 13 void display_timings_release(struct display_timings *disp) in display_timings_release() argument 15 if (disp->timings) { in display_timings_release() 18 for (i = 0; i < disp->num_timings; i++) in display_timings_release() 19 kfree(disp->timings[i]); in display_timings_release() 20 kfree(disp->timings); in display_timings_release() 22 kfree(disp); in display_timings_release()
|
D | of_videomode.c | 34 struct display_timings *disp; in of_get_videomode() local 37 disp = of_get_display_timings(np); in of_get_videomode() 38 if (!disp) { in of_get_videomode() 44 index = disp->native_mode; in of_get_videomode() 46 ret = videomode_from_timings(disp, vm, index); in of_get_videomode() 50 display_timings_release(disp); in of_get_videomode()
|
D | videomode.c | 32 int videomode_from_timings(const struct display_timings *disp, in videomode_from_timings() argument 37 dt = display_timings_get(disp, index); in videomode_from_timings()
|
/drivers/video/fbdev/mb862xx/ |
D | mb862xxfbdrv.c | 102 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 …]
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_display.c | 105 struct nouveau_display *disp = nouveau_display(crtc->dev); in nouveau_display_scanoutpos_head() local 109 ret = nvif_mthd(&disp->disp, 0, &args, sizeof(args)); in nouveau_display_scanoutpos_head() 182 struct nouveau_display *disp = nouveau_display(dev); in nouveau_display_vblank_init() local 188 ret = nvif_notify_init(&disp->disp, NULL, in nouveau_display_vblank_init() 216 struct nouveau_display *disp = nouveau_display(drm_fb->dev); in nouveau_user_framebuffer_destroy() local 218 if (disp->fb_dtor) in nouveau_user_framebuffer_destroy() 219 disp->fb_dtor(drm_fb); in nouveau_user_framebuffer_destroy() 249 struct nouveau_display *disp = nouveau_display(dev); in nouveau_framebuffer_init() local 260 if (disp->fb_ctor) { in nouveau_framebuffer_init() 261 ret = disp->fb_ctor(fb); in nouveau_framebuffer_init() [all …]
|
D | nv50_display.c | 65 nv50_chan_create(struct nvif_object *disp, const u32 *oclass, u8 head, in nv50_chan_create() argument 69 int ret = nvif_object_init(disp, NULL, (oclass[0] << 16) | head, in nv50_chan_create() 101 nv50_pioc_create(struct nvif_object *disp, const u32 *oclass, u8 head, in nv50_pioc_create() argument 104 return nv50_chan_create(disp, oclass, head, data, size, &pioc->base); in nv50_pioc_create() 116 nv50_curs_create(struct nvif_object *disp, int head, struct nv50_curs *curs) in nv50_curs_create() argument 130 return nv50_pioc_create(disp, oclass, head, &args, sizeof(args), in nv50_curs_create() 143 nv50_oimm_create(struct nvif_object *disp, int head, struct nv50_oimm *oimm) in nv50_oimm_create() argument 157 return nv50_pioc_create(disp, oclass, head, &args, sizeof(args), in nv50_oimm_create() 180 nv50_dmac_destroy(struct nv50_dmac *dmac, struct nvif_object *disp) in nv50_dmac_destroy() argument 188 struct pci_dev *pdev = nvkm_device(nvif_device(disp))->pdev; in nv50_dmac_destroy() [all …]
|
D | Makefile | 38 nouveau-y += core/subdev/bios/disp.o 243 nouveau-y += core/engine/disp/base.o 244 nouveau-y += core/engine/disp/conn.o 245 nouveau-y += core/engine/disp/outp.o 246 nouveau-y += core/engine/disp/outpdp.o 247 nouveau-y += core/engine/disp/nv04.o 248 nouveau-y += core/engine/disp/nv50.o 249 nouveau-y += core/engine/disp/nv84.o 250 nouveau-y += core/engine/disp/nv94.o 251 nouveau-y += core/engine/disp/nva0.o [all …]
|
D | nouveau_connector.c | 443 struct nouveau_display *disp = nouveau_display(connector->dev); in nouveau_connector_set_property() local 502 if (property == disp->underscan_property) { in nouveau_connector_set_property() 514 if (property == disp->underscan_hborder_property) { in nouveau_connector_set_property() 526 if (property == disp->underscan_vborder_property) { in nouveau_connector_set_property() 539 if (property == disp->dithering_mode) { in nouveau_connector_set_property() 547 if (property == disp->dithering_depth) { in nouveau_connector_set_property() 557 if (property == disp->vibrant_hue_property) { in nouveau_connector_set_property() 562 if (property == disp->color_vibrance_property) { in nouveau_connector_set_property() 1033 struct nouveau_display *disp = nouveau_display(dev); in nouveau_connector_create() local 1160 if (disp->underscan_property && in nouveau_connector_create() [all …]
|
/drivers/gpu/drm/nouveau/dispnv04/ |
D | disp.c | 61 struct nv04_display *disp; in nv04_display_create() local 64 disp = kzalloc(sizeof(*disp), GFP_KERNEL); in nv04_display_create() 65 if (!disp) in nv04_display_create() 70 nouveau_display(dev)->priv = disp; in nv04_display_create() 143 struct nv04_display *disp = nv04_display(dev); in nv04_display_destroy() local 170 kfree(disp); in nv04_display_destroy()
|
D | crtc.c | 611 struct nv04_display *disp = nv04_display(crtc->dev); in nv_crtc_swap_fbs() local 618 if (disp->image[nv_crtc->index]) in nv_crtc_swap_fbs() 619 nouveau_bo_unpin(disp->image[nv_crtc->index]); in nv_crtc_swap_fbs() 620 nouveau_bo_ref(nvfb->nvbo, &disp->image[nv_crtc->index]); in nv_crtc_swap_fbs() 747 struct nv04_display *disp = nv04_display(crtc->dev); in nv_crtc_destroy() local 755 if (disp->image[nv_crtc->index]) in nv_crtc_destroy() 756 nouveau_bo_unpin(disp->image[nv_crtc->index]); in nv_crtc_destroy() 757 nouveau_bo_ref(NULL, &disp->image[nv_crtc->index]); in nv_crtc_destroy() 786 struct nv04_display *disp = nv04_display(crtc->dev); in nv_crtc_disable() local 788 if (disp->image[nv_crtc->index]) in nv_crtc_disable() [all …]
|
/drivers/gpu/drm/nouveau/core/engine/crypt/ |
D | nv98.c | 89 u32 disp = nv_rd32(priv, 0x08701c); in nv98_crypt_intr() local 90 u32 stat = nv_rd32(priv, 0x087008) & disp & ~(disp >> 16); in nv98_crypt_intr()
|
/drivers/video/console/ |
D | fbcon.c | 877 static int var_to_display(struct display *disp, in var_to_display() argument 881 disp->xres_virtual = var->xres_virtual; in var_to_display() 882 disp->yres_virtual = var->yres_virtual; in var_to_display() 883 disp->bits_per_pixel = var->bits_per_pixel; in var_to_display() 884 disp->grayscale = var->grayscale; in var_to_display() 885 disp->nonstd = var->nonstd; in var_to_display() 886 disp->accel_flags = var->accel_flags; in var_to_display() 887 disp->height = var->height; in var_to_display() 888 disp->width = var->width; in var_to_display() 889 disp->red = var->red; in var_to_display() [all …]
|
/drivers/isdn/i4l/ |
D | isdn_bsdcomp.c | 465 int hval, disp, ilen, mxcode; in bsd_compress() local 527 disp = (hval == 0) ? 1 : hval; in bsd_compress() 530 hval += disp; in bsd_compress() 832 int hval, disp, indx; in bsd_decompress() local 840 disp = (hval == 0) ? 1 : hval; in bsd_decompress() 842 hval += disp; in bsd_decompress()
|
/drivers/gpu/drm/nouveau/core/subdev/pwr/ |
D | base.c | 143 u32 disp = nv_rd32(ppwr, 0x10a01c); in nouveau_pwr_intr() local 144 u32 intr = nv_rd32(ppwr, 0x10a008) & disp & ~(disp >> 16); in nouveau_pwr_intr()
|