| /dragonfly/sys/dev/drm/ |
| HD | drm_modeset_helper.c | 107 struct drm_plane *primary; in create_primary_plane() local 110 primary = kzalloc(sizeof(*primary), GFP_KERNEL); in create_primary_plane() 111 if (primary == NULL) { in create_primary_plane() 120 primary->format_default = true; in create_primary_plane() 123 ret = drm_universal_plane_init(dev, primary, 0, in create_primary_plane() 130 kfree(primary); in create_primary_plane() 131 primary = NULL; in create_primary_plane() 134 return primary; in create_primary_plane() 152 struct drm_plane *primary; in drm_crtc_init() local 154 primary = create_primary_plane(dev); in drm_crtc_init() [all …]
|
| HD | drm_crtc.c | 274 struct drm_plane *primary, in drm_crtc_init_with_planes() argument 282 WARN_ON(primary && primary->type != DRM_PLANE_TYPE_PRIMARY); in drm_crtc_init_with_planes() 321 crtc->primary = primary; in drm_crtc_init_with_planes() 323 if (primary && !primary->possible_crtcs) in drm_crtc_init_with_planes() 324 primary->possible_crtcs = 1 << drm_crtc_index(crtc); in drm_crtc_init_with_planes() 442 drm_modeset_lock(&crtc->primary->mutex, NULL); in drm_mode_getcrtc() 443 if (crtc->primary->state && crtc->primary->state->fb) in drm_mode_getcrtc() 444 crtc_resp->fb_id = crtc->primary->state->fb->base.id; in drm_mode_getcrtc() 445 else if (!crtc->primary->state && crtc->primary->fb) in drm_mode_getcrtc() 446 crtc_resp->fb_id = crtc->primary->fb->base.id; in drm_mode_getcrtc() [all …]
|
| HD | drm_crtc_helper.c | 188 crtc->primary->fb = NULL; in __drm_helper_disable_unused_functions() 597 save_set.fb = set->crtc->primary->fb; in drm_crtc_helper_set_config() 601 if (set->crtc->primary->fb != set->fb) { in drm_crtc_helper_set_config() 603 if (set->crtc->primary->fb == NULL) { in drm_crtc_helper_set_config() 606 } else if (set->fb->format != set->crtc->primary->fb->format) { in drm_crtc_helper_set_config() 722 set->crtc->primary->fb = set->fb; in drm_crtc_helper_set_config() 728 set->crtc->primary->fb = save_set.fb; in drm_crtc_helper_set_config() 743 set->crtc->primary->fb = set->fb; in drm_crtc_helper_set_config() 749 set->crtc->primary->fb = save_set.fb; in drm_crtc_helper_set_config() 955 crtc->x, crtc->y, crtc->primary->fb); in drm_helper_resume_force_mode() [all …]
|
| HD | drm_plane.c | 983 ret = drm_modeset_lock(&crtc->primary->mutex, &ctx); in drm_mode_page_flip_ioctl() 987 if (crtc->primary->fb == NULL) { in drm_mode_page_flip_ioctl() 1003 const struct drm_plane_state *state = crtc->primary->state; in drm_mode_page_flip_ioctl() 1016 if (crtc->primary->fb->format != fb->format) { in drm_mode_page_flip_ioctl() 1040 crtc->primary->old_fb = crtc->primary->fb; in drm_mode_page_flip_ioctl() 1053 crtc->primary->old_fb = NULL; in drm_mode_page_flip_ioctl() 1055 crtc->primary->fb = fb; in drm_mode_page_flip_ioctl() 1063 if (crtc->primary->old_fb) in drm_mode_page_flip_ioctl() 1064 drm_framebuffer_put(crtc->primary->old_fb); in drm_mode_page_flip_ioctl() 1065 crtc->primary->old_fb = NULL; in drm_mode_page_flip_ioctl()
|
| HD | drm_sysfs.c | 41 dev->primary->index, in drm_sysfs_connector_add()
|
| /dragonfly/sys/dev/drm/radeon/ |
| HD | radeon_dp_mst.c | 25 static int radeon_dp_mst_set_be_cntl(struct radeon_encoder *primary, in radeon_dp_mst_set_be_cntl() argument 29 struct drm_device *dev = primary->base.dev; in radeon_dp_mst_set_be_cntl() 35 reg = RREG32(NI_DIG_BE_CNTL + primary->offset); in radeon_dp_mst_set_be_cntl() 47 DRM_DEBUG_KMS("writing 0x%08x 0x%08x\n", NI_DIG_BE_CNTL + primary->offset, reg); in radeon_dp_mst_set_be_cntl() 48 WREG32(NI_DIG_BE_CNTL + primary->offset, reg); in radeon_dp_mst_set_be_cntl() 57 … DRM_ERROR("timed out waiting for FE %d %d\n", primary->offset, mst_enc->fe); in radeon_dp_mst_set_be_cntl() 62 static int radeon_dp_mst_set_stream_attrib(struct radeon_encoder *primary, in radeon_dp_mst_set_stream_attrib() argument 67 struct drm_device *dev = primary->base.dev; in radeon_dp_mst_set_stream_attrib() 76 temp = RREG32(NI_DP_MSE_SAT0 + satreg + primary->offset); in radeon_dp_mst_set_stream_attrib() 86 DRM_DEBUG_KMS("writing 0x%08x 0x%08x\n", NI_DP_MSE_SAT0 + satreg + primary->offset, temp); in radeon_dp_mst_set_stream_attrib() [all …]
|
| HD | radeon_legacy_crtc.c | 391 if (!atomic && !crtc->primary->fb) { in radeon_crtc_do_set_base() 401 radeon_fb = to_radeon_framebuffer(crtc->primary->fb); in radeon_crtc_do_set_base() 402 target_fb = crtc->primary->fb; in radeon_crtc_do_set_base() 450 if (!atomic && fb && fb != crtc->primary->fb) { in radeon_crtc_do_set_base() 560 if (!atomic && fb && fb != crtc->primary->fb) { in radeon_crtc_do_set_base() 581 const struct drm_framebuffer *fb = crtc->primary->fb; in radeon_set_crtc_timing() 1094 if (crtc->primary->fb) { in radeon_crtc_disable() 1099 radeon_fb = to_radeon_framebuffer(crtc->primary->fb); in radeon_crtc_disable()
|
| /dragonfly/contrib/grep/lib/ |
| HD | fd-hook.c | 34 execute_close_hooks (const struct fd_hook *remaining_list, gl_close_fn primary, in execute_close_hooks() argument 39 return primary (fd); in execute_close_hooks() 42 primary, fd); in execute_close_hooks() 46 execute_all_close_hooks (gl_close_fn primary, int fd) in execute_all_close_hooks() argument 48 return execute_close_hooks (anchor.private_next, primary, fd); in execute_all_close_hooks() 52 execute_ioctl_hooks (const struct fd_hook *remaining_list, gl_ioctl_fn primary, in execute_ioctl_hooks() argument 57 return primary (fd, request, arg); in execute_ioctl_hooks() 60 primary, fd, request, arg); in execute_ioctl_hooks() 64 execute_all_ioctl_hooks (gl_ioctl_fn primary, in execute_all_ioctl_hooks() argument 67 return execute_ioctl_hooks (anchor.private_next, primary, fd, request, arg); in execute_all_ioctl_hooks()
|
| HD | fd-hook.h | 50 gl_close_fn primary, 56 gl_ioctl_fn primary, 67 gl_close_fn primary, 73 gl_close_fn primary, 78 extern int execute_all_close_hooks (gl_close_fn primary, int fd); 87 gl_ioctl_fn primary, 93 gl_ioctl_fn primary, 98 extern int execute_all_ioctl_hooks (gl_ioctl_fn primary,
|
| /dragonfly/contrib/gdb-7/gdb/ |
| HD | ada-exp.y | 240 | primary ASSIGN exp /* Extension for convenience */ 245 primary : primary DOT_ALL 249 primary : primary DOT_ID 253 primary : primary '(' arglist ')' 278 primary : var_or_type '\'' save_qualifier { type_qualifier = $1; } 293 primary : 294 primary '(' simple_exp DOTDOT simple_exp ')' 304 primary : '(' exp1 ')' { } 315 primary : var_or_type %prec VAR 325 primary : SPECIAL_VARIABLE /* Various GDB extensions */ [all …]
|
| /dragonfly/crypto/openssh/ |
| HD | auth-options.c | 534 sshauthopt_merge(const struct sshauthopt *primary, in sshauthopt_merge() argument 551 tmp = primary->required_from_host_cert; in sshauthopt_merge() 556 tmp = primary->required_from_host_keys; in sshauthopt_merge() 566 ret->force_tun_device = primary->force_tun_device; in sshauthopt_merge() 569 if (primary->nenv > 0) { in sshauthopt_merge() 571 primary->env, primary->nenv) != 0) in sshauthopt_merge() 578 if (primary->npermitopen > 0) { in sshauthopt_merge() 580 primary->permitopen, primary->npermitopen) != 0) in sshauthopt_merge() 588 if (primary->npermitlisten > 0) { in sshauthopt_merge() 590 primary->permitlisten, primary->npermitlisten) != 0) in sshauthopt_merge() [all …]
|
| HD | auth-options.h | 103 struct sshauthopt *sshauthopt_merge(const struct sshauthopt *primary,
|
| /dragonfly/contrib/lvm2/dist/lib/device/ |
| HD | device.c | 189 struct device *primary; 203 if (!(primary = dev_primary(dm, d))) { 216 if ((pv_handle = open(primary->name, O_RDONLY)) < 0) { 217 log_error("%s: open failed: %s", primary->name, 231 primary->name, strerror(errno)); 242 log_error("%s: read failed: %s", primary->name, 376 dev_t uninitialized_var(primary); in _dev_topology_attribute() 402 if (!get_primary_dev(sysfs_dir, dev, &primary)) in _dev_topology_attribute() 407 (int)MAJOR(primary), (int)MINOR(primary), in _dev_topology_attribute()
|
| /dragonfly/bin/sh/ |
| HD | arith_yacc.c | 168 static arith_t primary(int token, union yystype *val, int op, int noeval) in primary() function 193 return -primary(op, val, yylex(), noeval); in primary() 196 return !primary(op, val, yylex(), noeval); in primary() 199 return ~primary(op, val, yylex(), noeval); in primary() 216 b = primary(token, &val, yylex(), noeval); in binop2() 237 arith_t a = primary(token, val, op, noeval); in binop()
|
| /dragonfly/sys/dev/drm/i915/ |
| HD | intel_dp_mst.c | 38 struct intel_digital_port *intel_dig_port = intel_mst->primary; in intel_dp_mst_compute_config() 114 mgr = &enc_to_mst(old_encoder)->primary->dp.mst_mgr; in intel_dp_mst_atomic_check() 130 struct intel_digital_port *intel_dig_port = intel_mst->primary; in intel_mst_disable_dp() 153 struct intel_digital_port *intel_dig_port = intel_mst->primary; in intel_mst_post_disable_dp() 187 struct intel_digital_port *intel_dig_port = intel_mst->primary; in intel_mst_pre_enable_dp() 231 struct intel_digital_port *intel_dig_port = intel_mst->primary; in intel_mst_enable_dp() 267 struct intel_digital_port *intel_dig_port = intel_mst->primary; in intel_dp_mst_enc_get_config() 566 intel_mst->primary = intel_dig_port; in intel_dp_create_fake_mst_encoder()
|
| HD | intel_display.c | 991 return crtc->active && crtc->base.primary->state->fb && in intel_crtc_active() 2775 struct drm_plane *primary = intel_crtc->base.primary; in intel_find_initial_plane_obj() local 2776 struct drm_plane_state *plane_state = primary->state; in intel_find_initial_plane_obj() 2778 struct intel_plane *intel_plane = to_intel_plane(primary); in intel_find_initial_plane_obj() 2806 state = to_intel_plane_state(c->primary->state); in intel_find_initial_plane_obj() 2811 fb = c->primary->fb; in intel_find_initial_plane_obj() 2831 intel_pin_and_fence_fb_obj(fb, primary->state->rotation); in intel_find_initial_plane_obj() 2860 primary->fb = primary->state->fb = fb; in intel_find_initial_plane_obj() 2861 primary->crtc = primary->state->crtc = &intel_crtc->base; in intel_find_initial_plane_obj() 2867 atomic_or(to_intel_plane(primary)->frontbuffer_bit, in intel_find_initial_plane_obj() [all …]
|
| /dragonfly/contrib/mdocml/ |
| HD | read.c | 57 struct buf *primary; /* buffer currently being parsed */ member 110 cp = curp->primary->buf; in choose_parser() 111 ep = cp + curp->primary->sz; in choose_parser() 582 save_primary = curp->primary; in mparse_readfd() 587 curp->primary = &blk; in mparse_readfd() 616 curp->primary = save_primary; in mparse_readfd()
|
| /dragonfly/contrib/libarchive/libarchive/ |
| HD | archive_write_set_format_iso9660.c | 739 } primary, joliet; member 1072 iso9660->primary.max_depth = 0; in archive_write_set_format_iso9660() 1073 iso9660->primary.vdd_type = VDD_PRIMARY; in archive_write_set_format_iso9660() 1074 iso9660->primary.pathtbl = NULL; in archive_write_set_format_iso9660() 1159 iso9660->primary.rootent = in archive_write_set_format_iso9660() 1161 if (iso9660->primary.rootent == NULL) { in archive_write_set_format_iso9660() 1167 iso9660->primary.rootent->parent = iso9660->primary.rootent; in archive_write_set_format_iso9660() 1168 iso9660->cur_dirent = iso9660->primary.rootent; in archive_write_set_format_iso9660() 1881 ret = isoent_find_out_boot_file(a, iso9660->primary.rootent); in iso9660_close() 1896 ret = isoent_create_boot_catalog(a, iso9660->primary.rootent); in iso9660_close() [all …]
|
| /dragonfly/contrib/file/magic/Magdir/ |
| HD | icc | 19 # bytes 40 to 43 "may be used to identify the primary platform/operating 45 # and there *is* an identified "primary platform" value of SUNW. 208 # XXX - should we use "acsp\0\0\0\0" for "no primary platform" profiles, 209 # and use "acsp" for everything else and dump the "primary platform"
|
| /dragonfly/sys/dev/drm/include/drm/ |
| HD | drm_crtc.h | 766 struct drm_plane *primary; member 915 struct drm_plane *primary,
|
| HD | drm_fb_helper.h | 520 const char *name, bool primary) in drm_fb_helper_remove_conflicting_framebuffers() argument 523 return remove_conflicting_framebuffers(a, name, primary); in drm_fb_helper_remove_conflicting_framebuffers()
|
| /dragonfly/tools/tools/scsi-defects/ |
| HD | README | 1 Peter Dufault's tools to extract the primary or grown defect list from
|
| /dragonfly/sys/dev/drm/include/linux/ |
| HD | fb.h | 56 const char *name, bool primary);
|
| /dragonfly/bin/test/ |
| HD | test.c | 190 static int primary(enum token); 277 return primary(n); in nexpr() 281 primary(enum token n) in primary() function
|
| /dragonfly/contrib/wpa_supplicant/src/ap/ |
| HD | hw_features.c | 708 int channel, int primary) in hostapd_is_usable_chan() argument 719 if ((primary && chan_pri_allowed(chan)) || in hostapd_is_usable_chan() 720 (!primary && !(chan->flag & HOSTAPD_CHAN_DISABLED))) in hostapd_is_usable_chan() 725 channel, primary ? "primary" : "secondary", in hostapd_is_usable_chan()
|