Home
last modified time | relevance | path

Searched refs:planes (Results 1 – 25 of 54) sorted by relevance

123

/netbsd-src/games/atc/
H A Dgraphics.c74 static WINDOW *radar, *cleanradar, *credit, *input, *planes; variable
135 planes = newwin(LINES - INPUT_LINES, PLANE_COLS, 0, COLS - PLANE_COLS); in init_gr()
335 (void)wclear(planes); in planewin()
338 (void)wmove(planes, 0,0); in planewin()
341 wclrtobot(planes); in planewin()
343 (void)wprintw(planes, "Time: %-4d Safe: %d", clck, safe_planes); in planewin()
344 (void)wmove(planes, 2, 0); in planewin()
346 (void)waddstr(planes, "pl dt comm"); in planewin()
348 if (waddch(planes, '\n') == ERR) { in planewin()
352 (void)waddstr(planes, command(pp)); in planewin()
[all …]
H A Dlog.c79 if (b->planes == a->planes) in compar()
82 return (b->planes - a->planes); in compar()
190 &score[num_scores].planes, in log_score()
218 thisscore.planes = safe_planes; in log_score()
227 score[i].planes = thisscore.planes; in log_score()
268 score[i].game, score[i].planes, in log_score()
309 score[i].planes); in log_score()
H A Dstruct.h110 int planes; member
/netbsd-src/sys/external/bsd/drm2/dist/include/drm/
H A Ddrm_atomic.h353 struct __drm_planes_state *planes; member
543 return state->planes[drm_plane_index(plane)].state; in drm_atomic_get_existing_plane_state()
558 return state->planes[drm_plane_index(plane)].old_state; in drm_atomic_get_old_plane_state()
573 return state->planes[drm_plane_index(plane)].new_state; in drm_atomic_get_new_plane_state()
669 if (state->planes[drm_plane_index(plane)].state) in __drm_atomic_get_current_plane_state()
670 return state->planes[drm_plane_index(plane)].state; in __drm_atomic_get_current_plane_state()
834 for_each_if ((__state)->planes[__i].ptr && \
835 ((plane) = (__state)->planes[__i].ptr, \
837 (old_plane_state) = (__state)->planes[__i].old_state,\
838 (new_plane_state) = (__state)->planes[__i].new_state, 1))
[all …]
/netbsd-src/sys/arch/hp300/dev/
H A Dgbox.c297 for (fb->planes = 1; fb->planemask >= (1 << fb->planes); in gbox_reset()
298 fb->planes++); in gbox_reset()
299 if (fb->planes > 8) in gbox_reset()
300 fb->planes = 8; in gbox_reset()
301 fb->planemask = (1 << fb->planes) - 1; in gbox_reset()
364 wdf->cmsize = 1 << fb->planes; in gbox_ioctl()
399 u_int colcount = 1 << fb->planes; in gbox_setcmap()
H A Ddiofb.c149 fb->planes = fbr->num_planes; in diofb_fbinquire()
150 if (fb->planes > 8) in diofb_fbinquire()
151 fb->planes = 8; in diofb_fbinquire()
152 fb->planemask = (1 << fb->planes) - 1; in diofb_fbinquire()
179 if (fb->planes < 4) in diofb_fbsetup()
200 if (fb->planes == 4) { in diofb_fbsetup()
259 switch (fb->planes) { in diofb_resetcmap()
310 if (fb->planes == 1) in diofb_end_attach()
313 aprint_normal("x%d", fb->planes); in diofb_end_attach()
518 u_int colcount = 1 << fb->planes; in diofb_getcmap()
H A Dtopcat.c277 switch (sc->sc_fb->planes) { in topcat_end_attach()
326 * If we could not get a valid number of planes, determine it in topcat_reset()
330 if (fb->planes == 0) { in topcat_reset()
344 for (fb->planes = 1; fb->planemask >= (1 << fb->planes); in topcat_reset()
345 fb->planes++); in topcat_reset()
346 if (fb->planes > 8) in topcat_reset()
347 fb->planes = 8; in topcat_reset()
348 fb->planemask = (1 << fb->planes) - 1; in topcat_reset()
373 if (fb->planes < in topcat_reset()
[all...]
H A Dtopcatreg.h48 #define tc_waitbusy(regaddr,planes) \ argument
50 while (((volatile struct tcboxfb *)(regaddr))->busy & planes) \
H A Ddiofbvar.h88 u_int planes; /* number of planes */ member
H A Drbox.c263 fb->planes = fb->planemask = 1; in rbox_reset()
H A Ddvbox.c263 fb->planes = fb->planemask = 1; in dvbox_reset()
/netbsd-src/sys/external/bsd/drm2/dist/drm/
H A Ddrm_atomic.c77 kfree(state->planes); in drm_atomic_state_default_release()
105 state->planes = kcalloc(dev->mode_config.num_total_plane, in drm_atomic_state_init()
106 sizeof(*state->planes), GFP_KERNEL); in drm_atomic_state_init()
107 if (!state->planes) in drm_atomic_state_init()
201 struct drm_plane *plane = state->planes[i].ptr; in drm_atomic_state_default_clear()
207 state->planes[i].state); in drm_atomic_state_default_clear()
208 state->planes[i].ptr = NULL; in drm_atomic_state_default_clear()
209 state->planes[i].state = NULL; in drm_atomic_state_default_clear()
210 state->planes[i].old_state = NULL; in drm_atomic_state_default_clear()
211 state->planes[i].new_state = NULL; in drm_atomic_state_default_clear()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/display/
H A Dintel_display.h430 ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \
431 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), 1); \
438 ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \
439 (new_plane_state) = to_intel_plane_state((__state)->base.planes[__i].new_state), 1); \
454 ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \
455 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), \
456 (new_plane_state) = to_intel_plane_state((__state)->base.planes[__i].new_state), 1); \
/netbsd-src/sys/arch/hp300/stand/common/
H A Dgrf_tcreg.h46 #define tc_waitbusy(regaddr,planes) \ argument
47 while (((struct tcboxfb *)(regaddr))->busy & planes) DELAY(100)
/netbsd-src/sys/arch/amiga/dev/
H A Damidisplaycc.c299 u_char * planes[MAXDEPTH]; member
552 dst = scr->planes[0]; in amidisplaycc_cursor_xor()
645 dst = scr->planes[plane] + bmapoffset; in amidisplaycc_putchar()
727 src = scr->planes[plane] + bmapoffset; in amidisplaycc_copycols()
785 dst = scr->planes[plane] + bmapoffset; in amidisplaycc_erasecols()
872 src = scr->planes[plane] + srcbmapoffset; in amidisplaycc_copyrows()
873 dst = scr->planes[plane] + dstbmapoffset; in amidisplaycc_copyrows()
898 dst = scr->planes[plane] + dstbmapoffset; in amidisplaycc_copyrows()
970 dst = scr->planes[plane] + bmapoffset; in amidisplaycc_eraserows()
1348 scr->planes[i] = view->bitmap->plane[i]; in amidisplaycc_alloc_screen()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/selftests/
H A Di915_vma.c486 const struct intel_remapped_plane_info planes[] = { in igt_vma_rotate_remap() local
521 for (a = planes; a->width; a++) { in igt_vma_rotate_remap()
522 for (b = planes + ARRAY_SIZE(planes); b-- != planes; ) { in igt_vma_rotate_remap()
856 const struct intel_remapped_plane_info planes[] = { in igt_vma_remapped_gtt() local
890 for (p = planes; p->width; p++) { in igt_vma_remapped_gtt()
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Dwindint.h359 rc_uint_type planes; member
372 bfd_byte planes[2]; member
725 rc_uint_type planes; member
748 bfd_byte planes[2]; member
H A Dresrc.c97 unsigned short planes; member
849 cg->planes = 1; in define_cursor()
1188 icondirs[i].u.icon.planes = get_word (e, real_filename); in define_icon()
1248 if (icondirs[i].u.icon.planes) in define_icon()
1249 cg->planes = icondirs[i].u.icon.planes; in define_icon()
1251 cg->planes = 1; in define_icon()
1313 cg->planes = windres_get_16 (&wrtarget, pb_data + 4, len_data - 4); in define_group_icon_rcdata()
1365 cg->planes = windres_get_16 (&wrtarget, pb_data + 4, len_data - 4); in define_group_cursor_rcdata()
2523 (int) gc->width, (int) gc->height, (int) gc->planes, (int) gc->bits, in write_rc_group_cursor()
2526 (int) gc->width, (int) gc->height, (int) gc->planes, in write_rc_group_cursor()
[all …]
H A Dresbin.c819 gc->planes = windres_get_16 (wrbfd, data + 4, 2); in bin_to_res_group_cursor()
875 gi->planes = windres_get_16 (wrbfd, data + 4, 2); in bin_to_res_group_icon()
1442 windres_put_16 (wrbfd, bgci.planes, gc->planes); in res_to_bin_group_cursor()
1664 windres_put_16 (wrbfd, bgii.planes, gi->planes); in res_to_bin_group_icon()
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Dwindint.h359 rc_uint_type planes; member
372 bfd_byte planes[2]; member
725 rc_uint_type planes; member
748 bfd_byte planes[2]; member
H A Dresrc.c97 unsigned short planes; member
843 cg->planes = 1; in define_cursor()
1182 icondirs[i].u.icon.planes = get_word (e, real_filename); in define_icon()
1242 if (icondirs[i].u.icon.planes) in define_icon()
1243 cg->planes = icondirs[i].u.icon.planes; in define_icon()
1245 cg->planes = 1; in define_icon()
1307 cg->planes = windres_get_16 (&wrtarget, pb_data + 4, len_data - 4); in define_group_icon_rcdata()
1359 cg->planes = windres_get_16 (&wrtarget, pb_data + 4, len_data - 4); in define_group_cursor_rcdata()
2517 (int) gc->width, (int) gc->height, (int) gc->planes, (int) gc->bits, in write_rc_group_cursor()
2520 (int) gc->width, (int) gc->height, (int) gc->planes, in write_rc_group_cursor()
[all …]
H A Dresbin.c819 gc->planes = windres_get_16 (wrbfd, data + 4, 2); in bin_to_res_group_cursor()
875 gi->planes = windres_get_16 (wrbfd, data + 4, 2); in bin_to_res_group_icon()
1442 windres_put_16 (wrbfd, bgci.planes, gc->planes); in res_to_bin_group_cursor()
1664 windres_put_16 (wrbfd, bgii.planes, gi->planes); in res_to_bin_group_icon()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/
H A Dintel_pm.c3846 &crtc_state->wm.skl.optimal.planes[plane->id]; in intel_can_enable_sagv()
4349 &crtc_state->wm.skl.optimal.planes[plane_id]; in skl_allocate_pipe_ddb()
4385 &crtc_state->wm.skl.optimal.planes[plane_id]; in skl_allocate_pipe_ddb()
4457 &crtc_state->wm.skl.optimal.planes[plane_id]; in skl_allocate_pipe_ddb()
4494 &crtc_state->wm.skl.optimal.planes[plane_id]; in skl_allocate_pipe_ddb()
4937 struct skl_plane_wm *wm = &crtc_state->wm.skl.optimal.planes[plane_id]; in skl_build_plane_wm_single()
4956 struct skl_plane_wm *wm = &crtc_state->wm.skl.optimal.planes[plane_id]; in skl_build_plane_wm_uv()
5048 memset(pipe_wm->planes, 0, sizeof(pipe_wm->planes)); in skl_build_pipe_wm()
5100 &crtc_state->wm.skl.optimal.planes[plane_id]; in skl_write_plane_wm()
5136 &crtc_state->wm.skl.optimal.planes[plane_id]; in skl_write_cursor_wm()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce80/
H A Damdgpu_dce80_resource.c1087 dc->caps.planes[i] = plane_cap; in dce80_construct()
1284 dc->caps.planes[i] = plane_cap; in dce81_construct()
1477 dc->caps.planes[i] = plane_cap; in dce83_construct()
/netbsd-src/external/bsd/file/dist/magic/magdir/
H A Dimages801 # skip bad samples like GAME by looking for valid number of color planes
809 # number of color planes (must be 1)
810 #>>12 uleshort >1 \b, %u color planes
883 # number of color planes (must be 1)
884 #>>22 uleshort !1 \b, %u color planes
912 # number of color planes (must be 1)
913 #>>26 uleshort >1 \b, %u color planes
932 >>26 uleshort >1 \b, %u color planes
1009 # number of color planes (must be 1), except badplanes.bmp for testing
1010 #>>>26 uleshort >1 \b, %u color planes
[all …]

123