/linux-4.4.14/arch/powerpc/platforms/44x/ |
H A D | warp.c | 115 struct dtm_shutdown *shutdown; pika_dtm_register_shutdown() local 117 shutdown = kmalloc(sizeof(struct dtm_shutdown), GFP_KERNEL); pika_dtm_register_shutdown() 118 if (shutdown == NULL) pika_dtm_register_shutdown() 121 shutdown->func = func; pika_dtm_register_shutdown() 122 shutdown->arg = arg; pika_dtm_register_shutdown() 124 list_add(&shutdown->list, &dtm_shutdown_list); pika_dtm_register_shutdown() 131 struct dtm_shutdown *shutdown; pika_dtm_unregister_shutdown() local 133 list_for_each_entry(shutdown, &dtm_shutdown_list, list) pika_dtm_unregister_shutdown() 134 if (shutdown->func == func && shutdown->arg == arg) { pika_dtm_unregister_shutdown() 135 list_del(&shutdown->list); pika_dtm_unregister_shutdown() 136 kfree(shutdown); pika_dtm_unregister_shutdown() 145 struct dtm_shutdown *shutdown; temp_isr() local 152 /* Run through the shutdown list. */ temp_isr() 153 list_for_each_entry(shutdown, &dtm_shutdown_list, list) temp_isr() 154 shutdown->func(shutdown->arg); temp_isr()
|
/linux-4.4.14/include/linux/platform_data/ |
H A D | lcd-mipid.h | 20 void (*shutdown)(struct mipid_platform_data *pdata); member in struct:mipid_platform_data
|
H A D | irda-pxaficp.h | 14 void (*shutdown)(struct device *dev); member in struct:pxaficp_platform_data
|
H A D | irda-sa11x0.h | 15 void (*shutdown)(struct device *); member in struct:irda_platform_data
|
H A D | mmc-omap.h | 32 void (*shutdown)(struct device *dev); member in struct:omap_mmc_platform_data
|
/linux-4.4.14/arch/sh/include/asm/ |
H A D | reboot.h | 12 void (*shutdown)(void); member in struct:machine_ops
|
/linux-4.4.14/arch/blackfin/include/asm/ |
H A D | reboot.h | 2 * reboot.h - shutdown/reboot header
|
/linux-4.4.14/include/xen/interface/ |
H A D | sched.h | 22 * of this hypercall, supporting only the commands yield, block and shutdown: 68 * Declare a shutdown for another domain. The main use of this function is 69 * in interpreting shutdown requests and reasons for fully-virtualized 80 * Latch a shutdown code, so that when the domain later shuts down it 89 * With id == 0, setup a domain watchdog timer to cause domain shutdown 103 * not care about the shutdown code.
|
/linux-4.4.14/tools/testing/selftests/mqueue/ |
H A D | mq_perf_tests.c | 152 void shutdown(int exit_val, char *err_cause, int line_no); 171 void shutdown(int exit_val, char *err_cause, int line_no) shutdown() function 189 perror("mq_close() during shutdown"); shutdown() 215 shutdown(0, "", 0); sig_action_SIGUSR1() 216 fprintf(stderr, "\n\nReturned from shutdown?!?!\n\n"); sig_action_SIGUSR1() 227 shutdown(0, "", 0); sig_action() 228 fprintf(stderr, "\n\nReturned from shutdown?!?!\n\n"); sig_action() 238 shutdown(4, "Error reading /proc entry", __LINE__); get() 248 return shutdown(5, "Failed writing to /proc file", __LINE__); set() 251 return shutdown(5, "We didn't get what we wrote to /proc back", set() 268 shutdown(6, "getrlimit()", __LINE__); getr() 274 shutdown(7, "setrlimit()", __LINE__); setr() 283 * shutdown of the program. The global queue_path is used to set what 294 shutdown(1, "mq_open()", __LINE__); open_queue() 296 shutdown(1, "mq_getattr()", __LINE__); open_queue() 341 shutdown(3, "Test send failure", __LINE__); \ 348 shutdown(3, "Test send failure", __LINE__); \ 351 shutdown(3, "Test receive failure", __LINE__); \ 436 shutdown(2, "sysconf(_SC_MQ_PRIO_MAX)", __LINE__); perf_test_thread() 438 shutdown(2, "pthread_getcpuclockid", __LINE__); perf_test_thread() 441 shutdown(2, "clock_getres()", __LINE__); perf_test_thread() 532 shutdown(2, "setpriority()", __LINE__); increase_limits() 639 shutdown(2, "Failed to open msg_max", __LINE__); main() 641 shutdown(2, "Failed to open msgsize_max", __LINE__); main() 651 shutdown(2, "getpriority()", __LINE__); main() 696 shutdown(1, "sigaction(SIGUSR1)", __LINE__); main() 699 shutdown(1, "sigaction(SIGHUP)", __LINE__); main() 701 shutdown(1, "sigaction(SIGINT)", __LINE__); main() 703 shutdown(1, "sigaction(SIGQUIT)", __LINE__); main() 705 shutdown(1, "sigaction(SIGTERM)", __LINE__); main() 731 shutdown(1, "pthread_create()", __LINE__); main() 737 shutdown((long)retval, "perf_test_thread()", __LINE__); main() 742 shutdown(0, "", 0); main()
|
H A D | mq_open_tests.c | 59 void shutdown(int exit_val, char *err_cause, int line_no); 76 void shutdown(int exit_val, char *err_cause, int line_no) shutdown() function 89 perror("mq_close() during shutdown"); shutdown() 120 shutdown(4, "Error reading /proc entry", __LINE__ - 1); get() 130 return shutdown(5, "Failed writing to /proc file", set() 134 return shutdown(5, "We didn't get what we wrote to /proc back", set() 141 shutdown(6, "getrlimit()", __LINE__ - 1); getr() 147 shutdown(7, "setrlimit()", __LINE__ - 1); setr() 193 * test_queue - Test opening a queue, shutdown if we fail. This should 203 shutdown(1, "mq_open()", __LINE__); test_queue() 205 shutdown(1, "mq_getattr()", __LINE__); test_queue() 207 shutdown(1, "mq_close()", __LINE__); test_queue() 210 shutdown(1, "mq_unlink()", __LINE__); test_queue() 227 shutdown(1, "mq_getattr()", __LINE__); test_queue_fail() 229 shutdown(1, "mq_close()", __LINE__); test_queue_fail() 232 shutdown(1, "mq_unlink()", __LINE__); test_queue_fail() 278 shutdown(2, "Failed to open msg_max", __LINE__); main() 280 shutdown(2, "Failed to open msgsize_max", __LINE__); main() 500 shutdown(0,"",0); main()
|
/linux-4.4.14/drivers/base/ |
H A D | syscore.c | 115 * syscore_shutdown - Execute all the registered system core shutdown callbacks. 124 if (ops->shutdown) { syscore_shutdown() 126 pr_info("PM: Calling %pF\n", ops->shutdown); syscore_shutdown() 127 ops->shutdown(); syscore_shutdown()
|
H A D | isa.c | 62 if (isa_driver->shutdown) isa_bus_shutdown() 63 isa_driver->shutdown(dev, to_isa_dev(dev)->id); isa_bus_shutdown() 91 .shutdown = isa_bus_shutdown,
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | reboot.h | 12 void (*shutdown)(void); member in struct:machine_ops
|
H A D | irqflags.h | 96 * shutdown the processor:
|
/linux-4.4.14/include/linux/ |
H A D | syscore_ops.h | 18 void (*shutdown)(void); member in struct:syscore_ops
|
H A D | isa.h | 15 void (*shutdown)(struct device *, unsigned int); member in struct:isa_driver
|
H A D | mcb.h | 81 * @shutdown: shutdown callback 88 void (*shutdown)(struct mcb_device *mdev); member in struct:mcb_driver
|
H A D | serial_max3100.h | 20 * @max3100_hw_suspend: MAX3100 has a shutdown pin. This is a hook
|
H A D | kvm_irqfd.h | 62 /* Used for setup/shutdown */ 66 struct work_struct shutdown; member in struct:kvm_kernel_irqfd
|
H A D | tboot.h | 92 * physical addr of entry point for tboot shutdown and 93 * type of shutdown (TB_SHUTDOWN_*) being requested 98 /* kernel-specified ACPI info for Sx shutdown */
|
H A D | percpu-refcount.h | 15 * than an atomic_t - this is because of the way shutdown works, see 37 * Code that does a two stage shutdown like this often needs some kind of 112 * precisely once before shutdown.
|
H A D | torture.h | 69 /* Test auto-shutdown handling. */
|
/linux-4.4.14/arch/mips/loongson64/fuloong-2e/ |
H A D | reset.c | 1 /* Board-specific reboot/shutdown routines
|
/linux-4.4.14/arch/arm/mach-ux500/ |
H A D | hotplug.c | 20 * platform-specific code to shutdown a CPU
|
/linux-4.4.14/Documentation/mic/mpssd/ |
H A D | micctrl | 103 echo shutdown > $f/state 106 shutdown() function 163 shutdown $2 169 echo $"Usage: $0 {-s (status) |-r (reset) |-b (boot) |-S (shutdown) |-w (wait)}"
|
/linux-4.4.14/drivers/usb/host/ |
H A D | ehci-sh.c | 47 .shutdown = ehci_shutdown, 182 if (hcd->driver->shutdown) ehci_hcd_sh_shutdown() 183 hcd->driver->shutdown(hcd); ehci_hcd_sh_shutdown() 189 .shutdown = ehci_hcd_sh_shutdown,
|
H A D | ohci-sa1111.c | 96 .shutdown = ohci_shutdown, 228 * ohci_hcd_sa1111_remove - shutdown processing for SA-1111-based HCDs 251 hcd->driver->shutdown(hcd); ohci_hcd_sa1111_shutdown() 264 .shutdown = ohci_hcd_sa1111_shutdown,
|
H A D | ehci-sead3.c | 67 .shutdown = ehci_shutdown, 178 .shutdown = usb_hcd_platform_shutdown,
|
H A D | ehci-mv.c | 107 .shutdown = ehci_shutdown, 308 if (hcd->driver->shutdown) mv_ehci_shutdown() 309 hcd->driver->shutdown(hcd); mv_ehci_shutdown() 315 .shutdown = mv_ehci_shutdown,
|
H A D | ehci-grlib.c | 54 .shutdown = ehci_shutdown, 187 .shutdown = usb_hcd_platform_shutdown,
|
H A D | ehci-ppc-of.c | 41 .shutdown = ehci_shutdown, 234 .shutdown = usb_hcd_platform_shutdown,
|
H A D | ehci-tilegx.c | 72 .shutdown = ehci_shutdown, 210 .shutdown = ehci_hcd_tilegx_drv_shutdown,
|
H A D | ohci-omap3.c | 153 * ohci_hcd_omap3_remove - shutdown processing for OHCI HCDs 183 .shutdown = usb_hcd_platform_shutdown,
|
H A D | ohci-ppc-of.c | 59 .shutdown = ohci_shutdown, 229 .shutdown = usb_hcd_platform_shutdown,
|
H A D | ohci-ps3.c | 65 .shutdown = ohci_shutdown, 250 .shutdown = ps3_ohci_remove,
|
H A D | ohci-tilegx.c | 73 .shutdown = ohci_shutdown, 199 .shutdown = ohci_hcd_tilegx_drv_shutdown,
|
H A D | ehci-xilinx-of.c | 91 .shutdown = ehci_shutdown, 208 * ehci_hcd_xilinx_of_remove - shutdown hcd and release resources 236 .shutdown = usb_hcd_platform_shutdown,
|
H A D | ohci-exynos.c | 218 if (hcd->driver->shutdown) exynos_ohci_shutdown() 219 hcd->driver->shutdown(hcd); exynos_ohci_shutdown() 285 .shutdown = exynos_ohci_shutdown,
|
H A D | ehci-hub.c | 386 if (!HCD_HW_ACCESSIBLE(hcd) || ehci->shutdown) ehci_bus_resume() 387 goto shutdown; ehci_bus_resume() 439 if (ehci->shutdown) ehci_bus_resume() 440 goto shutdown; ehci_bus_resume() 458 if (ehci->shutdown) ehci_bus_resume() 459 goto shutdown; ehci_bus_resume() 483 if (ehci->shutdown) ehci_bus_resume() 484 goto shutdown; ehci_bus_resume() 503 if (ehci->shutdown) ehci_bus_resume() 504 goto shutdown; ehci_bus_resume() 511 shutdown: ehci_bus_resume()
|
H A D | ohci-da8xx.c | 254 .shutdown = ohci_shutdown, 350 * usb_hcd_da8xx_remove - shutdown processing for DA8xx-based HCDs 428 .shutdown = usb_hcd_platform_shutdown,
|
H A D | uhci-platform.c | 148 .shutdown = uhci_hcd_platform_shutdown,
|
H A D | xhci-pci.c | 143 * a few seconds of being shutdown. The fix for this is to xhci_pci_quirks() 144 * switch the ports from xHCI to EHCI on shutdown. We can't use xhci_pci_quirks() 311 /* Workaround for spurious wakeups at shutdown with HSW */ xhci_pci_remove() 444 .shutdown = usb_hcd_pci_shutdown,
|
H A D | ehci-omap.c | 254 * ehci_hcd_omap_remove - shutdown processing for EHCI HCDs 292 .shutdown = usb_hcd_platform_shutdown,
|
H A D | ehci-pmcmsp.c | 229 * usb_hcd_msp_remove - shutdown processing for PMC MSP-based HCDs 263 .shutdown = ehci_shutdown,
|
H A D | ehci-ps3.c | 78 .shutdown = ehci_shutdown, 265 .shutdown = ps3_ehci_remove,
|
H A D | ohci-sm501.c | 59 .shutdown = ohci_shutdown, 264 .shutdown = usb_hcd_platform_shutdown,
|
H A D | ohci-tmio.c | 164 .shutdown = ohci_shutdown, 366 .shutdown = usb_hcd_platform_shutdown,
|
/linux-4.4.14/sound/arm/ |
H A D | pxa2xx-pcm.h | 22 void (*shutdown)(struct snd_pcm_substream *); member in struct:pxa2xx_pcm_client
|
H A D | pxa2xx-ac97.c | 100 if (platform_ops && platform_ops->shutdown) pxa2xx_ac97_pcm_shutdown() 101 platform_ops->shutdown(substream, platform_ops->priv); pxa2xx_ac97_pcm_shutdown() 116 .shutdown = pxa2xx_ac97_pcm_shutdown,
|
H A D | pxa2xx-pcm.c | 66 client->shutdown(substream); pxa2xx_pcm_close()
|
/linux-4.4.14/arch/sparc/kernel/ |
H A D | reboot.c | 1 /* reboot.c: reboot/shutdown/halt/poweroff handling
|
/linux-4.4.14/arch/arm/mach-prima2/ |
H A D | hotplug.c | 31 * platform-specific code to shutdown a CPU
|
/linux-4.4.14/arch/arm/mach-pxa/include/mach/ |
H A D | audio.h | 20 void (*shutdown)(struct snd_pcm_substream *, void *); member in struct:__anon249
|
/linux-4.4.14/sound/usb/6fire/ |
H A D | chip.h | 23 bool shutdown; member in struct:sfire_chip
|
/linux-4.4.14/drivers/s390/char/ |
H A D | hmcdrv_ftp.c | 27 * @shutdown: shutdown function 32 void (*shutdown)(void); member in struct:hmcdrv_ftp_ops 42 static unsigned hmcdrv_ftp_refcnt; /* start/shutdown reference counter */ 295 .shutdown = diag_ftp_shutdown, hmcdrv_ftp_startup() 301 .shutdown = sclp_ftp_shutdown, hmcdrv_ftp_startup() 330 * hmcdrv_ftp_shutdown() - shutdown of HMC drive FTP functionality for a 339 hmcdrv_ftp_funcs->shutdown(); hmcdrv_ftp_shutdown()
|
H A D | sclp_quiesce.c | 25 /* Shutdown handler. Signal completion of shutdown by loading special PSW. */ do_machine_quiesce() 37 /* Handler for quiesce event. Start shutdown procedure. */ sclp_quiesce_handler()
|
/linux-4.4.14/drivers/misc/mic/cosm/ |
H A D | cosm_main.h | 32 * @COSM_MSG_SHUTDOWN: host->card trigger shutdown 35 * @COSM_MSG_SHUTDOWN_STATUS: card->host with shutdown status as payload
|
H A D | cosm_scif_server.c | 26 * MIC cards. SCIF is used to (a) Send a shutdown command to the card (b) 27 * receive a shutdown status back from the card upon completion of shutdown and 41 * shutdown, reset and crash are as follows: 43 * Card shutdown 47 * 2. Card driver shutdown callback invokes scif_unregister_device(..) resulting 79 * steps 3, 4 and 5 for the card shutdown case above. scif_poll(..) on the 104 /* Publish MIC card's shutdown status to user space MIC daemon */ cosm_update_mic_status() 113 /* Store MIC card's shutdown status internally when it is received */ cosm_shutdown_status_int() 198 * reboot notifier when shutdown is still not complete, we notify mpssd cosm_scif_close() 238 * MIC card boot to card shutdown/reset/crash.
|
H A D | cosm_main.c | 209 * cosm_shutdown - Initiate MIC shutdown. 222 dev_err(&cdev->dev, "%s %d skipping shutdown in state: %s\n", cosm_shutdown() 314 * Suspend/freeze hooks in userspace have already shutdown the card. cosm_suspend()
|
/linux-4.4.14/arch/sh/kernel/ |
H A D | reboot.c | 69 .shutdown = native_machine_shutdown, 84 machine_ops.shutdown(); machine_shutdown()
|
/linux-4.4.14/arch/arm/mach-omap2/ |
H A D | omap-hotplug.c | 27 * platform-specific code to shutdown a CPU 36 * we're ready for shutdown now, so do it omap4_cpu_die()
|
H A D | sleep24xx.S | 41 * SDRC shutdown then ARM shutdown. Upon wake MPU is back on so just restore
|
/linux-4.4.14/arch/arm/mach-spear/ |
H A D | hotplug.c | 79 * platform-specific code to shutdown a CPU 88 * we're ready for shutdown now, so do it spear13xx_cpu_die()
|
/linux-4.4.14/drivers/xen/ |
H A D | manage.c | 2 * Handle extern requests for shutdown, reboot and sysrq 39 /* Ignore multiple shutdown requests. */ 198 pr_info("Ignoring Xen toolstack shutdown.\n"); do_poweroff() 234 str = (char *)xenbus_read(xbt, "control", "shutdown", NULL); shutdown_handler() 248 xenbus_write(xbt, "control", "shutdown", ""); shutdown_handler() 259 pr_info("Ignoring shutdown request: %s\n", str); shutdown_handler() 302 .node = "control/shutdown", 316 pr_err("Failed to set shutdown watcher\n"); setup_shutdown_watcher()
|
/linux-4.4.14/arch/um/drivers/ |
H A D | port_user.c | 163 shutdown(3, SHUT_RD); port_pre_exec() 194 shutdown(socket[0], SHUT_RDWR); port_connection() 196 shutdown(socket[1], SHUT_RDWR); port_connection()
|
H A D | random.c | 155 * rng_cleanup - shutdown RNG module
|
/linux-4.4.14/sound/aoa/soundbus/ |
H A D | core.c | 125 if (dev->driver && drv->shutdown) soundbus_device_shutdown() 126 drv->shutdown(soundbus_dev); soundbus_device_shutdown() 136 .shutdown = soundbus_device_shutdown,
|
/linux-4.4.14/arch/mips/include/asm/ |
H A D | cdmm.h | 35 * @shutdown: Callback on system shutdown. 46 void (*shutdown)(struct mips_cdmm_device *); member in struct:mips_cdmm_driver
|
H A D | gio_device.h | 28 void (*shutdown)(struct gio_device *); member in struct:gio_driver
|
/linux-4.4.14/drivers/vfio/ |
H A D | virqfd.c | 43 queue_work(vfio_irqfd_cleanup_wq, &virqfd->shutdown); virqfd_deactivate() 90 struct virqfd *virqfd = container_of(work, struct virqfd, shutdown); virqfd_shutdown() 128 INIT_WORK(&virqfd->shutdown, virqfd_shutdown); vfio_virqfd_enable() 212 * Block until we know all outstanding shutdown jobs have completed. vfio_virqfd_disable()
|
/linux-4.4.14/drivers/oprofile/ |
H A D | oprof.c | 81 if (oprofile_ops.shutdown) oprofile_setup() 82 oprofile_ops.shutdown(); oprofile_setup() 220 if (oprofile_ops.shutdown) oprofile_shutdown() 221 oprofile_ops.shutdown(); oprofile_shutdown()
|
H A D | timer_int.c | 114 ops->shutdown = oprofile_hrtimer_shutdown; oprofile_timer_init()
|
H A D | nmi_timer_int.c | 166 ops->shutdown = nmi_timer_shutdown; op_nmi_timer_init()
|
/linux-4.4.14/arch/um/os-Linux/drivers/ |
H A D | ethertap_user.c | 203 if (shutdown(pri->data_fd, SHUT_RDWR) < 0) etap_close() 204 printk(UM_KERN_ERR "etap_close - shutdown data socket failed, " etap_close() 207 if (shutdown(pri->control_fd, SHUT_RDWR) < 0) etap_close() 208 printk(UM_KERN_ERR "etap_close - shutdown control socket " etap_close()
|
/linux-4.4.14/drivers/char/ |
H A D | nwbutton.h | 13 #define NUM_PRESSES_REBOOT 2 /* How many presses to activate shutdown */
|
/linux-4.4.14/security/selinux/ss/ |
H A D | sidtab.c | 28 s->shutdown = 0; sidtab_init() 217 if (s->next_sid == UINT_MAX || s->shutdown) { sidtab_context_to_sid() 300 dst->shutdown = 0; sidtab_set() 311 s->shutdown = 1; sidtab_shutdown()
|
H A D | sidtab.h | 28 unsigned char shutdown; member in struct:sidtab
|
/linux-4.4.14/arch/arm/mach-tegra/ |
H A D | board-paz00.c | 43 GPIO_LOOKUP("tegra-gpio", 85, "shutdown", 0),
|
H A D | hotplug.c | 36 * platform-specific code to shutdown a CPU
|
/linux-4.4.14/include/linux/input/ |
H A D | auo-pixcir-ts.h | 40 * @exit_hw hardwarespecific shutdown
|
/linux-4.4.14/drivers/usb/usbip/ |
H A D | usbip_event.c | 36 * NOTE: shutdown must come first. event_handler() 40 ud->eh_ops.shutdown(ud); event_handler()
|
H A D | stub_dev.c | 166 dev_dbg(&sdev->udev->dev, "shutdown tcp_socket %p\n", stub_shutdown_connection() 294 sdev->ud.eh_ops.shutdown = stub_shutdown_connection; stub_device_alloc() 455 /* shutdown the current connection */ stub_disconnect()
|
/linux-4.4.14/arch/s390/include/asm/ |
H A D | ccwgroup.h | 37 * @shutdown: function called when device is shut down 50 void (*shutdown)(struct ccwgroup_device *); member in struct:ccwgroup_driver
|
H A D | ccwdev.h | 124 * @shutdown: called at device shutdown 142 void (*shutdown) (struct ccw_device *); member in struct:ccw_driver
|
/linux-4.4.14/arch/arm/mach-realview/ |
H A D | hotplug.c | 89 * platform-specific code to shutdown a CPU 98 * we're ready for shutdown now, so do it realview_cpu_die()
|
/linux-4.4.14/arch/arm/mach-vexpress/ |
H A D | hotplug.c | 84 * platform-specific code to shutdown a CPU 93 * we're ready for shutdown now, so do it vexpress_cpu_die()
|
/linux-4.4.14/drivers/mmc/core/ |
H A D | bus.c | 135 if (dev->driver && drv->shutdown) mmc_bus_shutdown() 136 drv->shutdown(card); mmc_bus_shutdown() 138 if (host->bus_ops->shutdown) { mmc_bus_shutdown() 139 ret = host->bus_ops->shutdown(host); mmc_bus_shutdown() 141 pr_warn("%s: error %d during shutdown\n", mmc_bus_shutdown() 207 .shutdown = mmc_bus_shutdown,
|
H A D | core.h | 29 int (*shutdown)(struct mmc_host *); member in struct:mmc_bus_ops
|
/linux-4.4.14/kernel/ |
H A D | torture.c | 55 /* Mediate rmmod and system shutdown. Concurrent rmmod & shutdown illegal! */ 57 #define FULLSTOP_SHUTDOWN 1 /* System shutdown with torture running. */ 398 * Variables for auto-shutdown. This allows "lights out" torture runs 403 static unsigned long shutdown_time; /* jiffies to system shutdown. */ 413 pr_notice("torture thread %s parking due to system shutdown\n", torture_shutdown_absorb() 421 * Cause the torture test to shutdown the system after the test has 459 * Start up the shutdown task. 477 * Detect and respond to a system shutdown. 484 VERBOSE_TOROUT_STRING("Unscheduled system shutdown detected"); torture_shutdown_notify() 487 pr_warn("Concurrent rmmod and shutdown illegal!\n"); torture_shutdown_notify() 498 * Shut down the shutdown task. Say what??? Heh! This can happen if 499 * the torture module gets an rmmod before the shutdown time arrives. ;-) 631 * the client torture module. Returns true if a race with system shutdown 647 pr_warn("Concurrent rmmod and shutdown illegal!\n"); torture_cleanup_begin()
|
H A D | reboot.c | 434 pr_warn("Failed to start orderly shutdown: forcing the issue\n"); __orderly_poweroff() 439 * emergency shutdown? __orderly_poweroff() 461 * This may be called from any context to trigger a system shutdown. 462 * If the orderly shutdown fails, it will force an immediate shutdown.
|
/linux-4.4.14/drivers/media/pci/cx23885/ |
H A D | cx23885-input.c | 117 params.shutdown = atomic_read(&dev->ir_input_stopping); cx23885_input_rx_work_handler() 128 params.shutdown = atomic_read(&dev->ir_input_stopping); cx23885_input_rx_work_handler() 163 params.shutdown = false; cx23885_input_ir_start() 191 params.shutdown = false; cx23885_input_ir_start() 239 * It is shutdown this way in order to mitigate a race with cx23885_input_ir_stop() 245 while (params.shutdown == false) { cx23885_input_ir_stop() 248 params.shutdown = true; cx23885_input_ir_stop()
|
H A D | cx23888-ir.c | 737 state->rx_params.shutdown = true; cx23888_ir_rx_shutdown() 751 if (p->shutdown) cx23888_ir_rx_s_parameters() 759 o->shutdown = p->shutdown; cx23888_ir_rx_s_parameters() 865 state->tx_params.shutdown = true; cx23888_ir_tx_shutdown() 879 if (p->shutdown) cx23888_ir_tx_s_parameters() 887 o->shutdown = p->shutdown; cx23888_ir_tx_s_parameters() 1142 .shutdown = true, 1161 .shutdown = true,
|
/linux-4.4.14/fs/ocfs2/cluster/ |
H A D | tcp_internal.h | 113 * shutdown is careful to first mark the nn such that no connects will 141 * shutdown removes the callbacks and then flushes the work queue */ 144 /* shutdown work is triggered in two ways. the simple way is 150 * ends up triggering the shutdown work again, though nothing 153 * on the work queue so that the shutdown work doesn't remove the
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | crash.c | 51 /* NULL terminated list of shutdown handles */ 250 * Register a function to be called on shutdown. Only use this if you crash_kexec_wait_realmode() 267 printk(KERN_ERR "Crash shutdown handles full, " crash_shutdown_register() 287 printk(KERN_ERR "Crash shutdown handle not found\n"); crash_shutdown_unregister() 343 * Call registered shutdown routines safely. Swap out default_machine_crash_shutdown()
|
/linux-4.4.14/drivers/s390/cio/ |
H A D | css.h | 73 * @shutdown: called at device shutdown 89 void (*shutdown)(struct subchannel *); member in struct:css_driver
|
/linux-4.4.14/drivers/input/misc/ |
H A D | pmic8xxx-pwrkey.c | 41 /* Regulator control registers for shutdown/reset */ 61 /* Buck TEST2 registers for shutdown/reset */ 83 * @shutdown_fn: shutdown configuration function 148 * Select action to perform (reset or shutdown) when PS_HOLD goes low. pmic8xxx_pwrkey_shutdown() 314 * pull-down state intact. This ensures a safe shutdown. pm8058_pwrkey_shutdown() 458 .shutdown = pmic8xxx_pwrkey_shutdown,
|
H A D | m68kspkr.c | 106 .shutdown = m68kspkr_shutdown,
|
H A D | pcspkr.c | 132 .shutdown = pcspkr_shutdown,
|
H A D | palmas-pwrbutton.c | 48 * @long_press_time_val: value for long press h/w shutdown event 152 dev_info(dev, "h/w controlled shutdown duration=%d seconds\n", palmas_pwron_params_ofinit() 192 * Setup default hardware shutdown option (long key press) palmas_pwron_probe()
|
H A D | ixp4xx-beeper.c | 174 .shutdown = ixp4xx_spkr_shutdown,
|
/linux-4.4.14/drivers/mfd/ |
H A D | ab8500-sysctrl.c | 63 goto shutdown; ab8500_power_off() 80 shutdown: ab8500_power_off()
|
/linux-4.4.14/drivers/power/reset/ |
H A D | xgene-reboot.c | 24 * For system shutdown, this is board specify. If a board designer 25 * implements GPIO shutdown, use the gpio-poweroff.c driver.
|
H A D | at91-reset.c | 53 * unless the SDRAM is cleanly shutdown before we hit the 196 /* we need to shutdown the ddr controller, so get ramc base */ for_each_matching_node()
|
H A D | vexpress-poweroff.c | 88 .compatible = "arm,vexpress-shutdown",
|
/linux-4.4.14/arch/mips/loongson64/lemote-2f/ |
H A D | reset.c | 1 /* Board-specific reboot/shutdown routines 89 /* menglong(7inches) laptop has different shutdown logic from 8.9inches */
|
/linux-4.4.14/sound/pci/cs5535audio/ |
H A D | cs5535audio_pm.c | 36 AC97 codec to shutdown. the amd spec suggests snd_cs5535audio_stop_hardware() 53 /* set LNK_SHUTDOWN to shutdown AC link */ snd_cs5535audio_stop_hardware()
|
/linux-4.4.14/drivers/media/rc/keymaps/ |
H A D | rc-encore-enltv-fm53.c | 56 { 0x47, KEY_SLEEP}, /* shutdown */
|
H A D | rc-kworld-315u.c | 23 { 0x6103, KEY_POWER2 }, /* shutdown */
|
H A D | rc-encore-enltv.c | 78 { 0x50, KEY_SLEEP }, /* shutdown */
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | g84.c | 63 /* enable RISING and FALLING IRQs for shutdown, THRS 0, 1, 2 and 4 */ g84_therm_program_alarms() 66 /* shutdown: The computer should be shutdown when reached */ g84_therm_program_alarms() 159 /* shutdown */ g84_therm_intr()
|
/linux-4.4.14/drivers/cpuidle/ |
H A D | cpuidle-big_little.c | 36 * can be shutdown. This means that when a single CPU enters this state 39 * have to define CPU states where possibly the cluster will be shutdown 50 * up and running when the CPU is powered up on cluster wake-up from shutdown. 56 * shutdown has inherent dynamic power costs (L2 writebacks to DRAM
|
/linux-4.4.14/include/linux/usb/ |
H A D | phy.h | 98 /* initialize/shutdown the phy */ 100 void (*shutdown)(struct usb_phy *x); member in struct:usb_phy 177 if (x && x->shutdown) usb_phy_shutdown() 178 x->shutdown(x); usb_phy_shutdown()
|
/linux-4.4.14/arch/sh/include/mach-landisk/mach/ |
H A D | iodata_landisk.h | 23 /* 2003.10.31 I-O DATA NSD NWG add. for shutdown port clear */
|
/linux-4.4.14/arch/microblaze/kernel/ |
H A D | reset.c | 90 pr_notice("Machine shutdown...\n"); machine_shutdown()
|
/linux-4.4.14/arch/ia64/oprofile/ |
H A D | perfmon.c | 28 * without perfmon being shutdown (e.g. SIGSEGV) perfmon_handler()
|
/linux-4.4.14/arch/arm/mach-orion5x/ |
H A D | board-mss2.c | 65 * On the Maxtor Shared Storage II, the shutdown process is the following :
|
/linux-4.4.14/arch/arm/mach-shmobile/ |
H A D | platsmp-scu.c | 85 * here we need wait for shutdown code in platform_cpu_die() to shmobile_smp_scu_cpu_kill()
|
/linux-4.4.14/arch/arm/mach-imx/ |
H A D | hotplug.c | 42 * platform-specific code to shutdown a CPU
|
/linux-4.4.14/sound/usb/line6/ |
H A D | capture.c | 149 int i, index, length = 0, shutdown = 0; audio_in_callback() local 169 shutdown = 1; audio_in_callback() 197 shutdown = 1; audio_in_callback() 199 if (!shutdown) { audio_in_callback()
|
H A D | playback.c | 303 int i, index, length = 0, shutdown = 0; audio_out_callback() local 342 shutdown = 1; audio_out_callback() 347 shutdown = 1; audio_out_callback() 349 if (!shutdown) { audio_out_callback()
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | tboot.c | 54 /* timeout for APs (in secs) to enter wait-for-SIPI state during shutdown */ 166 /* Create identity map for tboot shutdown code. */ tboot_create_trampoline() 215 /* S3 shutdown requested, but S3 not supported by the kernel... */ tboot_setup_sleep() 224 void (*shutdown)(void); tboot_shutdown() 231 * return and let the normal shutdown happen; this should only be tboot_shutdown() 246 shutdown = (void(*)(void))(unsigned long)tboot->shutdown_entry; tboot_shutdown() 247 shutdown(); tboot_shutdown()
|
H A D | kvmclock.c | 221 * registered memory location. If the guest happens to shutdown, this memory 224 * kind of shutdown from our side, we unregister the clock by writting anything 295 machine_ops.shutdown = kvm_shutdown; kvmclock_init()
|
/linux-4.4.14/arch/xtensa/kernel/ |
H A D | smp.c | 254 * __cpu_disable runs on the processor to be shutdown. 290 * called on the thread which is asking for a CPU to be shutdown - 291 * waits until shutdown has completed, or it is timed out. 312 * Called from the idle thread for the CPU which has been shutdown. 343 { .short_text = "DIE", .long_text = "CPU shutdown interrupts" },
|
/linux-4.4.14/sound/usb/ |
H A D | card.c | 376 atomic_set(&chip->shutdown, 0); snd_usb_audio_create() 500 if (atomic_read(&usb_chip[i]->shutdown)) { usb_audio_probe() 501 dev_err(&dev->dev, "USB device is in the shutdown state, cannot create a card instance\n"); usb_audio_probe() 597 if (atomic_inc_return(&chip->shutdown) == 1) { usb_audio_disconnect() 636 /* lock the shutdown (disconnect) task and autoresume */ snd_usb_lock_shutdown() 642 if (atomic_read(&chip->shutdown)) { snd_usb_lock_shutdown() 657 /* autosuspend and unlock the shutdown */ snd_usb_unlock_shutdown() 669 if (atomic_read(&chip->shutdown)) snd_usb_autoresume() 678 if (atomic_read(&chip->shutdown)) snd_usb_autosuspend()
|
H A D | proc.c | 49 if (!atomic_read(&chip->shutdown)) proc_audio_usbbus_read() 56 if (!atomic_read(&chip->shutdown)) proc_audio_usbid_read()
|
H A D | usbaudio.h | 42 atomic_t shutdown; member in struct:snd_usb_audio
|
/linux-4.4.14/drivers/uio/ |
H A D | uio_fsl_elbc_gpcm.c | 61 void (*shutdown)(struct uio_info *info, bool init_err); member in struct:fsl_elbc_gpcm 206 priv->shutdown = netx5152_shutdown; setup_periph() 436 if (priv->shutdown) uio_fsl_elbc_gpcm_probe() 437 priv->shutdown(info, true); uio_fsl_elbc_gpcm_probe() 457 if (priv->shutdown) uio_fsl_elbc_gpcm_remove() 458 priv->shutdown(info, false); uio_fsl_elbc_gpcm_remove()
|
/linux-4.4.14/drivers/misc/mic/bus/ |
H A D | cosm_bus.h | 33 * @shutdown_status: MIC status reported by card for shutdown/crashes. 34 * @shutdown_status_int: Internal shutdown status maintained by the driver
|
/linux-4.4.14/drivers/hwmon/ |
H A D | ab8500.c | 11 * When AB8500 thermal shutdown temperature is reached a hardware shutdown of
|
/linux-4.4.14/drivers/media/dvb-core/ |
H A D | dvb_ca_en50221.h | 45 * @slot_shutdown: function to shutdown a CAM slot 111 * Initialisation/shutdown functions
|
/linux-4.4.14/arch/x86/oprofile/ |
H A D | op_model_ppro.c | 196 .shutdown = &ppro_shutdown 244 .shutdown = &ppro_shutdown
|
H A D | op_x86_model.h | 50 void (*shutdown)(struct op_msrs const * const msrs); member in struct:op_x86_model_spec
|
/linux-4.4.14/drivers/bluetooth/ |
H A D | hci_bcm.c | 56 struct gpio_desc *shutdown; member in struct:bcm_device 151 gpiod_set_value(dev->shutdown, powered); bcm_gpio_set_power() 627 { "shutdown-gpios", &shutdown_gpios, 1 }, 704 dev->shutdown = devm_gpiod_get_optional(&pdev->dev, "shutdown", bcm_acpi_probe() 706 if (IS_ERR(dev->shutdown)) bcm_acpi_probe() 707 return PTR_ERR(dev->shutdown); bcm_acpi_probe() 727 if ((!dev->device_wakeup && !dev->shutdown) || !dev->name) { bcm_acpi_probe()
|
H A D | bcm203x.c | 69 atomic_t shutdown; member in struct:bcm203x_data 161 if (atomic_read(&data->shutdown)) bcm203x_work() 259 atomic_inc(&data->shutdown); bcm203x_disconnect()
|
/linux-4.4.14/arch/c6x/platforms/ |
H A D | timer64.c | 144 static int shutdown(struct clock_event_device *evt) shutdown() function 156 .set_state_shutdown = shutdown,
|
/linux-4.4.14/arch/powerpc/platforms/85xx/ |
H A D | sgy_cts1000.c | 63 * to handle the shutdown/poweroff. */ gpio_halt_irq() 66 printk(KERN_INFO "gpio-halt: shutdown due to power button IRQ.\n"); gpio_halt_irq()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
H A D | opal-power.c | 2 * PowerNV OPAL power control for graceful shutdown handling 48 /* Filter events which do not need shutdown. */ detect_epow()
|
/linux-4.4.14/arch/arm/mach-omap1/ |
H A D | board-nokia770.c | 96 printk(KERN_INFO "shutdown LCD\n"); mipid_shutdown() 103 .shutdown = mipid_shutdown,
|
/linux-4.4.14/net/rfkill/ |
H A D | rfkill-gpio.c | 71 { "shutdown-gpios", &shutdown_gpios, 1 }, 121 gpio = devm_gpiod_get_optional(&pdev->dev, "shutdown", GPIOD_OUT_LOW); rfkill_gpio_probe()
|
/linux-4.4.14/drivers/s390/scsi/ |
H A D | zfcp_ccw.c | 286 * zfcp_ccw_shutdown - handle shutdown from cio 287 * @cdev: device for adapter to shutdown. 311 /* trace records for thaw and final shutdown during suspend zfcp_ccw_thaw() 336 .shutdown = zfcp_ccw_shutdown,
|
/linux-4.4.14/drivers/nfc/ |
H A D | nfcsim.c | 65 static void nfcsim_cleanup_dev(struct nfcsim *dev, u8 shutdown) nfcsim_cleanup_dev() argument 67 DEV_DBG(dev, "shutdown=%d\n", shutdown); nfcsim_cleanup_dev() 72 dev->shutting_down = shutdown; nfcsim_cleanup_dev()
|
/linux-4.4.14/drivers/crypto/qat/qat_common/ |
H A D | adf_init.c | 308 * adf_dev_shutdown() - shutdown acceleration services and data strucutures 322 "QAT: Failed to shutdown device - hw_data not set\n"); adf_dev_shutdown() 334 "Failed to shutdown Accel Engine\n"); adf_dev_shutdown() 346 "Failed to shutdown service %s\n", adf_dev_shutdown()
|
/linux-4.4.14/arch/mips/oprofile/ |
H A D | common.c | 132 //ops->shutdown = op_mips_shutdown; oprofile_arch_init()
|
/linux-4.4.14/arch/blackfin/kernel/ |
H A D | reboot.c | 2 * arch/blackfin/kernel/reboot.c - handle shutdown/reboot
|
/linux-4.4.14/arch/arm/mach-s3c24xx/ |
H A D | sleep-s3c2412.S | 56 * active when we tried to shutdown. Try and ack the IRQ and
|
/linux-4.4.14/arch/arm/mach-sa1100/ |
H A D | h3100.c | 122 .shutdown = h3100_irda_shutdown,
|
H A D | h3600.c | 130 .shutdown = h3600_irda_shutdown,
|
/linux-4.4.14/sound/pci/oxygen/ |
H A D | virtuoso.c | 104 .shutdown = oxygen_pci_shutdown,
|
H A D | se6x.c | 157 .shutdown = oxygen_pci_shutdown,
|
/linux-4.4.14/drivers/staging/fsl-mc/include/ |
H A D | mc.h | 30 * @shutdown: Function called at shutdown time to quiesce the device 43 void (*shutdown)(struct fsl_mc_device *dev); member in struct:fsl_mc_driver
|
/linux-4.4.14/drivers/mcb/ |
H A D | mcb-core.c | 89 if (mdrv && mdrv->shutdown) mcb_shutdown() 90 mdrv->shutdown(mdev); mcb_shutdown() 99 .shutdown = mcb_shutdown,
|
/linux-4.4.14/drivers/pnp/ |
H A D | driver.c | 143 if (drv && drv->shutdown) pnp_device_shutdown() 144 drv->shutdown(pnp_dev); pnp_device_shutdown() 257 .shutdown = pnp_device_shutdown,
|
/linux-4.4.14/drivers/extcon/ |
H A D | extcon-axp288.c | 129 "Last shutdown caused by PMIC UVLO threshold", 130 "Last shutdown caused by SOC initiated cold off", 131 "Last shutdown caused by user pressing the power button",
|
/linux-4.4.14/include/drm/ |
H A D | drm_mipi_dsi.h | 223 * @shutdown: called at shutdown time to quiesce the device 229 void (*shutdown)(struct mipi_dsi_device *dsi); member in struct:mipi_dsi_driver
|
/linux-4.4.14/sound/hda/ext/ |
H A D | hdac_ext_bus.c | 231 return (get_edrv(dev))->shutdown(get_edev(dev)); hdac_ext_drv_shutdown() 249 if (drv->shutdown) snd_hda_ext_driver_register() 250 drv->hdac.driver.shutdown = hdac_ext_drv_shutdown; snd_hda_ext_driver_register()
|
/linux-4.4.14/drivers/thermal/ti-soc-thermal/ |
H A D | ti-bandgap.h | 182 * for a specific temperature sensor, like shutdown temperature, alert 288 * TI_BANDGAP_FEATURE_TSHUT - used when the thermal shutdown signal output 290 * the system must react and perform the shutdown by itself (handle an 294 * over the thermal shutdown configuration. This means that the thermal 295 * shutdown thresholds are programmable, for instance.
|
/linux-4.4.14/drivers/ps3/ |
H A D | ps3-sys-manager.c | 37 * guests. It also provides support to control system shutdown and startup. 223 PS3_SM_CMD_SHUTDOWN = 1, /* shutdown guest OS */ 340 * Currently, the only supported request is the 'shutdown self' request. 366 payload.type = 1; /* shutdown */ ps3_sys_manager_send_request_shutdown() 612 * the shutdown command sent from the system manager. Soon after the 637 * the shutdown command sent from the system manager. Soon after the 749 .shutdown = ps3_sys_manager_shutdown,
|
H A D | vuart.h | 48 void (*shutdown)(struct ps3_system_bus_device *); member in struct:ps3_vuart_port_driver
|
/linux-4.4.14/sound/soc/ |
H A D | soc-compress.c | 140 if (fe->dai_link->compr_ops && fe->dai_link->compr_ops->shutdown) soc_compr_open_fe() 141 fe->dai_link->compr_ops->shutdown(cstream); soc_compr_open_fe() 205 if (rtd->dai_link->compr_ops && rtd->dai_link->compr_ops->shutdown) soc_compr_free() 206 rtd->dai_link->compr_ops->shutdown(cstream); soc_compr_free() 270 if (fe->dai_link->compr_ops && fe->dai_link->compr_ops->shutdown) soc_compr_free_fe() 271 fe->dai_link->compr_ops->shutdown(cstream); soc_compr_free_fe() 398 /* cancel any delayed stream shutdown that is pending */ soc_compr_set_params()
|
/linux-4.4.14/virt/kvm/ |
H A D | eventfd.c | 121 container_of(work, struct kvm_kernel_irqfd, shutdown); irqfd_shutdown() 171 queue_work(irqfd_cleanup_wq, &irqfd->shutdown); irqfd_deactivate() 304 INIT_WORK(&irqfd->shutdown, irqfd_shutdown); kvm_irqfd_assign() 519 * shutdown any irqfd's that match fd+gsi 552 * Block until we know all outstanding shutdown jobs have completed kvm_irqfd_deassign() 590 * Block until we know all outstanding shutdown jobs have completed kvm_irqfd_release() 624 * create a host-wide workqueue for issuing deferred shutdown requests
|
/linux-4.4.14/drivers/target/iscsi/ |
H A D | iscsi_target_util.c | 730 void iscsit_free_cmd(struct iscsi_cmd *cmd, bool shutdown) iscsit_free_cmd() argument 741 __iscsit_free_cmd(cmd, true, shutdown); iscsit_free_cmd() 746 rc = transport_generic_free_cmd(&cmd->se_cmd, shutdown); iscsit_free_cmd() 747 if (!rc && shutdown && se_cmd && se_cmd->se_sess) { iscsit_free_cmd() 748 __iscsit_free_cmd(cmd, true, shutdown); iscsit_free_cmd() 760 __iscsit_free_cmd(cmd, true, shutdown); iscsit_free_cmd() 762 rc = transport_generic_free_cmd(&cmd->se_cmd, shutdown); iscsit_free_cmd() 763 if (!rc && shutdown && se_cmd->se_sess) { iscsit_free_cmd() 764 __iscsit_free_cmd(cmd, true, shutdown); iscsit_free_cmd() 771 __iscsit_free_cmd(cmd, false, shutdown); iscsit_free_cmd()
|
H A D | iscsi_target_tpg.c | 177 bool shutdown) iscsit_clear_tpg_np_login_thread() 184 if (shutdown) iscsit_clear_tpg_np_login_thread() 186 iscsit_reset_np_thread(tpg_np->tpg_np, tpg_np, tpg, shutdown); iscsit_clear_tpg_np_login_thread() 191 bool shutdown) iscsit_clear_tpg_np_login_threads() 202 iscsit_clear_tpg_np_login_thread(tpg_np, tpg, shutdown); iscsit_clear_tpg_np_login_threads() 539 * iscsit_del_np() will shutdown struct iscsi_np when last TPG reference is released. iscsit_tpg_release_np() 174 iscsit_clear_tpg_np_login_thread( struct iscsi_tpg_np *tpg_np, struct iscsi_portal_group *tpg, bool shutdown) iscsit_clear_tpg_np_login_thread() argument 189 iscsit_clear_tpg_np_login_threads( struct iscsi_portal_group *tpg, bool shutdown) iscsit_clear_tpg_np_login_threads() argument
|
/linux-4.4.14/drivers/media/i2c/cx25840/ |
H A D | cx25840-ir.c | 756 ir_state->rx_params.shutdown = true; cx25840_ir_rx_shutdown() 773 if (p->shutdown) cx25840_ir_rx_s_parameters() 784 o->shutdown = p->shutdown; cx25840_ir_rx_s_parameters() 944 ir_state->tx_params.shutdown = true; cx25840_ir_tx_shutdown() 961 if (p->shutdown) cx25840_ir_tx_s_parameters() 971 o->shutdown = p->shutdown; cx25840_ir_tx_s_parameters() 1195 .shutdown = true, 1214 .shutdown = true,
|
/linux-4.4.14/arch/arm64/kernel/ |
H A D | smp.c | 222 * __cpu_disable runs on the processor to be shutdown. 261 * called on the thread which is asking for a CPU to be shutdown - 262 * waits until shutdown has completed, or it is timed out. 272 pr_notice("CPU%u: shutdown\n", cpu); __cpu_die() 287 * Called from the idle thread for the CPU which has been shutdown. 306 * Actually shutdown the CPU. This must never fail. The specific hotplug cpu_die()
|
/linux-4.4.14/arch/arm/kernel/ |
H A D | smp.c | 201 * __cpu_disable runs on the processor to be shutdown. 241 * called on the thread which is asking for a CPU to be shutdown - 242 * waits until shutdown has completed, or it is timed out. 250 pr_notice("CPU%u: shutdown\n", cpu); __cpu_die() 264 * Called from the idle thread for the CPU which has been shutdown. 303 * The actual CPU shutdown procedure is at least platform (if not arch_cpu_idle_dead()
|
H A D | psci_smp.c | 83 panic("psci: cpu %d failed to shutdown\n", cpu); psci_cpu_die()
|
/linux-4.4.14/drivers/ide/ |
H A D | ide.c | 149 if (dev->driver && drv->shutdown) generic_ide_shutdown() 150 drv->shutdown(drive); generic_ide_shutdown() 159 .shutdown = generic_ide_shutdown,
|
/linux-4.4.14/drivers/char/hw_random/ |
H A D | omap-rng.c | 274 * Interrupt raised by a fro shutdown threshold, do the following: omap4_rng_irq() 276 * 2. De tune the FROs which are shutdown. omap4_rng_irq() 277 * 3. Re enable the shutdown FROs. omap4_rng_irq()
|
/linux-4.4.14/arch/mips/sgi-ip22/ |
H A D | ip22-gio.c | 160 if (dev->driver && drv->shutdown) gio_device_shutdown() 161 drv->shutdown(gio_dev); gio_device_shutdown() 381 .shutdown = gio_device_shutdown,
|
/linux-4.4.14/drivers/usb/phy/ |
H A D | phy-am335x.c | 63 am_phy->usb_phy_gen.phy.shutdown = am335x_shutdown; am335x_phy_probe()
|
H A D | phy-keystone.c | 95 k_phy->usb_phy_gen.phy.shutdown = keystone_usbphy_shutdown; keystone_usbphy_probe()
|
/linux-4.4.14/drivers/thermal/st/ |
H A D | st_thermal.h | 70 * @crit_temp: The temperature beyond which the SoC should be shutdown
|
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/ |
H A D | lo.c | 92 CDEBUG(D_NET, "shutdown\n"); lolnd_shutdown()
|
/linux-4.4.14/drivers/regulator/ |
H A D | tps6105x-regulator.c | 50 /* Set into shutdown mode */ tps6105x_regulator_disable()
|
/linux-4.4.14/drivers/leds/trigger/ |
H A D | ledtrig-cpu.c | 91 .shutdown = ledtrig_cpu_syscore_shutdown,
|
/linux-4.4.14/drivers/mtd/maps/ |
H A D | pxa2xx-flash.c | 137 .shutdown = pxa2xx_flash_shutdown,
|
H A D | rbtx4939-flash.c | 127 .shutdown = rbtx4939_flash_shutdown,
|
/linux-4.4.14/drivers/media/pci/bt8xx/ |
H A D | bt878.h | 136 int shutdown; member in struct:bt878
|
H A D | bttv-if.c | 87 if(btv->shutdown) { bttv_read_gpio()
|
/linux-4.4.14/arch/x86/include/uapi/asm/ |
H A D | svm.h | 118 { SVM_EXIT_SHUTDOWN, "shutdown" }, \
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
H A D | mshyperv.c | 190 machine_ops.shutdown = hv_machine_shutdown; ms_hyperv_init_platform()
|
/linux-4.4.14/arch/x86/platform/iris/ |
H A D | iris.c | 5 * It is shutdown by a special I/O sequence which this module provides.
|
/linux-4.4.14/net/9p/ |
H A D | mod.c | 184 * exit_p9 - shutdown module
|
/linux-4.4.14/net/atm/ |
H A D | pvc.c | 122 .shutdown = pvc_shutdown,
|
/linux-4.4.14/security/selinux/include/ |
H A D | classmap.h | 9 "listen", "accept", "getopt", "setopt", "shutdown", "recvfrom", \
|
/linux-4.4.14/fs/xfs/ |
H A D | xfs_sysctl.h | 61 * 1 Report EFSCORRUPTED errors that will cause a filesystem shutdown
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | macio.h | 131 int (*shutdown)(struct macio_dev* dev); member in struct:macio_driver
|
/linux-4.4.14/arch/powerpc/platforms/embedded6xx/ |
H A D | linkstation.c | 122 /* send shutdown command */ linkstation_power_off()
|
/linux-4.4.14/arch/metag/kernel/ |
H A D | smp.c | 266 * __cpu_disable runs on the processor to be shutdown. 296 * called on the thread which is asking for a CPU to be shutdown - 297 * waits until shutdown has completed, or it is timed out. 306 * Called from the idle thread for the CPU which has been shutdown.
|
/linux-4.4.14/arch/powerpc/boot/ |
H A D | mpsc.c | 151 /* Make sure the mpsc ctlrs are shutdown */ mpsc_console_init()
|
H A D | ps3.c | 71 /* lv1_panic will shutdown the lpar. */ ps3_exit()
|
/linux-4.4.14/arch/ia64/hp/sim/ |
H A D | simserial.c | 328 * This routine will shutdown a serial port; interrupts are disabled, and 331 static void shutdown(struct tty_port *port) shutdown() function 481 .shutdown = shutdown,
|
/linux-4.4.14/arch/arm/mach-socfpga/ |
H A D | platsmp.c | 98 * platform-specific code to shutdown a CPU
|
/linux-4.4.14/drivers/watchdog/ |
H A D | rt2880_wdt.c | 198 .shutdown = rt288x_wdt_shutdown,
|
H A D | txx9wdt.c | 168 .shutdown = txx9wdt_shutdown,
|
/linux-4.4.14/include/linux/mfd/samsung/ |
H A D | core.h | 135 /* Whether or not manually set PWRHOLD to low during shutdown. */
|
/linux-4.4.14/drivers/media/tuners/ |
H A D | mt2063.c | 127 MT2063_PD_SD = 0x0002, /* Enable power detector shutdown */ 128 MT2063_PDADC_SD = 0x0001, /* Enable power detector A/D shutdown */ 129 MT2063_VCO_SD = 0x8000, /* Enable VCO shutdown */ 130 MT2063_LTX_SD = 0x4000, /* Enable LTX shutdown */ 131 MT2063_LT1_SD = 0x2000, /* Enable LT1 shutdown */ 132 MT2063_LNA_SD = 0x1000, /* Enable LNA shutdown */ 133 MT2063_UPC_SD = 0x0800, /* Enable upconverter shutdown */ 134 MT2063_DNC_SD = 0x0400, /* Enable downconverter shutdown */ 135 MT2063_VGA_SD = 0x0200, /* Enable VGA shutdown */ 136 MT2063_AMP_SD = 0x0100, /* Enable AMP shutdown */ 137 MT2063_ALL_SD = 0xFF73, /* All shutdown bits for this tuner */ 138 MT2063_NONE_SD = 0x0000 /* No shutdown bits */ 1371 * MT2063_SoftwareShutdown() - Enables or disables software shutdown function. 1373 * mask is set will be shutdown. 2281 printk(KERN_ERR "%s: Couldn't shutdown\n", __func__);
|
/linux-4.4.14/net/vmw_vsock/ |
H A D | af_vsock.c | 430 return transport->shutdown(vsock_sk(sk), mode); vsock_send_shutdown() 856 /* INET sockets treat local write shutdown and peer write shutdown as a vsock_poll() 872 * the queue and write as long as the socket isn't shutdown for vsock_poll() 910 * shutdown flag for that. vsock_poll() 938 * but local send is not shutdown. vsock_poll() 1083 .shutdown = vsock_shutdown, 1535 /* Send data only if both sides are not shutdown in the direction. */ vsock_stream_sendmsg() 1667 * orderly shutdown. Differentiate between that case and when a vsock_stream_recvmsg() 1668 * peer has not connected or a local shutdown occured with the vsock_stream_recvmsg() 1819 .shutdown = vsock_shutdown,
|
/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
H A D | core.c | 234 DSSDBG("shutdown\n"); omap_dss_shutdown() 240 .shutdown = omap_dss_shutdown,
|
/linux-4.4.14/drivers/iio/adc/ |
H A D | ad7887.c | 33 #define AD7887_PM_MODE1 0 /* CS based shutdown */ 35 #define AD7887_PM_MODE3 2 /* auto shutdown after conversion */
|