/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_display_reset.c | 31 /* reset doesn't touch the display */ in intel_display_reset_prepare() 36 /* We have a modeset vs reset deadlock, defensively unbreak it. */ in intel_display_reset_prepare() 37 set_bit(I915_RESET_MODESET, &to_gt(dev_priv)->reset.flags); in intel_display_reset_prepare() 39 wake_up_bit(&to_gt(dev_priv)->reset.flags, I915_RESET_MODESET); in intel_display_reset_prepare() 93 /* reset doesn't touch the display */ in intel_display_reset_finish() 94 if (!test_bit(I915_RESET_MODESET, &to_gt(i915)->reset.flags)) in intel_display_reset_finish() 101 /* reset doesn't touch the display */ in intel_display_reset_finish() 112 * The display has been reset as well, in intel_display_reset_finish() 134 clear_bit_unlock(I915_RESET_MODESET, &to_gt(i915)->reset.flags); in intel_display_reset_finish()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt.h | 89 return test_bit(I915_WEDGED_ON_INIT, >->reset.flags) || in intel_gt_has_unrecoverable_error() 90 test_bit(I915_WEDGED_ON_FINI, >->reset.flags); in intel_gt_has_unrecoverable_error() 96 !test_bit(I915_WEDGED, >->reset.flags)); in intel_gt_is_wedged() 98 return unlikely(test_bit(I915_WEDGED, >->reset.flags)); in intel_gt_is_wedged()
|
/third_party/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
H A D | UnicodeSetPerf.java | 51 it.reset(); in testUnicodeSetAdd() 71 it.reset(); in testHashSetAdd() 109 it.reset(); in testHashSetContains() 147 it.reset(); in testHashSetIterate()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
H A D | DebugSink.h | 26 reset(); in observe() 32 reset(); in observe() 39 void reset() { currPos = 0; } in reset() function in sh::StringObserver 94 observer.reset(); in erase()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | VulkanSecondaryCommandBuffer.cpp | 61 mCommandTracker.reset(); in initialize() 109 VkResult VulkanSecondaryCommandBuffer::reset() in reset() function in rx::vk::VulkanSecondaryCommandBuffer 111 mCommandTracker.reset(); in reset() 113 return CommandBuffer::reset(); in reset()
|
/third_party/skia/src/gpu/ops/ |
H A D | SmallPathAtlasMgr.cpp | 23 this->reset(); in ~SmallPathAtlasMgr() 26 void SmallPathAtlasMgr::reset() { in reset() function in skgpu::v1::SmallPathAtlasMgr 35 fShapeList.reset(); in reset() 36 fShapeCache.reset(); in reset() 62 // reset atlasConfig to suit small page. in initAtlas()
|
/third_party/skia/src/core/ |
H A D | SkBuffer.h | 43 specified in the constructor or in a call to reset(). 48 to reset(). Always returns true if the length was not specified. 90 SkWBuffer(void* data) { reset(data); } in SkWBuffer() 91 SkWBuffer(void* data, size_t size) { reset(data, size); } in SkWBuffer() 93 void reset(void* data) { in reset() function in SkWBuffer 99 void reset(void* data, size_t size) { in reset() function in SkWBuffer
|
H A D | SkAutoMalloc.h | 29 * Passed to reset to specify what happens if the requested size is smaller 51 void* reset(size_t size = 0, OnShrink shrink = kAlloc_OnShrink) { in reset() function in SkAutoMalloc 53 fPtr.reset(size ? sk_malloc_throw(size) : nullptr); in reset() 92 * Must call reset(size) to return an allocated block. 106 this->reset(size); in SkAutoSMalloc() 131 void* reset(size_t size, in reset() function in SkAutoSMalloc
|
/third_party/skia/src/utils/ |
H A D | SkCharToGlyphCache.cpp | 12 this->reset(); in SkCharToGlyphCache() 17 void SkCharToGlyphCache::reset() { in reset() function in SkCharToGlyphCache 18 fK32.reset(); in reset() 19 fV16.reset(); in reset()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
H A D | X86AsmPrinter.h | 53 void reset(unsigned RequiredSize) { in reset() function in llvm::X86AsmPrinter::StackMapShadowTracker 143 SMShadowTracker.reset(0); 144 SM.reset(); 145 FM.reset();
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | LiveRegUnits.h | 76 Units.reset(); in init() 81 void clear() { Units.reset(); } in clear() 105 Units.reset(*Unit); in removeReg() 150 Units.reset(RegUnits); in removeUnits()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | bytestrietest.cpp | 122 if(errorCode.reset()!=U_INDEX_OUTOFBOUNDS_ERROR) { in TestBuilder() 128 if(errorCode.reset()!=U_ILLEGAL_ARGUMENT_ERROR) { in TestBuilder() 442 logln("after iter.reset()"); in TestIteratorFromBranch() 443 checkIterator(iter.reset(), data, UPRV_LENGTHOF(data)); in TestIteratorFromBranch() 470 logln("after iter.reset()"); in TestIteratorFromLinearMatch() 471 checkIterator(iter.reset(), data, UPRV_LENGTHOF(data)); in TestIteratorFromLinearMatch() 516 logln("after iter.reset()"); in TestTruncatingIteratorFromRoot() 517 checkIterator(iter.reset(), data, UPRV_LENGTHOF(data)); in TestTruncatingIteratorFromRoot() 544 logln("after iter.reset()"); in TestTruncatingIteratorFromLinearMatchShort() 545 checkIterator(iter.reset(), expecte in TestTruncatingIteratorFromLinearMatchShort() [all...] |
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_cross_parsed_ir.cpp | 37 pool_group.reset(new ObjectPoolGroup); in ParsedIR() 39 pool_group->pools[TypeType].reset(new ObjectPool<SPIRType>); in ParsedIR() 40 pool_group->pools[TypeVariable].reset(new ObjectPool<SPIRVariable>); in ParsedIR() 41 pool_group->pools[TypeConstant].reset(new ObjectPool<SPIRConstant>); in ParsedIR() 42 pool_group->pools[TypeFunction].reset(new ObjectPool<SPIRFunction>); in ParsedIR() 43 pool_group->pools[TypeFunctionPrototype].reset(new ObjectPool<SPIRFunctionPrototype>); in ParsedIR() 44 pool_group->pools[TypeBlock].reset(new ObjectPool<SPIRBlock>); in ParsedIR() 45 pool_group->pools[TypeExtension].reset(new ObjectPool<SPIRExtension>); in ParsedIR() 46 pool_group->pools[TypeExpression].reset(new ObjectPool<SPIRExpression>); in ParsedIR() 47 pool_group->pools[TypeConstantOp].reset(ne in ParsedIR() [all...] |
/third_party/skia/gm/ |
H A D | pathfill.cpp | 460 path.reset(); in DEF_SIMPLE_GM() 471 path.reset(); in DEF_SIMPLE_GM() 481 path.reset(); in DEF_SIMPLE_GM() 491 path.reset(); in DEF_SIMPLE_GM() 506 path.reset(); in DEF_SIMPLE_GM() 515 path.reset(); in DEF_SIMPLE_GM() 526 path.reset(); in DEF_SIMPLE_GM() 541 path.reset(); in DEF_SIMPLE_GM() 553 path.reset(); in DEF_SIMPLE_GM() 564 path.reset(); in DEF_SIMPLE_GM() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8664/ |
H A D | DataMov.cpp | 34 reset(); \ in TEST_F() 115 reset(); \ in TEST_F() 176 reset(); \ in TEST_F() 236 reset(); \ in TEST_F() 309 reset(); \ in TEST_F() 323 reset(); \ in TEST_F() 373 reset(); \ in TEST_F() 388 reset(); \ in TEST_F() 438 reset(); \ in TEST_F() 459 reset(); \ in TEST_F() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
H A D | time_zone_format_test.cc | 889 const auto reset = convert(civil_second(1977, 6, 28, 9, 8, 7), tz); in TEST() local 891 tp = reset; in TEST() 896 tp = reset; in TEST() 900 tp = reset; in TEST() 904 tp = reset; in TEST() 911 tp = reset; in TEST() 915 tp = reset; in TEST() 919 tp = reset; in TEST() 932 tp = reset; in TEST() 936 tp = reset; in TEST() 1002 const auto reset = convert(civil_second(1977, 6, 28, 9, 8, 7), tz); TEST() local [all...] |
/kernel/linux/linux-5.10/tools/virtio/ |
H A D | virtio_test.c | 191 const bool reset = completed > next_reset; in run_test() local 221 if (reset) { in run_test() 233 if (reset) { in run_test() 322 .name = "reset", 338 " [--reset=N]" in help() 347 long batch = 1, reset = 0; in main() local 385 reset = 1; in main() 387 reset = strtol(optarg, NULL, 10); in main() 388 assert(reset > 0); in main() 389 assert(reset < (lon in main() [all...] |
/kernel/linux/linux-5.10/drivers/phy/rockchip/ |
H A D | phy-rockchip-usb.c | 21 #include <linux/reset.h> 76 struct reset_control *reset; member 173 if (phy->reset) { in rockchip_usb_phy_reset() 174 reset_control_assert(phy->reset); in rockchip_usb_phy_reset() 176 reset_control_deassert(phy->reset); in rockchip_usb_phy_reset() 185 .reset = rockchip_usb_phy_reset, 224 rk_phy->reset = of_reset_control_get(child, "phy-reset"); in rockchip_usb_phy_init() 225 if (IS_ERR(rk_phy->reset)) in rockchip_usb_phy_init() 226 rk_phy->reset in rockchip_usb_phy_init() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/ |
H A D | lima_device.c | 5 #include <linux/reset.h> 96 if (dev->reset) { in lima_clk_enable() 97 err = reset_control_deassert(dev->reset); in lima_clk_enable() 100 "reset controller deassert failed %d\n", err); in lima_clk_enable() 116 if (dev->reset) in lima_clk_disable() 117 reset_control_assert(dev->reset); in lima_clk_disable() 144 dev->reset = devm_reset_control_array_get_optional_shared(dev->dev); in lima_clk_init() 145 if (IS_ERR(dev->reset)) { in lima_clk_init() 146 err = PTR_ERR(dev->reset); in lima_clk_init() 148 dev_err(dev->dev, "get reset controlle in lima_clk_init() [all...] |
/kernel/linux/linux-6.6/drivers/phy/rockchip/ |
H A D | phy-rockchip-usb.c | 21 #include <linux/reset.h> 76 struct reset_control *reset; member 173 if (phy->reset) { in rockchip_usb_phy_reset() 174 reset_control_assert(phy->reset); in rockchip_usb_phy_reset() 176 reset_control_deassert(phy->reset); in rockchip_usb_phy_reset() 185 .reset = rockchip_usb_phy_reset, 224 rk_phy->reset = of_reset_control_get(child, "phy-reset"); in rockchip_usb_phy_init() 225 if (IS_ERR(rk_phy->reset)) in rockchip_usb_phy_init() 226 rk_phy->reset in rockchip_usb_phy_init() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/lima/ |
H A D | lima_device.c | 5 #include <linux/reset.h> 97 if (dev->reset) { in lima_clk_enable() 98 err = reset_control_deassert(dev->reset); in lima_clk_enable() 101 "reset controller deassert failed %d\n", err); in lima_clk_enable() 117 if (dev->reset) in lima_clk_disable() 118 reset_control_assert(dev->reset); in lima_clk_disable() 145 dev->reset = devm_reset_control_array_get_optional_shared(dev->dev); in lima_clk_init() 146 if (IS_ERR(dev->reset)) { in lima_clk_init() 147 err = PTR_ERR(dev->reset); in lima_clk_init() 149 dev_err(dev->dev, "get reset controlle in lima_clk_init() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/ |
H A D | msm_mdss.c | 16 #include <linux/reset.h> 319 struct reset_control *reset; in msm_mdss_reset() local 321 reset = reset_control_get_optional_exclusive(dev, NULL); in msm_mdss_reset() 322 if (!reset) { in msm_mdss_reset() 323 /* Optional reset not specified */ in msm_mdss_reset() 325 } else if (IS_ERR(reset)) { in msm_mdss_reset() 326 return dev_err_probe(dev, PTR_ERR(reset), in msm_mdss_reset() 327 "failed to acquire mdss reset\n"); in msm_mdss_reset() 330 reset_control_assert(reset); in msm_mdss_reset() 332 * Tests indicate that reset ha in msm_mdss_reset() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
H A D | gr3d.c | 17 #include <linux/reset.h> 311 struct reset_control *reset; in gr3d_power_up_legacy_domain() local 343 * reset shouldn't be asserted while hardware is gated because in gr3d_power_up_legacy_domain() 345 * PD we request the individual reset separately. in gr3d_power_up_legacy_domain() 347 reset = reset_control_get_exclusive_released(dev, name); in gr3d_power_up_legacy_domain() 348 if (IS_ERR(reset)) in gr3d_power_up_legacy_domain() 349 return PTR_ERR(reset); in gr3d_power_up_legacy_domain() 351 err = reset_control_acquire(reset); in gr3d_power_up_legacy_domain() 353 dev_err(dev, "failed to acquire %s reset: %d\n", name, err); in gr3d_power_up_legacy_domain() 355 err = tegra_powergate_sequence_power_up(id, clk, reset); in gr3d_power_up_legacy_domain() [all...] |
H A D | nvdec.c | 16 #include <linux/reset.h> 45 struct reset_control *reset; member 112 err = reset_control_acquire(nvdec->reset); in nvdec_boot_riscv() 129 err = reset_control_reset(nvdec->reset); in nvdec_boot_riscv() 147 reset_control_release(nvdec->reset); in nvdec_boot_riscv() 494 nvdec->reset = devm_reset_control_get_exclusive_released(dev, "nvdec"); in nvdec_probe() 495 if (IS_ERR(nvdec->reset)) { in nvdec_probe() 496 dev_err_probe(dev, PTR_ERR(nvdec->reset), "failed to get reset\n"); in nvdec_probe() 497 return PTR_ERR(nvdec->reset); in nvdec_probe() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/ |
H A D | sun4i_tv.c | 15 #include <linux/reset.h> 168 struct reset_control *reset; member 413 .reset = sun4i_tv_connector_reset, 455 tv->reset = devm_reset_control_get(dev, NULL); in sun4i_tv_bind() 456 if (IS_ERR(tv->reset)) { in sun4i_tv_bind() 457 dev_err(dev, "Couldn't get our reset line\n"); in sun4i_tv_bind() 458 return PTR_ERR(tv->reset); in sun4i_tv_bind() 461 ret = reset_control_deassert(tv->reset); in sun4i_tv_bind() 463 dev_err(dev, "Couldn't deassert our reset line\n"); in sun4i_tv_bind() 524 reset_control_assert(tv->reset); in sun4i_tv_bind() [all...] |