HomeSort by: relevance | last modified time | path
    Searched refs:wf (Results 1 - 18 of 18) sorted by relevancy

  /src/sys/external/bsd/drm2/dist/drm/i915/
intel_wakeref.c 19 static void rpm_get(struct intel_wakeref *wf)
21 wf->wakeref = intel_runtime_pm_get(wf->rpm);
24 static void rpm_put(struct intel_wakeref *wf)
26 intel_wakeref_t wakeref = fetch_and_zero(&wf->wakeref);
28 intel_runtime_pm_put(wf->rpm, wakeref);
31 DRM_WAKEUP_ALL(&wf->wq, &wf->mutex);
34 int __intel_wakeref_get_first(struct intel_wakeref *wf)
42 mutex_lock_nested(&wf->mutex, SINGLE_DEPTH_NESTING)
95 struct intel_wakeref *wf = container_of(wrk, typeof(*wf), work); local in function:__intel_wakeref_put_work
147 struct intel_wakeref_auto *wf = from_timer(wf, t, timer); local in function:wakeref_auto_timeout
    [all...]
intel_wakeref.h 35 int (*get)(struct intel_wakeref *wf);
36 int (*put)(struct intel_wakeref *wf);
57 void __intel_wakeref_init(struct intel_wakeref *wf,
61 #define intel_wakeref_init(wf, rpm, ops) do { \
64 __intel_wakeref_init((wf), (rpm), (ops), &__key); \
69 int __intel_wakeref_get_first(struct intel_wakeref *wf);
70 void __intel_wakeref_put_last(struct intel_wakeref *wf, unsigned long flags);
74 * @wf: the wakeref
87 intel_wakeref_get(struct intel_wakeref *wf)
90 if (unlikely(!atomic_inc_not_zero(&wf->count))
    [all...]
intel_runtime_pm.h 185 #define with_intel_runtime_pm(rpm, wf) \
186 for ((wf) = intel_runtime_pm_get(rpm); (wf); \
187 intel_runtime_pm_put((rpm), (wf)), (wf) = 0)
189 #define with_intel_runtime_pm_if_in_use(rpm, wf) \
190 for ((wf) = intel_runtime_pm_get_if_in_use(rpm); (wf); \
191 intel_runtime_pm_put((rpm), (wf)), (wf) = 0
    [all...]
  /src/libexec/ftpd/
logwtmp.c 76 const char *wf = _PATH_WTMP; local in function:ftpd_initwtmp
77 if ((fd = open(wf, O_WRONLY|O_APPEND, 0)) == -1)
78 syslog(LOG_ERR, "Cannot open `%s' (%m)", wf);
112 const char *wf = _PATH_WTMPX; local in function:ftpd_initwtmpx
113 if ((fdx = open(wf, O_WRONLY|O_APPEND, 0)) == -1)
114 syslog(LOG_ERR, "Cannot open `%s' (%m)", wf);
  /src/usr.bin/btkey/
btkey.c 57 bool cf, cd, lf, ld, rf, rd, wf, wd, nk; local in function:main
62 cf = cd = lf = ld = rf = rd = wf = wd = nk = false;
121 wf = true;
139 if ((lf || ld) && (rf || rd || wf || wd || cf || cd || nk))
142 if (((rf && rd) || (rf && nk) || (rd && nk)) && (wf || wd))
182 if (wf || wd || cf || cd)
185 if (wf) {
  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_display_power.h 312 #define with_intel_display_power(i915, domain, wf) \
313 for ((wf) = intel_display_power_get((i915), (domain)); (wf); \
314 intel_display_power_put_async((i915), (domain), (wf)), (wf) = 0)
intel_display.c 10711 intel_wakeref_t wf; local in function:hsw_get_transcoder_state
10787 wf = intel_display_power_get_if_enabled(dev_priv, power_domain);
10788 if (!wf)
10791 wakerefs[power_domain] = wf;
10808 intel_wakeref_t wf; local in function:bxt_get_dsi_transcoder_state
10821 wf = intel_display_power_get_if_enabled(dev_priv, power_domain);
10822 if (!wf)
10825 wakerefs[power_domain] = wf;
10965 intel_wakeref_t wakerefs[POWER_DOMAIN_NUM], wf; local in function:hsw_get_pipe_config
10973 wf = intel_display_power_get_if_enabled(dev_priv, power_domain)
    [all...]
intel_dp.c 754 #define with_pps_lock(dp, wf) \
755 for ((wf) = pps_lock(dp); (wf); (wf) = pps_unlock((dp), (wf)))
  /src/sys/external/bsd/drm2/dist/drm/i915/gt/
intel_engine_pm.c 24 static int __engine_unpark(struct intel_wakeref *wf)
27 container_of(wf, typeof(*engine), wakeref);
238 static int __engine_park(struct intel_wakeref *wf)
241 container_of(wf, typeof(*engine), wakeref);
intel_gt_pm.c 46 static int __gt_unpark(struct intel_wakeref *wf)
48 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref);
78 static int __gt_park(struct intel_wakeref *wf)
80 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref);
  /src/sys/kern/
sys_pipe.c 211 file_t *rf, *wf; local in function:pipe1
233 error = fd_allocfile(&wf, &fd);
245 wf->f_flag = FWRITE | flags;
246 wf->f_type = DTYPE_PIPE;
247 wf->f_pipe = wpipe;
248 wf->f_ops = &pipeops;
256 fd_affix(p, wf, fildes[1]);
uipc_syscalls.c 1272 file_t *rf, *wf; local in function:pipe1
1293 error = fsocreate(AF_LOCAL, &wso, SOCK_STREAM|soflags, 0, &wfd, &wf,
1300 wf->f_type = wf->f_type & ~(FREAD);
1328 fd_affix(p, wf, wfd);
1335 fd_abort(p, wf, wfd);
uipc_socket2.c 1531 sblock(struct sockbuf *sb, int wf)
1544 if (wf != M_WAITOK)
  /src/sys/dev/ic/
vga.c 328 struct wsdisplay_font *wf; local in function:egavga_getfont
355 if (wsfont_lock(cookie, &wf))
364 f->wsfont = wf;
563 struct wsdisplay_font *wf; local in function:vga_init
568 if (cookie == -1 || wsfont_lock(cookie, &wf))
570 vga_loadchars(&vc->hdl, 0, wf->firstchar, wf->numchars,
571 wf->fontheight, wf->data);
572 vga_builtinfont.wsfont = wf;
    [all...]
vga_raster.c 417 struct wsdisplay_font *wf; local in function:vga_raster_init
427 if (cookie == -1 || wsfont_lock(cookie, &wf))
429 vf->font = wf;
849 struct wsdisplay_font *wf; local in function:vga_raster_setup_font
866 if (wsfont_lock(cookie, &wf))
870 vf->font = wf;
  /src/sys/arch/luna68k/dev/
omrasops.c 1596 struct wsdisplay_font *wf = ri->ri_font; local in function:om_mapchar
1598 if (wf->encoding != WSDISPLAY_FONTENC_ISO) {
1599 c = wsfont_map_unichar(wf, c);
1604 if (c < wf->firstchar || c >= (wf->firstchar + wf->numchars))
  /src/sys/arch/vax/vsa/
lcg.c 992 struct wsdisplay_font *wf; local in function:lcg_init_common
1094 if (cookie == -1 || wsfont_lock(cookie, &wf))
1096 lcg_font = *wf;
spx.c 1448 struct wsdisplay_font *wf; local in function:spx_init_common
1505 if (cookie == -1 || wsfont_lock(cookie, &wf))
1508 spx_font = *wf;
1511 aprint_normal_dev(self, "Using %s %dx%d font\n", wf->name,

Completed in 36 milliseconds