Home
last modified time | relevance | path

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

12345678910>>...91

/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-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-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-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
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 …]
/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-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-5.10/net/sctp/
Dsm_statefuns.c188 * Process the final SHUTDOWN COMPLETE.
191 * Upon reception of the SHUTDOWN COMPLETE chunk the endpoint will verify
192 * that it is in SHUTDOWN-ACK-SENT state, if it is not the chunk should be
193 * discarded. If the endpoint is in the SHUTDOWN-ACK-SENT state the endpoint
194 * should stop the T2-shutdown timer and remove all knowledge of the
198 * C) Rules for packet carrying SHUTDOWN COMPLETE:
200 * - The receiver of a SHUTDOWN COMPLETE shall accept the packet
208 * SHUTDOWN COMPLETE if it is not in the SHUTDOWN-ACK-SENT state.
233 * SHUTDOWN COMPLETE with any other chunks. in sctp_sf_do_4_C()
245 * H) SHUTDOWN COMPLETE notification in sctp_sf_do_4_C()
[all …]
/kernel/linux/linux-5.10/drivers/remoteproc/
Dqcom_sysmon.c116 * sysmon_request_shutdown() - request graceful shutdown of remote
121 char *req = "ssr:shutdown"; in sysmon_request_shutdown()
130 dev_err(sysmon->dev, "send sysmon shutdown request failed\n"); in sysmon_request_shutdown()
143 "unexpected response to sysmon shutdown request\n"); in sysmon_request_shutdown()
301 * ssctl_request_shutdown() - request shutdown via SSCTL QMI service
321 dev_err(sysmon->dev, "failed to send shutdown request\n"); in ssctl_request_shutdown()
330 dev_err(sysmon->dev, "shutdown request failed\n"); in ssctl_request_shutdown()
332 dev_dbg(sysmon->dev, "shutdown request completed\n"); in ssctl_request_shutdown()
341 "timeout waiting for shutdown ack\n"); in ssctl_request_shutdown()
377 dev_err(sysmon->dev, "failed to send shutdown request\n"); in ssctl_send_event()
[all …]
/kernel/linux/linux-5.10/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):
/kernel/linux/linux-5.10/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>;
/kernel/linux/linux-5.10/kernel/
Dtorture.c54 /* Mediate rmmod and system shutdown. Concurrent rmmod & shutdown illegal! */
56 #define FULLSTOP_SHUTDOWN 1 /* System shutdown with torture running. */
478 * Variables for auto-shutdown. This allows "lights out" torture runs
482 static ktime_t shutdown_time; /* time to system shutdown. */
492 pr_notice("torture thread %s parking due to system shutdown\n", in torture_shutdown_absorb()
500 * Cause the torture test to shutdown the system after the test has
540 * Start up the shutdown task.
555 * Detect and respond to a system shutdown.
562 VERBOSE_TOROUT_STRING("Unscheduled system shutdown detected"); in torture_shutdown_notify()
565 pr_warn("Concurrent rmmod and shutdown illegal!\n"); in torture_shutdown_notify()
[all …]
/kernel/linux/linux-5.10/drivers/xen/
Dmanage.c3 * Handle extern requests for shutdown, reboot and sysrq
40 /* Ignore multiple shutdown requests. */
199 pr_info("Ignoring Xen toolstack shutdown.\n"); in do_poweroff()
235 str = (char *)xenbus_read(xbt, "control", "shutdown", NULL); in shutdown_handler()
249 xenbus_write(xbt, "control", "shutdown", ""); in shutdown_handler()
260 pr_info("Ignoring shutdown request: %s\n", str); in shutdown_handler()
320 .node = "control/shutdown",
337 pr_err("Failed to set shutdown watcher\n"); in setup_shutdown_watcher()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/Documentation/core-api/
Dcpu_hotplug.rst54 Allow to shutdown CPU0.
116 off (0) state. To logically shutdown CPU4: ::
121 Once the CPU is shutdown, it will be removed from */proc/interrupts*,
131 shutdown CPU0. Alternatively the kernel command option *cpu0_hotplug* can be
145 Once a CPU has been logically shutdown the teardown callbacks of registered
176 CPU is shutdown. All resources which were previously allocated in
219 goes online (offline) and during initial setup (shutdown) of the driver. However
239 * The states are invoked in the reverse order on CPU shutdown starting with
241 invoked on the CPU that will be shutdown until *CPUHP_AP_OFFLINE*.
244 However if an earlier invocation during the bring up or shutdown is required
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
Dsclp_quiesce.c25 /* Shutdown handler. Signal completion of shutdown by loading special PSW. */
37 /* Handler for quiesce event. Start shutdown procedure. */
/kernel/linux/linux-5.10/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>;
/kernel/linux/linux-5.10/drivers/phy/marvell/
DKconfig82 SoC. This driver will do the PHY initialization and shutdown.
93 SoC. This driver will do the PHY initialization and shutdown.
104 SoC. This driver will do the PHY initialization and shutdown.
115 SoC. This driver will do the PHY initialization and shutdown.
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
Dadf_vf2pf_msg.c31 * adf_vf2pf_notify_shutdown() - send shutdown msg to PF
34 * Function sends a shutdown message from the VF to a PF
46 "Failed to send Shutdown event to PF\n"); in adf_vf2pf_notify_shutdown()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/
Dtoshiba,tc358767.txt11 - shutdown-gpios: OF device-tree gpio specification for SD pin
12 (active high shutdown input)
29 shutdown-gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
/kernel/linux/linux-5.10/arch/sh/include/mach-landisk/mach/
Diodata_landisk.h21 #define PA_SHUTDOWN 0xb0000003 /* Shutdown Control Register */
24 /* 2003.10.31 I-O DATA NSD NWG add. for shutdown port clear */
25 #define PA_PWRINT_CLR 0xb0000006 /* Shutdown Interrupt clear Register */

12345678910>>...91