Home
last modified time | relevance | path

Searched refs:spin (Results 1 – 25 of 92) sorted by relevance

1234

/Linux-v5.10/drivers/gpu/drm/i915/selftests/
Digt_spinner.c12 int igt_spinner_init(struct igt_spinner *spin, struct intel_gt *gt) in igt_spinner_init() argument
18 memset(spin, 0, sizeof(*spin)); in igt_spinner_init()
19 spin->gt = gt; in igt_spinner_init()
21 spin->hws = i915_gem_object_create_internal(gt->i915, PAGE_SIZE); in igt_spinner_init()
22 if (IS_ERR(spin->hws)) { in igt_spinner_init()
23 err = PTR_ERR(spin->hws); in igt_spinner_init()
27 spin->obj = i915_gem_object_create_internal(gt->i915, PAGE_SIZE); in igt_spinner_init()
28 if (IS_ERR(spin->obj)) { in igt_spinner_init()
29 err = PTR_ERR(spin->obj); in igt_spinner_init()
33 i915_gem_object_set_cache_coherency(spin->hws, I915_CACHE_LLC); in igt_spinner_init()
[all …]
Digt_spinner.h27 int igt_spinner_init(struct igt_spinner *spin, struct intel_gt *gt);
28 void igt_spinner_fini(struct igt_spinner *spin);
31 igt_spinner_create_request(struct igt_spinner *spin,
34 void igt_spinner_end(struct igt_spinner *spin);
36 bool igt_wait_for_spinner(struct igt_spinner *spin, struct i915_request *rq);
/Linux-v5.10/arch/arm64/boot/dts/arm/
Dfoundation-v8-spin-table.dtsi4 * ARMv8 Foundation model DTS (spin table configuration)
8 enable-method = "spin-table";
13 enable-method = "spin-table";
18 enable-method = "spin-table";
23 enable-method = "spin-table";
Drtsm_ve-aemv8a.dts43 enable-method = "spin-table";
51 enable-method = "spin-table";
59 enable-method = "spin-table";
67 enable-method = "spin-table";
Dfoundation-v8-gicv3.dts10 #include "foundation-v8-spin-table.dtsi"
Dfoundation-v8.dts10 #include "foundation-v8-spin-table.dtsi"
/Linux-v5.10/drivers/gpu/drm/i915/gt/
Dselftest_rps.c219 struct igt_spinner spin; in live_rps_clock_interval() local
225 if (igt_spinner_init(&spin, gt)) in live_rps_clock_interval()
247 rq = igt_spinner_create_request(&spin, in live_rps_clock_interval()
258 if (!igt_wait_for_spinner(&spin, rq)) { in live_rps_clock_interval()
261 igt_spinner_end(&spin); in live_rps_clock_interval()
317 igt_spinner_end(&spin); in live_rps_clock_interval()
353 igt_spinner_fini(&spin); in live_rps_clock_interval()
371 struct igt_spinner spin; in live_rps_control() local
387 if (igt_spinner_init(&spin, gt)) in live_rps_control()
406 rq = igt_spinner_create_request(&spin, in live_rps_control()
[all …]
Dselftest_engine_pm.c19 struct igt_spinner spin; in live_engine_busy_stats() local
26 if (igt_spinner_init(&spin, gt)) in live_engine_busy_stats()
65 rq = igt_spinner_create_request(&spin, in live_engine_busy_stats()
74 if (!igt_wait_for_spinner(&spin, rq)) { in live_engine_busy_stats()
98 igt_spinner_end(&spin); in live_engine_busy_stats()
105 igt_spinner_fini(&spin); in live_engine_busy_stats()
Dselftest_mocs.c46 static int request_add_spin(struct i915_request *rq, struct igt_spinner *spin) in request_add_spin() argument
52 if (spin && !igt_wait_for_spinner(spin, rq)) in request_add_spin()
337 struct igt_spinner spin; in active_engine_reset() local
341 err = igt_spinner_init(&spin, ce->engine->gt); in active_engine_reset()
345 rq = igt_spinner_create_request(&spin, ce, MI_NOOP); in active_engine_reset()
347 igt_spinner_fini(&spin); in active_engine_reset()
351 err = request_add_spin(rq, &spin); in active_engine_reset()
355 igt_spinner_end(&spin); in active_engine_reset()
356 igt_spinner_fini(&spin); in active_engine_reset()
Dselftest_lrc.c140 struct igt_spinner spin; in live_sanitycheck() local
146 if (igt_spinner_init(&spin, gt)) in live_sanitycheck()
159 rq = igt_spinner_create_request(&spin, ce, MI_NOOP); in live_sanitycheck()
166 if (!igt_wait_for_spinner(&spin, rq)) { in live_sanitycheck()
174 igt_spinner_end(&spin); in live_sanitycheck()
186 igt_spinner_fini(&spin); in live_sanitycheck()
194 struct igt_spinner spin; in live_unlite_restore() local
202 if (igt_spinner_init(&spin, gt)) in live_unlite_restore()
254 rq[0] = igt_spinner_create_request(&spin, ce[0], MI_ARB_CHECK); in live_unlite_restore()
264 if (!igt_wait_for_spinner(&spin, rq[0])) { in live_unlite_restore()
[all …]
Dselftest_workarounds.c47 static int request_add_spin(struct i915_request *rq, struct igt_spinner *spin) in request_add_spin() argument
53 if (spin && !igt_wait_for_spinner(spin, rq)) in request_add_spin()
265 struct igt_spinner *spin) in switch_to_scratch_context() argument
275 rq = igt_spinner_create_request(spin, ce, MI_NOOP); in switch_to_scratch_context()
279 spin = NULL; in switch_to_scratch_context()
284 err = request_add_spin(rq, spin); in switch_to_scratch_context()
286 if (err && spin) in switch_to_scratch_context()
287 igt_spinner_end(spin); in switch_to_scratch_context()
298 struct igt_spinner spin; in check_whitelist_across_reset() local
309 err = igt_spinner_init(&spin, engine->gt); in check_whitelist_across_reset()
[all …]
Dselftest_reset.c27 struct igt_spinner spin; in __igt_reset_stolen() local
53 err = igt_spinner_init(&spin, gt); in __igt_reset_stolen()
72 rq = igt_spinner_create_request(&spin, ce, MI_ARB_CHECK); in __igt_reset_stolen()
168 igt_spinner_fini(&spin); in __igt_reset_stolen()
/Linux-v5.10/Documentation/devicetree/bindings/cpu/
Dcpu-topology.txt280 enable-method = "spin-table";
288 enable-method = "spin-table";
296 enable-method = "spin-table";
304 enable-method = "spin-table";
312 enable-method = "spin-table";
320 enable-method = "spin-table";
328 enable-method = "spin-table";
336 enable-method = "spin-table";
344 enable-method = "spin-table";
352 enable-method = "spin-table";
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Dbcm2837.dtsi47 enable-method = "spin-table";
55 enable-method = "spin-table";
63 enable-method = "spin-table";
71 enable-method = "spin-table";
/Linux-v5.10/arch/arm64/boot/dts/freescale/
Ds32v234.dtsi30 enable-method = "spin-table";
39 enable-method = "spin-table";
48 enable-method = "spin-table";
57 enable-method = "spin-table";
/Linux-v5.10/arch/arm64/boot/dts/toshiba/
Dtmpv7708.dtsi59 enable-method = "spin-table";
67 enable-method = "spin-table";
75 enable-method = "spin-table";
83 enable-method = "spin-table";
91 enable-method = "spin-table";
99 enable-method = "spin-table";
107 enable-method = "spin-table";
115 enable-method = "spin-table";
/Linux-v5.10/Documentation/hwmon/
Ddrivetemp.rst36 Reading the drive temperature may reset the spin down timer on some drives.
43 change its mode (meaning the drive will not spin up). It is unknown if other
47 intervals larger than twice the spin-down time. Otherwise affected drives
48 will never spin down.
Dlm93.rst238 A spin-up cycle occurs when a PWM output is commanded from 0% duty cycle to
239 some value > 0%. The LM93 supports a minimum duty cycle during spin-up. These
242 duration of the spin-up cycle is also configurable. These values are found in
244 the spin-up time in seconds. The available spin-up times are constrained by
301 pwm<n>_auto_spinup_min minimum duty cycle during spin-up
302 pwm<n>_auto_spinup_time duration of spin-up
/Linux-v5.10/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_context.c1031 struct igt_spinner **spin) in __sseu_prepare() argument
1036 *spin = NULL; in __sseu_prepare()
1040 *spin = kzalloc(sizeof(**spin), GFP_KERNEL); in __sseu_prepare()
1041 if (!*spin) in __sseu_prepare()
1044 ret = igt_spinner_init(*spin, ce->engine->gt); in __sseu_prepare()
1048 rq = igt_spinner_create_request(*spin, ce, MI_NOOP); in __sseu_prepare()
1056 if (!igt_wait_for_spinner(*spin, rq)) { in __sseu_prepare()
1065 igt_spinner_end(*spin); in __sseu_prepare()
1067 igt_spinner_fini(*spin); in __sseu_prepare()
1069 kfree(fetch_and_zero(spin)); in __sseu_prepare()
[all …]
/Linux-v5.10/drivers/of/unittest-data/
Doverlay_base.dts32 spin = "clockwise";
57 spin-controller = < &spin_ctrl_2 5 &spin_ctrl_2 7 >;
58 spin-controller-names = "track_1", "track_2";
Doverlay.dts44 spin-controller = < &spin_ctrl_1 3 >;
45 spin-rph = < 30 >;
/Linux-v5.10/drivers/net/can/softing/
Dsofting_main.c33 spin_lock_bh(&card->spin); in softing_set_reset_dpram()
36 spin_unlock_bh(&card->spin); in softing_set_reset_dpram()
43 spin_lock_bh(&card->spin); in softing_clr_reset_dpram()
46 spin_unlock_bh(&card->spin); in softing_clr_reset_dpram()
65 spin_lock(&card->spin); in softing_netdev_start_xmit()
114 spin_unlock(&card->spin); in softing_netdev_start_xmit()
326 spin_lock_bh(&card->spin); in softing_irq_thread()
331 spin_unlock_bh(&card->spin); in softing_irq_thread()
778 spin_lock_init(&card->spin); in softing_pdev_probe()
Dsofting.h41 spinlock_t spin; /* protect this structure & DPRAM access */ member
/Linux-v5.10/arch/powerpc/boot/dts/
Diss4xx-mpic.dts61 enable-method = "spin-table";
77 enable-method = "spin-table";
93 enable-method = "spin-table";
/Linux-v5.10/arch/arm64/boot/dts/apm/
Dapm-shadowcat.dtsi22 enable-method = "spin-table";
32 enable-method = "spin-table";
42 enable-method = "spin-table";
52 enable-method = "spin-table";
62 enable-method = "spin-table";
72 enable-method = "spin-table";
82 enable-method = "spin-table";
92 enable-method = "spin-table";

1234