Home
last modified time | relevance | path

Searched refs:reset (Results 301 - 325 of 3973) sorted by relevance

1...<<11121314151617181920>>...159

/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dtoshiba_haps.c35 pr_err("Unable to reset the HDD protection\n"); in toshiba_haps_reset_protection()
100 int reset; in reset_protection_store() local
103 ret = kstrtoint(buf, 0, &reset); in reset_protection_store()
107 if (reset != 1) in reset_protection_store()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dbase.c153 if (gr->func->reset) in nvkm_gr_reset()
154 return gr->func->reset(gr); in nvkm_gr_reset()
190 .reset = nvkm_gr_reset,
/kernel/linux/linux-5.10/drivers/usb/dwc2/
H A Dcore.h870 * @reset_phy_on_wake: Quirk saying that we should assert PHY reset on a
911 * @flags.b.port_reset_change: True if root port reset status changed
988 * @reset_work: Delayed work for handling a port reset
989 * @phy_reset_work: Work structure for doing a PHY reset
1021 * @reset: Pointer to dwc2 reset controller
1022 * @reset_ecc: Pointer to dwc2 optional reset controller in Stratix10.
1081 struct reset_control *reset; member
1309 int reset, int is_host);
1403 bool reset);
1429 dwc2_hsotg_core_init_disconnected(struct dwc2_hsotg *dwc2, bool reset) dwc2_hsotg_core_init_disconnected() argument
1446 dwc2_gadget_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, int reset) dwc2_gadget_exit_hibernation() argument
1494 dwc2_host_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, int reset) dwc2_host_exit_hibernation() argument
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Dssd1307fb.c81 struct gpio_desc *reset; member
602 par->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW); in ssd1307fb_probe()
603 if (IS_ERR(par->reset)) { in ssd1307fb_probe()
604 dev_err(dev, "failed to get reset gpio: %ld\n", in ssd1307fb_probe()
605 PTR_ERR(par->reset)); in ssd1307fb_probe()
606 ret = PTR_ERR(par->reset); in ssd1307fb_probe()
704 if (par->reset) { in ssd1307fb_probe()
706 gpiod_set_value_cansleep(par->reset, 1); in ssd1307fb_probe()
708 gpiod_set_value_cansleep(par->reset, in ssd1307fb_probe()
[all...]
/kernel/linux/linux-5.10/drivers/video/backlight/
H A Dhx8357.c87 unsigned reset; member
324 gpio_set_value(lcd->reset, 1); in hx8357_lcd_reset()
326 gpio_set_value(lcd->reset, 0); in hx8357_lcd_reset()
328 gpio_set_value(lcd->reset, 1); in hx8357_lcd_reset()
330 /* The controller needs 120ms to recover from reset */ in hx8357_lcd_reset()
604 lcd->reset = of_get_named_gpio(spi->dev.of_node, "gpios-reset", 0); in hx8357_probe()
605 if (!gpio_is_valid(lcd->reset)) { in hx8357_probe()
606 dev_err(&spi->dev, "Missing dt property: gpios-reset\n"); in hx8357_probe()
610 ret = devm_gpio_request_one(&spi->dev, lcd->reset, in hx8357_probe()
[all...]
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace_selftest.c393 trace->reset(tr); in trace_selftest_startup_dynamic_tracing()
401 trace->reset(tr); in trace_selftest_startup_dynamic_tracing()
693 trace->reset(tr); in trace_selftest_startup_function()
800 /* Need to also simulate the tr->reset to remove this fgraph_ops */ in trace_selftest_startup_function_graph()
839 /* reset the max latency */ in trace_selftest_startup_irqsoff()
859 trace->reset(tr); in trace_selftest_startup_irqsoff()
901 /* reset the max latency */ in trace_selftest_startup_preemptoff()
921 trace->reset(tr); in trace_selftest_startup_preemptoff()
963 /* reset the max latency */ in trace_selftest_startup_preemptirqsoff()
1029 trace->reset(t in trace_selftest_startup_preemptirqsoff()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_mode_config.c174 * drm_mode_config_reset - call ->reset callbacks
177 * This functions calls all the crtc's, encoder's and connector's ->reset
179 * reset hardware and software state.
190 if (plane->funcs->reset) in drm_mode_config_reset()
191 plane->funcs->reset(plane); in drm_mode_config_reset()
194 if (crtc->funcs->reset) in drm_mode_config_reset()
195 crtc->funcs->reset(crtc); in drm_mode_config_reset()
198 if (encoder->funcs->reset) in drm_mode_config_reset()
199 encoder->funcs->reset(encoder); in drm_mode_config_reset()
203 if (connector->funcs->reset) in drm_mode_config_reset()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
H A Dsun4i_tv.c15 #include <linux/reset.h>
176 struct reset_control *reset; member
521 .reset = drm_atomic_helper_connector_reset,
565 tv->reset = devm_reset_control_get(dev, NULL); in sun4i_tv_bind()
566 if (IS_ERR(tv->reset)) { in sun4i_tv_bind()
567 dev_err(dev, "Couldn't get our reset line\n"); in sun4i_tv_bind()
568 return PTR_ERR(tv->reset); in sun4i_tv_bind()
571 ret = reset_control_deassert(tv->reset); in sun4i_tv_bind()
573 dev_err(dev, "Couldn't deassert our reset line\n"); in sun4i_tv_bind()
622 reset_control_assert(tv->reset); in sun4i_tv_bind()
[all...]
/kernel/linux/linux-6.6/drivers/video/backlight/
H A Dhx8357.c87 unsigned reset; member
324 gpio_set_value(lcd->reset, 1); in hx8357_lcd_reset()
326 gpio_set_value(lcd->reset, 0); in hx8357_lcd_reset()
328 gpio_set_value(lcd->reset, 1); in hx8357_lcd_reset()
330 /* The controller needs 120ms to recover from reset */ in hx8357_lcd_reset()
604 lcd->reset = of_get_named_gpio(spi->dev.of_node, "gpios-reset", 0); in hx8357_probe()
605 if (!gpio_is_valid(lcd->reset)) { in hx8357_probe()
606 dev_err(&spi->dev, "Missing dt property: gpios-reset\n"); in hx8357_probe()
610 ret = devm_gpio_request_one(&spi->dev, lcd->reset, in hx8357_probe()
[all...]
/kernel/linux/linux-6.6/drivers/usb/dwc2/
H A Dcore.h855 * @reset_phy_on_wake: Quirk saying that we should assert PHY reset on a
896 * @flags.b.port_reset_change: True if root port reset status changed
973 * @reset_work: Delayed work for handling a port reset
974 * @phy_reset_work: Work structure for doing a PHY reset
1007 * @reset: Pointer to dwc2 reset controller
1008 * @reset_ecc: Pointer to dwc2 optional reset controller in Stratix10.
1070 struct reset_control *reset; member
1297 int reset, int is_host);
1393 bool reset);
1427 dwc2_hsotg_core_init_disconnected(struct dwc2_hsotg *dwc2, bool reset) dwc2_hsotg_core_init_disconnected() argument
1444 dwc2_gadget_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, int reset) dwc2_gadget_exit_hibernation() argument
1512 dwc2_host_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, int reset) dwc2_host_exit_hibernation() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_mode_config.c177 * drm_mode_config_reset - call ->reset callbacks
180 * This functions calls all the crtc's, encoder's and connector's ->reset
182 * reset hardware and software state.
193 if (plane->funcs->reset) in drm_mode_config_reset()
194 plane->funcs->reset(plane); in drm_mode_config_reset()
197 if (crtc->funcs->reset) in drm_mode_config_reset()
198 crtc->funcs->reset(crtc); in drm_mode_config_reset()
201 if (encoder->funcs && encoder->funcs->reset) in drm_mode_config_reset()
202 encoder->funcs->reset(encoder); in drm_mode_config_reset()
206 if (connector->funcs->reset) in drm_mode_config_reset()
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dak4458.c16 #include <linux/reset.h>
50 struct reset_control *reset; member
638 } else if (!IS_ERR_OR_NULL(ak4458->reset)) { in ak4458_reset()
640 reset_control_assert(ak4458->reset); in ak4458_reset()
642 reset_control_deassert(ak4458->reset); in ak4458_reset()
758 ak4458->reset = devm_reset_control_get_optional_shared(ak4458->dev, NULL); in ak4458_i2c_probe()
759 if (IS_ERR(ak4458->reset)) in ak4458_i2c_probe()
760 return PTR_ERR(ak4458->reset); in ak4458_i2c_probe()
762 ak4458->reset_gpiod = devm_gpiod_get_optional(ak4458->dev, "reset", in ak4458_i2c_probe()
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_selftest.c424 trace->reset(tr); in trace_selftest_startup_dynamic_tracing()
432 trace->reset(tr); in trace_selftest_startup_dynamic_tracing()
726 trace->reset(tr); in trace_selftest_startup_function()
838 /* Need to also simulate the tr->reset to remove this fgraph_ops */ in trace_selftest_startup_function_graph()
941 /* reset the max latency */ in trace_selftest_startup_irqsoff()
961 trace->reset(tr); in trace_selftest_startup_irqsoff()
1003 /* reset the max latency */ in trace_selftest_startup_preemptoff()
1023 trace->reset(tr); in trace_selftest_startup_preemptoff()
1065 /* reset the max latency */ in trace_selftest_startup_preemptirqsoff()
1131 trace->reset(t in trace_selftest_startup_preemptirqsoff()
[all...]
/kernel/linux/linux-5.10/drivers/mfd/
H A Darizona-core.c295 if (arizona->pdata.reset) in arizona_enable_reset()
296 gpiod_set_raw_value_cansleep(arizona->pdata.reset, 0); in arizona_enable_reset()
301 if (arizona->pdata.reset) { in arizona_disable_reset()
305 /* Meet requirements for minimum reset duration */ in arizona_disable_reset()
312 gpiod_set_raw_value_cansleep(arizona->pdata.reset, 1); in arizona_disable_reset()
817 pdata->reset = devm_gpiod_get(arizona->dev, "wlf,reset", GPIOD_OUT_LOW); in arizona_of_get_core_pdata()
818 if (IS_ERR(pdata->reset)) { in arizona_of_get_core_pdata()
819 ret = PTR_ERR(pdata->reset); in arizona_of_get_core_pdata()
832 pdata->reset in arizona_of_get_core_pdata()
[all...]
/kernel/linux/linux-6.6/drivers/mfd/
H A Darizona-core.c294 if (arizona->pdata.reset) in arizona_enable_reset()
295 gpiod_set_raw_value_cansleep(arizona->pdata.reset, 0); in arizona_enable_reset()
300 if (arizona->pdata.reset) { in arizona_disable_reset()
304 /* Meet requirements for minimum reset duration */ in arizona_disable_reset()
311 gpiod_set_raw_value_cansleep(arizona->pdata.reset, 1); in arizona_disable_reset()
800 pdata->reset = devm_gpiod_get(arizona->dev, "wlf,reset", GPIOD_OUT_LOW); in arizona_of_get_core_pdata()
801 if (IS_ERR(pdata->reset)) { in arizona_of_get_core_pdata()
802 ret = PTR_ERR(pdata->reset); in arizona_of_get_core_pdata()
815 pdata->reset in arizona_of_get_core_pdata()
[all...]
/kernel/linux/linux-5.10/drivers/leds/
H A Dleds-bd2802.c70 struct gpio_desc *reset; member
90 * therefore BD2802GU doesn't enter reset state.
204 gpiod_set_value(led->reset, 1); in bd2802_update_state()
230 gpiod_set_value(led->reset, 0); in bd2802_reset_cancel()
424 gpiod_set_value(led->reset, 1); in bd2802_disable_adv_conf()
675 * We request the reset GPIO as OUT_LOW which means de-asserted, in bd2802_probe()
679 led->reset = devm_gpiod_get(&client->dev, "reset", GPIOD_OUT_LOW); in bd2802_probe()
680 if (IS_ERR(led->reset)) in bd2802_probe()
681 return PTR_ERR(led->reset); in bd2802_probe()
[all...]
/kernel/linux/linux-6.6/drivers/usb/dwc3/
H A Ddwc3-meson-g12a.c27 #include <linux/reset.h>
187 * reset to recover usage of the port.
254 struct reset_control *reset; member
736 priv->reset = devm_reset_control_get_shared(dev, NULL); in dwc3_meson_g12a_probe()
737 if (IS_ERR(priv->reset)) { in dwc3_meson_g12a_probe()
738 ret = PTR_ERR(priv->reset); in dwc3_meson_g12a_probe()
739 dev_err(dev, "failed to get device reset, err=%d\n", ret); in dwc3_meson_g12a_probe()
743 ret = reset_control_reset(priv->reset); in dwc3_meson_g12a_probe()
823 reset_control_rearm(priv->reset); in dwc3_meson_g12a_probe()
851 reset_control_rearm(priv->reset); in dwc3_meson_g12a_remove()
[all...]
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci-pci.c15 #include <linux/reset.h>
87 .reset = xhci_pci_setup,
590 /* called during probe() after chip reset completes */
640 struct reset_control *reset; in xhci_pci_probe() local
649 reset = devm_reset_control_get_optional_exclusive(&dev->dev, NULL); in xhci_pci_probe()
650 if (IS_ERR(reset)) in xhci_pci_probe()
651 return PTR_ERR(reset); in xhci_pci_probe()
652 reset_control_reset(reset); in xhci_pci_probe()
671 xhci->reset = reset; in xhci_pci_probe()
[all...]
/kernel/linux/linux-6.6/drivers/leds/
H A Dleds-bd2802.c70 struct gpio_desc *reset; member
90 * therefore BD2802GU doesn't enter reset state.
204 gpiod_set_value(led->reset, 1); in bd2802_update_state()
230 gpiod_set_value(led->reset, 0); in bd2802_reset_cancel()
424 gpiod_set_value(led->reset, 1); in bd2802_disable_adv_conf()
674 * We request the reset GPIO as OUT_LOW which means de-asserted, in bd2802_probe()
678 led->reset = devm_gpiod_get(&client->dev, "reset", GPIOD_OUT_LOW); in bd2802_probe()
679 if (IS_ERR(led->reset)) in bd2802_probe()
680 return PTR_ERR(led->reset); in bd2802_probe()
[all...]
/kernel/linux/linux-5.10/drivers/clk/sunxi-ng/
H A Dccu_reset.c9 #include <linux/reset-controller.h>
66 * The reset control API expects 0 if reset is not asserted, in ccu_reset_status()
75 .reset = ccu_reset_reset,
/kernel/linux/linux-5.10/arch/mips/ralink/
H A Dreset.c13 #include <linux/reset-controller.h>
63 .reset = ralink_reset_device,
78 "ralink,rt2880-reset"); in ralink_rst_init()
80 pr_err("Failed to find reset controller node"); in ralink_rst_init()
/kernel/linux/linux-5.10/arch/arm/mach-prima2/
H A Drstc.c3 * reset controller for CSR SiRFprimaII
17 #include <linux/reset-controller.h>
38 * Writing 0 to this bit de-asserts reset signal of the in sirfsoc_reset_module()
40 * delay between the set and clear of reset bit. it could in sirfsoc_reset_module()
57 .reset = sirfsoc_reset_module,
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
H A Dgmac.h98 int (*reset)(struct cmac *); member
135 int (*reset)(adapter_t *); member
/kernel/linux/linux-5.10/drivers/reset/
H A Dreset-berlin.c4 * Marvell Berlin reset driver
22 #include <linux/reset-controller.h>
45 /* let the reset be effective */ in berlin_reset_reset()
52 .reset = berlin_reset_reset,
93 { .compatible = "marvell,berlin2-reset" },
100 .name = "berlin2-reset",
H A Dreset-axs10x.c4 * Synopsys AXS10x reset driver.
15 #include <linux/reset-controller.h>
41 .reset = axs10x_reset_reset,
69 { .compatible = "snps,axs10x-reset" },
76 .name = "axs10x-reset",
83 MODULE_DESCRIPTION("Synopsys AXS10x reset driver");

Completed in 24 milliseconds

1...<<11121314151617181920>>...159