Home
last modified time | relevance | path

Searched refs:reset (Results 1176 - 1200 of 3973) sorted by relevance

1...<<41424344454647484950>>...159

/kernel/linux/linux-6.6/drivers/bluetooth/
H A Dhci_bcm.c79 * @reset: BT_RST_N pin,
122 struct gpio_desc *reset; member
300 /* wait for device to power on and come out of reset */ in bcm_gpio_set_power()
1053 if (dev->reset) in bcm_gpio_set_shutdown()
1055 * The reset line is asserted on powerdown and deasserted in bcm_gpio_set_shutdown()
1061 gpiod_set_value_cansleep(dev->reset, !powered); in bcm_gpio_set_shutdown()
1128 dev->reset = devm_gpiod_get_optional(dev->dev, "reset", in bcm_get_resources()
1130 if (IS_ERR(dev->reset)) in bcm_get_resources()
1131 return PTR_ERR(dev->reset); in bcm_get_resources()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-core.c29 #include <linux/reset.h>
771 reset_control_assert(ce->reset); in sun8i_ce_pm_suspend()
792 err = reset_control_deassert(ce->reset); in sun8i_ce_pm_resume()
794 dev_err(ce->dev, "Cannot deassert reset control\n"); in sun8i_ce_pm_resume()
1006 ce->reset = devm_reset_control_get(&pdev->dev, NULL); in sun8i_ce_probe()
1007 if (IS_ERR(ce->reset)) in sun8i_ce_probe()
1008 return dev_err_probe(&pdev->dev, PTR_ERR(ce->reset), in sun8i_ce_probe()
1009 "No reset control found\n"); in sun8i_ce_probe()
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb/
H A Dsubr.c619 * enable/disable auto-negotiation as desired and reset.
621 * If the PHY does not auto-negotiate we just reset it.
653 phy->ops->reset(phy, 0); in t1_link_start()
662 phy->ops->reset(phy, 0); in t1_link_start()
1098 if (bi->gphy->reset) in t1_init_sw_modules()
1099 bi->gphy->reset(adapter); in t1_init_sw_modules()
1100 if (bi->gmac->reset) in t1_init_sw_modules()
1101 bi->gmac->reset(adapter); in t1_init_sw_modules()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/
H A Ddp_tx.c1023 int ath12k_dp_tx_htt_monitor_mode_ring_config(struct ath12k *ar, bool reset) in ath12k_dp_tx_htt_monitor_mode_ring_config() argument
1028 ret = ath12k_dp_tx_htt_tx_monitor_mode_ring_config(ar, reset); in ath12k_dp_tx_htt_monitor_mode_ring_config()
1034 ret = ath12k_dp_tx_htt_tx_monitor_mode_ring_config(ar, reset); in ath12k_dp_tx_htt_monitor_mode_ring_config()
1043 int ath12k_dp_tx_htt_rx_monitor_mode_ring_config(struct ath12k *ar, bool reset) in ath12k_dp_tx_htt_rx_monitor_mode_ring_config() argument
1053 if (!reset) { in ath12k_dp_tx_htt_rx_monitor_mode_ring_config()
1194 int ath12k_dp_tx_htt_tx_monitor_mode_ring_config(struct ath12k *ar, bool reset) in ath12k_dp_tx_htt_tx_monitor_mode_ring_config() argument
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dov13b10.c582 struct gpio_desc *reset; member
1067 gpiod_set_value_cansleep(ov13b10->reset, 1); in ov13b10_power_off()
1098 gpiod_set_value_cansleep(ov13b10->reset, 0); in ov13b10_power_on()
1115 /* Get out of from software reset */ in ov13b10_start_streaming()
1386 ov13b->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW); in ov13b10_get_pm_resources()
1387 if (IS_ERR(ov13b->reset)) in ov13b10_get_pm_resources()
1388 return dev_err_probe(dev, PTR_ERR(ov13b->reset), in ov13b10_get_pm_resources()
1389 "failed to get reset gpio\n"); in ov13b10_get_pm_resources()
/kernel/linux/linux-6.6/drivers/media/i2c/et8ek8/
H A Det8ek8_driver.c44 struct gpio_desc *reset; member
807 gpiod_set_value(sensor->reset, 0); in et8ek8_power_off()
850 gpiod_set_value(sensor->reset, 1); in et8ek8_power_on()
1409 sensor->reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); in et8ek8_probe()
1410 if (IS_ERR(sensor->reset)) { in et8ek8_probe()
1411 dev_dbg(&client->dev, "could not request reset gpio\n"); in et8ek8_probe()
1412 return PTR_ERR(sensor->reset); in et8ek8_probe()
/kernel/linux/linux-6.6/drivers/gpu/drm/sti/
H A Dsti_hqvdp.c14 #include <linux/reset.h>
74 /* SW reset CTRL */
336 * @reset: reset control
352 struct reset_control *reset; member
968 DRM_ERROR("Could not reset\n"); in sti_hqvdp_start_xp70()
1288 .reset = drm_atomic_helper_plane_reset,
1388 /* Get reset resources */ in sti_hqvdp_probe()
1389 hqvdp->reset = devm_reset_control_get(dev, "hqvdp"); in sti_hqvdp_probe()
1390 if (!IS_ERR(hqvdp->reset)) in sti_hqvdp_probe()
[all...]
/kernel/linux/linux-6.6/drivers/s390/cio/
H A Dcmf.c102 * @reset: clear the data in the associated measurement block and
103 * reset its time stamp
111 void (*reset) (struct ccw_device *); member
359 * Need to reset hw block as well to make the hardware start in cmf_generic_reset()
721 .reset = reset_cmb,
974 .reset = reset_cmbe,
1118 * for which channel measurement is already enabled a reset of the
1130 cmbops->reset(cdev); in enable_cmf()
1137 cmbops->reset(cdev); in enable_cmf()
1233 cmbops->reset(cde in cmf_reenable()
[all...]
/kernel/linux/linux-5.10/drivers/net/dsa/
H A Dlantiq_gswip.c44 #include <linux/reset.h>
122 #define GSWIP_SWRES_R1 BIT(1) /* GSWIP Software reset */
123 #define GSWIP_SWRES_R0 BIT(0) /* GSWIP Hardware reset */
253 struct reset_control *reset; member
1823 reset_control_assert(gphy_fw->reset); in gswip_gphy_fw_load()
1854 reset_control_deassert(gphy_fw->reset); in gswip_gphy_fw_load()
1897 gphy_fw->reset = of_reset_control_array_get_exclusive(gphy_fw_np); in gswip_gphy_fw_probe()
1898 if (IS_ERR(gphy_fw->reset)) { in gswip_gphy_fw_probe()
1899 if (PTR_ERR(gphy_fw->reset) != -EPROBE_DEFER) in gswip_gphy_fw_probe()
1900 dev_err(dev, "Failed to lookup gphy reset\ in gswip_gphy_fw_probe()
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/
H A Dsaa7134-dvb.c102 static u8 reset [] = { RESET, 0x80 }; in mt352_pinnacle_init() local
115 mt352_write(fe, reset, sizeof(reset)); in mt352_pinnacle_init()
131 static u8 reset [] = { RESET, 0x80 }; in mt352_aver777_init() local
138 mt352_write(fe, reset, sizeof(reset)); in mt352_aver777_init()
149 static u8 reset [] = { RESET, 0x80 }; in mt352_avermedia_xc3028_init() local
156 mt352_write(fe, reset, sizeof(reset)); in mt352_avermedia_xc3028_init()
/kernel/linux/linux-5.10/drivers/thermal/tegra/
H A Dsoctherm.c31 #include <linux/reset.h>
330 struct reset_control *reset; member
1513 reset_control_assert(tegra->reset); in soctherm_clk_enable()
1518 reset_control_deassert(tegra->reset); in soctherm_clk_enable()
1525 reset_control_deassert(tegra->reset); in soctherm_clk_enable()
1533 reset_control_deassert(tegra->reset); in soctherm_clk_enable()
2169 tegra->reset = devm_reset_control_get(&pdev->dev, "soctherm"); in tegra_soctherm_probe()
2170 if (IS_ERR(tegra->reset)) { in tegra_soctherm_probe()
2171 dev_err(&pdev->dev, "can't get soctherm reset\n"); in tegra_soctherm_probe()
2172 return PTR_ERR(tegra->reset); in tegra_soctherm_probe()
[all...]
/kernel/linux/linux-5.10/drivers/usb/dwc3/
H A Dcore.c28 #include <linux/reset.h>
267 * dwc3_core_soft_reset - Issues core soft reset and PHY reset
277 * XHCI driver will reset the host block. If dwc3 was configured for in dwc3_core_soft_reset()
609 * will be '0' when the core is reset. Application needs to set it in dwc3_phy_setup()
617 * power-on reset, and it can be set after core initialization, which is in dwc3_phy_setup()
618 * after device soft-reset during initialization. in dwc3_phy_setup()
699 * be '0' when the core is reset. Application needs to set it to in dwc3_phy_setup()
707 * power-on reset, and it can be set after core initialization, which is in dwc3_phy_setup()
708 * after device soft-reset durin in dwc3_phy_setup()
[all...]
/kernel/linux/linux-6.6/drivers/usb/dwc3/
H A Dcore.c29 #include <linux/reset.h>
269 * dwc3_core_soft_reset - Issues core soft reset and PHY reset
279 * XHCI driver will reset the host block. If dwc3 was configured for in dwc3_core_soft_reset()
310 dev_warn(dwc->dev, "DWC3 controller soft reset failed.\n"); in dwc3_core_soft_reset()
604 * will be '0' when the core is reset. Application needs to set it in dwc3_phy_setup()
612 * power-on reset, and it can be set after core initialization, which is in dwc3_phy_setup()
613 * after device soft-reset during initialization. in dwc3_phy_setup()
694 * be '0' when the core is reset. Application needs to set it to in dwc3_phy_setup()
702 * power-on reset, an in dwc3_phy_setup()
[all...]
/kernel/linux/linux-6.6/drivers/thermal/tegra/
H A Dsoctherm.c31 #include <linux/reset.h>
330 struct reset_control *reset; member
1475 reset_control_assert(tegra->reset); in soctherm_clk_enable()
1480 reset_control_deassert(tegra->reset); in soctherm_clk_enable()
1487 reset_control_deassert(tegra->reset); in soctherm_clk_enable()
1495 reset_control_deassert(tegra->reset); in soctherm_clk_enable()
2124 tegra->reset = devm_reset_control_get(&pdev->dev, "soctherm"); in tegra_soctherm_probe()
2125 if (IS_ERR(tegra->reset)) { in tegra_soctherm_probe()
2126 dev_err(&pdev->dev, "can't get soctherm reset\n"); in tegra_soctherm_probe()
2127 return PTR_ERR(tegra->reset); in tegra_soctherm_probe()
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/saa7134/
H A Dsaa7134-dvb.c102 static u8 reset [] = { RESET, 0x80 }; in mt352_pinnacle_init() local
115 mt352_write(fe, reset, sizeof(reset)); in mt352_pinnacle_init()
131 static u8 reset [] = { RESET, 0x80 }; in mt352_aver777_init() local
138 mt352_write(fe, reset, sizeof(reset)); in mt352_aver777_init()
149 static u8 reset [] = { RESET, 0x80 }; in mt352_avermedia_xc3028_init() local
156 mt352_write(fe, reset, sizeof(reset)); in mt352_avermedia_xc3028_init()
/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c19 #include <linux/reset.h>
594 /* Assert/release MT7623 RXC reset */ in mtk_mac_config()
3709 dev_err(eth->dev, "warm reset failed\n"); in mtk_hw_warm_reset()
3735 dev_err(eth->dev, "warm reset stage0 failed %08x (%08x)\n", in mtk_hw_warm_reset()
3744 dev_err(eth->dev, "warm reset stage1 failed %08x (%08x)\n", in mtk_hw_warm_reset()
3774 if (wdidx == eth->reset.wdidx && wtx_busy && cdm_full && oq_free) { in mtk_hw_check_dma_hang()
3775 if (++eth->reset.wdma_hang_count > 2) { in mtk_hw_check_dma_hang()
3776 eth->reset.wdma_hang_count = 0; in mtk_hw_check_dma_hang()
3796 if (++eth->reset.qdma_hang_count > 2) { in mtk_hw_check_dma_hang()
3797 eth->reset in mtk_hw_check_dma_hang()
3844 mtk_hw_init(struct mtk_eth *eth, bool reset) mtk_hw_init() argument
[all...]
/kernel/linux/linux-6.6/drivers/clk/meson/
H A Dmeson8b.c15 #include <linux/reset-controller.h>
26 #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h>
31 struct reset_controller_dev reset; member
3702 container_of(rcdev, struct meson8b_clk_reset, reset); in meson8b_clk_reset_update()
3703 const struct meson8b_clk_reset_line *reset; in meson8b_clk_reset_update() local
3710 reset = &meson8b_clk_reset_bits[id]; in meson8b_clk_reset_update()
3712 if (assert != reset->active_low) in meson8b_clk_reset_update()
3713 value = BIT(reset->bit_idx); in meson8b_clk_reset_update()
3717 regmap_update_bits(meson8b_clk_reset->regmap, reset in meson8b_clk_reset_update()
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/ccs/
H A Dccs-core.c1561 if (sensor->reset || sensor->xshutdown || sensor->ext_clk) { in ccs_power_on()
1570 gpiod_set_value(sensor->reset, 0); in ccs_power_on()
1592 if (!sensor->reset && !sensor->xshutdown) { in ccs_power_on()
1594 u32 reset; in ccs_power_on() local
1598 dev_err(dev, "software reset failed\n"); in ccs_power_on()
1603 rval = ccs_read(sensor, SOFTWARE_RESET, &reset); in ccs_power_on()
1604 reset = !rval && reset == CCS_SOFTWARE_RESET_OFF; in ccs_power_on()
1605 if (reset) in ccs_power_on()
1611 if (!reset) { in ccs_power_on()
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
H A Domap_hwmod.c29 * and reset signaling, supply power, and connect the modules to
36 * to reset, enable, idle, and disable these hardware blocks. And
82 * The OMAP hwmod code also will attempt to reset and idle all on-chip
96 * reset and the integration registers programmed, the INITIALIZED state
179 * Address offset (in bytes) between the reset control and the reset
208 * struct omap_hwmod_reset - IP specific reset functions
211 * @reset: IP specific reset function
218 int (*reset)(struc member
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/
H A Dhw.c639 if (rf->reset) in irdma_destroy_aeq()
670 if (rf->reset) in irdma_destroy_ceq()
763 if (!rf->reset) in irdma_destroy_ccq()
778 * @reset: true if called before reset
783 bool privileged, bool reset) in irdma_close_hmc_objects_type()
791 if (irdma_sc_del_hmc_obj(dev, &info, reset)) in irdma_close_hmc_objects_type()
801 * @reset: true if called before reset
806 bool reset, enu in irdma_del_hmc_objects()
780 irdma_close_hmc_objects_type(struct irdma_sc_dev *dev, enum irdma_hmc_rsrc_type obj_type, struct irdma_hmc_info *hmc_info, bool privileged, bool reset) irdma_close_hmc_objects_type() argument
804 irdma_del_hmc_objects(struct irdma_sc_dev *dev, struct irdma_hmc_info *hmc_info, bool privileged, bool reset, enum irdma_vers vers) irdma_del_hmc_objects() argument
[all...]
/kernel/linux/linux-5.10/drivers/clk/rockchip/
H A Dsoftrst.c9 #include <linux/reset-controller.h>
105 pr_err("%s: could not register reset controller, %d\n", in rockchip_register_softrst()
/kernel/linux/linux-5.10/drivers/clk/mmp/
H A Dreset.c6 #include <linux/reset-controller.h>
8 #include "reset.h"
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A DMakefile12 process.o ptrace.o reset.o setup.o signal.o io.o \
/kernel/linux/linux-5.10/arch/mips/sgi-ip22/
H A Dip22-reset.c94 sgioc->reset = sgi_ioc_reset; in blink_timeout()
/kernel/linux/linux-5.10/arch/riscv/kernel/
H A DMakefile22 obj-y += reset.o

Completed in 45 milliseconds

1...<<41424344454647484950>>...159