Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/gpu/drm/i915/
Dintel_wakeref.c13 int __intel_wakeref_get_first(struct intel_wakeref *wf) in __intel_wakeref_get_first() argument
18 wakeref = intel_runtime_pm_get(&wf->i915->runtime_pm); in __intel_wakeref_get_first()
25 mutex_lock_nested(&wf->mutex, SINGLE_DEPTH_NESTING); in __intel_wakeref_get_first()
27 if (!atomic_read(&wf->count)) { in __intel_wakeref_get_first()
28 INTEL_WAKEREF_BUG_ON(wf->wakeref); in __intel_wakeref_get_first()
29 wf->wakeref = wakeref; in __intel_wakeref_get_first()
32 ret = wf->ops->get(wf); in __intel_wakeref_get_first()
34 wakeref = xchg(&wf->wakeref, 0); in __intel_wakeref_get_first()
35 wake_up_var(&wf->wakeref); in __intel_wakeref_get_first()
42 atomic_inc(&wf->count); in __intel_wakeref_get_first()
[all …]
Dintel_wakeref.h39 int (*get)(struct intel_wakeref *wf);
40 int (*put)(struct intel_wakeref *wf);
64 void __intel_wakeref_init(struct intel_wakeref *wf,
69 #define intel_wakeref_init(wf, i915, ops, name) do { \ argument
72 __intel_wakeref_init((wf), (i915), (ops), &__key, name); \
75 int __intel_wakeref_get_first(struct intel_wakeref *wf);
76 void __intel_wakeref_put_last(struct intel_wakeref *wf, unsigned long flags);
94 intel_wakeref_get(struct intel_wakeref *wf) in intel_wakeref_get() argument
97 if (unlikely(!atomic_inc_not_zero(&wf->count))) in intel_wakeref_get()
98 return __intel_wakeref_get_first(wf); in intel_wakeref_get()
[all …]
Dintel_runtime_pm.h190 #define with_intel_runtime_pm(rpm, wf) \ argument
191 for ((wf) = intel_runtime_pm_get(rpm); (wf); \
192 intel_runtime_pm_put((rpm), (wf)), (wf) = 0)
194 #define with_intel_runtime_pm_if_in_use(rpm, wf) \ argument
195 for ((wf) = intel_runtime_pm_get_if_in_use(rpm); (wf); \
196 intel_runtime_pm_put((rpm), (wf)), (wf) = 0)
198 #define with_intel_runtime_pm_if_active(rpm, wf) \ argument
199 for ((wf) = intel_runtime_pm_get_if_active(rpm); (wf); \
200 intel_runtime_pm_put((rpm), (wf)), (wf) = 0)
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_gt_pm.h75 #define with_intel_gt_pm(gt, wf) \ argument
76 for (wf = intel_gt_pm_get(gt); wf; intel_gt_pm_put(gt, wf), wf = 0)
86 #define with_intel_gt_pm_if_awake(gt, wf) \ argument
87 for (wf = intel_gt_pm_get_if_awake(gt); wf; intel_gt_pm_put_async(gt, wf), wf = 0)
Dintel_engine_pm.c58 static int __engine_unpark(struct intel_wakeref *wf) in __engine_unpark() argument
61 container_of(wf, typeof(*engine), wakeref); in __engine_unpark()
258 static int __engine_park(struct intel_wakeref *wf) in __engine_park() argument
261 container_of(wf, typeof(*engine), wakeref); in __engine_park()
Dintel_gt_pm.c69 static int __gt_unpark(struct intel_wakeref *wf) in __gt_unpark() argument
71 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_unpark()
101 static int __gt_park(struct intel_wakeref *wf) in __gt_park() argument
103 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_park()
Dintel_reset.c1019 intel_wakeref_t wf; in set_wedged_work() local
1021 with_intel_runtime_pm(gt->uncore->rpm, wf) in set_wedged_work()
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_display_power.h298 #define with_intel_display_power(i915, domain, wf) \ argument
299 for ((wf) = intel_display_power_get((i915), (domain)); (wf); \
300 intel_display_power_put_async((i915), (domain), (wf)), (wf) = 0)
302 #define with_intel_display_power_if_enabled(i915, domain, wf) \ argument
303 for ((wf) = intel_display_power_get_if_enabled((i915), (domain)); (wf); \
304 intel_display_power_put_async((i915), (domain), (wf)), (wf) = 0)
Dintel_pps.h23 #define with_intel_pps_lock(dp, wf) \ argument
24 for ((wf) = intel_pps_lock(dp); (wf); (wf) = intel_pps_unlock((dp), (wf)))
Dintel_display_power.c855 intel_wakeref_t __maybe_unused wf; in intel_display_power_get_in_set() local
859 wf = intel_display_power_get(i915, domain); in intel_display_power_get_in_set()
861 power_domain_set->wakerefs[domain] = wf; in intel_display_power_get_in_set()
871 intel_wakeref_t wf; in intel_display_power_get_in_set_if_enabled() local
875 wf = intel_display_power_get_if_enabled(i915, domain); in intel_display_power_get_in_set_if_enabled()
876 if (!wf) in intel_display_power_get_in_set_if_enabled()
880 power_domain_set->wakerefs[domain] = wf; in intel_display_power_get_in_set_if_enabled()
898 intel_wakeref_t __maybe_unused wf = -1; in intel_display_power_put_mask_in_set() local
901 wf = fetch_and_zero(&power_domain_set->wakerefs[domain]); in intel_display_power_put_mask_in_set()
903 intel_display_power_put(i915, domain, wf); in intel_display_power_put_mask_in_set()
/linux-6.12.1/drivers/gpu/drm/xe/compat-i915-headers/
Dintel_runtime_pm.h63 #define with_intel_runtime_pm(rpm, wf) \ argument
64 for ((wf) = intel_runtime_pm_get(rpm); (wf); \
65 intel_runtime_pm_put((rpm), (wf)), (wf) = 0)
/linux-6.12.1/kernel/
Dwatch_queue.c158 static bool filter_watch_notification(const struct watch_filter *wf, in filter_watch_notification() argument
167 if (!test_bit(n->type, wf->type_filter)) in filter_watch_notification()
170 for (i = 0; i < wf->nr_filters; i++) { in filter_watch_notification()
171 wt = &wf->filters[i]; in filter_watch_notification()
199 const struct watch_filter *wf; in __post_watch_notification() local
217 wf = rcu_dereference(wqueue->filter); in __post_watch_notification()
218 if (wf && !filter_watch_notification(wf, n)) in __post_watch_notification()
/linux-6.12.1/arch/arm64/boot/dts/mediatek/
Dmt7986b-rfb.dts142 wf_2g_5g_pins: wf-2g-5g-pins {
159 wf_dbdc_pins: wf-dbdc-pins {
Dmt7986a-bananapi-bpi-r3.dts345 wf_2g_5g_pins: wf-2g-5g-pins {
362 wf_dbdc_pins: wf-dbdc-pins {
379 wf_led_pins: wf-led-pins {
Dmt7986a-bananapi-bpi-r3-mini.dts394 wf_2g_5g_pins: wf-2g-5g-pins {
411 wf_dbdc_pins: wf-dbdc-pins {
428 wf_led_pins: wf-led-pins {
Dmt7986a-rfb.dts215 wf_2g_5g_pins: wf-2g-5g-pins {
232 wf_dbdc_pins: wf-dbdc-pins {
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7615/
Dtestmode.c38 u16 wf; member
111 mt7615_rf_wr(dev, rf_backup_list[i].wf, in mt7615_tm_reg_backup_restore()
128 b[n_regs + i] = mt7615_rf_rr(dev, rf_backup_list[i].wf, in mt7615_tm_reg_backup_restore()
Dmt7615.h488 u32 mt7615_rf_rr(struct mt7615_dev *dev, u32 wf, u32 reg);
489 int mt7615_rf_wr(struct mt7615_dev *dev, u32 wf, u32 reg, u32 val);
Dmcu.c199 u32 mt7615_rf_rr(struct mt7615_dev *dev, u32 wf, u32 reg) in mt7615_rf_rr() argument
206 .wifi_stream = cpu_to_le32(wf), in mt7615_rf_rr()
214 int mt7615_rf_wr(struct mt7615_dev *dev, u32 wf, u32 reg, u32 val) in mt7615_rf_wr() argument
221 .wifi_stream = cpu_to_le32(wf), in mt7615_rf_wr()
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dsc7280-herobrine.dtsi212 pp2850_vcm_wf_cam: pp2850-vcm-wf-cam-regulator {
228 pp2850_wf_cam: pp2850-wf-cam-regulator {
273 pp1800_wf_cam: pp1800-wf-cam-regulator {
294 pp1200_wf_cam: pp1200-wf-cam-regulator {
938 wf_cam_en: wf-cam-en-state {
Dsc7180-trogdor.dtsi190 pp1800_wf_cam: pp1800-wf-cam-regulator {
228 pp2800_wf_cam: pp2800-wf-cam-regulator {
1534 wf_cam_en: wf-cam-en-state {
/linux-6.12.1/drivers/gpu/drm/ci/xfails/
Dvkms-none-flakes.txt69 kms_flip@flip-vs-blocking-wf-vblank
Drockchip-rk3399-fails.txt51 kms_flip@flip-vs-blocking-wf-vblank,Fail
Dvirtio_gpu-none-fails.txt145 kms_flip@flip-vs-blocking-wf-vblank,Fail
/linux-6.12.1/drivers/gpu/drm/i915/gem/selftests/
Dhuge_pages.c1842 intel_wakeref_t wf; in igt_shrink_thp() local
1879 wf = intel_runtime_pm_get(&i915->runtime_pm); /* active shrink */ in igt_shrink_thp()
1955 intel_runtime_pm_put(&i915->runtime_pm, wf); in igt_shrink_thp()

12