/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | intel_reset.c | 107 /* Cool contexts are too cool to be banned! (Used for reset testing.) */ in mark_guilty() 114 "%s context reset due to GPU hang\n", in mark_guilty() 185 /* Assert reset for at least 20 usec, and wait for acknowledgement. */ in i915_do_reset() 190 /* Clear the reset request. */ in i915_do_reset() 233 drm_dbg(>->i915->drm, "Wait for media reset failed\n"); in g4x_do_reset() 241 drm_dbg(>->i915->drm, "Wait for render reset failed\n"); in g4x_do_reset() 267 drm_dbg(>->i915->drm, "Wait for render reset failed\n"); in ilk_do_reset() 278 drm_dbg(>->i915->drm, "Wait for media reset failed\n"); in ilk_do_reset() 304 * Wait for the device to ack the reset requests. in gen6_hw_domain_reset() 310 * in flux. If we immediately repeat the reset, th in gen6_hw_domain_reset() 638 reset_func reset; __intel_gt_reset() local [all...] |
/kernel/linux/linux-5.10/drivers/clk/meson/ |
H A D | meson-aoclk.c | 14 #include <linux/reset-controller.h> 24 container_of(rcdev, struct meson_aoclk_reset_controller, reset); in meson_aoclk_do_reset() 27 BIT(rstc->data->reset[id])); in meson_aoclk_do_reset() 31 .reset = meson_aoclk_do_reset, 62 rstc->reset.ops = &meson_aoclk_reset_ops; in meson_aoclkc_probe() 63 rstc->reset.nr_resets = data->num_reset; in meson_aoclkc_probe() 64 rstc->reset.of_node = dev->of_node; in meson_aoclkc_probe() 65 ret = devm_reset_controller_register(dev, &rstc->reset); in meson_aoclkc_probe() 67 dev_err(dev, "failed to register reset controller\n"); in meson_aoclkc_probe()
|
/kernel/linux/linux-5.10/drivers/phy/qualcomm/ |
H A D | phy-ath79-usb.c | 11 #include <linux/reset.h> 14 struct reset_control *reset; member 32 err = reset_control_deassert(priv->reset); in ath79_usb_phy_power_on() 44 err = reset_control_assert(priv->reset); in ath79_usb_phy_power_off() 51 reset_control_deassert(priv->reset); in ath79_usb_phy_power_off() 72 priv->reset = devm_reset_control_get(&pdev->dev, "phy"); in ath79_usb_phy_probe() 73 if (IS_ERR(priv->reset)) in ath79_usb_phy_probe() 74 return PTR_ERR(priv->reset); in ath79_usb_phy_probe()
|
/kernel/linux/linux-6.6/drivers/clk/meson/ |
H A D | meson-aoclk.c | 14 #include <linux/reset-controller.h> 26 container_of(rcdev, struct meson_aoclk_reset_controller, reset); in meson_aoclk_do_reset() 29 BIT(rstc->data->reset[id])); in meson_aoclk_do_reset() 33 .reset = meson_aoclk_do_reset, 64 rstc->reset.ops = &meson_aoclk_reset_ops; in meson_aoclkc_probe() 65 rstc->reset.nr_resets = data->num_reset; in meson_aoclkc_probe() 66 rstc->reset.of_node = dev->of_node; in meson_aoclkc_probe() 67 ret = devm_reset_controller_register(dev, &rstc->reset); in meson_aoclkc_probe() 69 dev_err(dev, "failed to register reset controller\n"); in meson_aoclkc_probe()
|
/kernel/linux/linux-6.6/drivers/phy/qualcomm/ |
H A D | phy-ath79-usb.c | 12 #include <linux/reset.h> 15 struct reset_control *reset; member 33 err = reset_control_deassert(priv->reset); in ath79_usb_phy_power_on() 45 err = reset_control_assert(priv->reset); in ath79_usb_phy_power_off() 52 reset_control_deassert(priv->reset); in ath79_usb_phy_power_off() 73 priv->reset = devm_reset_control_get(&pdev->dev, "phy"); in ath79_usb_phy_probe() 74 if (IS_ERR(priv->reset)) in ath79_usb_phy_probe() 75 return PTR_ERR(priv->reset); in ath79_usb_phy_probe()
|
/kernel/linux/linux-5.10/drivers/watchdog/ |
H A D | mena21_wdt.c | 44 int reset = 0; in a21_wdt_get_bootstatus() local 46 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST0]) ? (1 << 0) : 0; in a21_wdt_get_bootstatus() 47 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST1]) ? (1 << 1) : 0; in a21_wdt_get_bootstatus() 48 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST2]) ? (1 << 2) : 0; in a21_wdt_get_bootstatus() 50 return reset; in a21_wdt_get_bootstatus() 132 unsigned int reset = 0; in a21_wdt_probe() local 179 reset = a21_wdt_get_bootstatus(drv); in a21_wdt_probe() 180 if (reset == 2) in a21_wdt_probe() 182 else if (reset == 4) in a21_wdt_probe() 184 else if (reset in a21_wdt_probe() [all...] |
/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | mena21_wdt.c | 44 int reset = 0; in a21_wdt_get_bootstatus() local 46 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST0]) ? (1 << 0) : 0; in a21_wdt_get_bootstatus() 47 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST1]) ? (1 << 1) : 0; in a21_wdt_get_bootstatus() 48 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST2]) ? (1 << 2) : 0; in a21_wdt_get_bootstatus() 50 return reset; in a21_wdt_get_bootstatus() 132 unsigned int reset = 0; in a21_wdt_probe() local 179 reset = a21_wdt_get_bootstatus(drv); in a21_wdt_probe() 180 if (reset == 2) in a21_wdt_probe() 182 else if (reset == 4) in a21_wdt_probe() 184 else if (reset in a21_wdt_probe() [all...] |
/kernel/linux/linux-6.6/drivers/video/backlight/ |
H A D | lms283gf05.c | 21 struct gpio_desc *reset; member 130 if (st->reset) in lms283gf05_power_set() 131 lms283gf05_reset(st->reset); in lms283gf05_power_set() 135 if (st->reset) in lms283gf05_power_set() 136 gpiod_set_value(st->reset, 1); /* Asserted */ in lms283gf05_power_set() 157 st->reset = gpiod_get_optional(&spi->dev, "reset", GPIOD_OUT_LOW); in lms283gf05_probe() 158 if (IS_ERR(st->reset)) in lms283gf05_probe() 159 return PTR_ERR(st->reset); in lms283gf05_probe() 160 gpiod_set_consumer_name(st->reset, "LMS283GF0 in lms283gf05_probe() [all...] |
/kernel/linux/linux-6.6/drivers/clk/sunxi-ng/ |
H A D | ccu_common.c | 22 struct ccu_reset reset; member 106 struct ccu_reset *reset; in sunxi_ccu_probe() local 146 reset = &ccu->reset; in sunxi_ccu_probe() 147 reset->rcdev.of_node = node; in sunxi_ccu_probe() 148 reset->rcdev.ops = &ccu_reset_ops; in sunxi_ccu_probe() 149 reset->rcdev.owner = dev ? dev->driver->owner : THIS_MODULE; in sunxi_ccu_probe() 150 reset->rcdev.nr_resets = desc->num_resets; in sunxi_ccu_probe() 151 reset->base = reg; in sunxi_ccu_probe() 152 reset in sunxi_ccu_probe() [all...] |
/third_party/cJSON/tests/ |
H A D | parse_object.c | 62 reset(item); in assert_not_object() 80 reset(item); in parse_object_should_parse_empty_objects() 84 reset(item); in parse_object_should_parse_empty_objects() 92 reset(item); in parse_object_should_parse_objects_with_one_element() 96 reset(item); in parse_object_should_parse_objects_with_one_element() 100 reset(item); in parse_object_should_parse_objects_with_one_element() 104 reset(item); in parse_object_should_parse_objects_with_one_element() 113 reset(item); in parse_object_should_parse_objects_with_multiple_elements() 150 reset(item); in parse_object_should_parse_objects_with_multiple_elements()
|
/third_party/skia/src/core/ |
H A D | SkAutoPixmapStorage.h | 31 * On failure, return false and reset() the pixmap to empty. 65 void reset() { in reset() function in SkAutoPixmapStorage 67 this->INHERITED::reset(); in reset() 69 void reset(const SkImageInfo& info, const void* addr, size_t rb) { in reset() function in SkAutoPixmapStorage 71 this->INHERITED::reset(info, addr, rb); in reset() 74 bool SK_WARN_UNUSED_RESULT reset(const SkMask& mask) { in reset() function in SkAutoPixmapStorage 76 return this->INHERITED::reset(mask); in reset()
|
H A D | SkGlyphBuffer.cpp | 12 void SkSourceGlyphBuffer::reset() { in reset() function in SkSourceGlyphBuffer 13 fRejectedGlyphIDs.reset(); in reset() 14 fRejectedPositions.reset(); in reset() 19 fMultiBuffer.reset(size); in ensureSize() 20 fPositions.reset(size); in ensureSize() 112 void SkDrawableGlyphBuffer::reset() { in reset() function in SkDrawableGlyphBuffer 115 fMultiBuffer.reset(); in reset() 116 fPositions.reset(); in reset()
|
H A D | SkDescriptor.cpp | 138 SkAutoDescriptor::SkAutoDescriptor(size_t size) { this->reset(size); } in SkAutoDescriptor() 139 SkAutoDescriptor::SkAutoDescriptor(const SkDescriptor& desc) { this->reset(desc); } in SkAutoDescriptor() 141 this->reset(*that.getDesc()); in SkAutoDescriptor() 144 this->reset(*that.getDesc()); in operator =() 149 this->reset(*that.getDesc()); in SkAutoDescriptor() 157 this->reset(*that.getDesc()); in operator =() 168 void SkAutoDescriptor::reset(size_t size) { in reset() function in SkAutoDescriptor 177 void SkAutoDescriptor::reset(const SkDescriptor& desc) { in reset() function in SkAutoDescriptor 179 this->reset(size); in reset()
|
/kernel/linux/linux-5.10/drivers/phy/amlogic/ |
H A D | phy-meson-axg-pcie.c | 10 #include <linux/reset.h> 31 struct reset_control *reset; member 79 return reset_control_reset(priv->reset); in phy_axg_pcie_init() 91 return reset_control_reset(priv->reset); in phy_axg_pcie_exit() 103 ret = reset_control_assert(priv->reset); in phy_axg_pcie_reset() 108 ret = reset_control_deassert(priv->reset); in phy_axg_pcie_reset() 122 .reset = phy_axg_pcie_reset, 158 priv->reset = devm_reset_control_array_get(dev, false, false); in phy_axg_pcie_probe() 159 if (IS_ERR(priv->reset)) in phy_axg_pcie_probe() 160 return PTR_ERR(priv->reset); in phy_axg_pcie_probe() [all...] |
/kernel/linux/linux-5.10/drivers/phy/allwinner/ |
H A D | phy-sun9i-usb.c | 21 #include <linux/reset.h> 38 struct reset_control *reset; member 79 ret = reset_control_deassert(phy->reset); in sun9i_usb_phy_init() 101 reset_control_assert(phy->reset); in sun9i_usb_phy_exit() 140 phy->reset = devm_reset_control_get(dev, "hsic"); in sun9i_usb_phy_probe() 141 if (IS_ERR(phy->reset)) { in sun9i_usb_phy_probe() 142 dev_err(dev, "failed to get reset control\n"); in sun9i_usb_phy_probe() 143 return PTR_ERR(phy->reset); in sun9i_usb_phy_probe() 152 phy->reset = devm_reset_control_get(dev, "phy"); in sun9i_usb_phy_probe() 153 if (IS_ERR(phy->reset)) { in sun9i_usb_phy_probe() [all...] |
/kernel/linux/linux-6.6/drivers/phy/allwinner/ |
H A D | phy-sun9i-usb.c | 21 #include <linux/reset.h> 38 struct reset_control *reset; member 79 ret = reset_control_deassert(phy->reset); in sun9i_usb_phy_init() 101 reset_control_assert(phy->reset); in sun9i_usb_phy_exit() 139 phy->reset = devm_reset_control_get(dev, "hsic"); in sun9i_usb_phy_probe() 140 if (IS_ERR(phy->reset)) { in sun9i_usb_phy_probe() 141 dev_err(dev, "failed to get reset control\n"); in sun9i_usb_phy_probe() 142 return PTR_ERR(phy->reset); in sun9i_usb_phy_probe() 151 phy->reset = devm_reset_control_get(dev, "phy"); in sun9i_usb_phy_probe() 152 if (IS_ERR(phy->reset)) { in sun9i_usb_phy_probe() [all...] |
/kernel/linux/linux-6.6/drivers/phy/amlogic/ |
H A D | phy-meson-axg-pcie.c | 11 #include <linux/reset.h> 32 struct reset_control *reset; member 80 return reset_control_reset(priv->reset); in phy_axg_pcie_init() 92 return reset_control_reset(priv->reset); in phy_axg_pcie_exit() 104 ret = reset_control_assert(priv->reset); in phy_axg_pcie_reset() 109 ret = reset_control_deassert(priv->reset); in phy_axg_pcie_reset() 123 .reset = phy_axg_pcie_reset, 157 priv->reset = devm_reset_control_array_get_exclusive(dev); in phy_axg_pcie_probe() 158 if (IS_ERR(priv->reset)) in phy_axg_pcie_probe() 159 return PTR_ERR(priv->reset); in phy_axg_pcie_probe() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_join.sh | 300 reset() function 329 reset "${1}" || return 1 342 reset "${1}" || return 1 356 reset "${1}" || return 1 381 reset "checksum test ${1} ${2}" || return 1 394 reset "${1}" || return 1 466 reset "${1}" || return 1 478 reset "${1}" || return 1 1943 if reset "no JOIN"; then 1949 if reset "singl [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
H A D | sun6i_drc.c | 14 #include <linux/reset.h> 19 struct reset_control *reset; member 33 drc->reset = devm_reset_control_get(dev, NULL); in sun6i_drc_bind() 34 if (IS_ERR(drc->reset)) { in sun6i_drc_bind() 35 dev_err(dev, "Couldn't get our reset line\n"); in sun6i_drc_bind() 36 return PTR_ERR(drc->reset); in sun6i_drc_bind() 39 ret = reset_control_deassert(drc->reset); in sun6i_drc_bind() 41 dev_err(dev, "Couldn't deassert our reset line\n"); in sun6i_drc_bind() 73 reset_control_assert(drc->reset); in sun6i_drc_bind() 85 reset_control_assert(drc->reset); in sun6i_drc_unbind() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/ |
H A D | sun6i_drc.c | 14 #include <linux/reset.h> 19 struct reset_control *reset; member 33 drc->reset = devm_reset_control_get(dev, NULL); in sun6i_drc_bind() 34 if (IS_ERR(drc->reset)) { in sun6i_drc_bind() 35 dev_err(dev, "Couldn't get our reset line\n"); in sun6i_drc_bind() 36 return PTR_ERR(drc->reset); in sun6i_drc_bind() 39 ret = reset_control_deassert(drc->reset); in sun6i_drc_bind() 41 dev_err(dev, "Couldn't deassert our reset line\n"); in sun6i_drc_bind() 73 reset_control_assert(drc->reset); in sun6i_drc_bind() 85 reset_control_assert(drc->reset); in sun6i_drc_unbind() [all...] |
/third_party/python/Lib/encodings/ |
H A D | utf_8_sig.py | 39 def reset(self): member in IncrementalEncoder 40 codecs.IncrementalEncoder.reset(self) 71 def reset(self): member in IncrementalDecoder 72 codecs.BufferedIncrementalDecoder.reset(self) 86 def reset(self): member in StreamWriter 87 codecs.StreamWriter.reset(self) 98 def reset(self): member in StreamReader 99 codecs.StreamReader.reset(self)
|
/third_party/mesa3d/src/freedreno/rnn/ |
H A D | rnndec.c | 189 asprintf (&res, "%s%s%s", ctx->colors->eval, ctmp, ctx->colors->reset); in rnndec_decodeval() 218 asprintf (&res, "%s%s%s", color, bitfields[i]->name, ctx->colors->reset); in rnndec_decodeval() 220 asprintf (&tmp, "%s | %s%s%s", res, color, bitfields[i]->name, ctx->colors->reset); in rnndec_decodeval() 232 asprintf (&subval, "%s%#"PRIx64"%s", ctx->colors->err, field_val, ctx->colors->reset); in rnndec_decodeval() 237 asprintf (&res, "%s%s%s = %s", ctx->colors->rname, bitfields[i]->name, ctx->colors->reset, subval); in rnndec_decodeval() 239 asprintf (&tmp, "%s | %s%s%s = %s", res, ctx->colors->rname, bitfields[i]->name, ctx->colors->reset, subval); in rnndec_decodeval() 247 asprintf (&res, "%s%#"PRIx64"%s", ctx->colors->err, value & ~mask, ctx->colors->reset); in rnndec_decodeval() 249 asprintf (&tmp, "%s | %s%#"PRIx64"%s", res, ctx->colors->err, value & ~mask, ctx->colors->reset); in rnndec_decodeval() 255 asprintf (&res, "%s0%s", ctx->colors->num, ctx->colors->reset); in rnndec_decodeval() 262 asprintf (&res, "%s%#"PRIx64"%s", ctx->colors->num, value, ctx->colors->reset); in rnndec_decodeval() [all...] |
/kernel/linux/linux-6.6/drivers/clk/bcm/ |
H A D | clk-bcm63268-timer.c | 14 #include <linux/reset-controller.h> 86 struct bcm63268_tclkrst_hw *reset = to_bcm63268_timer_reset(rcdev); in bcm63268_timer_reset_update() local 90 spin_lock_irqsave(&reset->lock, flags); in bcm63268_timer_reset_update() 91 val = __raw_readl(reset->regs); in bcm63268_timer_reset_update() 96 __raw_writel(val, reset->regs); in bcm63268_timer_reset_update() 97 spin_unlock_irqrestore(&reset->lock, flags); in bcm63268_timer_reset_update() 123 * Ensure component is taken out reset state by sleeping also after in bcm63268_timer_reset_reset() 124 * deasserting the reset. Otherwise, the component may not be ready in bcm63268_timer_reset_reset() 136 struct bcm63268_tclkrst_hw *reset = to_bcm63268_timer_reset(rcdev); in bcm63268_timer_reset_status() local 138 return !(__raw_readl(reset in bcm63268_timer_reset_status() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/ |
H A D | MILexer.cpp | 67 MIToken &MIToken::reset(TokenKind Kind, StringRef Range) { in reset() function in MIToken 166 Token.reset(Type, String) in lexName() 171 Token.reset(MIToken::Error, Range.remaining()); in lexName() 176 Token.reset(Type, Range.upto(C)) in lexName() 268 Token.reset(getIdentifierKind(Identifier), Identifier) in maybeLexIdentifier() 282 Token.reset(MIToken::Error, C.remaining()); in maybeLexMachineBasicBlock() 300 Token.reset(IsReference ? MIToken::MachineBasicBlock in maybeLexMachineBasicBlock() 317 Token.reset(Kind, Range.upto(C)).setIntegerValue(APSInt(NumberRange.upto(C))); in maybeLexIndex() 338 Token.reset(Kind, Range.upto(C)) in maybeLexIndexAndName() 403 Token.reset(MIToke in lexVirtualRegister() [all...] |
/kernel/linux/linux-5.10/drivers/clk/qcom/ |
H A D | common.c | 11 #include <linux/reset-controller.h> 17 #include "reset.h" 21 struct qcom_reset_controller reset; member 106 /* De-assert reset to FSM */ in qcom_pll_set_fsm_mode() 244 struct qcom_reset_controller *reset; in qcom_cc_really_probe() local 256 reset = &cc->reset; in qcom_cc_really_probe() 257 reset->rcdev.of_node = dev->of_node; in qcom_cc_really_probe() 258 reset->rcdev.ops = &qcom_reset_ops; in qcom_cc_really_probe() 259 reset in qcom_cc_really_probe() [all...] |