/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | dma.c | 86 static void mt7996_dma_disable(struct mt7996_dev *dev, bool reset) in mt7996_dma_disable() argument 93 if (reset) { in mt7996_dma_disable() 131 void mt7996_dma_start(struct mt7996_dev *dev, bool reset) in mt7996_dma_start() argument 140 if (!reset) { in mt7996_dma_start() 157 if (reset) in mt7996_dma_start() 176 static void mt7996_dma_enable(struct mt7996_dev *dev, bool reset) in mt7996_dma_enable() argument 183 /* reset dma idx */ in mt7996_dma_enable() 250 mt7996_dma_start(dev, reset); in mt7996_dma_enable() 404 /* reset wfsys */ in mt7996_dma_reset() 410 /* reset h in mt7996_dma_reset() [all...] |
/kernel/linux/linux-6.6/drivers/phy/broadcom/ |
H A D | phy-bcm63xx-usbh.c | 23 #include <linux/reset.h> 101 struct reset_control *reset; member 259 ret = reset_control_reset(usbh->reset); in bcm63xx_usbh_phy_init() 261 dev_err(&phy->dev, "unable to reset device: %d\n", ret); in bcm63xx_usbh_phy_init() 399 usbh->reset = devm_reset_control_get_exclusive(dev, NULL); in bcm63xx_usbh_phy_probe() 400 if (IS_ERR(usbh->reset)) { in bcm63xx_usbh_phy_probe() 401 if (PTR_ERR(usbh->reset) != -EPROBE_DEFER) in bcm63xx_usbh_phy_probe() 402 dev_err(dev, "failed to get reset\n"); in bcm63xx_usbh_phy_probe() 403 return PTR_ERR(usbh->reset); in bcm63xx_usbh_phy_probe()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
H A D | panel-widechips-ws2401.c | 72 /** @reset: reset GPIO line */ 73 struct gpio_desc *reset; member 142 /* Assert reset >=1 ms */ in ws2401_power_on() 143 gpiod_set_value_cansleep(ws->reset, 1); in ws2401_power_on() 145 /* De-assert reset */ in ws2401_power_on() 146 gpiod_set_value_cansleep(ws->reset, 0); in ws2401_power_on() 226 gpiod_set_value_cansleep(ws->reset, 1); in ws2401_power_off() 367 ws->reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIG in ws2401_probe() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/ |
H A D | sun8i_mixer.c | 17 #include <linux/reset.h> 434 mixer->reset = devm_reset_control_get(dev, NULL); in sun8i_mixer_bind() 435 if (IS_ERR(mixer->reset)) { in sun8i_mixer_bind() 436 dev_err(dev, "Couldn't get our reset line\n"); in sun8i_mixer_bind() 437 return PTR_ERR(mixer->reset); in sun8i_mixer_bind() 440 ret = reset_control_deassert(mixer->reset); in sun8i_mixer_bind() 442 dev_err(dev, "Couldn't deassert our reset line\n"); in sun8i_mixer_bind() 534 reset_control_assert(mixer->reset); in sun8i_mixer_bind() 547 reset_control_assert(mixer->reset); in sun8i_mixer_unbind()
|
/kernel/linux/linux-6.6/sound/soc/rockchip/ |
H A D | rockchip_pdm.c | 15 #include <linux/reset.h> 37 struct reset_control *reset; member 234 reset_control_assert(pdm->reset); in rockchip_pdm_hw_params() 235 reset_control_deassert(pdm->reset); in rockchip_pdm_hw_params() 590 pdm->reset = devm_reset_control_get(&pdev->dev, "pdm-m"); in rockchip_pdm_probe() 591 if (IS_ERR(pdm->reset)) in rockchip_pdm_probe() 592 return PTR_ERR(pdm->reset); in rockchip_pdm_probe()
|
/third_party/node/src/ |
H A D | node_http_common.h | 292 reset(buf); in NgRcBufPointer() 297 reset(other.get()); in NgRcBufPointer() 301 reset(other.get()); in NgRcBufPointer() 329 reset(); in ~NgRcBufPointer() 347 void reset(rcbuf_t* ptr = nullptr, bool internalizable = false) { in reset() function in node::NgRcBufPointer 428 ptr.reset(); in New() 434 ptr.reset(); in New()
|
/third_party/pulseaudio/src/modules/bluetooth/ |
H A D | a2dp-codec-ldac-gst.c | 335 static int reset(void *codec_info) { in reset() function 448 .reset = reset, 471 .reset = reset, 494 .reset = reset,
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/analyzer/ |
H A D | LatencyAnalyzer.h | 60 void reset() { in reset() function 273 reset(); in prepareToTest() 276 virtual void reset() { in reset() function in LoopbackProcessor 347 reset(); in onInsufficientRead() 418 void reset() override { 419 LoopbackProcessor::reset(); 431 mLatencyReport.reset();
|
/third_party/skia/tests/ |
H A D | PathMeasureTest.cpp | 89 path.reset(); in DEF_TEST() 96 path.reset(); in DEF_TEST() 103 path.reset(); in DEF_TEST() 127 path.reset(); in DEF_TEST() 169 path.reset(); in DEF_TEST() 213 p.reset(); in DEF_TEST() 307 path.reset(); // we should not need the path avert we created the factory in DEF_TEST()
|
/third_party/skia/include/private/ |
H A D | SkTOptional.h | 72 this->reset(); in ~optional() 81 this->reset(); in operator =() 101 this->reset(); in operator =() 117 this->reset(); in emplace() 125 this->reset(); in emplace() 131 // Assignment to nullopt is the same as reset(). 133 this->reset(); in operator =() 203 void reset() { in reset() function in skstd::optional
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_dsb.c | 201 * On errors, fall back to MMIO. Also this function help to reset the context. 216 goto reset; in intel_dsb_commit() 221 goto reset; in intel_dsb_commit() 234 goto reset; in intel_dsb_commit() 244 goto reset; in intel_dsb_commit() 247 reset: in intel_dsb_commit()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | mock_engine.c | 196 .reset = mock_context_reset, 313 engine->base.reset.prepare = mock_reset_prepare; in mock_engine() 314 engine->base.reset.rewind = mock_reset_rewind; in mock_engine() 315 engine->base.reset.cancel = mock_reset_cancel; in mock_engine() 316 engine->base.reset.finish = mock_reset_finish; in mock_engine()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs-pri.h | 372 #define STAT_STORE_FUNC(type, set_value, reset) \ 381 ret = reset(stats, true); \ 383 ret = reset(stats, false); \ 400 #define STAT_ATTR(type, stat, print, reset) \ 401 STAT_STORE_FUNC(type, stat, reset) \
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-sgmii.c | 82 if (!(adpt->phy.sgmii_ops && adpt->phy.sgmii_ops->reset)) in emac_sgmii_reset() 85 adpt->phy.sgmii_ops->reset(adpt); in emac_sgmii_reset() 136 /* The number of decode errors that triggers a reset */ 161 * is wrong and reset the interface. in emac_sgmii_interrupt() 188 /* Ensure phy-reset command is written to HW before the release cmd */ in emac_sgmii_reset_prepare() 192 /* Ensure phy-reset release command is written to HW before initializing in emac_sgmii_reset_prepare() 273 .reset = emac_sgmii_common_reset, 281 .reset = emac_sgmii_common_reset, 290 .reset = emac_sgmii_common_reset,
|
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | lochnagar-i2c.c | 214 /* The reset register will return the device ID when read */ in lochnagar_wait_for_boot() 275 struct gpio_desc *reset, *present; in lochnagar_i2c_probe() local 296 reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); in lochnagar_i2c_probe() 297 if (IS_ERR(reset)) { in lochnagar_i2c_probe() 298 ret = PTR_ERR(reset); in lochnagar_i2c_probe() 299 dev_err(dev, "Failed to get reset GPIO: %d\n", ret); in lochnagar_i2c_probe() 310 /* Leave the Lochnagar in reset for a reasonable amount of time */ in lochnagar_i2c_probe() 313 /* Bring Lochnagar out of reset */ in lochnagar_i2c_probe() 314 gpiod_set_value_cansleep(reset, in lochnagar_i2c_probe() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/v3d/ |
H A D | v3d_drv.c | 23 #include <linux/reset.h> 281 v3d->reset = devm_reset_control_get_exclusive(dev, NULL); in v3d_platform_drm_probe() 282 if (IS_ERR(v3d->reset)) { in v3d_platform_drm_probe() 283 ret = PTR_ERR(v3d->reset); in v3d_platform_drm_probe() 288 v3d->reset = NULL; in v3d_platform_drm_probe() 292 "Failed to get reset control or bridge regs\n"); in v3d_platform_drm_probe()
|
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-sc18is602.c | 47 struct gpio_desc *reset; member 253 /* assert reset and then release */ in sc18is602_probe() 254 hw->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in sc18is602_probe() 255 if (IS_ERR(hw->reset)) in sc18is602_probe() 256 return PTR_ERR(hw->reset); in sc18is602_probe() 257 gpiod_set_value_cansleep(hw->reset, 0); in sc18is602_probe()
|
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | lochnagar-i2c.c | 214 /* The reset register will return the device ID when read */ in lochnagar_wait_for_boot() 275 struct gpio_desc *reset, *present; in lochnagar_i2c_probe() local 296 reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); in lochnagar_i2c_probe() 297 if (IS_ERR(reset)) { in lochnagar_i2c_probe() 298 ret = PTR_ERR(reset); in lochnagar_i2c_probe() 299 dev_err(dev, "Failed to get reset GPIO: %d\n", ret); in lochnagar_i2c_probe() 310 /* Leave the Lochnagar in reset for a reasonable amount of time */ in lochnagar_i2c_probe() 313 /* Bring Lochnagar out of reset */ in lochnagar_i2c_probe() 314 gpiod_set_value_cansleep(reset, in lochnagar_i2c_probe() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_idc.c | 140 * ice_rdma_request_reset - accept request from RDMA to perform a reset 142 * @reset_type: type of reset 146 enum ice_reset_req reset; in ice_rdma_request_reset() local 153 reset = ICE_RESET_PFR; in ice_rdma_request_reset() 156 reset = ICE_RESET_CORER; in ice_rdma_request_reset() 159 reset = ICE_RESET_GLOBR; in ice_rdma_request_reset() 162 dev_err(ice_pf_to_dev(pf), "incorrect reset request\n"); in ice_rdma_request_reset() 166 return ice_schedule_reset(pf, reset); in ice_rdma_request_reset()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-sgmii.c | 84 if (!(adpt->phy.sgmii_ops && adpt->phy.sgmii_ops->reset)) in emac_sgmii_reset() 87 adpt->phy.sgmii_ops->reset(adpt); in emac_sgmii_reset() 138 /* The number of decode errors that triggers a reset */ 163 * is wrong and reset the interface. in emac_sgmii_interrupt() 190 /* Ensure phy-reset command is written to HW before the release cmd */ in emac_sgmii_reset_prepare() 194 /* Ensure phy-reset release command is written to HW before initializing in emac_sgmii_reset_prepare() 275 .reset = emac_sgmii_common_reset, 283 .reset = emac_sgmii_common_reset, 292 .reset = emac_sgmii_common_reset,
|
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-sc18is602.c | 46 struct gpio_desc *reset; member 257 /* assert reset and then release */ in sc18is602_probe() 258 hw->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in sc18is602_probe() 259 if (IS_ERR(hw->reset)) in sc18is602_probe() 260 return PTR_ERR(hw->reset); in sc18is602_probe() 261 gpiod_set_value_cansleep(hw->reset, 0); in sc18is602_probe()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_umc.c | 82 bool reset) in amdgpu_umc_do_page_retirement() 140 /* only uncorrectable error needs gpu reset */ in amdgpu_umc_do_page_retirement() 160 if (reset) in amdgpu_umc_do_page_retirement() 168 int amdgpu_umc_poison_handler(struct amdgpu_device *adev, bool reset) in amdgpu_umc_poison_handler() argument 174 if (reset) { in amdgpu_umc_poison_handler() 175 /* MCA poison handler is only responsible for GPU reset, in amdgpu_umc_poison_handler() 191 ret = amdgpu_umc_do_page_retirement(adev, &err_data, NULL, reset); in amdgpu_umc_poison_handler() 79 amdgpu_umc_do_page_retirement(struct amdgpu_device *adev, void *ras_error_status, struct amdgpu_iv_entry *entry, bool reset) amdgpu_umc_do_page_retirement() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/v3d/ |
H A D | v3d_drv.c | 22 #include <linux/reset.h> 243 v3d->reset = devm_reset_control_get_exclusive(dev, NULL); in v3d_platform_drm_probe() 244 if (IS_ERR(v3d->reset)) { in v3d_platform_drm_probe() 245 ret = PTR_ERR(v3d->reset); in v3d_platform_drm_probe() 250 v3d->reset = NULL; in v3d_platform_drm_probe() 254 "Failed to get reset control or bridge regs\n"); in v3d_platform_drm_probe()
|
/kernel/linux/linux-6.6/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs-pri.h | 373 #define STAT_STORE_FUNC(type, set_value, reset) \ 382 ret = reset(stats, true); \ 384 ret = reset(stats, false); \ 401 #define STAT_ATTR(type, stat, print, reset) \ 402 STAT_STORE_FUNC(type, stat, reset) \
|
/third_party/lzma/Java/SevenZip/ |
H A D | LzmaBench.java | 152 public void reset()
in reset() method in LzmaBench.MyOutputStream 182 public void reset()
in reset() method in LzmaBench.MyInputStream 343 inStream.reset();
in LzmaBenchmark() 344 compressedStream.reset();
in LzmaBenchmark() 362 inputCompressedStream.reset();
in LzmaBenchmark()
|