Home
last modified time | relevance | path

Searched refs:shutdown (Results 1 - 25 of 2226) sorted by relevance

12345678910>>...90

/kernel/linux/linux-5.10/arch/powerpc/platforms/44x/
H A 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 in pika_dtm_unregister_shutdown()
136 struct dtm_shutdown *shutdown; temp_isr() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/mqueue/
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( in test_queue()
[all...]
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( in set()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/mqueue/
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( in test_queue()
[all...]
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( in set()
[all...]
/kernel/linux/linux-5.10/drivers/iio/adc/
H A 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 pi in max1241_probe()
[all...]
/kernel/linux/linux-6.6/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()
[all...]
/kernel/linux/linux-6.6/drivers/iio/pressure/
H A 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-5.10/drivers/oprofile/
H A Doprof.c81 if (oprofile_ops.shutdown) in oprofile_setup()
82 oprofile_ops.shutdown(); in oprofile_setup()
220 if (oprofile_ops.shutdown) in oprofile_shutdown()
221 oprofile_ops.shutdown(); in oprofile_shutdown()
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dehci-sh.c43 .shutdown = ehci_shutdown,
166 if (hcd->driver->shutdown) in ehci_hcd_sh_shutdown()
167 hcd->driver->shutdown(hcd); in ehci_hcd_sh_shutdown()
173 .shutdown = ehci_hcd_sh_shutdown,
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/dsa/microchip/
H A Dksz9477_spi.c76 if (dev && dev->dev_ops->shutdown) in ksz9477_spi_shutdown()
77 dev->dev_ops->shutdown(dev); in ksz9477_spi_shutdown()
111 .shutdown = ksz9477_spi_shutdown,
H A Dksz8795_spi.c77 if (dev && dev->dev_ops->shutdown) in ksz8795_spi_shutdown()
78 dev->dev_ops->shutdown(dev); in ksz8795_spi_shutdown()
108 .shutdown = ksz8795_spi_shutdown,
H A Dksz9477_i2c.c68 if (dev && dev->dev_ops->shutdown) in ksz9477_i2c_shutdown()
69 dev->dev_ops->shutdown(dev); in ksz9477_i2c_shutdown()
96 .shutdown = ksz9477_i2c_shutdown,
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/sound/hda/ext/
H A Dhdac_ext_bus.c108 return (get_hdrv(dev))->shutdown(get_hdev(dev)); in hdac_ext_drv_shutdown()
126 if (drv->shutdown) in snd_hda_ext_driver_register()
127 drv->driver.shutdown = hdac_ext_drv_shutdown; in snd_hda_ext_driver_register()
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dehci-sh.c43 .shutdown = ehci_shutdown,
169 if (hcd->driver->shutdown) in ehci_hcd_sh_shutdown()
170 hcd->driver->shutdown(hcd); in ehci_hcd_sh_shutdown()
176 .shutdown = ehci_hcd_sh_shutdown,
/kernel/linux/linux-5.10/sound/soc/
H A Dsoc-link.c93 rtd->dai_link->ops->shutdown) in snd_soc_link_shutdown()
94 rtd->dai_link->ops->shutdown(substream); in snd_soc_link_shutdown()
164 rtd->dai_link->compr_ops->shutdown) in snd_soc_link_compr_shutdown()
165 rtd->dai_link->compr_ops->shutdown(cstream); in snd_soc_link_compr_shutdown()
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/
H A Dcx23885-input.c109 params.shutdown = atomic_read(&dev->ir_input_stopping); in cx23885_input_rx_work_handler()
120 params.shutdown = atomic_read(&dev->ir_input_stopping); in cx23885_input_rx_work_handler()
156 params.shutdown = false; in cx23885_input_ir_start()
184 params.shutdown = false; in cx23885_input_ir_start()
232 * It is shutdown this way in order to mitigate a race with in cx23885_input_ir_stop()
238 while (params.shutdown == false) { in cx23885_input_ir_stop()
241 params.shutdown = true; in cx23885_input_ir_stop()
/kernel/linux/linux-6.6/drivers/media/pci/cx23885/
H A Dcx23885-input.c109 params.shutdown = atomic_read(&dev->ir_input_stopping); in cx23885_input_rx_work_handler()
120 params.shutdown = atomic_read(&dev->ir_input_stopping); in cx23885_input_rx_work_handler()
156 params.shutdown = false; in cx23885_input_ir_start()
184 params.shutdown = false; in cx23885_input_ir_start()
232 * It is shutdown this way in order to mitigate a race with in cx23885_input_ir_stop()
238 while (params.shutdown == false) { in cx23885_input_ir_stop()
241 params.shutdown = true; in cx23885_input_ir_stop()
/kernel/linux/linux-6.6/sound/soc/amd/
H A Dacp-da7219-max98357a.c471 .shutdown = cz_da7219_shutdown,
476 .shutdown = cz_da7219_shutdown,
481 .shutdown = cz_da7219_shutdown,
486 .shutdown = cz_da7219_shutdown,
491 .shutdown = cz_da7219_shutdown,
496 .shutdown = cz_rt5682_shutdown,
501 .shutdown = cz_rt5682_shutdown,
506 .shutdown = cz_rt5682_shutdown,
511 .shutdown = cz_rt5682_shutdown,
516 .shutdown
[all...]
/kernel/linux/linux-5.10/arch/sh/kernel/
H A Dreboot.c64 .shutdown = native_machine_shutdown,
79 machine_ops.shutdown(); in machine_shutdown()
/kernel/linux/linux-6.6/arch/sh/kernel/
H A Dreboot.c63 .shutdown = native_machine_shutdown,
78 machine_ops.shutdown(); in machine_shutdown()
/kernel/linux/linux-5.10/sound/hda/ext/
H A Dhdac_ext_bus.c161 return (get_hdrv(dev))->shutdown(get_hdev(dev)); in hdac_ext_drv_shutdown()
179 if (drv->shutdown) in snd_hda_ext_driver_register()
180 drv->driver.shutdown = hdac_ext_drv_shutdown; in snd_hda_ext_driver_register()
/kernel/linux/linux-5.10/drivers/s390/char/
H A 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()

Completed in 10 milliseconds

12345678910>>...90