/src/sys/arch/arm/nvidia/ |
tegra_drm_fb.c | 58 drm_fb_helper_prepare(ddev, &fbdev->helper, &tegra_fb_helper_funcs); 60 error = drm_fb_helper_init(ddev, &fbdev->helper, 1); 71 * it yet. The fb helper won't configure a CRTC unless this field is 77 fbdev->helper.fb = 80 drm_fb_helper_single_add_all_connectors(&fbdev->helper); 84 drm_fb_helper_initial_config(&fbdev->helper, 32); 90 tegra_fb_probe(struct drm_fb_helper *helper, 93 struct tegra_drm_softc * const sc = tegra_drm_private(helper->dev); 94 struct drm_device *ddev = helper->dev; 97 if (tegra_fb_init(ddev, helper->fb, sizes) != 0) [all...] |
tegra_drm.h | 132 struct drm_fb_helper helper; member in struct:tegra_fbdev 164 #define to_tegra_fbdev(x) container_of(x, struct tegra_fbdev, helper)
|
/src/tests/bin/sh/ |
t_input.sh | 56 cat > helper.sh <<- EOF 78 ${TEST_SH} helper.sh 80 size=$(stat -f %z helper.sh) 89 OF="helper-${N}@${loc}.sh" 92 dd if=helper.sh bs=1 count="${loc}" \ 94 dd if=helper.sh bs=1 skip="${loc}" \ 121 OF="helper-${*}.sh" 126 dd if=helper.sh bs=1 count="${loc}" \ 136 dd if=helper.sh bs=1 skip="${loc}" \ 146 dd if=helper.sh bs=1 skip="${loc}" [all...] |
t_evaltested.sh | 38 cat > helper.sh << EOF 48 output="$($TEST_SH helper.sh)"
|
t_exit.sh | 89 echo '( trap "echo exiting" 0 )' >helper.sh 90 atf_check -s exit:0 -o match:exiting -e empty ${TEST_SH} helper.sh 92 # atf_check -s exit:0 -o match:exiting -e empty /bin/ksh helper.sh 101 echo '( trap "echo exiting" 0; exit; echo NO_NO_NO )' >helper.sh 103 ${TEST_SH} helper.sh 105 # atf_check -s exit:0 -o match:exiting -e empty /bin/ksh helper.sh
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/ |
nouveau_fbcon.c | 82 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); 114 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); 146 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); 178 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); 205 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); 216 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); 248 if (drm->fbcon && drm->fbcon->helper.fbdev) { 249 drm->fbcon->saved_flags = drm->fbcon->helper.fbdev->flags; 250 drm->fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; 260 if (drm->fbcon && drm->fbcon->helper.fbdev) [all...] |
nouveau_fbcon.h | 37 struct drm_fb_helper helper; /* must be first */ member in struct:nouveau_fbdev
|
nouveau_nv50_fbcon.c | 39 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); 74 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); 102 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); 157 struct nouveau_framebuffer *fb = nouveau_framebuffer(nfbdev->helper.fb); 158 struct drm_device *dev = nfbdev->helper.dev;
|
nouveau_nvc0_fbcon.c | 39 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); 74 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); 102 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); 157 struct drm_device *dev = nfbdev->helper.dev; 158 struct nouveau_framebuffer *fb = nouveau_framebuffer(nfbdev->helper.fb);
|
/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
intel_fbdev.c | 75 container_of(fb_helper, struct intel_fbdev, helper); 89 container_of(fb_helper, struct intel_fbdev, helper); 104 container_of(fb_helper, struct intel_fbdev, helper); 126 static int intelfb_alloc(struct drm_fb_helper *helper, 130 container_of(helper, struct intel_fbdev, helper); 132 struct drm_device *dev = helper->dev; 179 static int intelfb_create(struct drm_fb_helper *helper, 183 container_of(helper, struct intel_fbdev, helper); [all...] |
/src/tests/libexec/ld.elf_so/ |
helper.mk | 1 # $NetBSD: helper.mk,v 1.1 2023/07/05 22:42:46 riastradh Exp $ 3 # Makefile fragment for building a helper library used by ld.elf_so
|
/src/sys/external/bsd/drm2/dist/include/drm/ |
drm_fb_helper.h | 8 * DRM framebuffer helper functions 82 * Driver callbacks used by the fbdev emulation helper library. 99 int (*fb_probe)(struct drm_fb_helper *helper, 107 * @funcs: driver callbacks for fb helper 153 * Top-level FBDEV helper lock. This protects all internal data 157 * protect all helper internal state with this lock as well as reduce 181 * If no outputs are connected (disconnected or unknown) the FB helper 194 * FB helper initialization. This needs to be tracked so that deferred 195 * FB helper setup can pass this on. 209 * define DRM_FB_HELPER_DEFAULT_OPS - helper define for drm driver [all...] |
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_fb.c | 53 * this contains a helper + a radeon fb 54 * the helper contains a pointer to radeon framebuffer baseclass. 57 struct drm_fb_helper helper; /* must be first */ member in struct:radeon_fbdev 224 static int radeonfb_create(struct drm_fb_helper *helper, 228 container_of(helper, struct radeon_fbdev, helper); 273 rfa.rfa_fb_helper = helper; 279 helper->fbdev = config_found(rdev->ddev->dev, &rfa, NULL, 282 if (helper->fbdev == NULL) { 288 rfbdev->helper.fb = fb [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_fb.c | 56 this contains a helper + a amdgpu fb 57 the helper contains a pointer to amdgpu framebuffer baseclass. 213 static int amdgpufb_create(struct drm_fb_helper *helper, 216 struct amdgpu_fbdev *rfbdev = (struct amdgpu_fbdev *)helper; 245 info = drm_fb_helper_alloc_fbi(helper); 261 /* setup helper */ 262 rfbdev->helper.fb = fb; 272 afa.afa_fb_helper = helper; 278 helper->fbdev = config_found(adev->ddev->dev, &afa, NULL, 281 if (helper->fbdev == NULL) [all...] |
/src/tests/lib/libc/kevent_nullmnt/ |
t_nullmnt.sh | 4 helper=$(atf_get_srcdir)/h_nullmnt 6 # helper function to check for kernel support 37 ${helper} ${curdir}/${1}/afile ${curdir}/${2}/afile
|
/src/sys/arch/arm/rockchip/ |
rk_drm.c | 300 rk_drm_fb_probe(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) 302 struct rk_drm_softc * const sc = rk_drm_private(helper->dev); 303 struct drm_device *ddev = helper->dev; 304 struct rk_drm_framebuffer *sfb = to_rk_drm_framebuffer(helper->fb); 305 struct drm_framebuffer *fb = helper->fb; 353 sfa.sfa_fb_helper = helper; 357 sfa.sfa_fb_linebytes = helper->fb->pitches[0]; 359 helper->fbdev = config_found(ddev->dev, &sfa, NULL, 361 if (helper->fbdev == NULL) { 423 drm_fb_helper_prepare(ddev, &fbdev->helper, &rk_drm_fb_helper_funcs) [all...] |
rk_drm.h | 88 struct drm_fb_helper helper; member in struct:rk_drm_fbdev
|
/src/sys/external/bsd/drm2/i915drm/ |
intelfb.c | 172 struct drm_fb_helper *const helper = sc->sc_ifa.ifa_fb_helper; local in function:intelfb_drmfb_mmapfb 173 struct intel_fbdev *const fbdev = container_of(helper, 174 struct intel_fbdev, helper); 175 struct drm_device *const dev = helper->dev;
|
/src/tests/lib/libc/gen/posix_spawn/ |
t_spawnattr.c | 114 char helper[FILENAME_MAX]; local in function:ATF_TC_BODY 142 snprintf(helper, sizeof(helper), "%s/h_spawnattr", 144 RZ(posix_spawn(&pid, helper, NULL, &attr, args, NULL));
|
/src/sys/external/bsd/drm2/dist/drm/ |
drm_fb_helper.c | 8 * DRM framebuffer helper functions 102 * The fb helper functions are useful to provide an fbdev on top of a drm kernel 104 * helper functions used by many drivers to implement the kernel mode setting 114 * They should also notify the fb helper code from updates to the output 121 * All other functions exported by the fb helper library can be used to 126 * helper must be called first to initialize the minimum required to make 131 * encoders and connectors. To finish up the fbdev helper initialization, the 166 * @info: fbdev registered by the helper 168 int drm_fb_helper_debug_enter_fb(struct drm_fb_helper *helper) 173 list_for_each_entry(helper, &kernel_fb_helper_list, kernel_fb_list) 293 struct drm_fb_helper *helper; local in function:drm_fb_helper_force_kernel_mode 387 struct drm_fb_helper *helper = container_of(work, struct drm_fb_helper, local in function:drm_fb_helper_resume_worker 418 struct drm_fb_helper *helper = container_of(work, struct drm_fb_helper, local in function:drm_fb_helper_dirty_work 658 struct drm_fb_helper *helper = info->par; local in function:drm_fb_helper_dirty [all...] |
/src/sys/arch/arm/sunxi/ |
sunxi_drm.c | 340 sunxi_drm_fb_probe(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) 342 struct sunxi_drm_softc * const sc = sunxi_drm_private(helper->dev); 343 struct drm_device *ddev = helper->dev; 344 struct sunxi_drm_framebuffer *sfb = to_sunxi_drm_framebuffer(helper->fb); 345 struct drm_framebuffer *fb = helper->fb; 405 sfa.sfa_fb_helper = helper; 409 sfa.sfa_fb_linebytes = helper->fb->pitches[0]; 411 helper->fbdev = config_found(ddev->dev, &sfa, NULL, 413 if (helper->fbdev == NULL) { 470 drm_fb_helper_prepare(ddev, &fbdev->helper, &sunxi_drm_fb_helper_funcs) [all...] |
sunxi_drm.h | 90 struct drm_fb_helper helper; member in struct:sunxi_drm_fbdev
|
/src/sys/arch/arm/ti/ |
ti_lcdc.c | 545 tilcdc_fb_probe(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) 547 struct tilcdc_softc * const sc = tilcdc_private(helper->dev); 548 struct drm_device *ddev = helper->dev; 549 struct tilcdc_framebuffer *sfb = to_tilcdc_framebuffer(helper->fb); 550 struct drm_framebuffer *fb = helper->fb; 592 tfa.tfa_fb_helper = helper; 596 tfa.tfa_fb_linebytes = helper->fb->pitches[0]; 598 helper->fbdev = config_found(ddev->dev, &tfa, NULL, 600 if (helper->fbdev == NULL) { 642 drm_fb_helper_prepare(ddev, &fbdev->helper, &tilcdc_fb_helper_funcs) [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/ |
nouveau_dispnv04_tvnv04.c | 133 const struct drm_encoder_helper_funcs *helper = encoder->helper_private; local in function:nv04_tv_prepare 135 helper->dpms(encoder, DRM_MODE_DPMS_OFF); 175 const struct drm_encoder_helper_funcs *helper = encoder->helper_private; local in function:nv04_tv_commit 177 helper->dpms(encoder, DRM_MODE_DPMS_ON);
|
/src/tests/lib/libc/sys/ |
t_eventfd.c | 174 pthread_t helper; local in function:ATF_TC_BODY 181 ATF_REQUIRE(pthread_create(&helper, NULL, 185 * Wait for the helper to block in read(). Give it some time 194 /* Write a distinct value; helper will assert it. */ 197 /* Wait for helper to read the value. */ 200 /* Helper is now blocked in a barrier. */ 206 /* Satisfy the barrier; helper will read value and assert 0xbeefcafe. */ 212 /* Reap the helper. */ 213 ATF_REQUIRE(pthread_join(helper, &join_val) == 0); 504 pthread_t helper; local in function:ATF_TC_BODY 691 pthread_t helper; local in function:ATF_TC_BODY [all...] |