Home
last modified time | relevance | path

Searched refs:reset (Results 176 - 200 of 7183) sorted by relevance

12345678910>>...288

/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
H A DAudioStreamTester.java35 public void reset() { in reset() method in AudioStreamTester
37 requestedConfiguration.reset(); // TODO consider making new ones in reset()
38 actualConfiguration.reset(); in reset()
/kernel/linux/linux-5.10/drivers/input/misc/
H A Dpmic8xxx-pwrkey.c33 /* Regulator control registers for shutdown/reset */
53 /* Buck TEST2 registers for shutdown/reset */
131 bool reset = system_state == SYSTEM_RESTART; in pmic8xxx_pwrkey_shutdown() local
134 error = pwrkey->shutdown_fn(pwrkey, reset); in pmic8xxx_pwrkey_shutdown()
140 * Select action to perform (reset or shutdown) when PS_HOLD goes low. in pmic8xxx_pwrkey_shutdown()
147 if (!reset) in pmic8xxx_pwrkey_shutdown()
280 static int pm8058_pwrkey_shutdown(struct pmic8xxx_pwrkey *pwrkey, bool reset) in pm8058_pwrkey_shutdown() argument
287 if (!reset) { in pm8058_pwrkey_shutdown()
315 if (reset) in pm8058_pwrkey_shutdown()
320 static int pm8921_pwrkey_shutdown(struct pmic8xxx_pwrkey *pwrkey, bool reset) in pm8921_pwrkey_shutdown() argument
[all...]
/kernel/linux/linux-5.10/drivers/usb/misc/
H A Dusb3503.c50 struct gpio_desc *reset; member
60 if (hub->reset) in usb3503_reset()
61 gpiod_set_value_cansleep(hub->reset, !state); in usb3503_reset()
250 hub->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in usb3503_probe()
251 if (IS_ERR(hub->reset)) in usb3503_probe()
252 return PTR_ERR(hub->reset); in usb3503_probe()
253 if (hub->reset) { in usb3503_probe()
254 /* Datasheet defines a hardware reset to be at least 100us */ in usb3503_probe()
256 gpiod_set_consumer_name(hub->reset, "usb350 in usb3503_probe()
[all...]
/kernel/linux/linux-5.10/drivers/phy/amlogic/
H A Dphy-meson-g12a-usb2.c19 #include <linux/reset.h>
158 struct reset_control *reset; member
175 ret = reset_control_reset(priv->reset); in phy_meson_g12a_usb2_init()
281 return reset_control_reset(priv->reset); in phy_meson_g12a_usb2_exit()
324 priv->reset = devm_reset_control_get(dev, "phy"); in phy_meson_g12a_usb2_probe()
325 if (IS_ERR(priv->reset)) in phy_meson_g12a_usb2_probe()
326 return PTR_ERR(priv->reset); in phy_meson_g12a_usb2_probe()
328 ret = reset_control_deassert(priv->reset); in phy_meson_g12a_usb2_probe()
/kernel/linux/linux-5.10/drivers/staging/fieldbus/anybuss/
H A Darcx-anybus.c50 static void do_reset(struct controller_priv *cd, u8 rst_bit, bool reset) in do_reset() argument
57 if (reset) in do_reset()
64 * the hardware is 'too fast', so a reset followed by an immediate in do_reset()
65 * not-reset will _not_ change the anybus reset line in any way, in do_reset()
66 * losing the reset. to prevent this from happening, introduce in do_reset()
67 * a minimum reset duration. in do_reset()
71 if (reset) in do_reset()
77 unsigned long id, bool reset) in anybuss_reset()
82 do_reset(cd, CPLD_CONTROL_CRST, reset); in anybuss_reset()
76 anybuss_reset(struct controller_priv *cd, unsigned long id, bool reset) anybuss_reset() argument
[all...]
/kernel/linux/linux-6.6/drivers/mfd/
H A Dsyscon.c23 #include <linux/reset.h>
35 struct reset_control *reset; member
55 struct reset_control *reset; in of_syscon_register() local
137 reset = of_reset_control_get_optional_exclusive(np, NULL); in of_syscon_register()
138 if (IS_ERR(reset)) { in of_syscon_register()
139 ret = PTR_ERR(reset); in of_syscon_register()
143 ret = reset_control_deassert(reset); in of_syscon_register()
158 reset_control_put(reset); in of_syscon_register()
/kernel/linux/linux-6.6/drivers/net/dsa/realtek/
H A Drealtek-mdio.c200 priv->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW); in realtek_mdio_probe()
201 if (IS_ERR(priv->reset)) { in realtek_mdio_probe()
203 return PTR_ERR(priv->reset); in realtek_mdio_probe()
206 if (priv->reset) { in realtek_mdio_probe()
207 gpiod_set_value(priv->reset, 1); in realtek_mdio_probe()
210 gpiod_set_value(priv->reset, 0); in realtek_mdio_probe()
248 /* leave the device reset asserted */ in realtek_mdio_remove()
249 if (priv->reset) in realtek_mdio_remove()
250 gpiod_set_value(priv->reset, in realtek_mdio_remove()
[all...]
/kernel/linux/linux-6.6/drivers/staging/fieldbus/anybuss/
H A Darcx-anybus.c50 static void do_reset(struct controller_priv *cd, u8 rst_bit, bool reset) in do_reset() argument
57 if (reset) in do_reset()
64 * the hardware is 'too fast', so a reset followed by an immediate in do_reset()
65 * not-reset will _not_ change the anybus reset line in any way, in do_reset()
66 * losing the reset. to prevent this from happening, introduce in do_reset()
67 * a minimum reset duration. in do_reset()
71 if (reset) in do_reset()
77 unsigned long id, bool reset) in anybuss_reset()
82 do_reset(cd, CPLD_CONTROL_CRST, reset); in anybuss_reset()
76 anybuss_reset(struct controller_priv *cd, unsigned long id, bool reset) anybuss_reset() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/misc/
H A Dusb3503.c51 struct gpio_desc *reset; member
140 if (hub->reset) in usb3503_switch_mode()
141 gpiod_set_value_cansleep(hub->reset, rst); in usb3503_switch_mode()
269 hub->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in usb3503_probe()
270 if (IS_ERR(hub->reset)) { in usb3503_probe()
271 err = PTR_ERR(hub->reset); in usb3503_probe()
274 if (hub->reset) { in usb3503_probe()
275 /* Datasheet defines a hardware reset to be at least 100us */ in usb3503_probe()
277 gpiod_set_consumer_name(hub->reset, "usb350 in usb3503_probe()
[all...]
/kernel/linux/linux-6.6/drivers/phy/amlogic/
H A Dphy-meson-axg-mipi-dphy.c19 #include <linux/reset.h>
23 /* [31] soft reset for the phy.
24 * 1: reset. 0: dessert the reset.
25 * [30] clock lane soft reset.
26 * [29] data byte lane 3 soft reset.
27 * [28] data byte lane 2 soft reset.
28 * [27] data byte lane 1 soft reset.
29 * [26] data byte lane 0 soft reset.
171 struct reset_control *reset; member
[all...]
H A Dphy-meson-g12a-usb2.c19 #include <linux/reset.h>
158 struct reset_control *reset; member
179 ret = reset_control_reset(priv->reset); in phy_meson_g12a_usb2_init()
288 ret = reset_control_reset(priv->reset); in phy_meson_g12a_usb2_exit()
333 priv->reset = devm_reset_control_get(dev, "phy"); in phy_meson_g12a_usb2_probe()
334 if (IS_ERR(priv->reset)) in phy_meson_g12a_usb2_probe()
335 return PTR_ERR(priv->reset); in phy_meson_g12a_usb2_probe()
337 ret = reset_control_deassert(priv->reset); in phy_meson_g12a_usb2_probe()
/kernel/linux/linux-6.6/drivers/input/misc/
H A Dpmic8xxx-pwrkey.c32 /* Regulator control registers for shutdown/reset */
52 /* Buck TEST2 registers for shutdown/reset */
130 bool reset = system_state == SYSTEM_RESTART; in pmic8xxx_pwrkey_shutdown() local
133 error = pwrkey->shutdown_fn(pwrkey, reset); in pmic8xxx_pwrkey_shutdown()
139 * Select action to perform (reset or shutdown) when PS_HOLD goes low. in pmic8xxx_pwrkey_shutdown()
146 if (!reset) in pmic8xxx_pwrkey_shutdown()
279 static int pm8058_pwrkey_shutdown(struct pmic8xxx_pwrkey *pwrkey, bool reset) in pm8058_pwrkey_shutdown() argument
286 if (!reset) { in pm8058_pwrkey_shutdown()
314 if (reset) in pm8058_pwrkey_shutdown()
319 static int pm8921_pwrkey_shutdown(struct pmic8xxx_pwrkey *pwrkey, bool reset) in pm8921_pwrkey_shutdown() argument
[all...]
/kernel/linux/linux-6.6/drivers/input/keyboard/
H A Dsun4i-lradc-keys.c30 #include <linux/reset.h>
66 * @has_clock_reset: If the binding requires a clock and reset
100 struct reset_control *reset; member
158 error = reset_control_deassert(lradc->reset); in sun4i_lradc_open()
181 reset_control_assert(lradc->reset); in sun4i_lradc_open()
198 reset_control_assert(lradc->reset); in sun4i_lradc_close()
282 lradc->reset = devm_reset_control_get_exclusive(dev, NULL); in sun4i_lradc_probe()
283 if (IS_ERR(lradc->reset)) in sun4i_lradc_probe()
284 return PTR_ERR(lradc->reset); in sun4i_lradc_probe()
/third_party/icu/icu4c/source/i18n/
H A Dsearch.cpp244 m_search_->reset = false; in next()
287 if (m_search_->reset) { in previous()
290 m_search_->reset = false; in previous()
331 void SearchIterator::reset() in reset() function in SearchIterator
340 m_search_->reset = true; in reset()
353 m_search_->reset = true; in SearchIterator()
372 m_search_->reset = true; in SearchIterator()
389 m_search_->reset = true; in SearchIterator()
/third_party/libphonenumber/cpp/src/phonenumbers/base/memory/
H A Dscoped_ptr.h121 reset(other->release()); in TakeState()
133 void reset(T* p) { in reset() function in i18n::phonenumbers::scoped_ptr_impl
134 // This is a self-reset, which is no longer allowed: http://crbug.com/162971 in reset()
139 // get_deleter()(get()) deletes this. In order to pevent this, reset() in reset()
142 // However, changing reset() to use that behavior may cause current code to in reset()
144 // dereferences the scoped_ptr when it is destroyed by a call to reset(), in reset()
264 void reset(element_type* p = NULL) { impl_.reset(p); } in reset() function in i18n::phonenumbers::scoped_ptr
353 void reset(element_type* array = NULL) { impl_.reset(arra function in i18n::phonenumbers::scoped_ptr
[all...]
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_context.c77 unreachable("unhandled batch reset"); in iris_lost_context_state()
99 /* Check the reset status of each batch's hardware context, and take the in iris_get_device_reset_status()
120 if (worst_reset != PIPE_NO_RESET && ice->reset.reset) in iris_get_device_reset_status()
121 ice->reset.reset(ice->reset.data, worst_reset); in iris_get_device_reset_status()
133 ice->reset = *cb; in iris_set_device_reset_callback()
135 memset(&ice->reset, 0, sizeof(ice->reset)); in iris_set_device_reset_callback()
[all...]
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_context.c93 unreachable("unhandled batch reset"); in crocus_lost_context_state()
109 /* Check the reset status of each batch's hardware context, and take the in crocus_get_device_reset_status()
130 if (worst_reset != PIPE_NO_RESET && ice->reset.reset) in crocus_get_device_reset_status()
131 ice->reset.reset(ice->reset.data, worst_reset); in crocus_get_device_reset_status()
143 ice->reset = *cb; in crocus_set_device_reset_callback()
145 memset(&ice->reset, 0, sizeof(ice->reset)); in crocus_set_device_reset_callback()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DLLVMTargetMachine.cpp42 MRI.reset(TheTarget.createMCRegInfo(getTargetTriple().str())); in initAsmInfo()
43 MII.reset(TheTarget.createMCInstrInfo()); in initAsmInfo()
48 STI.reset(TheTarget.createMCSubtargetInfo( in initAsmInfo()
73 AsmInfo.reset(TmpAsmInfo); in initAsmInfo()
139 MCE.reset(getTarget().createMCCodeEmitter(MII, MRI, Context)); in addAsmPrinter()
148 AsmStreamer.reset(S); in addAsmPrinter()
164 AsmStreamer.reset(getTarget().createMCObjectStreamer( in addAsmPrinter()
176 AsmStreamer.reset(getTarget().createNullStreamer(Context)); in addAsmPrinter()
/third_party/skia/src/core/
H A DSkLatticeIter.cpp154 fSrcX.reset(xCount + 2); in SkLatticeIter()
155 fDstX.reset(xCount + 2); in SkLatticeIter()
159 fSrcY.reset(yCount + 2); in SkLatticeIter()
160 fDstY.reset(yCount + 2); in SkLatticeIter()
216 fSrcX.reset(4); in SkLatticeIter()
217 fSrcY.reset(4); in SkLatticeIter()
218 fDstX.reset(4); in SkLatticeIter()
219 fDstY.reset(4); in SkLatticeIter()
/third_party/skia/tests/
H A DRefCntTest.cpp296 void reset() { bar.reset(); } in DEF_TEST() function in foo
302 (new foo)->reset(); in DEF_TEST()
319 a->b.reset(new StructB); in DEF_TEST()
320 a->b->a.reset(a); in DEF_TEST()
322 // Break the cycle by calling reset(). This will cause |a| (and hence, |a.b|) in DEF_TEST()
323 // to be deleted before the call to reset() returns. This tests that the in DEF_TEST()
324 // implementation of sk_sp::reset() doesn't access |this| after it in DEF_TEST()
326 // definition of unique_ptr::reset in C++11. in DEF_TEST()
327 a->b.reset(); in DEF_TEST()
[all...]
/third_party/skia/tools/sk_app/win/
H A DD3D12WindowContext_win.cpp169 fFence.reset(nullptr); in destroyContext()
172 fSurfaces[i].reset(nullptr); in destroyContext()
173 fBuffers[i].reset(nullptr); in destroyContext()
176 fSwapChain.reset(nullptr); in destroyContext()
177 fQueue.reset(nullptr); in destroyContext()
178 fDevice.reset(nullptr); in destroyContext()
223 fSurfaces[i].reset(nullptr); in resize()
224 fBuffers[i].reset(nullptr); in resize()
/third_party/skia/include/private/
H A DGrResourceKey.h65 key->fKey.reset(kMetaDataCnt + count); in Builder()
79 GrResourceKey() { this->reset(); } in GrResourceKey()
82 void reset() { in reset() function in GrResourceKey
83 fKey.reset(kMetaDataCnt); in reset()
98 this->reset(); in operator =()
102 fKey.reset(bytes / sizeof(uint32_t)); in operator =()
203 /** reset() returns the key to the invalid state. */
204 using INHERITED::reset;
253 /** reset() returns the key to the invalid state. */
254 using INHERITED::reset;
[all...]
/device/soc/rockchip/rk3566/sdk_linux/drivers/iio/adc/
H A Drockchip_saradc.c16 #include <linux/reset.h>
53 struct reset_control *reset; member
241 static void rockchip_saradc_reset_controller(struct reset_control *reset) in rockchip_saradc_reset_controller() argument
243 reset_control_assert(reset); in rockchip_saradc_reset_controller()
245 reset_control_deassert(reset); in rockchip_saradc_reset_controller()
414 * The reset should be an optional property, as it should work in rockchip_saradc_probe()
417 info->reset = devm_reset_control_get_exclusive(&pdev->dev, "saradc-apb"); in rockchip_saradc_probe()
418 if (IS_ERR(info->reset)) { in rockchip_saradc_probe()
419 ret = PTR_ERR(info->reset); in rockchip_saradc_probe()
424 dev_dbg(&pdev->dev, "no reset contro in rockchip_saradc_probe()
[all...]
/kernel/linux/linux-5.10/drivers/mfd/
H A Dmadera-core.c260 dev_err(madera->dev, "Failed to soft reset device: %d\n", ret); in madera_soft_reset()
264 /* Allow time for internal clocks to startup after reset */ in madera_soft_reset()
275 * low to assert reset. in madera_enable_hard_reset()
277 gpiod_set_raw_value_cansleep(madera->pdata.reset, 0); in madera_enable_hard_reset()
282 gpiod_set_raw_value_cansleep(madera->pdata.reset, 1); in madera_disable_hard_reset()
371 struct gpio_desc *reset; in madera_get_reset_gpio() local
373 if (madera->pdata.reset) in madera_get_reset_gpio()
376 reset = devm_gpiod_get_optional(madera->dev, "reset", GPIOD_OUT_LOW); in madera_get_reset_gpio()
377 if (IS_ERR(reset)) in madera_get_reset_gpio()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
H A Dpanel-raydium-rm67191.c200 struct gpio_desc *reset; member
276 if (rad->reset) { in rad_panel_prepare()
277 gpiod_set_value_cansleep(rad->reset, 1); in rad_panel_prepare()
279 gpiod_set_value_cansleep(rad->reset, 0); in rad_panel_prepare()
297 * Right after asserting the reset, we need to release it, so that the in rad_panel_unprepare()
301 if (rad->reset) { in rad_panel_unprepare()
302 gpiod_set_value_cansleep(rad->reset, 1); in rad_panel_unprepare()
304 gpiod_set_value_cansleep(rad->reset, 0); in rad_panel_unprepare()
340 /* Software reset */ in rad_panel_enable()
396 gpiod_set_value_cansleep(rad->reset, in rad_panel_enable()
[all...]

Completed in 15 milliseconds

12345678910>>...288