Home
last modified time | relevance | path

Searched full:shutdown (Results 1 – 25 of 2245) sorted by relevance

12345678910>>...90

/Linux-v5.15/arch/powerpc/platforms/44x/
Dwarp.c106 struct dtm_shutdown *shutdown; in pika_dtm_register_shutdown() local
108 shutdown = kmalloc(sizeof(struct dtm_shutdown), GFP_KERNEL); in pika_dtm_register_shutdown()
109 if (shutdown == NULL) in pika_dtm_register_shutdown()
112 shutdown->func = func; in pika_dtm_register_shutdown()
113 shutdown->arg = arg; in pika_dtm_register_shutdown()
115 list_add(&shutdown->list, &dtm_shutdown_list); in pika_dtm_register_shutdown()
122 struct dtm_shutdown *shutdown; in pika_dtm_unregister_shutdown() local
124 list_for_each_entry(shutdown, &dtm_shutdown_list, list) in pika_dtm_unregister_shutdown()
125 if (shutdown->func == func && shutdown->arg == arg) { in pika_dtm_unregister_shutdown()
126 list_del(&shutdown->list); in pika_dtm_unregister_shutdown()
[all …]
/Linux-v5.15/arch/arm/boot/dts/
Daspeed-bmc-ibm-everest.dts524 retain-state-shutdown;
532 retain-state-shutdown;
590 retain-state-shutdown;
598 retain-state-shutdown;
656 retain-state-shutdown;
664 retain-state-shutdown;
820 retain-state-shutdown;
828 retain-state-shutdown;
886 retain-state-shutdown;
894 retain-state-shutdown;
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/clock/
Didt,versaclock5.yaml33 The idt,shutdown and idt,output-enable-active properties control the
34 SH (en_global_shutdown) and SP bits of the Primary Source and Shutdown
42 1 0 Active/Shutdown
43 1 1 Inactive/Shutdown
81 idt,shutdown:
85 If 1, this enables the shutdown functionality: the chip will be
87 shutdown functionality: the chip will never be shut down based on
89 bit of the Primary Source and Shutdown Register.
99 Shutdown Register.
127 - idt,shutdown
[all …]
/Linux-v5.15/drivers/iio/adc/
Dmax1241.c27 struct gpio_desc *shutdown; member
77 if (adc->shutdown) { in max1241_read_raw()
78 gpiod_set_value(adc->shutdown, 0); in max1241_read_raw()
81 gpiod_set_value(adc->shutdown, 1); in max1241_read_raw()
182 adc->shutdown = devm_gpiod_get_optional(dev, "shutdown", in max1241_probe()
184 if (IS_ERR(adc->shutdown)) in max1241_probe()
185 return PTR_ERR(adc->shutdown); in max1241_probe()
187 if (adc->shutdown) in max1241_probe()
188 dev_dbg(dev, "shutdown pin passed, low-power mode enabled"); in max1241_probe()
190 dev_dbg(dev, "no shutdown pin passed, low-power mode disabled"); in max1241_probe()
/Linux-v5.15/Documentation/devicetree/bindings/fpga/
Dxilinx-pr-decoupler.txt10 Xilinx LogiCORE Dynamic Function eXchange(DFX) AXI shutdown manager
13 The Dynamic Function eXchange AXI shutdown manager prevents AXI traffic
26 "xlnx,dfx-axi-shutdown-manager-1.00" followed by
27 "xlnx,dfx-axi-shutdown-manager"
46 Dynamic Function eXchange AXI shutdown manager:
48 compatible = "xlnx,dfx-axi-shutdown-manager-1.00",
49 "xlnx,dfx-axi-shutdown-manager";
/Linux-v5.15/tools/testing/selftests/mqueue/
Dmq_perf_tests.c154 void shutdown(int exit_val, char *err_cause, int line_no);
173 void shutdown(int exit_val, char *err_cause, int line_no) in shutdown() function
191 perror("mq_close() during shutdown"); in shutdown()
217 shutdown(0, "", 0); in sig_action_SIGUSR1()
218 fprintf(stderr, "\n\nReturned from shutdown?!?!\n\n"); in sig_action_SIGUSR1()
229 shutdown(0, "", 0); in sig_action()
230 fprintf(stderr, "\n\nReturned from shutdown?!?!\n\n"); in sig_action()
240 shutdown(4, "Error reading /proc entry", __LINE__); in get()
250 return shutdown(5, "Failed writing to /proc file", __LINE__); in set()
253 return shutdown(5, "We didn't get what we wrote to /proc back", in set()
[all …]
Dmq_open_tests.c62 void shutdown(int exit_val, char *err_cause, int line_no);
79 void shutdown(int exit_val, char *err_cause, int line_no) in shutdown() function
92 perror("mq_close() during shutdown"); in shutdown()
123 shutdown(4, "Error reading /proc entry", __LINE__ - 1); in get()
133 return shutdown(5, "Failed writing to /proc file", in set()
137 return shutdown(5, "We didn't get what we wrote to /proc back", in set()
144 shutdown(6, "getrlimit()", __LINE__ - 1); in getr()
150 shutdown(7, "setrlimit()", __LINE__ - 1); in setr()
196 * test_queue - Test opening a queue, shutdown if we fail. This should
206 shutdown(1, "mq_open()", __LINE__); in test_queue()
[all …]
/Linux-v5.15/include/uapi/linux/
Dremoteproc_cdev.h17 * The RPROC_SET_SHUTDOWN_ON_RELEASE ioctl allows to enable/disable the shutdown of a remote
21 * 0 : disable automatic shutdown
22 * other : enable automatic shutdown
27 * The RPROC_GET_SHUTDOWN_ON_RELEASE ioctl gets information about whether the automatic shutdown of
32 * 0 : automatic shutdown disable
33 * other : automatic shutdown enable
/Linux-v5.15/include/xen/interface/
Dsched.h49 * of this hypercall, supporting only the commands yield, block and shutdown:
97 * Declare a shutdown for another domain. The main use of this function is
98 * in interpreting shutdown requests and reasons for fully-virtualized
105 * Latch a shutdown code, so that when the domain later shuts down it
114 * With id == 0, setup a domain watchdog timer to cause domain shutdown
134 unsigned int reason; /* SHUTDOWN_* => shutdown reason */
147 unsigned int reason; /* SHUTDOWN_* => shutdown reason */
165 * not care about the shutdown code.
181 #define SHUTDOWN_MAX 5 /* Maximum valid shutdown reason. */
/Linux-v5.15/kernel/
Dreboot.c242 * Shutdown everything and perform a clean reboot.
270 * Shutdown everything and perform a clean system halt.
286 * Shutdown everything and perform a clean system power_off.
465 pr_warn("Failed to start orderly shutdown: forcing the issue\n"); in __orderly_poweroff()
470 * emergency shutdown? in __orderly_poweroff()
492 * This may be called from any context to trigger a system shutdown.
493 * If the orderly shutdown fails, it will force an immediate shutdown.
532 * We have reached here after the emergency shutdown waiting period has in hw_failure_emergency_poweroff_func()
545 pr_emerg("Hardware protection shutdown failed. Trying emergency restart\n"); in hw_failure_emergency_poweroff_func()
555 * This may be called from any critical situation to trigger a system shutdown
[all …]
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-class-mic50 the card was previously shutdown during OSPM
69 "shutdown" Initiates card OS shutdown.
78 OS can shutdown because of various reasons. When read, this
79 entry provides the status on why the card OS was shutdown.
83 "nop" shutdown status is not applicable, when the card OS
85 "crashed" Shutdown because of a HW or SW crash.
86 "halted" Shutdown because of a halt command.
87 "poweroff" Shutdown because of a poweroff command.
88 "restart" Shutdown because of a restart command.
/Linux-v5.15/drivers/remoteproc/
Dqcom_sysmon.c117 * sysmon_request_shutdown() - request graceful shutdown of remote
124 char *req = "ssr:shutdown"; in sysmon_request_shutdown()
134 dev_err(sysmon->dev, "send sysmon shutdown request failed\n"); in sysmon_request_shutdown()
147 "unexpected response to sysmon shutdown request\n"); in sysmon_request_shutdown()
320 dev_err(sysmon->dev, "timeout waiting for shutdown ack\n"); in ssctl_request_shutdown_wait()
325 * ssctl_request_shutdown() - request shutdown via SSCTL QMI service
348 dev_err(sysmon->dev, "failed to send shutdown request\n"); in ssctl_request_shutdown()
355 dev_err(sysmon->dev, "timeout waiting for shutdown response\n"); in ssctl_request_shutdown()
357 dev_err(sysmon->dev, "shutdown request rejected\n"); in ssctl_request_shutdown()
359 dev_dbg(sysmon->dev, "shutdown request completed\n"); in ssctl_request_shutdown()
[all …]
/Linux-v5.15/net/sctp/
Dsm_statefuns.c201 * Process the final SHUTDOWN COMPLETE.
204 * Upon reception of the SHUTDOWN COMPLETE chunk the endpoint will verify
205 * that it is in SHUTDOWN-ACK-SENT state, if it is not the chunk should be
206 * discarded. If the endpoint is in the SHUTDOWN-ACK-SENT state the endpoint
207 * should stop the T2-shutdown timer and remove all knowledge of the
211 * C) Rules for packet carrying SHUTDOWN COMPLETE:
213 * - The receiver of a SHUTDOWN COMPLETE shall accept the packet
221 * SHUTDOWN COMPLETE if it is not in the SHUTDOWN-ACK-SENT state.
246 * SHUTDOWN COMPLETE with any other chunks. in sctp_sf_do_4_C()
258 * H) SHUTDOWN COMPLETE notification in sctp_sf_do_4_C()
[all …]
/Linux-v5.15/drivers/cxl/
Dcxlmem.h33 * @fops: file operations that are synchronized against @shutdown
34 * @shutdown: disconnect driver data
36 * @shutdown is invoked in the devres release path to disconnect any
38 * fops operation that requires driver data. After @shutdown an
43 void (*shutdown)(struct device *dev); member
/Linux-v5.15/drivers/virt/acrn/
Dirqfd.c26 * @shutdown: Async shutdown work
35 struct work_struct shutdown; member
68 irqfd = container_of(work, struct hsm_irqfd, shutdown); in hsm_irqfd_shutdown_work()
91 /* Do shutdown work in thread to hold wqh->lock */ in hsm_irqfd_wakeup()
92 queue_work(vm->irqfd_wq, &irqfd->shutdown); in hsm_irqfd_wakeup()
126 INIT_WORK(&irqfd->shutdown, hsm_irqfd_shutdown_work); in acrn_irqfd_assign()
/Linux-v5.15/Documentation/ABI/stable/
Dsysfs-driver-firmware-zynqmp61 This sysfs interface allows to set the shutdown scope for the
62 next shutdown request. When the next shutdown is performed, the
64 shutdown scope.
66 Following are available shutdown scopes(subtypes):
/Linux-v5.15/Documentation/devicetree/bindings/sound/
Dadi,ssm2305.txt6 - shutdown-gpios : The gpio connected to the shutdown pin.
13 shutdown-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;
Dmaxim,max9759.txt6 - shutdown-gpios : the gpio connected to the shutdown pin
14 shutdown-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;
/Linux-v5.15/drivers/xen/
Dmanage.c3 * Handle extern requests for shutdown, reboot and sysrq
40 /* Ignore multiple shutdown requests. */
200 pr_info("Ignoring Xen toolstack shutdown.\n"); in do_poweroff()
236 str = (char *)xenbus_read(xbt, "control", "shutdown", NULL); in shutdown_handler()
250 xenbus_write(xbt, "control", "shutdown", ""); in shutdown_handler()
261 pr_info("Ignoring shutdown request: %s\n", str); in shutdown_handler()
321 .node = "control/shutdown",
338 pr_err("Failed to set shutdown watcher\n"); in setup_shutdown_watcher()
/Linux-v5.15/Documentation/sound/soc/
Dpops-clicks.rst23 shutdown and follows some basic rules:-
28 Shutdown Order :- Digital Mute --> Output PGA --> Mixers --> DAC
40 startup or shutdown.
45 Shutdown Order - ADC --> Mixers --> Input PGA
/Linux-v5.15/drivers/s390/char/
Dhmcdrv_ftp.c28 * @shutdown: shutdown function
33 void (*shutdown)(void); member
43 static unsigned hmcdrv_ftp_refcnt; /* start/shutdown reference counter */
296 .shutdown = diag_ftp_shutdown, in hmcdrv_ftp_startup()
302 .shutdown = sclp_ftp_shutdown, in hmcdrv_ftp_startup()
331 * hmcdrv_ftp_shutdown() - shutdown of HMC drive FTP functionality for a
340 hmcdrv_ftp_funcs->shutdown(); in hmcdrv_ftp_shutdown()
/Linux-v5.15/sound/soc/codecs/
Dssm2305.c15 /* shutdown gpio */
69 /* Get shutdown gpio */ in ssm2305_probe()
70 priv->gpiod_shutdown = devm_gpiod_get(dev, "shutdown", in ssm2305_probe()
75 dev_err(dev, "Failed to get 'shutdown' gpio: %d\n", in ssm2305_probe()
/Linux-v5.15/drivers/scsi/elx/libefc/
Defc_device.c54 /* Handle shutdown events */ in __efc_d_common()
126 /* ignore shutdown events as we're already in shutdown path */ in __efc_d_wait_del_node()
128 /* have default shutdown event take precedence */ in __efc_d_wait_del_node()
179 /* ignore shutdown events as we're already in shutdown path */ in __efc_d_wait_del_ini_tgt()
181 /* have default shutdown event take precedence */ in __efc_d_wait_del_ini_tgt()
283 * later in shutdown process in __efc_d_initiate_shutdown()
429 /* LOGO response received, sent shutdown */ in __efc_d_wait_logo_rsp()
437 "LOGO sent (evt=%s), shutdown node\n", in __efc_d_wait_logo_rsp()
738 case EFC_EVT_LOGO_RCVD: /* why don't we do a shutdown here?? */ in __efc_d_wait_plogi_rsp()
775 /* PLOGI failed, shutdown the node */ in __efc_d_wait_plogi_rsp()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/mfd/
Dmax77620.txt74 power off (shutdown).
91 -maxim,shutdown-fps-time-period-us: u32, FPS time period in microseconds
92 when system enters in to shutdown
148 maxim,shutdown-fps-time-period-us = <1280>;
153 maxim,shutdown-fps-time-period-us = <1280>;
158 maxim,shutdown-fps-time-period-us = <1280>;
/Linux-v5.15/drivers/base/
Dsyscore.c112 * syscore_shutdown - Execute all the registered system core shutdown callbacks.
121 if (ops->shutdown) { in syscore_shutdown()
123 pr_info("PM: Calling %pS\n", ops->shutdown); in syscore_shutdown()
124 ops->shutdown(); in syscore_shutdown()

12345678910>>...90