Home
last modified time | relevance | path

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

12345678910>>...23

/linux/drivers/power/reset/
H A Datc260x-poweroff.c19 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 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.
84 This driver provides restart support for Cirrus EP93XX SoC.
87 to have restart support.
107 bool "GPIO restart driver"
[all …]
H A 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()
H A DMakefile10 obj-$(CONFIG_POWER_RESET_EP93XX) += ep93xx-restart.o
13 obj-$(CONFIG_POWER_RESET_GPIO_RESTART) += gpio-restart.o
25 obj-$(CONFIG_POWER_RESET_RESTART) += restart-poweroff.o
27 obj-$(CONFIG_POWER_RESET_TPS65086) += tps65086-restart.o
/linux/arch/arm/mach-omap2/
H A Dboard-generic.c62 .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 DMakefile57 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/kernel/futex/
H A Dwaitwake.c335 static long futex_wait_restart(struct restart_block *restart);
691 struct restart_block *restart; in futex_wait() local
707 restart = &current->restart_block; in futex_wait()
708 restart->futex.uaddr = uaddr; in futex_wait()
709 restart->futex.val = val; in futex_wait()
710 restart->futex.time = *abs_time; in futex_wait()
711 restart->futex.bitset = bitset; in futex_wait()
712 restart->futex.flags = flags | FLAGS_HAS_TIMEOUT; in futex_wait()
714 return set_restart_fn(restart, futex_wait_restart); in futex_wait()
720 static long futex_wait_restart(struct restart_block *restart) in futex_wait_restart() argument
[all …]
/linux/arch/openrisc/kernel/
H A Dsignal.c270 int restart = 0; in do_signal() local
283 restart = -2; in do_signal()
288 restart++; in do_signal()
302 if (unlikely(restart) && regs->pc == restart_addr) { in do_signal()
320 if (unlikely(restart) && regs->pc == restart_addr) { in do_signal()
322 return restart; in do_signal()
340 int restart = do_signal(regs, syscall); in do_work_pending() local
341 if (unlikely(restart)) { in do_work_pending()
347 return restart; in do_work_pending()
/linux/arch/nios2/kernel/
H A Dsignal.c237 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 Dst-reset.txt4 - compatible: should be "stih407-restart".
8 restart {
9 compatible = "st,stih407-restart";
/linux/arch/arm/mach-pxa/
H A Dpxa-dt.c20 .restart = pxa_restart,
33 .restart = pxa_restart,
48 .restart = pxa_restart,
/linux/arch/arm/mach-mvebu/
H A Dboard-v7.c164 .restart = mvebu_restart,
180 .restart = mvebu_restart,
194 .restart = mvebu_restart,
208 .restart = mvebu_restart,
/linux/kernel/time/
H A Dalarmtimer.c719 struct restart_block *restart; in alarmtimer_do_nsleep() local
739 restart = &current->restart_block; in alarmtimer_do_nsleep()
740 if (restart->nanosleep.type != TT_NONE) { in alarmtimer_do_nsleep()
750 return nanosleep_copyout(restart, &rmt); in alarmtimer_do_nsleep()
770 static long __sched alarm_timer_nsleep_restart(struct restart_block *restart) in alarm_timer_nsleep_restart() argument
772 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart()
773 ktime_t exp = restart->nanosleep.expires; in alarm_timer_nsleep_restart()
793 struct restart_block *restart = &current->restart_block; in alarm_timer_nsleep() local
827 restart->nanosleep.clockid = type; in alarm_timer_nsleep()
828 restart->nanosleep.expires = exp; in alarm_timer_nsleep()
[all …]
H A Dhrtimer.c1129 bool restart, bool keep_local) in remove_hrtimer() argument
1153 if (!restart) in remove_hrtimer()
1703 int restart; in __run_hrtimer() local
1739 restart = fn(timer); in __run_hrtimer()
1754 if (restart != HRTIMER_NORESTART && in __run_hrtimer()
2051 int nanosleep_copyout(struct restart_block *restart, struct timespec64 *ts) in nanosleep_copyout() argument
2053 switch(restart->nanosleep.type) { in nanosleep_copyout()
2056 if (put_old_timespec32(ts, restart->nanosleep.compat_rmtp)) in nanosleep_copyout()
2061 if (put_timespec64(ts, restart->nanosleep.rmtp)) in nanosleep_copyout()
2072 struct restart_block *restart; in do_nanosleep() local
[all …]
/linux/drivers/media/i2c/
H A 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 …]
/linux/drivers/watchdog/
H A 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,
/linux/sound/pci/rme9652/
H A Drme9652.c428 int restart = 0; in rme9652_set_interrupt_interval() local
433 restart = s->running; in rme9652_set_interrupt_interval()
434 if (restart) in rme9652_set_interrupt_interval()
451 if (restart) in rme9652_set_interrupt_interval()
461 int restart; in rme9652_set_rate() local
518 restart = rme9652->running; in rme9652_set_rate()
519 if (restart) in rme9652_set_rate()
525 if (restart) in rme9652_set_rate()
867 int restart = 0; in rme9652_set_adat1_input() local
877 restart = rme9652->running; in rme9652_set_adat1_input()
[all …]
/linux/arch/arm/kernel/
H A Dsignal.c541 int restart = 0; in do_signal() local
557 restart -= 2; in do_signal()
562 restart++; in do_signal()
580 if (unlikely(restart) && regs->ARM_pc == restart_addr) { in do_signal()
593 if (unlikely(restart) && regs->ARM_pc == restart_addr) { in do_signal()
595 return restart; in do_signal()
618 int restart = do_signal(regs, syscall); in do_work_pending() local
619 if (unlikely(restart)) { in do_work_pending()
625 return restart; in do_work_pending()
/linux/drivers/slimbus/
H A 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()
/linux/arch/powerpc/platforms/embedded6xx/
H A Dwii.c131 if (ppc_md.restart) in wii_halt()
132 ppc_md.restart(NULL); in wii_halt()
174 .restart = wii_restart, in define_machine()
/linux/lib/
H A Dgeneric-radix-tree.c97 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 Dreboot.c64 .restart = native_machine_restart,
83 machine_ops.restart(cmd); in machine_restart()
/linux/drivers/net/dsa/microchip/
H A Dksz8.c880 u8 restart, speed, ctrl; in ksz8_r_phy_bmcr() local
885 ret = ksz_pread8(dev, port, regs[P_NEG_RESTART_CTRL], &restart); in ksz8_r_phy_bmcr()
901 if (restart & KSZ8873_PORT_PHY_LOOPBACK) in ksz8_r_phy_bmcr()
915 if (restart & PORT_POWER_DOWN) in ksz8_r_phy_bmcr()
918 if (restart & PORT_AUTO_NEG_RESTART) in ksz8_r_phy_bmcr()
927 if (restart & PORT_FORCE_MDIX) in ksz8_r_phy_bmcr()
930 if (restart & PORT_AUTO_MDIX_DISABLE) in ksz8_r_phy_bmcr()
933 if (restart & PORT_TX_DISABLE) in ksz8_r_phy_bmcr()
936 if (restart & PORT_LED_OFF) in ksz8_r_phy_bmcr()
1126 u8 restart, speed, ctrl, restart_mask; in ksz8_w_phy_bmcr() local
[all …]
/linux/drivers/net/fddi/skfp/
H A 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()
/linux/drivers/scsi/aacraid/
H A 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 …]

12345678910>>...23