/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/ |
nouveau_nvkm_subdev_fb_base.c | 40 nvkm_fb_tile_fini(struct nvkm_fb *fb, int region, struct nvkm_fb_tile *tile) 42 fb->func->tile.fini(fb, region, tile); 46 nvkm_fb_tile_init(struct nvkm_fb *fb, int region, u32 addr, u32 size, 49 fb->func->tile.init(fb, region, addr, size, pitch, flags, tile); 53 nvkm_fb_tile_prog(struct nvkm_fb *fb, int region, struct nvkm_fb_tile *tile) 55 struct nvkm_device *device = fb->subdev.device; 56 if (fb->func->tile.prog) { 57 fb->func->tile.prog(fb, region, tile) 96 struct nvkm_fb *fb = nvkm_fb(subdev); local in function:nvkm_fb_intr 104 struct nvkm_fb *fb = nvkm_fb(subdev); local in function:nvkm_fb_oneinit 164 struct nvkm_fb *fb = nvkm_fb(subdev); local in function:nvkm_fb_init 204 struct nvkm_fb *fb = nvkm_fb(subdev); local in function:nvkm_fb_dtor [all...] |
nouveau_nvkm_subdev_fb_gf100.c | 39 struct gf100_fb *fb = gf100_fb(base); local in function:gf100_fb_intr 40 struct nvkm_subdev *subdev = &fb->base.subdev; 52 struct gf100_fb *fb = gf100_fb(base); local in function:gf100_fb_oneinit 53 struct nvkm_device *device = fb->base.subdev.device; 54 int ret, size = 1 << (fb->base.page ? fb->base.page : 17); 60 true, &fb->base.mmu_rd); 65 true, &fb->base.mmu_wr); 75 fb->r100c10_page = NULL; /* paranoia */ 76 fb->r100c10_kva = NULL 140 struct gf100_fb *fb = gf100_fb(base); local in function:gf100_fb_init 155 struct gf100_fb *fb = gf100_fb(base); local in function:gf100_fb_dtor 181 struct gf100_fb *fb; local in function:gf100_fb_new_ [all...] |
nouveau_nvkm_subdev_fb_ramnv4e.c | 32 nv4e_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) 34 struct nvkm_device *device = fb->subdev.device; 36 return nvkm_ram_new_(&nv04_ram_func, fb, NVKM_RAM_TYPE_UNKNOWN,
|
nouveau_nvkm_subdev_fb_gm200.c | 35 gm200_fb_init_page(struct nvkm_fb *fb) 37 struct nvkm_device *device = fb->subdev.device; 38 switch (fb->page) { 51 struct gf100_fb *fb = gf100_fb(base); local in function:gm200_fb_init 52 struct nvkm_device *device = fb->base.subdev.device; 54 if (fb->r100c10_page) 55 nvkm_wr32(device, 0x100c10, fb->r100c10 >> 8); 57 nvkm_wr32(device, 0x100cc8, nvkm_memory_addr(fb->base.mmu_wr) >> 8); 58 nvkm_wr32(device, 0x100ccc, nvkm_memory_addr(fb->base.mmu_rd) >> 8); 60 min(nvkm_memory_size(fb->base.mmu_rd) >> 16, (u64)2) << 17) [all...] |
nouveau_nvkm_subdev_fb_nv50.c | 39 struct nv50_fb *fb = nv50_fb(base); local in function:nv50_fb_ram_new 40 return fb->func->ram_new(&fb->base, pram); 85 { 0x00000000, "FB" }, 142 struct nv50_fb *fb = nv50_fb(base); local in function:nv50_fb_intr 143 struct nvkm_subdev *subdev = &fb->base.subdev; 203 struct nv50_fb *fb = nv50_fb(base); local in function:nv50_fb_oneinit 204 struct nvkm_device *device = fb->base.subdev.device; 212 fb->r100c08_page = NULL; /* paranoia */ 213 fb->r100c08_kva = NULL 265 struct nv50_fb *fb = nv50_fb(base); local in function:nv50_fb_init 282 struct nv50_fb *fb = nv50_fb(base); local in function:nv50_fb_tags 291 struct nv50_fb *fb = nv50_fb(base); local in function:nv50_fb_dtor 327 struct nv50_fb *fb; local in function:nv50_fb_new_ [all...] |
nouveau_nvkm_subdev_fb_ramnv1a.c | 32 nv1a_ram_new(struct nvkm_fb *fb, struct nvkm_ram **pram) 42 if (dev_is_pci(fb->subdev.device->dev)) 43 pdev = to_pci_dev(fb->subdev.device->dev); 50 nvkm_error(&fb->subdev, "no bridge device\n"); 54 if (fb->subdev.device->chipset == 0x1a) { 62 return nvkm_ram_new_(&nv04_ram_func, fb, NVKM_RAM_TYPE_STOLEN,
|
/src/usr.sbin/tpctl/ |
fb.c | 1 /* $NetBSD: fb.c,v 1.5 2017/08/27 02:19:08 jmcneill Exp $ */ 44 __RCSID("$NetBSD: fb.c,v 1.5 2017/08/27 02:19:08 jmcneill Exp $"); 57 fb_dispmode(struct fb *fb, int dispmode) 60 if (fb->dispmode != dispmode) { 61 if (ioctl(fb->fd, WSDISPLAYIO_SMODE, &dispmode) < 0) 63 fb->dispmode = dispmode; 70 fb_init(struct fb *fb, int fd) 77 fb->fd = fd [all...] |
/src/sys/external/bsd/drm2/dist/include/drm/ |
drm_framebuffer.h | 75 int (*create_handle)(struct drm_framebuffer *fb, 81 * Optional callback for the dirty fb IOCTL. 108 * Note that the fb is refcounted for the benefit of driver internals, 113 * hold a ref to the fb even though it has already been removed from 136 * @comm: Name of the process allocating the fb, used for fb dumping. 221 struct drm_framebuffer *fb, 226 void drm_framebuffer_remove(struct drm_framebuffer *fb); 227 void drm_framebuffer_cleanup(struct drm_framebuffer *fb); 228 void drm_framebuffer_unregister_private(struct drm_framebuffer *fb); [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/builtins/ |
floatundixf.c | 36 long_double_bits fb; local in function:__floatundixf 37 fb.u.high.s.low = (e + 16383); /* exponent */ 38 fb.u.low.all = a << clz; /* mantissa */ 39 return fb.f;
|
fixunsxfdi.c | 36 long_double_bits fb; local in function:__fixunsxfdi 37 fb.f = a; 38 int e = (fb.u.high.s.low & 0x00007FFF) - 16383; 39 if (e < 0 || (fb.u.high.s.low & 0x00008000)) 43 return fb.u.low.all >> (63 - e);
|
fixunsxfsi.c | 35 long_double_bits fb; local in function:__fixunsxfsi 36 fb.f = a; 37 int e = (fb.u.high.s.low & 0x00007FFF) - 16383; 38 if (e < 0 || (fb.u.high.s.low & 0x00008000)) 42 return fb.u.low.s.high >> (31 - e);
|
fixunsxfti.c | 35 long_double_bits fb; local in function:__fixunsxfti 36 fb.f = a; 37 int e = (fb.u.high.s.low & 0x00007FFF) - 16383; 38 if (e < 0 || (fb.u.high.s.low & 0x00008000)) 42 tu_int r = fb.u.low.all;
|
fixxfdi.c | 35 long_double_bits fb; local in function:__fixxfdi 36 fb.f = a; 37 int e = (fb.u.high.s.low & 0x00007FFF) - 16383; 42 di_int s = -(si_int)((fb.u.high.s.low & 0x00008000) >> 15); 43 di_int r = fb.u.low.all;
|
fixxfti.c | 35 long_double_bits fb; local in function:__fixxfti 36 fb.f = a; 37 int e = (fb.u.high.s.low & 0x00007FFF) - 16383; 40 ti_int s = -(si_int)((fb.u.high.s.low & 0x00008000) >> 15); 41 ti_int r = fb.u.low.all;
|
/src/sys/external/bsd/drm2/drm/ |
drm_gem_framebuffer_helper.c | 48 * drm_gem_fb_destroy(fb) 58 drm_gem_fb_destroy(struct drm_framebuffer *fb) 62 for (plane = 0; plane < __arraycount(fb->obj); plane++) 63 drm_gem_object_put_unlocked(fb->obj[plane]); 64 drm_framebuffer_cleanup(fb); 65 kfree(fb); 69 * drm_gem_fb_create_handle(fb, file, handlep) 72 * of fb in the specified drm file namespace, and store it in 78 drm_gem_fb_create_handle(struct drm_framebuffer *fb, struct drm_file *file, 82 return drm_gem_handle_create(file, fb->obj[0], handlep) 102 struct drm_framebuffer *fb; local in function:drm_gem_fb_create_with_funcs [all...] |
/src/sys/arch/hp300/dev/ |
diofb.c | 97 diofb_fbinquire(struct diofb *fb, int scode, struct diofbreg *fbr) 102 fb->regaddr = (uint8_t *)IIOP(fbr); 104 fb->regaddr = dio_scodetopa(scode); 106 if (fb->fbwidth == 0 || fb->fbheight == 0) { 107 fb->fbwidth = (fbr->fbwmsb << 8) | fbr->fbwlsb; 108 fb->fbheight = (fbr->fbhmsb << 8) | fbr->fbhlsb; 110 fb->fbsize = fb->fbwidth * fb->fbheight 363 struct diofb *fb = ri->ri_hw; local in function:diofb_copycols 380 struct diofb *fb = ri->ri_hw; local in function:diofb_copyrows 395 struct diofb *fb = ri->ri_hw; local in function:diofb_erasecols 419 struct diofb *fb = ri->ri_hw; local in function:diofb_eraserows 443 struct diofb *fb = ri->ri_hw; local in function:diofb_do_cursor 461 struct diofb *fb = v; local in function:diofb_alloc_screen 478 struct diofb *fb = v; local in function:diofb_free_screen 494 struct diofb *fb = v; local in function:diofb_mmap [all...] |
/src/etc/etc.sun2/ |
ttyaction | 5 kd * chown ${USER}:tty /dev/kbd /dev/mouse /dev/fb
|
/src/etc/etc.sun3/ |
ttyaction | 5 kd * chown ${USER}:tty /dev/kbd /dev/mouse /dev/fb
|
/src/sys/arch/arm/arm/ |
trap.c | 46 cpu_jump_onfault(struct trapframe *tf, const struct faultbuf *fb, int val) 48 tf->tf_r4 = fb->fb_reg[FB_R4]; 49 tf->tf_r5 = fb->fb_reg[FB_R5]; 50 tf->tf_r6 = fb->fb_reg[FB_R6]; 51 tf->tf_r7 = fb->fb_reg[FB_R7]; 52 tf->tf_r8 = fb->fb_reg[FB_R8]; 53 tf->tf_r9 = fb->fb_reg[FB_R9]; 54 tf->tf_r10 = fb->fb_reg[FB_R10]; 55 tf->tf_r11 = fb->fb_reg[FB_R11]; 56 tf->tf_r12 = fb->fb_reg[FB_R12] [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/devinit/ |
nouveau_nvkm_subdev_devinit_nv10.c | 45 struct io_mapping *fb; local in function:nv10_devinit_meminit 54 fb = fbmem_init(device); 55 if (!fb) { 56 nvkm_error(subdev, "failed to map fb\n"); 68 fbmem_poke(fb, 0x1c, 0); 70 fbmem_poke(fb, 0x1c, patt); 71 fbmem_poke(fb, 0x3c, 0); 73 if (fbmem_peek(fb, 0x1c) == patt) 85 fbmem_poke(fb, off, patt); 86 fbmem_poke(fb, 0, 0) [all...] |
/src/sys/dev/pci/ |
lynxfb.c | 106 #define DPR_READ(fb, reg) \ 107 bus_space_read_4((fb)->memt, (fb)->dprh, (reg)) 108 #define DPR_WRITE(fb, reg, val) \ 109 bus_space_write_4((fb)->memt, (fb)->dprh, (reg), (val)) 173 struct lynxfb fb; member in struct:__anon53b222580108 199 struct rasops_info *ri = &lynxfb_console.fb.vcs.scr_ri; 200 struct lynxfb *fb; local in function:lynxfb_cnattach 219 fb = &lynxfb_console.fb 271 struct lynxfb *fb; local in function:lynxfb_attach 398 struct lynxfb *fb = sc->sc_fb; local in function:lynxfb_ioctl 508 struct lynxfb *fb = sc->sc_fb; local in function:lynxfb_init_screen 750 struct lynxfb *fb = ri->ri_hw; local in function:lynxfb_copyrows 759 struct lynxfb *fb = ri->ri_hw; local in function:lynxfb_copycols 768 struct lynxfb *fb = ri->ri_hw; local in function:lynxfb_erasecols 777 struct lynxfb *fb = ri->ri_hw; local in function:lynxfb_eraserows 788 struct lynxfb *fb = sc->sc_fb; local in function:lynxfb_vcons_copyrows 799 struct lynxfb *fb = sc->sc_fb; local in function:lynxfb_vcons_copycols 810 struct lynxfb *fb = sc->sc_fb; local in function:lynxfb_vcons_erasecols 821 struct lynxfb *fb = sc->sc_fb; local in function:lynxfb_vcons_eraserows [all...] |
sisfb.c | 167 sisfb_crtc_read(struct sisfb *fb, uint idx) 170 bus_space_write_1(fb->iot, fb->ioh, CRTC_ADDR, idx); 171 val = bus_space_read_1(fb->iot, fb->ioh, CRTC_DATA); 179 sisfb_crtc_write(struct sisfb *fb, uint idx, uint val) 184 bus_space_write_1(fb->iot, fb->ioh, CRTC_ADDR, idx); 185 bus_space_write_1(fb->iot, fb->ioh, CRTC_DATA, val) 233 struct sisfb *fb; local in function:sisfb_attach 382 struct sisfb *fb = sc->sc_fb; local in function:sisfb_ioctl 461 struct sisfb *fb = sc->sc_fb; local in function:sisfb_mmap 508 struct sisfb *fb = sc->sc_fb; local in function:sisfb_init_screen [all...] |
/src/sys/arch/hpcarm/dev/ |
epsonlcd.c | 166 struct hpcfb_fbconf *fb = &sc->sc_fb; local in function:epsonlcd_mmap 168 if (offset < 0 || (fb->hf_bytes_per_plane + fb->hf_offset) < offset) 175 epsonlcd_setup_hpcfbif(struct epsonlcd_softc *sc, struct hpcfb_fbconf *fb) 179 memset(fb, 0, sizeof(struct hpcfb_fbconf)); 180 fb->hf_conf_index = 0; /* configuration index */ 181 fb->hf_nconfs = 1; /* how many configurations */ 183 strncpy(fb->hf_name, "Epson S1D138xx LCD Controller", HPCFB_MAXNAMELEN); 186 strncpy(fb->hf_conf_name, "LCD", HPCFB_MAXNAMELEN); 188 fb->hf_height = vc->vc_fbheight [all...] |
/src/sys/arch/mips/cavium/dev/ |
octeon_fpa.c | 105 struct octfpa_buf *fb; local in function:octfpa_buf_init 110 fb = kmem_zalloc(sizeof(*fb) + sizeof(*fb->fb_dma_segs) * nsegs, 112 fb->fb_poolno = poolno; 113 fb->fb_size = size; 114 fb->fb_nelems = nelems; 115 fb->fb_len = size * nelems; 116 fb->fb_dmat = sc->sc_dmat; 117 fb->fb_dma_segs = (void *)(fb + 1) [all...] |
/src/sys/dev/sun/ |
pfour_subr.c | 49 fb_setsize_pfour(struct fbdevice *fb) 64 if (fb->fb_pfour == NULL) 67 pfour = *fb->fb_pfour; 115 * Use the defaults already filled in by the generic fb code. 121 fb->fb_type.fb_width = width; 122 fb->fb_type.fb_height = height; 164 fb_pfour_get_video(struct fbdevice *fb) 167 return ((*fb->fb_pfour & PFOUR_REG_VIDEO) != 0); 174 fb_pfour_set_video(struct fbdevice *fb, int enable) 178 pfour = *fb->fb_pfour & ~(PFOUR_REG_INTCLR|PFOUR_REG_VIDEO) [all...] |