Home
last modified time | relevance | path

Searched refs:wf (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/i915/
Dintel_wakeref.c12 static void rpm_get(struct intel_wakeref *wf) in rpm_get() argument
14 wf->wakeref = intel_runtime_pm_get(wf->rpm); in rpm_get()
17 static void rpm_put(struct intel_wakeref *wf) in rpm_put() argument
19 intel_wakeref_t wakeref = fetch_and_zero(&wf->wakeref); in rpm_put()
21 intel_runtime_pm_put(wf->rpm, wakeref); in rpm_put()
25 int __intel_wakeref_get_first(struct intel_wakeref *wf) in __intel_wakeref_get_first() argument
33 mutex_lock_nested(&wf->mutex, SINGLE_DEPTH_NESTING); in __intel_wakeref_get_first()
34 if (!atomic_read(&wf->count)) { in __intel_wakeref_get_first()
37 rpm_get(wf); in __intel_wakeref_get_first()
39 err = wf->ops->get(wf); in __intel_wakeref_get_first()
[all …]
Dintel_wakeref.h32 int (*get)(struct intel_wakeref *wf);
33 int (*put)(struct intel_wakeref *wf);
53 void __intel_wakeref_init(struct intel_wakeref *wf,
57 #define intel_wakeref_init(wf, rpm, ops) do { \ argument
60 __intel_wakeref_init((wf), (rpm), (ops), &__key); \
63 int __intel_wakeref_get_first(struct intel_wakeref *wf);
64 void __intel_wakeref_put_last(struct intel_wakeref *wf, unsigned long flags);
81 intel_wakeref_get(struct intel_wakeref *wf) in intel_wakeref_get() argument
84 if (unlikely(!atomic_inc_not_zero(&wf->count))) in intel_wakeref_get()
85 return __intel_wakeref_get_first(wf); in intel_wakeref_get()
[all …]
Dintel_runtime_pm.h183 #define with_intel_runtime_pm(rpm, wf) \ argument
184 for ((wf) = intel_runtime_pm_get(rpm); (wf); \
185 intel_runtime_pm_put((rpm), (wf)), (wf) = 0)
187 #define with_intel_runtime_pm_if_in_use(rpm, wf) \ argument
188 for ((wf) = intel_runtime_pm_get_if_in_use(rpm); (wf); \
189 intel_runtime_pm_put((rpm), (wf)), (wf) = 0)
/Linux-v5.10/drivers/gpu/drm/i915/display/
Dintel_display_power.h323 #define with_intel_display_power(i915, domain, wf) \ argument
324 for ((wf) = intel_display_power_get((i915), (domain)); (wf); \
325 intel_display_power_put_async((i915), (domain), (wf)), (wf) = 0)
Dintel_display.c10986 intel_wakeref_t wf; in hsw_get_transcoder_state() local
11060 wf = intel_display_power_get_if_enabled(dev_priv, power_domain); in hsw_get_transcoder_state()
11061 if (!wf) in hsw_get_transcoder_state()
11064 wakerefs[power_domain] = wf; in hsw_get_transcoder_state()
11081 intel_wakeref_t wf; in bxt_get_dsi_transcoder_state() local
11094 wf = intel_display_power_get_if_enabled(dev_priv, power_domain); in bxt_get_dsi_transcoder_state()
11095 if (!wf) in bxt_get_dsi_transcoder_state()
11098 wakerefs[power_domain] = wf; in bxt_get_dsi_transcoder_state()
11187 intel_wakeref_t wakerefs[POWER_DOMAIN_NUM], wf; in hsw_get_pipe_config() local
11196 wf = intel_display_power_get_if_enabled(dev_priv, power_domain); in hsw_get_pipe_config()
[all …]
Dintel_dp.c782 #define with_pps_lock(dp, wf) \ argument
783 for ((wf) = pps_lock(dp); (wf); (wf) = pps_unlock((dp), (wf)))
/Linux-v5.10/drivers/gpu/drm/i915/gt/
Dintel_engine_pm.c20 static int __engine_unpark(struct intel_wakeref *wf) in __engine_unpark() argument
23 container_of(wf, typeof(*engine), wakeref); in __engine_unpark()
229 static int __engine_park(struct intel_wakeref *wf) in __engine_park() argument
232 container_of(wf, typeof(*engine), wakeref); in __engine_park()
Dintel_gt_pm.c42 static int __gt_unpark(struct intel_wakeref *wf) in __gt_unpark() argument
44 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_unpark()
74 static int __gt_park(struct intel_wakeref *wf) in __gt_park() argument
76 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_park()
/Linux-v5.10/kernel/
Dwatch_queue.c139 static bool filter_watch_notification(const struct watch_filter *wf, in filter_watch_notification() argument
148 if (!test_bit(n->type, wf->type_filter)) in filter_watch_notification()
151 for (i = 0; i < wf->nr_filters; i++) { in filter_watch_notification()
152 wt = &wf->filters[i]; in filter_watch_notification()
180 const struct watch_filter *wf; in __post_watch_notification() local
198 wf = rcu_dereference(wqueue->filter); in __post_watch_notification()
199 if (wf && !filter_watch_notification(wf, n)) in __post_watch_notification()
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dtestmode.c38 u16 wf; member
110 mt7615_rf_wr(dev, rf_backup_list[i].wf, in mt7615_tm_reg_backup_restore()
127 b[n_regs + i] = mt7615_rf_rr(dev, rf_backup_list[i].wf, in mt7615_tm_reg_backup_restore()
Dmt7615.h593 u32 mt7615_rf_rr(struct mt7615_dev *dev, u32 wf, u32 reg);
594 int mt7615_rf_wr(struct mt7615_dev *dev, u32 wf, u32 reg, u32 val);
Dmcu.c295 u32 mt7615_rf_rr(struct mt7615_dev *dev, u32 wf, u32 reg) in mt7615_rf_rr() argument
302 .wifi_stream = cpu_to_le32(wf), in mt7615_rf_rr()
311 int mt7615_rf_wr(struct mt7615_dev *dev, u32 wf, u32 reg, u32 val) in mt7615_rf_wr() argument
318 .wifi_stream = cpu_to_le32(wf), in mt7615_rf_wr()
/Linux-v5.10/arch/x86/kvm/mmu/
Dmmu.c4232 u8 wf = (pfec & PFERR_WRITE_MASK) ? (u8)~w : 0; in update_permission_bitmask() local
4252 wf = (pfec & PFERR_USER_MASK) ? wf : 0; in update_permission_bitmask()
4278 mmu->permissions[byte] = ff | uf | wf | smepf | smapf; in update_permission_bitmask()
4327 bool check_pkey, check_write, ff, uf, wf, pte_user; in update_pkru_bitmask() local
4332 wf = pfec & PFERR_WRITE_MASK; in update_pkru_bitmask()
4346 check_write = check_pkey && wf && (uf || wp); in update_pkru_bitmask()
/Linux-v5.10/
DCREDITS2634 E: minyard@wf-rch.cirr.com