Home
last modified time | relevance | path

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

12345678910>>...71

/linux/drivers/iio/adc/
H A 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 …]
/linux/tools/testing/selftests/mqueue/
H A 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 …]
H A 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/include/uapi/linux/
H A 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/Documentation/devicetree/bindings/clock/
H A 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.
180 idt,shutdown = <0>;
/linux/include/xen/interface/
H A 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. */
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-ibm-system1.dts567 retain-state-shutdown;
575 retain-state-shutdown;
583 retain-state-shutdown;
591 retain-state-shutdown;
599 retain-state-shutdown;
607 retain-state-shutdown;
615 retain-state-shutdown;
623 retain-state-shutdown;
631 retain-state-shutdown;
639 retain-state-shutdown;
[all …]
H A Daspeed-bmc-facebook-bletchley.dts66 retain-state-shutdown;
71 retain-state-shutdown;
76 retain-state-shutdown;
81 retain-state-shutdown;
86 retain-state-shutdown;
91 retain-state-shutdown;
96 retain-state-shutdown;
101 retain-state-shutdown;
110 retain-state-shutdown;
115 retain-state-shutdown;
[all …]
/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Dlog.h12 * @shutdown: pointer to function to call to clean up
17 * The @shutdown function is called when the module exits. It should free all
22 void (*shutdown)(struct nvif_log *log); member
41 /* shutdown() should also delete the log entry */ in nvif_log_shutdown()
42 log->shutdown(log); in nvif_log_shutdown()
/linux/Documentation/ABI/testing/
H A 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/net/sctp/
H A Dsm_statefuns.c203 * Process the final SHUTDOWN COMPLETE.
206 * Upon reception of the SHUTDOWN COMPLETE chunk the endpoint will verify
207 * that it is in SHUTDOWN-ACK-SENT state, if it is not the chunk should be
208 * discarded. If the endpoint is in the SHUTDOWN-ACK-SENT state the endpoint
209 * should stop the T2-shutdown timer and remove all knowledge of the
213 * C) Rules for packet carrying SHUTDOWN COMPLETE:
215 * - The receiver of a SHUTDOWN COMPLETE shall accept the packet
223 * SHUTDOWN COMPLETE if it is not in the SHUTDOWN-ACK-SENT state.
248 * SHUTDOWN COMPLETE with any other chunks. in sctp_sf_do_4_C()
260 * H) SHUTDOWN COMPLETE notification in sctp_sf_do_4_C()
[all …]
/linux/Documentation/devicetree/bindings/fpga/
H A Dxlnx,pr-decoupler.yaml7 title: Xilinx LogiCORE Partial Reconfig Decoupler/AXI shutdown manager Softcore
21 Xilinx LogiCORE Dynamic Function eXchange(DFX) AXI shutdown manager Softcore
23 eXchange AXI shutdown manager prevents AXI traffic from passing through the
38 - const: xlnx,dfx-axi-shutdown-manager-1.00
39 - const: xlnx,dfx-axi-shutdown-manager
/linux/Documentation/devicetree/bindings/sound/
H A 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>;
H A Dadi,ssm2305.txt6 - shutdown-gpios : The gpio connected to the shutdown pin.
13 shutdown-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;
/linux/drivers/virt/acrn/
H A Dirqfd.c23 * @shutdown: Async shutdown work
32 struct work_struct shutdown; member
65 irqfd = container_of(work, struct hsm_irqfd, shutdown); in hsm_irqfd_shutdown_work()
88 /* Do shutdown work in thread to hold wqh->lock */ in hsm_irqfd_wakeup()
89 queue_work(vm->irqfd_wq, &irqfd->shutdown); in hsm_irqfd_wakeup()
122 INIT_WORK(&irqfd->shutdown, hsm_irqfd_shutdown_work); in acrn_irqfd_assign()
/linux/drivers/firmware/arm_scmi/
H A 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
203 * @timeout_ms: The desired timeout to wait for the shutdown to complete before
204 * system is forcibly shutdown.
207 * co-operation: it uses the same orderly_ methods used by ACPI Shutdown event
248 * forced shutdown. in scmi_request_graceful_transition()
317 /* Leaving a trace in logs of who triggered the shutdown/reboot. */ in scmi_userspace_notifier()
318 dev_info(sc->dev, "Serving shutdown/reboot request: %d\n", in scmi_userspace_notifier()
/linux/drivers/xen/
H A Dmanage.c3 * Handle extern requests for shutdown, reboot and sysrq
41 /* Ignore multiple shutdown requests. */
204 pr_info("Ignoring Xen toolstack shutdown.\n"); in do_poweroff()
240 str = (char *)xenbus_read(xbt, "control", "shutdown", NULL); in shutdown_handler()
254 xenbus_write(xbt, "control", "shutdown", ""); in shutdown_handler()
265 pr_info("Ignoring shutdown request: %s\n", str); in shutdown_handler()
325 .node = "control/shutdown",
342 pr_err("Failed to set shutdown watcher\n"); in setup_shutdown_watcher()
/linux/drivers/scsi/elx/libefc/
H A 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/Documentation/sound/soc/
H A 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/sound/soc/codecs/
H A Dssm2305.c15 /* shutdown gpio */
68 /* Get shutdown gpio */ in ssm2305_probe()
69 priv->gpiod_shutdown = devm_gpiod_get(dev, "shutdown", in ssm2305_probe()
73 "Failed to get 'shutdown' gpio\n"); in ssm2305_probe()
/linux/Documentation/devicetree/bindings/mfd/
H A 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/Documentation/devicetree/bindings/leds/backlight/
H A Dmediatek,mt6370-backlight.yaml57 mediatek,bled-ovp-shutdown:
59 Enable the backlight shutdown when OVP level triggered
67 mediatek,bled-ocp-shutdown:
69 Enable the backlight shutdown when OCP level triggered.
/linux/drivers/base/
H A 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()
/linux/Documentation/devicetree/bindings/net/
H A Drfkill-gpio.yaml32 shutdown-gpios:
42 - shutdown-gpios
54 shutdown-gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
/linux/drivers/s390/char/
H A Dsclp_quiesce.c21 /* Shutdown handler. Signal completion of shutdown by loading special PSW. */
33 /* Handler for quiesce event. Start shutdown procedure. */

12345678910>>...71