/linux/drivers/iio/adc/ |
H A D | max1241.c | 26 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 D | mq_perf_tests.c | 154 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 D | mq_open_tests.c | 62 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 D | remoteproc_cdev.h | 17 * 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 D | idt,versaclock5.yaml | 33 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 D | sched.h | 32 * 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/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | log.h | 12 * @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/drivers/remoteproc/ |
H A D | qcom_sysmon.c | 117 * 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/Documentation/ABI/testing/ |
H A D | sysfs-class-mic | 50 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/drivers/iio/pressure/ |
H A D | mpl115.c | 31 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()
|
/linux/net/sctp/ |
H A D | sm_statefuns.c | 202 * Process the final SHUTDOWN COMPLETE. 205 * Upon reception of the SHUTDOWN COMPLETE chunk the endpoint will verify 206 * that it is in SHUTDOWN-ACK-SENT state, if it is not the chunk should be 207 * discarded. If the endpoint is in the SHUTDOWN-ACK-SENT state the endpoint 208 * should stop the T2-shutdown timer and remove all knowledge of the 212 * C) Rules for packet carrying SHUTDOWN COMPLETE: 214 * - The receiver of a SHUTDOWN COMPLETE shall accept the packet 222 * SHUTDOWN COMPLETE if it is not in the SHUTDOWN-ACK-SENT state. 247 * SHUTDOWN COMPLETE with any other chunks. in sctp_sf_do_4_C() 259 * H) SHUTDOWN COMPLETE notification in sctp_sf_do_4_C() [all …]
|
/linux/Documentation/devicetree/bindings/fpga/ |
H A D | xlnx,pr-decoupler.yaml | 7 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/drivers/firmware/arm_scmi/ |
H A D | scmi_power_control.c | 16 * (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 202 * @timeout_ms: The desired timeout to wait for the shutdown to complete before 203 * system is forcibly shutdown. 206 * co-operation: it uses the same orderly_ methods used by ACPI Shutdown event 247 * forced shutdown. in scmi_request_graceful_transition() 316 /* Leaving a trace in logs of who triggered the shutdown/reboot. */ in scmi_userspace_notifier() 317 dev_info(sc->dev, "Serving shutdown/reboot request: %d\n", in scmi_userspace_notifier()
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | maxim,max9759.yaml | 16 shutdown-gpios: 18 description: the gpio connected to the shutdown pin 30 - shutdown-gpios 41 shutdown-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;
|
H A D | adi,ssm2305.txt | 6 - shutdown-gpios : The gpio connected to the shutdown pin. 13 shutdown-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-facebook-bletchley.dts | 70 retain-state-shutdown; 75 retain-state-shutdown; 80 retain-state-shutdown; 85 retain-state-shutdown; 90 retain-state-shutdown; 95 retain-state-shutdown; 100 retain-state-shutdown; 105 retain-state-shutdown; 114 retain-state-shutdown; 119 retain-state-shutdown; [all …]
|
/linux/drivers/virt/acrn/ |
H A D | irqfd.c | 25 * @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() 124 INIT_WORK(&irqfd->shutdown, hsm_irqfd_shutdown_work); in acrn_irqfd_assign()
|
/linux/drivers/xen/ |
H A D | manage.c | 3 * 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/drivers/scsi/elx/libefc/ |
H A D | efc_device.c | 54 /* 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/drivers/s390/char/ |
H A D | hmcdrv_ftp.c | 28 * @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/Documentation/sound/soc/ |
H A D | pops-clicks.rst | 23 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 D | ssm2305.c | 15 /* 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 D | max77620.txt | 74 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/kernel/ |
H A D | torture.c | 65 /* Mediate rmmod and system shutdown. Concurrent rmmod & shutdown illegal! */ 67 #define FULLSTOP_SHUTDOWN 1 /* System shutdown with torture running. */ 607 * Variables for auto-shutdown. This allows "lights out" torture runs 611 static ktime_t shutdown_time; /* time to system shutdown. */ 621 pr_notice("torture thread %s parking due to system shutdown\n", in torture_shutdown_absorb() 629 * Cause the torture test to shutdown the system after the test has 669 * Start up the shutdown task. 684 * Detect and respond to a system shutdown. 691 VERBOSE_TOROUT_STRING("Unscheduled system shutdown detected"); in torture_shutdown_notify() 694 pr_warn("Concurrent rmmod and shutdown illegal!\n"); in torture_shutdown_notify() [all …]
|
/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A D | mediatek,mt6370-backlight.yaml | 57 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.
|