| /netbsd-src/sys/arch/hp300/dev/ |
| H A D | rbox.c | 251 rbox_reset(struct diofb *fb, int scode, struct diofbreg *fbr) in rbox_reset() 273 rbox_restore(struct diofb *fb) in rbox_restore() 312 CM1RED(fb)[0x00].value = 0x00; in rbox_restore() local 313 CM1GRN(fb)[0x00].value = 0x00; in rbox_restore() local 314 CM1BLU(fb)[0x00].value = 0x00; in rbox_restore() local 315 CM1RED(fb)[0x01].value = 0xFF; in rbox_restore() local 316 CM1GRN(fb)[0x01].value = 0xFF; in rbox_restore() local 317 CM1BLU(fb)[0x01].value = 0xFF; in rbox_restore() local 319 CM2RED(fb)[0x00].value = 0x00; in rbox_restore() local 320 CM2GRN(fb)[0x00].value = 0x00; in rbox_restore() local [all …]
|
| H A D | diofb.c | 97 diofb_fbinquire(struct diofb *fb, int scode, struct diofbreg *fbr) in diofb_fbinquire() 164 diofb_fbsetup(struct diofb *fb) in diofb_fbsetup() 230 diofb_resetcmap(struct diofb *fb) in diofb_resetcmap() 292 diofb_cnattach(struct diofb *fb) in diofb_cnattach() 304 struct diofb *fb, int console, const char *descr) in diofb_end_attach() 363 struct diofb *fb = ri->ri_hw; in diofb_copycols() local 380 struct diofb *fb = ri->ri_hw; in diofb_copyrows() local 395 struct diofb *fb = ri->ri_hw; in diofb_erasecols() local 419 struct diofb *fb = ri->ri_hw; in diofb_eraserows() local 443 struct diofb *fb = ri->ri_hw; in diofb_do_cursor() local [all …]
|
| H A D | gbox.c | 266 gbox_reset(struct diofb *fb, int scode, struct diofbreg *fbr) in gbox_reset() 312 gbox_restore(struct diofb *fb) in gbox_restore() 343 struct diofb *fb = v; in gbox_ioctl() local 382 gbox_setcolor(struct diofb *fb, u_int index) in gbox_setcolor() 395 gbox_setcmap(struct diofb *fb, struct wsdisplay_cmap *cm) in gbox_setcmap() 423 gbox_windowmove(struct diofb *fb, uint16_t sx, uint16_t sy, in gbox_windowmove() 467 struct diofb *fb = &diofb_cn; in gboxcnattach() local
|
| /netbsd-src/usr.sbin/tpctl/ |
| H A D | tpctl.h | 78 struct fb { struct 81 struct hpcfb_fbconf conf; argument 83 fb_pixel_t *linecache, *workbuf; argument 84 fb_pixel_t white, black; argument 103 int fb_dispmode(struct fb *, int); argument
|
| H A D | fb.c | 57 fb_dispmode(struct fb *fb, int dispmode) in fb_dispmode() 70 fb_init(struct fb *fb, int fd) in fb_init() 140 __fb_swap_workbuf(struct fb *fb) in __fb_swap_workbuf() 179 __fb_put_pixel(struct fb *fb, fb_pixel_t pixel, int width, int x) in __fb_put_pixel() 201 fb_getline(struct fb *fb, int y) in fb_getline() 223 fb_putline(struct fb *fb, int y) in fb_putline() 244 fb_fetchline(struct fb *fb, int y) in fb_fetchline() 253 fb_flush(struct fb *fb) in fb_flush() 260 fb_drawpixel(struct fb *fb, int x, int y, fb_pixel_t pixel) in fb_drawpixel() 293 fb_drawline(struct fb *fb, int x0, int y0, int x1, int y1, fb_pixel_t pixel) in fb_drawline()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/ |
| H A D | drm_framebuffer.c | 83 const struct drm_framebuffer *fb) in drm_framebuffer_check_src_coords() 301 struct drm_framebuffer *fb; in drm_internal_framebuffer_create() local 359 struct drm_framebuffer *fb; in drm_mode_addfb2() local 413 struct drm_framebuffer *fb = in drm_mode_rmfb_work_fn() local 437 struct drm_framebuffer *fb = NULL; in drm_mode_rmfb() local 515 struct drm_framebuffer *fb; in drm_mode_getfb() local 586 struct drm_framebuffer *fb; in drm_mode_dirtyfb_ioctl() local 661 struct drm_framebuffer *fb, *tfb; in drm_fb_release() local 698 struct drm_framebuffer *fb = in drm_framebuffer_free() local 729 int drm_framebuffer_init(struct drm_device *dev, struct drm_framebuffer *fb, in drm_framebuffer_init() [all …]
|
| /openbsd-src/sys/dev/pci/drm/ |
| H A D | drm_framebuffer.c | 78 const struct drm_framebuffer *fb) in drm_framebuffer_check_src_coords() 292 struct drm_framebuffer *fb; in drm_internal_framebuffer_create() local 350 struct drm_framebuffer *fb; in drm_mode_addfb2() local 404 struct drm_framebuffer *fb = in drm_mode_rmfb_work_fn() local 431 struct drm_framebuffer *fb = NULL; in drm_mode_rmfb() local 509 struct drm_framebuffer *fb; in drm_mode_getfb() local 571 struct drm_framebuffer *fb; in drm_mode_getfb2_ioctl() local 701 struct drm_framebuffer *fb; in drm_mode_dirtyfb_ioctl() local 776 struct drm_framebuffer *fb, *tfb; in drm_fb_release() local 813 struct drm_framebuffer *fb = in drm_framebuffer_free() local [all …]
|
| H A D | drm_gem_framebuffer_helper.c | 8 drm_gem_fb_destroy(struct drm_framebuffer *fb) in drm_gem_fb_destroy() 19 drm_gem_fb_create_handle(struct drm_framebuffer *fb, struct drm_file *file, in drm_gem_fb_create_handle() 34 struct drm_framebuffer *fb; in drm_gem_fb_create() local 69 drm_gem_fb_get_obj(struct drm_framebuffer *fb, unsigned int plane) in drm_gem_fb_get_obj()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/ |
| H A D | nouveau_nvkm_subdev_fb_base.c | 40 nvkm_fb_tile_fini(struct nvkm_fb *fb, int region, struct nvkm_fb_tile *tile) in nvkm_fb_tile_fini() 46 nvkm_fb_tile_init(struct nvkm_fb *fb, int region, u32 addr, u32 size, in nvkm_fb_tile_init() 53 nvkm_fb_tile_prog(struct nvkm_fb *fb, int region, struct nvkm_fb_tile *tile) in nvkm_fb_tile_prog() 96 struct nvkm_fb *fb = nvkm_fb(subdev); in nvkm_fb_intr() local 104 struct nvkm_fb *fb = nvkm_fb(subdev); in nvkm_fb_oneinit() local 134 nvkm_fb_init_scrub_vpr(struct nvkm_fb *fb) in nvkm_fb_init_scrub_vpr() 164 struct nvkm_fb *fb = nvkm_fb(subdev); in nvkm_fb_init() local 204 struct nvkm_fb *fb = nvkm_fb(subdev); in nvkm_fb_dtor() local 233 int index, struct nvkm_fb *fb) in nvkm_fb_ctor()
|
| H A D | nouveau_nvkm_subdev_fb_gf100.c | 39 struct gf100_fb *fb = gf100_fb(base); in gf100_fb_intr() local 52 struct gf100_fb *fb = gf100_fb(base); in gf100_fb_oneinit() local 125 gf100_fb_init_page(struct nvkm_fb *fb) in gf100_fb_init_page() 140 struct gf100_fb *fb = gf100_fb(base); in gf100_fb_init() local 155 struct gf100_fb *fb = gf100_fb(base); in gf100_fb_dtor() local 181 struct gf100_fb *fb; in gf100_fb_new_() local
|
| H A D | nouveau_nvkm_subdev_fb_nv50.c | 39 struct nv50_fb *fb = nv50_fb(base); in nv50_fb_ram_new() local 142 struct nv50_fb *fb = nv50_fb(base); in nv50_fb_intr() local 203 struct nv50_fb *fb = nv50_fb(base); in nv50_fb_oneinit() local 265 struct nv50_fb *fb = nv50_fb(base); in nv50_fb_init() local 282 struct nv50_fb *fb = nv50_fb(base); in nv50_fb_tags() local 291 struct nv50_fb *fb = nv50_fb(base); in nv50_fb_dtor() local 327 struct nv50_fb *fb; in nv50_fb_new_() local
|
| H A D | nouveau_nvkm_subdev_fb_nv20.c | 35 nv20_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch, in nv20_fb_tile_init() 48 nv20_fb_tile_comp(struct nvkm_fb *fb, int i, u32 size, u32 flags, in nv20_fb_tile_comp() 65 nv20_fb_tile_fini(struct nvkm_fb *fb, int i, struct nvkm_fb_tile *tile) in nv20_fb_tile_fini() 75 nv20_fb_tile_prog(struct nvkm_fb *fb, int i, struct nvkm_fb_tile *tile) in nv20_fb_tile_prog() 86 nv20_fb_tags(struct nvkm_fb *fb) in nv20_fb_tags()
|
| H A D | nouveau_nvkm_subdev_fb_nv30.c | 35 nv30_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch, in nv30_fb_tile_init() 54 nv30_fb_tile_comp(struct nvkm_fb *fb, int i, u32 size, u32 flags, in nv30_fb_tile_comp() 71 calc_bias(struct nvkm_fb *fb, int k, int i, int j) in calc_bias() 83 calc_ref(struct nvkm_fb *fb, int l, int k, int i) in calc_ref() 97 nv30_fb_init(struct nvkm_fb *fb) in nv30_fb_init()
|
| H A D | nouveau_nvkm_subdev_fb_nv44.c | 35 nv44_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch, in nv44_fb_tile_init() 45 nv44_fb_tile_prog(struct nvkm_fb *fb, int i, struct nvkm_fb_tile *tile) in nv44_fb_tile_prog() 55 nv44_fb_init(struct nvkm_fb *fb) in nv44_fb_init()
|
| /openbsd-src/sys/dev/pci/drm/i915/display/ |
| H A D | intel_fb.c | 507 bool intel_fb_is_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane) in intel_fb_is_ccs_aux_plane() 522 static bool intel_fb_is_gen12_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane) in intel_fb_is_gen12_ccs_aux_plane() 538 int intel_fb_rc_ccs_cc_plane(const struct drm_framebuffer *fb) in intel_fb_rc_ccs_cc_plane() 550 static bool is_gen12_ccs_cc_plane(const struct drm_framebuffer *fb, int color_plane) in is_gen12_ccs_cc_plane() 555 static bool is_semiplanar_uv_plane(const struct drm_framebuffer *fb, int color_plane) in is_semiplanar_uv_plane() 561 bool is_surface_linear(const struct drm_framebuffer *fb, int color_plane) in is_surface_linear() 568 int main_to_ccs_plane(const struct drm_framebuffer *fb, int main_plane) in main_to_ccs_plane() 576 int skl_ccs_to_main_plane(const struct drm_framebuffer *fb, int ccs_plane) in skl_ccs_to_main_plane() 587 static unsigned int gen12_ccs_aux_stride(struct intel_framebuffer *fb, int ccs_plane) in gen12_ccs_aux_stride() 596 int skl_main_to_aux_plane(const struct drm_framebuffer *fb, int main_plane) in skl_main_to_aux_plane() [all …]
|
| H A D | skl_universal_plane.c | 275 const struct drm_framebuffer *fb = plane_state->hw.fb; in glk_plane_ratio() local 302 const struct drm_framebuffer *fb = plane_state->hw.fb; in skl_plane_ratio() local 324 static int skl_plane_max_width(const struct drm_framebuffer *fb, in skl_plane_max_width() argument 363 glk_plane_max_width(const struct drm_framebuffer * fb,int color_plane,unsigned int rotation) glk_plane_max_width() argument 391 icl_plane_min_width(const struct drm_framebuffer * fb,int color_plane,unsigned int rotation) icl_plane_min_width() argument 431 icl_hdr_plane_max_width(const struct drm_framebuffer * fb,int color_plane,unsigned int rotation) icl_hdr_plane_max_width() argument 441 icl_sdr_plane_max_width(const struct drm_framebuffer * fb,int color_plane,unsigned int rotation) icl_sdr_plane_max_width() argument 448 skl_plane_max_height(const struct drm_framebuffer * fb,int color_plane,unsigned int rotation) skl_plane_max_height() argument 455 icl_plane_max_height(const struct drm_framebuffer * fb,int color_plane,unsigned int rotation) icl_plane_max_height() argument 590 skl_plane_stride_mult(const struct drm_framebuffer * fb,int color_plane,unsigned int rotation) skl_plane_stride_mult() argument 608 const struct drm_framebuffer *fb = plane_state->hw.fb; skl_plane_stride() local 860 const struct drm_framebuffer *fb = plane_state->hw.fb; adlp_plane_ctl_arb_slots() local 903 const struct drm_framebuffer *fb = plane_state->hw.fb; skl_plane_ctl() local 963 const struct drm_framebuffer *fb = plane_state->hw.fb; glk_plane_color_ctl() local 1001 const struct drm_framebuffer *fb = plane_state->hw.fb; skl_surf_address() local 1036 const struct drm_framebuffer *fb = plane_state->hw.fb; skl_plane_aux_dist() local 1209 const struct drm_framebuffer *fb = plane_state->hw.fb; icl_plane_update_noarm() local 1348 const struct drm_framebuffer *fb = plane_state->hw.fb; skl_plane_check_fb() local 1460 const struct drm_framebuffer *fb = plane_state->hw.fb; skl_plane_check_nv12_rotation() local 1477 skl_plane_max_scale(struct drm_i915_private * dev_priv,const struct drm_framebuffer * fb) skl_plane_max_scale() argument 1493 intel_plane_min_width(struct intel_plane * plane,const struct drm_framebuffer * fb,int color_plane,unsigned int rotation) intel_plane_min_width() argument 1504 intel_plane_max_width(struct intel_plane * plane,const struct drm_framebuffer * fb,int color_plane,unsigned int rotation) intel_plane_max_width() argument 1515 intel_plane_max_height(struct intel_plane * plane,const struct drm_framebuffer * fb,int color_plane,unsigned int rotation) intel_plane_max_height() argument 1530 const struct drm_framebuffer *fb = plane_state->hw.fb; skl_check_main_ccs_coordinates() local 1576 const struct drm_framebuffer *fb = plane_state->hw.fb; skl_calc_main_surface_offset() local 1626 const struct drm_framebuffer *fb = plane_state->hw.fb; skl_check_main_surface() local 1697 const struct drm_framebuffer *fb = plane_state->hw.fb; skl_check_nv12_aux_surface() local 1766 const struct drm_framebuffer *fb = plane_state->hw.fb; skl_check_ccs_aux_surface() local 1805 const struct drm_framebuffer *fb = plane_state->hw.fb; skl_check_plane_surface() local 1839 skl_fb_scalable(const struct drm_framebuffer * fb) skl_fb_scalable() argument 1874 const struct drm_framebuffer *fb = plane_state->hw.fb; skl_plane_check() local 2401 struct drm_framebuffer *fb; skl_get_initial_plane_config() local [all...] |
| /netbsd-src/usr.bin/scmdctl/ |
| H A D | common.c | 59 int common_clear(struct function_block *fb, int fd, bool debug) in common_clear() 65 common_identify(struct function_block *fb, int fd, bool debug, int a_module, struct scmd_identify_r… in common_identify() 89 int common_diag(struct function_block *fb, int fd, bool debug, int a_module, struct scmd_diag_respo… in common_diag() 113 common_get_motor(struct function_block *fb, int fd, bool debug, int a_module, struct scmd_motor_res… in common_get_motor() 189 common_set_motor(struct function_block *fb, int fd, bool debug, int a_module, char a_motor, int8_t … in common_set_motor() 217 common_invert_motor(struct function_block *fb, int fd, bool debug, int a_module, char a_motor) in common_invert_motor() 259 common_bridge_motor(struct function_block *fb, int fd, bool debug, int a_module) in common_bridge_motor() 294 common_enable_disable(struct function_block *fb, int fd, bool debug, int subcmd) in common_enable_disable() 324 common_control_1(struct function_block *fb, int fd, bool debug, int subcmd) in common_control_1() 351 common_get_update_rate(struct function_block *fb, int fd, bool debug, uint8_t *rate) in common_get_update_rate() [all …]
|
| /netbsd-src/sys/dev/pci/ |
| H A D | lynxfb.c | 106 #define DPR_READ(fb, reg) \ argument 108 #define DPR_WRITE(fb, reg, val) \ argument 173 struct lynxfb fb; member 200 struct lynxfb *fb; in lynxfb_cnattach() local 271 struct lynxfb *fb; in lynxfb_attach() local 374 lynxfb_vgats_read(struct lynxfb *fb, uint regno) in lynxfb_vgats_read() 382 lynxfb_vgats_write(struct lynxfb *fb, uint regno, uint8_t value) in lynxfb_vgats_write() 398 struct lynxfb *fb = sc->sc_fb; in lynxfb_ioctl() local 508 struct lynxfb *fb = sc->sc_fb; in lynxfb_init_screen() local 544 lynxfb_setup(struct lynxfb *fb) in lynxfb_setup() [all …]
|
| /openbsd-src/sys/arch/loongson/dev/ |
| H A D | smfb.c | 72 #define DCR_READ(fb, reg) \ argument 74 #define DCR_WRITE(fb, reg, val) \ argument 76 #define DPR_READ(fb, reg) \ argument 78 #define DPR_WRITE(fb, reg, val) \ argument 342 struct smfb *fb = sc->sc_fb; in smfb_burner() local 381 smfb_setup(struct smfb *fb, bus_space_tag_t memt, bus_space_handle_t memh, in smfb_setup() 489 smfb_copyrect(struct smfb *fb, int sx, int sy, int dx, int dy, int w, int h) in smfb_copyrect() 515 smfb_fillrect(struct smfb *fb, int x, int y, int w, int h, int bg) in smfb_fillrect() 536 struct smfb *fb = ri->ri_hw; in smfb_copyrows() local 553 struct smfb *fb = ri->ri_hw; in smfb_copycols() local [all …]
|
| /netbsd-src/lib/libtelnet/ |
| H A D | enc_des.c | 65 struct fb { struct 85 static struct fb fb[2]; variable 69 fb_feedfb global() argument [all...] |
| /netbsd-src/sys/arch/sun3/dev/ |
| H A D | fb.c | 91 fb_attach(struct fbdevice *fb, int newpri) in fb_attach() argument 131 fbioctlfb(struct fbdevice *fb, u_long cmd, void *data) in fbioctlfb() argument 197 fb_eeprom_setsize(struct fbdevice * fb) fb_eeprom_setsize() argument 267 fb_pfour_get_video(struct fbdevice * fb) fb_pfour_get_video() argument 277 fb_pfour_set_video(struct fbdevice * fb,int on) fb_pfour_set_video() argument 300 fb_pfour_setsize(struct fbdevice * fb) fb_pfour_setsize() argument [all...] |
| /netbsd-src/sys/dev/sun/ |
| H A D | pfour_subr.c | 49 fb_setsize_pfour(struct fbdevice *fb) in fb_setsize_pfour() 164 fb_pfour_get_video(struct fbdevice *fb) in fb_pfour_get_video() 174 fb_pfour_set_video(struct fbdevice *fb, int enable) in fb_pfour_set_video()
|
| /netbsd-src/sys/external/bsd/drm2/dist/include/drm/ |
| H A D | drm_framebuffer.h | 236 static inline void drm_framebuffer_get(struct drm_framebuffer *fb) in drm_framebuffer_get() 248 static inline void drm_framebuffer_put(struct drm_framebuffer *fb) in drm_framebuffer_put() 259 static inline uint32_t drm_framebuffer_read_refcount(const struct drm_framebuffer *fb) in drm_framebuffer_read_refcount() 273 struct drm_framebuffer *fb) in drm_framebuffer_assign() 290 #define drm_for_each_fb(fb, dev) \ argument
|
| /netbsd-src/sys/arch/aarch64/aarch64/ |
| H A D | bus_space.c | 700 struct faultbuf fb; in generic_bs_pe_1() local 715 struct faultbuf fb; in generic_bs_pe_2() local 730 struct faultbuf fb; in generic_bs_pe_4() local 745 struct faultbuf fb; in generic_bs_pe_8() local 760 struct faultbuf fb; in generic_bs_po_1() local 774 struct faultbuf fb; in generic_bs_po_2() local 788 struct faultbuf fb; in generic_bs_po_4() local 802 struct faultbuf fb; in generic_bs_po_8() local
|
| /netbsd-src/sys/external/bsd/drm2/drm/ |
| H A D | drm_gem_framebuffer_helper.c | 58 drm_gem_fb_destroy(struct drm_framebuffer *fb) in drm_gem_fb_destroy() 78 drm_gem_fb_create_handle(struct drm_framebuffer *fb, struct drm_file *file, in drm_gem_fb_create_handle() 102 struct drm_framebuffer *fb; in drm_gem_fb_create_with_funcs() local
|