Home
last modified time | relevance | path

Searched refs:restart (Results 1 – 25 of 164) sorted by relevance

1234567

/drivers/power/reset/
Datc260x-poweroff.c20 int (*do_poweroff)(const struct atc260x_pwrc *pwrc, bool restart);
26 static int atc2603c_do_poweroff(const struct atc260x_pwrc *pwrc, bool restart) in atc2603c_do_poweroff() argument
32 if (!restart && !power_supply_is_system_supplied()) { in atc2603c_do_poweroff()
39 (restart ? ATC2603C_PMU_SYS_CTL0_RESET_WK_EN in atc2603c_do_poweroff()
58 reg_mask = restart ? ATC2603C_PMU_SYS_CTL0_RESTART_EN in atc2603c_do_poweroff()
60 reg_val = restart ? ATC2603C_PMU_SYS_CTL0_RESTART_EN : 0; in atc2603c_do_poweroff()
63 restart ? ATC2603C_PMU_SYS_CTL0 : ATC2603C_PMU_SYS_CTL1, in atc2603c_do_poweroff()
67 restart ? 0 : 1, ret); in atc2603c_do_poweroff()
77 static int atc2609a_do_poweroff(const struct atc260x_pwrc *pwrc, bool restart) in atc2609a_do_poweroff() argument
83 if (!restart && !power_supply_is_system_supplied()) { in atc2609a_do_poweroff()
[all …]
DKconfig31 This driver supports restart for Atmel AT91SAM9 and SAMA5
46 This driver provides power-off and restart support for a system
53 This driver supports restart for Axxia SoC.
62 This driver provides restart support for Broadcom Kona chips.
65 to have restart support.
73 This driver provides restart support for Broadcom STB boards.
76 to have restart support.
96 bool "GPIO restart driver"
100 If your board needs a GPIO high/low to restart, say Y and
124 Power off and restart support for Qualcomm boards.
[all …]
Dlinkstation-poweroff.c37 void (*phy_set_reg)(bool restart);
43 static void linkstation_mvphy_reg_intn(bool restart) in linkstation_mvphy_reg_intn() argument
48 if (restart) in linkstation_mvphy_reg_intn()
82 static void readynas_mvphy_set_reg(bool restart) in readynas_mvphy_set_reg() argument
87 if (restart) in readynas_mvphy_set_reg()
DMakefile12 obj-$(CONFIG_POWER_RESET_GPIO_RESTART) += gpio-restart.o
17 obj-$(CONFIG_POWER_RESET_OXNAS) += oxnas-restart.o
24 obj-$(CONFIG_POWER_RESET_RESTART) += restart-poweroff.o
26 obj-$(CONFIG_POWER_RESET_TPS65086) += tps65086-restart.o
/drivers/media/i2c/
Dmsp3400-kthreads.c505 restart: in msp3400c_thread()
507 state->restart = 0; in msp3400c_thread()
532 goto restart; in msp3400c_thread()
548 goto restart; in msp3400c_thread()
587 goto restart; in msp3400c_thread()
675 goto restart; in msp3400c_thread()
700 restart: in msp3410d_thread()
702 state->restart = 0; in msp3410d_thread()
731 goto restart; in msp3410d_thread()
746 goto restart; in msp3410d_thread()
[all …]
/drivers/watchdog/
Drave-sp-wdt.c42 int (*restart)(struct watchdog_device *); member
154 const int ret = sp_wd->variant->restart(&sp_wd->wdd); in rave_sp_wdt_reboot_notifier()
224 .restart = rave_sp_wdt_restart,
231 .restart = rave_sp_wdt_legacy_restart,
238 .restart = rave_sp_wdt_rdu_restart,
Dwatchdog_core.c182 ret = wdd->ops->restart(wdd, action, data); in watchdog_restart_notifier()
314 if (wdd->ops->restart) { in __watchdog_register_device()
374 if (wdd->ops->restart) in __watchdog_unregister_device()
Dbcm47xx_wdt.c103 .restart = bcm47xx_wdt_restart,
174 .restart = bcm47xx_wdt_restart,
/drivers/remoteproc/
Dqcom_q6v5_adsp.c80 struct reset_control *restart; member
149 reset_control_assert(adsp->restart); in qcom_adsp_shutdown()
159 reset_control_deassert(adsp->restart); in qcom_adsp_shutdown()
349 adsp->restart = devm_reset_control_get_optional_exclusive(adsp->dev, "restart"); in adsp_init_reset()
352 if (!adsp->restart) in adsp_init_reset()
353 adsp->restart = devm_reset_control_get_exclusive(adsp->dev, "cc_lpass"); in adsp_init_reset()
355 if (IS_ERR(adsp->restart)) { in adsp_init_reset()
357 return PTR_ERR(adsp->restart); in adsp_init_reset()
/drivers/slimbus/
Dsched.c25 int slim_ctrl_clk_pause(struct slim_controller *ctrl, bool wakeup, u8 restart) in slim_ctrl_clk_pause() argument
35 if (wakeup == false && restart > SLIM_CLK_UNSPECIFIED) in slim_ctrl_clk_pause()
99 msg.wbuf = &restart; in slim_ctrl_clk_pause()
/drivers/net/wireless/mediatek/mt76/
Dmt76x02_mmio.c427 bool restart = dev->mt76.mcu_ops->mcu_restart; in mt76x02_watchdog_reset() local
444 if (restart) in mt76x02_watchdog_reset()
465 if (restart) in mt76x02_watchdog_reset()
483 if (dev->mt76.beacon_mask && !restart) in mt76x02_watchdog_reset()
505 if (restart) { in mt76x02_watchdog_reset()
534 goto restart; in mt76x02_check_tx_hang()
540 goto restart; in mt76x02_check_tx_hang()
544 restart: in mt76x02_check_tx_hang()
/drivers/dma-buf/
Ddma-fence-unwrap.c112 restart: in __dma_fence_unwrap_merge()
140 goto restart; in __dma_fence_unwrap_merge()
143 goto restart; in __dma_fence_unwrap_merge()
/drivers/ps3/
Dsys-manager-core.c48 if (ps3_sys_manager_ops.restart) in ps3_sys_manager_restart()
49 ps3_sys_manager_ops.restart(ps3_sys_manager_ops.dev); in ps3_sys_manager_restart()
/drivers/scsi/aacraid/
Dsrc.c887 int restart = 0; in aac_src_init() local
907 ++restart; in aac_src_init()
918 ++restart; in aac_src_init()
943 if ((restart && in aac_src_init()
950 if (!restart && in aac_src_init()
959 ++restart; in aac_src_init()
963 if (restart && aac_commit) in aac_src_init()
1179 int restart = 0; in aac_srcv_init() local
1200 ++restart; in aac_srcv_init()
1234 ++restart; in aac_srcv_init()
[all …]
Drx.c547 int restart = 0; in _aac_rx_init() local
565 while ((++restart < 512) && in _aac_rx_init()
578 ++restart; in _aac_rx_init()
601 if ((restart && in _aac_rx_init()
608 if (!restart && in _aac_rx_init()
617 ++restart; in _aac_rx_init()
621 if (restart && aac_commit) in _aac_rx_init()
/drivers/net/fddi/skfp/
Dsmttimer.c21 static void timer_done(struct s_smc *smc, int restart);
112 static void timer_done(struct s_smc *smc, int restart) in timer_done() argument
145 if (restart && smc->t.st_queue) in timer_done()
/drivers/gpu/drm/radeon/
Dradeon_legacy_tv.c428 int restart; in radeon_legacy_tv_init_restarts() local
477 restart = const_ptr->def_restart; in radeon_legacy_tv_init_restarts()
490 restart -= v_offset + h_offset; in radeon_legacy_tv_init_restarts()
493 const_ptr->def_restart, tv_dac->h_pos, tv_dac->v_pos, p1, p2, restart); in radeon_legacy_tv_init_restarts()
495 tv_dac->tv.hrestart = restart % h_total; in radeon_legacy_tv_init_restarts()
496 restart /= h_total; in radeon_legacy_tv_init_restarts()
497 tv_dac->tv.vrestart = restart % v_total; in radeon_legacy_tv_init_restarts()
498 restart /= v_total; in radeon_legacy_tv_init_restarts()
499 tv_dac->tv.frestart = restart % f_total; in radeon_legacy_tv_init_restarts()
/drivers/net/ethernet/ti/
Dcpmac.c404 struct cpmac_desc *desc, *restart; in cpmac_poll() local
419 restart = NULL; in cpmac_poll()
429 if (unlikely(restart)) { in cpmac_poll()
433 restart, desc); in cpmac_poll()
437 restart = desc->next; in cpmac_poll()
464 if (!restart && in cpmac_poll()
472 restart = priv->rx_head; in cpmac_poll()
475 if (restart) { in cpmac_poll()
481 if (unlikely((restart->dataflags & CPMAC_OWN) == 0)) { in cpmac_poll()
485 "that's not free: %p\n", restart); in cpmac_poll()
[all …]
/drivers/net/phy/
Dphy-c45.c211 int genphy_c45_check_and_restart_aneg(struct phy_device *phydev, bool restart) in genphy_c45_check_and_restart_aneg() argument
215 if (!restart) { in genphy_c45_check_and_restart_aneg()
222 restart = true; in genphy_c45_check_and_restart_aneg()
225 if (restart) in genphy_c45_check_and_restart_aneg()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_pcs.h84 static inline void dwmac_rane(void __iomem *ioaddr, u32 reg, bool restart) in dwmac_rane() argument
88 if (restart) in dwmac_rane()
/drivers/media/pci/saa7134/
Dsaa7134-tvaudio.c474 restart: in tvaudio_thread()
492 goto restart; in tvaudio_thread()
519 goto restart; in tvaudio_thread()
569 goto restart; in tvaudio_thread()
589 goto restart; in tvaudio_thread()
770 restart: in tvaudio_thread_ddep()
823 goto restart; in tvaudio_thread_ddep()
/drivers/net/dsa/microchip/
Dksz8795.c730 u8 restart, speed, ctrl, link; in ksz8_r_phy() local
739 ksz_pread8(dev, p, regs[P_NEG_RESTART_CTRL], &restart); in ksz8_r_phy()
742 if (restart & PORT_PHY_LOOPBACK) in ksz8_r_phy()
753 if (restart & PORT_POWER_DOWN) in ksz8_r_phy()
755 if (restart & PORT_AUTO_NEG_RESTART) in ksz8_r_phy()
761 if (restart & PORT_FORCE_MDIX) in ksz8_r_phy()
763 if (restart & PORT_AUTO_MDIX_DISABLE) in ksz8_r_phy()
765 if (restart & PORT_TX_DISABLE) in ksz8_r_phy()
767 if (restart & PORT_LED_OFF) in ksz8_r_phy()
853 u8 restart, speed, ctrl, data; in ksz8_w_phy() local
[all …]
/drivers/net/dsa/hirschmann/
Dhellcreek_hwtstamp.c357 int i, restart = 0; in hellcreek_hwtstamp_work() local
368 restart |= hellcreek_txtstamp_work(hellcreek, ps, i); in hellcreek_hwtstamp_work()
373 return restart ? 1 : -1; in hellcreek_hwtstamp_work()
/drivers/spi/
Dspi-sprd-adi.c142 int (*restart)(struct notifier_block *this, member
594 if (sadi->data->restart) { in sprd_adi_probe()
595 sadi->restart_handler.notifier_call = sadi->data->restart; in sprd_adi_probe()
624 .restart = sprd_adi_restart_sc9860,
/drivers/sh/intc/
Dvirq.c210 restart: in intc_subgroup_map()
223 goto restart; in intc_subgroup_map()

1234567