Home
last modified time | relevance | path

Searched full:fb (Results 1 – 25 of 741) sorted by relevance

12345678910>>...30

/freebsd/sys/arm/nvidia/drm2/
H A Dtegra_fb.c45 struct tegra_fb *fb; in fb_destroy() local
49 fb = container_of(drm_fb, struct tegra_fb, drm_fb); in fb_destroy()
50 for (i = 0; i < fb->nplanes; i++) { in fb_destroy()
51 bo = fb->planes[i]; in fb_destroy()
57 free(fb->planes, DRM_MEM_DRIVER); in fb_destroy()
64 struct tegra_fb *fb; in fb_create_handle() local
67 fb = container_of(drm_fb, struct tegra_fb, drm_fb); in fb_create_handle()
68 rv = drm_gem_handle_create(file, &fb->planes[0]->gem_obj, handle); in fb_create_handle()
74 fb_dirty(struct drm_framebuffer *fb, struct drm_file *file_priv, in fb_dirty() argument
91 struct tegra_fb *fb; in fb_alloc() local
[all …]
H A Dtegra_dc.c143 dc_parse_drm_format(struct tegra_fb *fb, struct dc_window *win) in dc_parse_drm_format() argument
151 switch (fb->drm_fb.pixel_format) { in dc_parse_drm_format()
207 switch (fb->rotation) { in dc_parse_drm_format()
214 if (!fb->block_linear) in dc_parse_drm_format()
227 fb->block_linear ? SURFACE_KIND_BL_16B2: SURFACE_KIND_PITCH; in dc_parse_drm_format()
228 win->block_height = fb->block_height; in dc_parse_drm_format()
229 switch (fb->rotation) { in dc_parse_drm_format()
254 win->flip_x ^= fb->flip_x; in dc_parse_drm_format()
255 win->flip_y ^= fb->flip_y; in dc_parse_drm_format()
259 win->bits_per_pixel = fb->drm_fb.bits_per_pixel; in dc_parse_drm_format()
[all …]
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_fbd.c49 #include <dev/fb/fbreg.h>
63 struct bcm2835_fb_config fb; member
68 {"broadcom,bcm2835-fb", 1},
69 {"brcm,bcm2708-fb", 1},
77 bcm_fb_init(struct bcmsc_softc *sc, struct bcm2835_fb_config *fb) in bcm_fb_init() argument
83 memset(fb, 0, sizeof(*fb)); in bcm_fb_init()
84 if (bcm2835_mbox_fb_get_w_h(fb) != 0) in bcm_fb_init()
86 if (bcm2835_mbox_fb_get_bpp(fb) != 0) in bcm_fb_init()
88 if (fb->bpp < FB_DEPTH) { in bcm_fb_init()
89 device_printf(sc->dev, "changing fb bpp from %d to %d\n", in bcm_fb_init()
[all …]
H A Dbcm2835_fb.c43 #include <dev/fb/fbreg.h>
114 {"broadcom,bcm2835-fb", 1},
115 {"brcm,bcm2708-fb", 1},
144 struct bcm2835_fb_config fb; in bcm_fb_attach() local
154 memset(&fb, 0, sizeof(fb)); in bcm_fb_attach()
155 if (bcm2835_mbox_fb_get_w_h(&fb) != 0) in bcm_fb_attach()
157 fb.bpp = FB_DEPTH; in bcm_fb_attach()
158 fb.vxres = fb.xres; in bcm_fb_attach()
159 fb.vyres = fb.yres; in bcm_fb_attach()
160 fb.xoffset = fb.yoffset = 0; in bcm_fb_attach()
[all …]
H A Dbcm2835_mbox.c507 bcm2835_mbox_fb_get_w_h(struct bcm2835_fb_config *fb) in bcm2835_mbox_fb_get_w_h() argument
521 fb->xres = msg.physical_w_h.body.resp.width; in bcm2835_mbox_fb_get_w_h()
522 fb->yres = msg.physical_w_h.body.resp.height; in bcm2835_mbox_fb_get_w_h()
529 bcm2835_mbox_fb_get_bpp(struct bcm2835_fb_config *fb) in bcm2835_mbox_fb_get_bpp() argument
543 fb->bpp = msg.bpp.body.resp.bpp; in bcm2835_mbox_fb_get_bpp()
549 bcm2835_mbox_fb_init(struct bcm2835_fb_config *fb) in bcm2835_mbox_fb_init() argument
558 msg.physical_w_h.body.req.width = fb->xres; in bcm2835_mbox_fb_init()
559 msg.physical_w_h.body.req.height = fb->yres; in bcm2835_mbox_fb_init()
561 msg.virtual_w_h.body.req.width = fb->vxres; in bcm2835_mbox_fb_init()
562 msg.virtual_w_h.body.req.height = fb->vyres; in bcm2835_mbox_fb_init()
[all …]
/freebsd/bin/mv/tests/
H A Dmv_test.sh64 atf_check mv fa ${FS}fb
65 mv_checkfile fa ${FS}fb
82 mv_makefile fb
84 atf_check mv fa fb ${FS}1/2/3
86 mv_checkfile fb ${FS}1/2/3/fb
88 mv_checkabsent fb
105 atf_check mv 1/2/3/fa ${FS}fb
106 mv_checkfile fa ${FS}fb
124 :> ${FS}fb
125 atf_check mv 1/2/3/fa ${FS}fb
[all …]
/freebsd/tools/build/cross-build/
H A Dfgetwln_fallback.c50 struct filewbuf *fb; in fgetwln() local
56 fb = &fb_pool[fb_pool_cur]; in fgetwln()
57 if (fb->fp != stream && fb->fp != NULL) { in fgetwln()
60 fb = &fb_pool[fb_pool_cur]; in fgetwln()
62 fb->fp = stream; in fgetwln()
65 if (!fb->len || wused >= fb->len) { in fgetwln()
68 if (fb->len) in fgetwln()
69 fb->len *= 2; in fgetwln()
71 fb->len = FILEWBUF_INIT_LEN; in fgetwln()
73 wp = reallocarray(fb->wbuf, fb->len, sizeof(wchar_t)); in fgetwln()
[all …]
H A Dfgetln_fallback.c51 struct filebuf *fb; in fgetln() local
58 fb = &fb_pool[fb_pool_cur]; in fgetln()
59 if (fb->fp != stream && fb->fp != NULL) { in fgetln()
62 fb = &fb_pool[fb_pool_cur]; in fgetln()
64 fb->fp = stream; in fgetln()
66 nread = getline(&fb->buf, &fb->len, stream); in fgetln()
76 return fb->buf; in fgetln()
/freebsd/secure/usr.bin/openssl/man/
H A Dopenssl-fipsinstall.1404 \&\fB\-corrupt_type\fR are used.
413 \&\fB\-self_test_onload\fR option was made the default in OpenSSL 3.1.
457 \&\fB\-ems_check\fR,
458 \&\fB\-self_test_oninstall\fR
462 \&\fB\-pedantic\fR,
463 \&\fB\-no_drbg_truncated_digests\fR
467 \&\fB\-hmac_key_check\fR,
468 \&\fB\-kmac_key_check\fR,
469 \&\fB\-signature_digest_check\fR,
470 \&\fB\-hkdf_digest_check\fR,
[all …]
H A DCA.pl.168 \&\fB\-?\fR |
69 \&\fB\-h\fR |
70 \&\fB\-help\fR
73 \&\fB\-newcert\fR |
74 \&\fB\-newreq\fR |
75 \&\fB\-newreq\-nodes\fR |
76 \&\fB\-xsign\fR |
77 \&\fB\-sign\fR |
78 \&\fB\-signCA\fR |
79 \&\fB\-signcert\fR |
[all …]
/freebsd/contrib/telnet/libtelnet/
H A Denc_des.c61 struct fb { struct
80 static struct fb fb[2]; argument
110 void fb64_init(struct fb *);
111 static int fb64_start(struct fb *, int, int);
112 int fb64_is(unsigned char *, int, struct fb *);
113 int fb64_reply(unsigned char *, int, struct fb *);
114 static void fb64_session(Session_Key *, int, struct fb *);
116 int fb64_keyid(int, unsigned char *, int *, struct fb *);
121 fb64_init(&fb[CFB]); in cfb64_init()
122 fb[CFB].fb_feed[4] = ENCTYPE_DES_CFB64; in cfb64_init()
[all …]
/freebsd/crypto/heimdal/appl/telnet/libtelnet/
H A Denc_des.c78 struct fb { struct
89 static struct fb fb[2]; argument
119 void fb64_init (struct fb *);
120 static int fb64_start (struct fb *, int, int);
121 int fb64_is (unsigned char *, int, struct fb *);
122 int fb64_reply (unsigned char *, int, struct fb *);
123 static void fb64_session (Session_Key *, int, struct fb *);
125 int fb64_keyid (int, unsigned char *, int *, struct fb *);
131 fb64_init(&fb[CFB]); in cfb64_init()
132 fb[CFB].fb_feed[4] = ENCTYPE_DES_CFB64; in cfb64_init()
[all …]
/freebsd/sys/dev/drm2/
H A Ddrm_crtc.c279 int drm_framebuffer_init(struct drm_device *dev, struct drm_framebuffer *fb, in drm_framebuffer_init() argument
284 refcount_init(&fb->refcount, 1); in drm_framebuffer_init()
286 ret = drm_mode_object_get(dev, &fb->base, DRM_MODE_OBJECT_FB); in drm_framebuffer_init()
290 fb->dev = dev; in drm_framebuffer_init()
291 fb->funcs = funcs; in drm_framebuffer_init()
293 list_add(&fb->head, &dev->mode_config.fb_list); in drm_framebuffer_init()
299 static void drm_framebuffer_free(struct drm_framebuffer *fb) in drm_framebuffer_free() argument
301 fb->funcs->destroy(fb); in drm_framebuffer_free()
310 void drm_framebuffer_unreference(struct drm_framebuffer *fb) in drm_framebuffer_unreference() argument
312 struct drm_device *dev = fb->dev; in drm_framebuffer_unreference()
[all …]
H A Ddrm_fb_helper.c116 * 1. kern.vt.fb.modes.$connector_name in fb_get_options()
117 * 2. kern.vt.fb.default_mode in fb_get_options()
120 * kern.vt.fb.modes.LVDS="1024x768" in fb_get_options()
124 * kern.vt.fb.default_mode="640x480" in fb_get_options()
126 snprintf(tunable, sizeof(tunable), "kern.vt.fb.modes.%s", in fb_get_options()
130 DRM_INFO(" - kern.vt.fb.default_mode\n"); in fb_get_options()
133 *option = kern_getenv("kern.vt.fb.default_mode"); in fb_get_options()
141 * The fb helper functions are useful to provide an fbdev on top of a drm kernel
279 mode_set->fb,
290 /* Find the real fb for a given fb helper CRTC */
[all …]
H A Ddrm_crtc_helper.c303 crtc->fb = NULL; in drm_helper_disable_unused_functions()
579 set->fb = NULL; in drm_crtc_helper_set_config()
581 if (set->fb) { in drm_crtc_helper_set_config()
582 DRM_DEBUG_KMS("[CRTC:%d] [FB:%d] #connectors=%d (x y) (%i %i)\n", in drm_crtc_helper_set_config()
583 set->crtc->base.id, set->fb->base.id, in drm_crtc_helper_set_config()
637 save_set.fb = set->crtc->fb; in drm_crtc_helper_set_config()
639 /* We should be able to check here if the fb has the same properties in drm_crtc_helper_set_config()
641 if (set->crtc->fb != set->fb) { in drm_crtc_helper_set_config()
642 /* If we have no fb then treat it as a full mode set */ in drm_crtc_helper_set_config()
643 if (set->crtc->fb == NULL) { in drm_crtc_helper_set_config()
[all …]
/freebsd/sys/dev/vt/hw/ofwfb/
H A Dofwfb.c35 #include <dev/vt/hw/fb/vt_fb.h>
50 struct fb_info fb; member
415 sc->fb.fb_cmsize = 16; in ofwfb_initialize()
417 if (sc->fb.fb_flags & FB_FLAG_NOWRITE) in ofwfb_initialize()
425 switch (sc->fb.fb_bpp) { in ofwfb_initialize()
431 vt_config_cons_colors(&sc->fb, COLOR_FORMAT_RGB, 255, in ofwfb_initialize()
436 (cell_t)((sc->fb.fb_cmap[i] >> 16) & 0xff), in ofwfb_initialize()
437 (cell_t)((sc->fb.fb_cmap[i] >> 8) & 0xff), in ofwfb_initialize()
438 (cell_t)((sc->fb.fb_cmap[i] >> 0) & 0xff), in ofwfb_initialize()
478 vt_config_cons_colors(&sc->fb, in ofwfb_init()
[all...]
/freebsd/sys/x86/xen/
H A Dhvm.c214 } *fb = NULL; in fixup_console() local
225 fb = (__typeof__ (fb))preload_search_info(preload_kmdp, in fixup_console()
228 if (fb == NULL) { in fixup_console()
229 xc_printf("No VBE FB in kernel metadata\n"); in fixup_console()
235 sizeof(fb->efi.fb_mask_reserved), in fixup_console()
237 fb->vbe.fb_bpp = console->u.vesa_lfb.bits_per_pixel; in fixup_console()
240 if (fb == NULL) { in fixup_console()
241 fb = (__typeof__ (fb))preload_search_info(preload_kmdp, in fixup_console()
243 if (fb == NULL) { in fixup_console()
244 xc_printf("No EFI FB in kernel metadata\n"); in fixup_console()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackReader.cpp33 uint8_t FB = static_cast<uint8_t>(*Current++); in read() local
35 switch (FB) { in read()
147 if ((FB & FixBitsMask::NegativeInt) == FixBits::NegativeInt) { in read()
150 static_assert(sizeof(I) == sizeof(FB), "Unexpected type sizes"); in read()
151 memcpy(&I, &FB, sizeof(FB)); in read()
156 if ((FB & FixBitsMask::PositiveInt) == FixBits::PositiveInt) { in read()
158 Obj.UInt = FB; in read()
162 if ((FB & FixBitsMask::String) == FixBits::String) { in read()
164 uint8_t Size = FB & ~FixBitsMask::String; in read()
168 if ((FB & FixBitsMask::Array) == FixBits::Array) { in read()
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_cmdline.c41 * 1. kern.vt.fb.modes.$connector_name in video_get_options()
42 * 2. kern.vt.fb.default_mode in video_get_options()
45 * kern.vt.fb.modes.LVDS="1024x768" in video_get_options()
49 * kern.vt.fb.default_mode="640x480" in video_get_options()
51 snprintf(tunable, sizeof(tunable), "kern.vt.fb.modes.%s", in video_get_options()
56 printf("[drm] - kern.vt.fb.default_mode\n"); in video_get_options()
60 options = kern_getenv("kern.vt.fb.default_mode"); in video_get_options()
/freebsd/sys/contrib/device-tree/Bindings/display/
H A Dcirrus,clps711x-fb.txt4 - compatible: Shall contain "cirrus,ep7209-fb".
7 - clocks : phandle + clock specifier pair of the FB reference clock.
20 fb: fb@800002c0 {
21 compatible = "cirrus,ep7312-fb", "cirrus,ep7209-fb";
/freebsd/sys/contrib/device-tree/Bindings/regulator/
H A Dltc3676.txt17 - lltc,fb-voltage-divider: An array of two integers containing the resistor
39 lltc,fb-voltage-divider = <127000 200000>;
48 lltc,fb-voltage-divider = <301000 200000>;
57 lltc,fb-voltage-divider = <127000 200000>;
66 lltc,fb-voltage-divider = <221000 200000>;
75 lltc,fb-voltage-divider = <487000 200000>;
89 lltc,fb-voltage-divider = <634000 200000>;
H A Dltc3589.txt17 - lltc,fb-voltage-divider: An array of two integers containing the resistor
39 lltc,fb-voltage-divider = <100000 158000>;
48 lltc,fb-voltage-divider = <180000 191000>;
57 lltc,fb-voltage-divider = <270000 100000>;
66 lltc,fb-voltage-divider = <511000 158000>;
74 lltc,fb-voltage-divider = <100000 158000>;
82 lltc,fb-voltage-divider = <180000 191000>;
/freebsd/sys/contrib/device-tree/Bindings/display/imx/
H A Dfsl,imx-lcdc.yaml17 - fsl,imx1-fb
18 - fsl,imx21-fb
21 - fsl,imx25-fb
22 - fsl,imx27-fb
23 - const: fsl,imx21-fb
118 imxfb: fb@10021000 {
119 compatible = "fsl,imx21-fb";
/freebsd/stand/ficl/
H A Dgfx_loader.c50 * fb-bezier ( x0 y0 x1 y1 x2 y2 wd -- )
51 * fb-drawrect ( x1 y1 x2 y2 fill -- )
52 * fb-line ( x0 y0 x1 y1 wd -- )
53 * fb-putimage ( flags x1 y1 x2 y2 -- flag )
54 * fb-setpixel ( x y -- )
244 dictAppendWord(dp, "fb-setpixel", ficl_fb_setpixel, FW_DEFAULT); in ficlCompileGfx()
245 dictAppendWord(dp, "fb-line", ficl_fb_line, FW_DEFAULT); in ficlCompileGfx()
246 dictAppendWord(dp, "fb-bezier", ficl_fb_bezier, FW_DEFAULT); in ficlCompileGfx()
247 dictAppendWord(dp, "fb-drawrect", ficl_fb_drawrect, FW_DEFAULT); in ficlCompileGfx()
248 dictAppendWord(dp, "fb-putimage", ficl_fb_putimage, FW_DEFAULT); in ficlCompileGfx()
/freebsd/stand/lua/
H A Ddrawer.lua120 assert(not def.fb,
126 def.fb = {
375 local gfx_requested = branddef.fb and gfxenabled()
377 if branddef.fb.shift then
378 x = x + (branddef.fb.shift.x or 0)
379 y = y + (branddef.fb.shift.y or 0)
381 if gfx.term_putimage(branddef.fb.image, x, y, 0, 7, 0) then
429 local gfx_requested = logodef.fb and gfxenabled()
431 local y1 = logodef.fb.width or 15
433 if logodef.fb.shift then
[all …]

12345678910>>...30