Home
last modified time | relevance | path

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

12345678910>>...180

/kernel/linux/linux-6.6/arch/arm/boot/dts/aspeed/
Daspeed-bmc-ibm-rainier.dts374 retain-state-shutdown;
382 retain-state-shutdown;
456 retain-state-shutdown;
464 retain-state-shutdown;
493 retain-state-shutdown;
501 retain-state-shutdown;
598 retain-state-shutdown;
606 retain-state-shutdown;
614 retain-state-shutdown;
622 retain-state-shutdown;
[all …]
Daspeed-bmc-ibm-everest.dts449 retain-state-shutdown;
457 retain-state-shutdown;
485 retain-state-shutdown;
493 retain-state-shutdown;
521 retain-state-shutdown;
529 retain-state-shutdown;
594 retain-state-shutdown;
602 retain-state-shutdown;
630 retain-state-shutdown;
638 retain-state-shutdown;
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/drivers/iio/adc/
Dmax1241.c26 struct gpio_desc *shutdown; member
76 if (adc->shutdown) { in max1241_read_raw()
77 gpiod_set_value(adc->shutdown, 0); in max1241_read_raw()
80 gpiod_set_value(adc->shutdown, 1); in max1241_read_raw()
158 adc->shutdown = devm_gpiod_get_optional(dev, "shutdown", in max1241_probe()
160 if (IS_ERR(adc->shutdown)) in max1241_probe()
161 return dev_err_probe(dev, PTR_ERR(adc->shutdown), in max1241_probe()
162 "cannot get shutdown gpio\n"); in max1241_probe()
164 if (adc->shutdown) in max1241_probe()
165 dev_dbg(dev, "shutdown pin passed, low-power mode enabled"); in max1241_probe()
[all …]
/kernel/linux/linux-6.6/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
83 idt,shutdown:
87 If 1, this enables the shutdown functionality: the chip will be
89 shutdown functionality: the chip will never be shut down based on
91 bit of the Primary Source and Shutdown Register.
101 Shutdown Register.
129 - idt,shutdown
[all …]
/kernel/linux/linux-5.10/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()
184 adc->shutdown = devm_gpiod_get_optional(dev, "shutdown", in max1241_probe()
186 if (IS_ERR(adc->shutdown)) in max1241_probe()
187 return PTR_ERR(adc->shutdown); in max1241_probe()
189 if (adc->shutdown) in max1241_probe()
190 dev_dbg(dev, "shutdown pin passed, low-power mode enabled"); in max1241_probe()
192 dev_dbg(dev, "no shutdown pin passed, low-power mode disabled"); in max1241_probe()
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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
194 perror("mq_close() during shutdown"); in shutdown()
220 shutdown(0, "", 0); in sig_action_SIGUSR1()
221 fprintf(stderr, "\n\nReturned from shutdown?!?!\n\n"); in sig_action_SIGUSR1()
232 shutdown(0, "", 0); in sig_action()
233 fprintf(stderr, "\n\nReturned from shutdown?!?!\n\n"); in sig_action()
243 shutdown(4, "Error reading /proc entry", __LINE__); in get()
253 return shutdown(5, "Failed writing to /proc file", __LINE__); in set()
256 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 …]
/kernel/linux/linux-5.10/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
194 perror("mq_close() during shutdown"); in shutdown()
220 shutdown(0, "", 0); in sig_action_SIGUSR1()
221 fprintf(stderr, "\n\nReturned from shutdown?!?!\n\n"); in sig_action_SIGUSR1()
232 shutdown(0, "", 0); in sig_action()
233 fprintf(stderr, "\n\nReturned from shutdown?!?!\n\n"); in sig_action()
243 shutdown(4, "Error reading /proc entry", __LINE__); in get()
253 return shutdown(5, "Failed writing to /proc file", __LINE__); in set()
256 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 …]
/kernel/linux/linux-6.6/include/xen/interface/
Dsched.h32 * of this hypercall, supporting only the commands yield, block and shutdown:
80 * Declare a shutdown for another domain. The main use of this function is
81 * in interpreting shutdown requests and reasons for fully-virtualized
88 * Latch a shutdown code, so that when the domain later shuts down it
97 * With id == 0, setup a domain watchdog timer to cause domain shutdown
117 unsigned int reason; /* SHUTDOWN_* => shutdown reason */
130 unsigned int reason; /* SHUTDOWN_* => shutdown reason */
148 * not care about the shutdown code.
164 #define SHUTDOWN_MAX 5 /* Maximum valid shutdown reason. */
/kernel/linux/linux-5.10/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. */
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/fpga/
Dxlnx,pr-decoupler.yaml7 title: Xilinx LogiCORE Partial Reconfig Decoupler/AXI shutdown manager Softcore
18 Xilinx LogiCORE Dynamic Function eXchange(DFX) AXI shutdown manager Softcore
20 eXchange AXI shutdown manager prevents AXI traffic from passing through the
35 - const: xlnx,dfx-axi-shutdown-manager-1.00
36 - const: xlnx,dfx-axi-shutdown-manager
/kernel/linux/linux-5.10/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.
/kernel/linux/linux-6.6/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.
/kernel/linux/linux-6.6/drivers/iio/pressure/
Dmpl115.c31 struct gpio_desc *shutdown; member
200 data->shutdown = devm_gpiod_get_optional(dev, "shutdown", in mpl115_probe()
202 if (IS_ERR(data->shutdown)) in mpl115_probe()
203 return dev_err_probe(dev, PTR_ERR(data->shutdown), in mpl115_probe()
204 "cannot get shutdown gpio\n"); in mpl115_probe()
206 if (data->shutdown) { in mpl115_probe()
234 gpiod_set_value(data->shutdown, 1); in mpl115_runtime_suspend()
243 gpiod_set_value(data->shutdown, 0); in mpl115_runtime_resume()
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dmaxim,max9759.yaml16 shutdown-gpios:
18 description: the gpio connected to the shutdown pin
30 - shutdown-gpios
41 shutdown-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/net/sctp/
Dsm_statefuns.c194 * Process the final SHUTDOWN COMPLETE.
197 * Upon reception of the SHUTDOWN COMPLETE chunk the endpoint will verify
198 * that it is in SHUTDOWN-ACK-SENT state, if it is not the chunk should be
199 * discarded. If the endpoint is in the SHUTDOWN-ACK-SENT state the endpoint
200 * should stop the T2-shutdown timer and remove all knowledge of the
204 * C) Rules for packet carrying SHUTDOWN COMPLETE:
206 * - The receiver of a SHUTDOWN COMPLETE shall accept the packet
214 * SHUTDOWN COMPLETE if it is not in the SHUTDOWN-ACK-SENT state.
239 * SHUTDOWN COMPLETE with any other chunks. in sctp_sf_do_4_C()
251 * H) SHUTDOWN COMPLETE notification in sctp_sf_do_4_C()
[all …]
/kernel/linux/linux-6.6/drivers/firmware/arm_scmi/
Dscmi_power_control.c16 * (orderly_poweroff/reboot()) used by ACPI when handling ACPI Shutdown bus
30 * try to perform a clean sync and shutdown/restart before the power is cut.
33 * charge of triggering system wide shutdown/reboot events, there should be
42 * this driver and the shutdown/reboot is started, any further notification
199 * @timeout_ms: The desired timeout to wait for the shutdown to complete before
200 * system is forcibly shutdown.
203 * co-operation: it uses the same orderly_ methods used by ACPI Shutdown event
244 * forced shutdown. in scmi_request_graceful_transition()
309 /* Leaving a trace in logs of who triggered the shutdown/reboot. */ in scmi_userspace_notifier()
310 dev_info(sc->dev, "Serving shutdown/reboot request: %d\n", in scmi_userspace_notifier()
/kernel/linux/linux-6.6/drivers/virt/acrn/
Dirqfd.c25 * @shutdown: Async shutdown work
34 struct work_struct shutdown; member
67 irqfd = container_of(work, struct hsm_irqfd, shutdown); in hsm_irqfd_shutdown_work()
90 /* Do shutdown work in thread to hold wqh->lock */ in hsm_irqfd_wakeup()
91 queue_work(vm->irqfd_wq, &irqfd->shutdown); in hsm_irqfd_wakeup()
125 INIT_WORK(&irqfd->shutdown, hsm_irqfd_shutdown_work); in acrn_irqfd_assign()
/kernel/linux/linux-5.10/drivers/remoteproc/
Dqcom_sysmon.c117 * sysmon_request_shutdown() - request graceful shutdown of remote
122 char *req = "ssr:shutdown"; in sysmon_request_shutdown()
131 dev_err(sysmon->dev, "send sysmon shutdown request failed\n"); in sysmon_request_shutdown()
144 "unexpected response to sysmon shutdown request\n"); in sysmon_request_shutdown()
302 * ssctl_request_shutdown() - request shutdown via SSCTL QMI service
322 dev_err(sysmon->dev, "failed to send shutdown request\n"); in ssctl_request_shutdown()
331 dev_err(sysmon->dev, "shutdown request failed\n"); in ssctl_request_shutdown()
333 dev_dbg(sysmon->dev, "shutdown request completed\n"); in ssctl_request_shutdown()
342 "timeout waiting for shutdown ack\n"); in ssctl_request_shutdown()
378 dev_err(sysmon->dev, "failed to send shutdown request\n"); in ssctl_send_event()
[all …]

12345678910>>...180