| /linux/drivers/power/reset/ |
| H A D | atc260x-poweroff.c | 19 int (*do_poweroff)(const struct atc260x_pwrc *pwrc, bool restart); 22 static int atc2603c_do_poweroff(const struct atc260x_pwrc *pwrc, bool restart) in atc2603c_do_poweroff() argument 28 if (!restart && !power_supply_is_system_supplied()) { in atc2603c_do_poweroff() 35 (restart ? ATC2603C_PMU_SYS_CTL0_RESET_WK_EN in atc2603c_do_poweroff() 54 reg_mask = restart ? ATC2603C_PMU_SYS_CTL0_RESTART_EN in atc2603c_do_poweroff() 56 reg_val = restart ? ATC2603C_PMU_SYS_CTL0_RESTART_EN : 0; in atc2603c_do_poweroff() 59 restart ? ATC2603C_PMU_SYS_CTL0 : ATC2603C_PMU_SYS_CTL1, in atc2603c_do_poweroff() 63 restart ? 0 : 1, ret); in atc2603c_do_poweroff() 73 static int atc2609a_do_poweroff(const struct atc260x_pwrc *pwrc, bool restart) in atc2609a_do_poweroff() argument 79 if (!restart && !power_supply_is_system_supplied()) { in atc2609a_do_poweroff() [all …]
|
| H A D | linkstation-poweroff.c | 37 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()
|
| /linux/arch/arm/mach-omap2/ |
| H A D | board-generic.c | 62 .restart = omap2xxx_restart, 79 .restart = omap2xxx_restart, 126 .restart = omap3xxx_restart, 144 .restart = omap3xxx_restart, 161 .restart = omap3xxx_restart, 178 .restart = omap3xxx_restart, 194 .restart = omap3xxx_restart, 213 .restart = ti81xx_restart, 230 .restart = ti81xx_restart, 248 .restart = am33xx_restart, [all …]
|
| H A D | Makefile | 57 obj-$(CONFIG_SOC_OMAP2420) += omap2-restart.o 58 obj-$(CONFIG_SOC_OMAP2430) += omap2-restart.o 59 obj-$(CONFIG_SOC_TI81XX) += ti81xx-restart.o 60 obj-$(CONFIG_SOC_AM33XX) += am33xx-restart.o 61 obj-$(CONFIG_SOC_AM43XX) += omap4-restart.o 62 obj-$(CONFIG_ARCH_OMAP3) += omap3-restart.o 63 obj-$(CONFIG_ARCH_OMAP4) += omap4-restart.o 64 obj-$(CONFIG_SOC_OMAP5) += omap4-restart.o 65 obj-$(CONFIG_SOC_DRA7XX) += omap4-restart.o
|
| /linux/arch/nios2/kernel/ |
| H A D | signal.c | 237 int restart = 0; in do_signal() local 256 restart = -2; in do_signal() 261 restart++; in do_signal() 272 if (unlikely(restart && regs->ea == restart_addr)) { in do_signal() 289 if (unlikely(restart) && regs->ea == restart_addr) { in do_signal() 299 return restart; in do_signal() 314 int restart = do_signal(regs); in do_notify_resume() local 316 if (unlikely(restart)) { in do_notify_resume() 322 return restart; in do_notify_resume()
|
| /linux/Documentation/devicetree/bindings/power/reset/ |
| H A D | st-reset.txt | 4 - compatible: should be "stih407-restart". 8 restart { 9 compatible = "st,stih407-restart";
|
| /linux/arch/arm/mach-pxa/ |
| H A D | pxa-dt.c | 20 .restart = pxa_restart, 33 .restart = pxa_restart, 48 .restart = pxa_restart,
|
| /linux/arch/arm/mach-mvebu/ |
| H A D | board-v7.c | 164 .restart = mvebu_restart, 180 .restart = mvebu_restart, 194 .restart = mvebu_restart, 208 .restart = mvebu_restart,
|
| /linux/kernel/time/ |
| H A D | alarmtimer.c | 705 struct restart_block *restart; in alarmtimer_do_nsleep() local 725 restart = ¤t->restart_block; in alarmtimer_do_nsleep() 726 if (restart->nanosleep.type != TT_NONE) { in alarmtimer_do_nsleep() 736 return nanosleep_copyout(restart, &rmt); in alarmtimer_do_nsleep() 756 static long __sched alarm_timer_nsleep_restart(struct restart_block *restart) in alarm_timer_nsleep_restart() argument 758 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart() 759 ktime_t exp = restart->nanosleep.expires; in alarm_timer_nsleep_restart() 779 struct restart_block *restart = ¤t->restart_block; in alarm_timer_nsleep() local 813 restart->nanosleep.clockid = type; in alarm_timer_nsleep() 814 restart->nanosleep.expires = exp; in alarm_timer_nsleep() [all …]
|
| H A D | hrtimer.c | 1894 int restart; in __run_hrtimer() local 1930 restart = fn(timer); in __run_hrtimer() 1945 if (restart == HRTIMER_RESTART && !timer->is_queued) in __run_hrtimer() 2265 int nanosleep_copyout(struct restart_block *restart, struct timespec64 *ts) in nanosleep_copyout() argument 2267 switch(restart->nanosleep.type) { in nanosleep_copyout() 2270 if (put_old_timespec32(ts, restart->nanosleep.compat_rmtp)) in nanosleep_copyout() 2275 if (put_timespec64(ts, restart->nanosleep.rmtp)) in nanosleep_copyout() 2286 struct restart_block *restart; in do_nanosleep() local 2305 restart = ¤t->restart_block; in do_nanosleep() 2306 if (restart->nanosleep.type != TT_NONE) { in do_nanosleep() [all …]
|
| /linux/drivers/watchdog/ |
| H A D | rave-sp-wdt.c | 42 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,
|
| /linux/scripts/gdb/linux/ |
| H A D | radixtree.py | 112 restart = True 113 while restart: 114 restart = False 145 restart = True 150 restart = True
|
| /linux/drivers/slimbus/ |
| H A D | sched.c | 25 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()
|
| /linux/arch/powerpc/platforms/embedded6xx/ |
| H A D | wii.c | 131 if (ppc_md.restart) in wii_halt() 132 ppc_md.restart(NULL); in wii_halt() 174 .restart = wii_restart, in define_machine()
|
| /linux/drivers/remoteproc/ |
| H A D | qcom_q6v5_adsp.c | 95 struct reset_control *restart; member 225 reset_control_assert(adsp->restart); in qcom_wpss_shutdown() 231 reset_control_deassert(adsp->restart); in qcom_wpss_shutdown() 298 reset_control_assert(adsp->restart); in qcom_adsp_shutdown() 308 reset_control_deassert(adsp->restart); in qcom_adsp_shutdown() 567 adsp->restart = devm_reset_control_get_optional_exclusive(adsp->dev, "restart"); in adsp_init_reset() 570 if (!adsp->restart) in adsp_init_reset() 571 adsp->restart = devm_reset_control_get_exclusive(adsp->dev, "cc_lpass"); in adsp_init_reset() 573 if (IS_ERR(adsp->restart)) { in adsp_init_reset() 575 return PTR_ERR(adsp->restart); in adsp_init_reset()
|
| /linux/lib/ |
| H A D | generic-radix-tree.c | 97 restart: in __genradix_iter_peek() 129 goto restart; in __genradix_iter_peek() 151 restart: in __genradix_iter_peek_prev() 186 goto restart; in __genradix_iter_peek_prev()
|
| /linux/arch/sh/kernel/ |
| H A D | reboot.c | 64 .restart = native_machine_restart, 83 machine_ops.restart(cmd); in machine_restart()
|
| /linux/drivers/net/fddi/skfp/ |
| H A D | smttimer.c | 21 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()
|
| /linux/drivers/scsi/aacraid/ |
| H A D | src.c | 887 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 …]
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_legacy_tv.c | 427 int restart; in radeon_legacy_tv_init_restarts() local 476 restart = const_ptr->def_restart; in radeon_legacy_tv_init_restarts() 489 restart -= v_offset + h_offset; in radeon_legacy_tv_init_restarts() 492 const_ptr->def_restart, tv_dac->h_pos, tv_dac->v_pos, p1, p2, restart); in radeon_legacy_tv_init_restarts() 494 tv_dac->tv.hrestart = restart % h_total; in radeon_legacy_tv_init_restarts() 495 restart /= h_total; in radeon_legacy_tv_init_restarts() 496 tv_dac->tv.vrestart = restart % v_total; in radeon_legacy_tv_init_restarts() 497 restart /= v_total; in radeon_legacy_tv_init_restarts() 498 tv_dac->tv.frestart = restart % f_total; in radeon_legacy_tv_init_restarts()
|
| /linux/arch/powerpc/platforms/44x/ |
| H A D | ppc476.c | 92 ppc_md.restart = avr_reset_system; in avr_probe() 279 .restart = ppc4xx_reset_system, in define_machine() 289 .restart = ppc4xx_reset_system, in define_machine()
|
| /linux/fs/ceph/ |
| H A D | quota.c | 229 restart: in get_quota_realm() 262 goto restart; in get_quota_realm() 293 restart: in ceph_quota_is_same_realm() 307 goto restart; in ceph_quota_is_same_realm() 348 restart: in check_quota_exceeded() 379 goto restart; in check_quota_exceeded()
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz8.c | 895 u8 restart, speed, ctrl; in ksz8_r_phy_bmcr() local 900 ret = ksz_pread8(dev, port, regs[P_NEG_RESTART_CTRL], &restart); in ksz8_r_phy_bmcr() 916 if (restart & KSZ8873_PORT_PHY_LOOPBACK) in ksz8_r_phy_bmcr() 930 if (restart & PORT_POWER_DOWN) in ksz8_r_phy_bmcr() 933 if (restart & PORT_AUTO_NEG_RESTART) in ksz8_r_phy_bmcr() 942 if (restart & PORT_FORCE_MDIX) in ksz8_r_phy_bmcr() 945 if (restart & PORT_AUTO_MDIX_DISABLE) in ksz8_r_phy_bmcr() 948 if (restart & PORT_TX_DISABLE) in ksz8_r_phy_bmcr() 951 if (restart & PORT_LED_OFF) in ksz8_r_phy_bmcr() 1141 u8 restart, speed, ctrl, restart_mask; in ksz8_w_phy_bmcr() local [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | signal.c | 182 int restart = 1; in check_syscall_restart() local 208 restart = !has_handler; in check_syscall_restart() 214 restart = !has_handler || (ka->sa.sa_flags & SA_RESTART) != 0; in check_syscall_restart() 224 if (restart) { in check_syscall_restart()
|
| /linux/arch/riscv/boot/dts/starfive/ |
| H A D | jh7100-starfive-visionfive-v1.dts | 14 gpio-restart { 15 compatible = "gpio-restart";
|