Home
last modified time | relevance | path

Searched +full:probe +full:- +full:reset (Results 1 – 25 of 1041) sorted by relevance

12345678910>>...42

/Linux-v6.6/Documentation/driver-api/usb/
Dcallbacks.rst11 completion callback can be found in :ref:`usb-urb`.
17 - @probe:
21 - @disconnect:
28 - @ioctl:
36 - @suspend:
39 - @resume:
42 - @reset_resume:
43 Called when the suspended device has been reset instead
48 - @pre_reset:
49 Called when the device is about to be reset.
[all …]
/Linux-v6.6/Documentation/networking/devlink/
Ddevlink-params.rst1 .. SPDX-License-Identifier: GPL-2.0
8 level device functionality. Since devlink can operate at the device-wide
22 .. list-table:: Possible configuration modes
25 * - Name
26 - Description
27 * - ``runtime``
28 - set while the driver is running, and takes effect immediately. No
29 reset is required.
30 * - ``driverinit``
31 - applied while the driver initializes. Requires the user to restart
[all …]
/Linux-v6.6/drivers/net/phy/
Dmdio_device.c1 // SPDX-License-Identifier: GPL-2.0+
20 #include <linux/reset.h>
28 put_device(&mdiodev->dev); in mdio_device_free()
34 fwnode_handle_put(dev->fwnode); in mdio_device_release()
43 if (mdiodrv->mdiodrv.flags & MDIO_DEVICE_IS_PHY) in mdio_device_bus_match()
46 return strcmp(mdiodev->modalias, drv->name) == 0; in mdio_device_bus_match()
56 return ERR_PTR(-ENOMEM); in mdio_device_create()
58 mdiodev->dev.release = mdio_device_release; in mdio_device_create()
59 mdiodev->dev.parent = &bus->dev; in mdio_device_create()
60 mdiodev->dev.bus = &mdio_bus_type; in mdio_device_create()
[all …]
/Linux-v6.6/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-dwc-qos-eth.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Synopsys DWC Ethernet Quality-of-Service v4.10a linux driver
9 #include <linux/clk-provider.h>
21 #include <linux/reset.h>
37 struct gpio_desc *reset; member
43 struct device *dev = &pdev->dev; in dwc_eth_dwmac_config_dt()
48 if (!plat_dat->axi) { in dwc_eth_dwmac_config_dt()
49 plat_dat->axi = kzalloc(sizeof(struct stmmac_axi), GFP_KERNEL); in dwc_eth_dwmac_config_dt()
51 if (!plat_dat->axi) in dwc_eth_dwmac_config_dt()
52 return -ENOMEM; in dwc_eth_dwmac_config_dt()
[all …]
/Linux-v6.6/drivers/media/pci/cx18/
Dcx18-cards.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Derived from ivtv-cards.c
73 u32 active_lo_mask; /* GPIO outputs that reset i2c chips when low */
74 u32 active_hi_mask; /* GPIO outputs that reset i2c chips when high */
75 int msecs_asserted; /* time period reset must remain asserted */
77 u32 ir_reset_mask; /* GPIO to reset the Zilog Z8F0811 IR controller */
93 unsigned short radio[2];/* radio tuner i2c address to probe */
94 unsigned short demod[3];/* demodulator i2c address to probe */
95 unsigned short tv[4]; /* tv tuner i2c addresses to probe */
121 /* GPIO card-specific settings */
[all …]
/Linux-v6.6/drivers/reset/
Dreset-socfpga.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copied from reset-sunxi.c
13 #include <linux/reset-controller.h>
14 #include <linux/reset/reset-simple.h>
15 #include <linux/reset/socfpga.h>
32 return -ENOMEM; in a10_reset_init()
39 if (!request_mem_region(res.start, size, np->name)) { in a10_reset_init()
40 ret = -EBUSY; in a10_reset_init()
44 data->membase = ioremap(res.start, size); in a10_reset_init()
45 if (!data->membase) { in a10_reset_init()
[all …]
Dreset-scmi.c1 // SPDX-License-Identifier: GPL-2.0
3 * ARM System Control and Management Interface (ARM SCMI) reset driver
5 * Copyright (C) 2019-2021 ARM Ltd.
11 #include <linux/reset-controller.h>
17 * struct scmi_reset_data - reset controller information structure
18 * @rcdev: reset controller entity
27 #define to_scmi_handle(p) (to_scmi_reset_data(p)->ph)
30 * scmi_reset_assert() - assert device reset
31 * @rcdev: reset controller entity
32 * @id: ID of the reset to be asserted
[all …]
Dreset-axs10x.c4 * Synopsys AXS10x reset driver.
15 #include <linux/reset-controller.h>
33 spin_lock_irqsave(&rst->lock, flags); in axs10x_reset_reset()
34 writel(BIT(id), rst->regs_rst); in axs10x_reset_reset()
35 spin_unlock_irqrestore(&rst->lock, flags); in axs10x_reset_reset()
41 .reset = axs10x_reset_reset,
48 rst = devm_kzalloc(&pdev->dev, sizeof(*rst), GFP_KERNEL); in axs10x_reset_probe()
50 return -ENOMEM; in axs10x_reset_probe()
52 rst->regs_rst = devm_platform_ioremap_resource(pdev, 0); in axs10x_reset_probe()
53 if (IS_ERR(rst->regs_rst)) in axs10x_reset_probe()
[all …]
/Linux-v6.6/Documentation/admin-guide/blockdev/
Dparide.rst5 PARIDE v1.03 (c) 1997-8 Grant Guenther <grant@torque.net>
12 to personal computers, many external devices such as portable hard-disk,
13 CD-ROM, LS-120 and tape drives use the parallel port to connect to their
14 host computer. While some devices (notably scanners) use ad-hoc methods
17 a parallel-port adapter chip added in. Some of the original parallel port
19 (The Iomega PPA-3 adapter used in the ZIP drives is an example of this
27 which is then connected to a floppy-tape mechanism. The vast majority
30 were to open up a parallel port CD-ROM drive, for instance, one would
31 find a standard ATAPI CD-ROM drive, a power supply, and a single adapter
33 IDE cable. It is usually possible to exchange the CD-ROM device with
[all …]
/Linux-v6.6/drivers/hid/intel-ish-hid/ishtp/
Dbus.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2012-2016, Intel Corporation.
15 #include "ishtp-dev.h"
28 * ishtp_recv() - process ishtp message
42 msg_hdr = dev->ops->ishtp_read_hdr(dev); in ishtp_recv()
46 dev->ops->sync_fw_clock(dev); in ishtp_recv()
49 dev->ishtp_msg_hdr = msg_hdr; in ishtp_recv()
52 if (ishtp_hdr->length > dev->mtu) { in ishtp_recv()
53 dev_err(dev->devc, in ishtp_recv()
54 "ISHTP hdr - bad length: %u; dropped [%08X]\n", in ishtp_recv()
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/pinctrl/
Dsemtech,sx1501q.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Neil Armstrong <neil.armstrong@linaro.org>
16 - semtech,sx1501q
17 - semtech,sx1502q
18 - semtech,sx1503q
19 - semtech,sx1504q
20 - semtech,sx1505q
21 - semtech,sx1506q
[all …]
/Linux-v6.6/drivers/net/ethernet/8390/
Dne.c1 // SPDX-License-Identifier: GPL-1.0+
2 /* ne.c: A general non-shared-memory NS8390 ethernet driver for linux. */
4 Written 1992-94 by Donald Becker.
12 This driver should work with many programmed-I/O 8390-based ethernet
20 Paul Gortmaker : new reset code, reset card after probe at boot.
23 Paul Gortmaker : Allow users with bad cards to avoid full probe.
24 Paul Gortmaker : PCI probe changes, more PCI cards supported.
26 occur after memory is allocated for dev->priv. Deallocated memory
29 Paul Gortmaker : Discontinued PCI support - use ne2k-pci.c instead.
34 /* Routines for the NatSemi-based designs (NE[12]000). */
[all …]
/Linux-v6.6/drivers/reset/sti/
Dreset-syscfg.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
11 #include <linux/reset-controller.h>
14 * Reset channel description for a system configuration register based
15 * reset controller.
19 * @reset: Regmap field description of the channel's reset bit.
24 struct reg_field reset; member
30 .reset = REG_FIELD(_rr, _rb, _rb), \
35 .reset = REG_FIELD(_rr, _rb, _rb), }
38 * Description of a system configuration register based reset controller.
40 * @wait_for_ack: The controller will wait for reset assert and de-assert to
[all …]
/Linux-v6.6/drivers/devfreq/event/
Dexynos-nocp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * exynos-nocp.c - Exynos NoC (Network On Chip) Probe support
11 #include <linux/devfreq-event.h>
17 #include "exynos-nocp.h"
30 * The devfreq-event ops structure for nocp probe.
37 /* Disable NoC probe */ in exynos_nocp_set_event()
38 ret = regmap_update_bits(nocp->regmap, NOCP_MAIN_CTL, in exynos_nocp_set_event()
41 dev_err(nocp->dev, "failed to disable the NoC probe device\n"); in exynos_nocp_set_event()
46 ret = regmap_write(nocp->regmap, NOCP_STAT_PERIOD, 0x0); in exynos_nocp_set_event()
51 ret = regmap_update_bits(nocp->regmap, NOCP_COUNTERS_0_SRC, in exynos_nocp_set_event()
[all …]
/Linux-v6.6/drivers/gpu/drm/i915/
DKconfig.profile35 that complements the runtime-pm autosuspend and provides a lower
46 check the health of the GPU and undertake regular house-keeping of
62 HW will be reset to allow the more important context to execute.
69 The compiled in default may get overridden at driver probe time on
80 before the timer expires, the HW will be reset to allow the more
88 The compiled in default may get overridden at driver probe time on
98 take a non-negligible time to setup, we do a short spin first to
110 int "How long to wait for an engine to quiesce gracefully before reset (ms)"
116 damage as the system is reset in order to recover. The corollary is
117 that the reset itself may take longer and so be more disruptive to
/Linux-v6.6/drivers/net/wireless/st/cw1200/
Dcw1200_sdio.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Mac80211 SDIO driver for ST-Ericsson CW1200 device
5 * Copyright (c) 2010, ST-Ericsson
22 #include <linux/platform_data/net-cw1200.h>
26 MODULE_DESCRIPTION("mac80211 ST-Ericsson CW1200 SDIO driver");
64 return sdio_memcpy_fromio(self->func, dst, addr, count); in cw1200_sdio_memcpy_fromio()
71 return sdio_memcpy_toio(self->func, addr, (void *)src, count); in cw1200_sdio_memcpy_toio()
76 sdio_claim_host(self->func); in cw1200_sdio_lock()
81 sdio_release_host(self->func); in cw1200_sdio_unlock()
89 if (self->core) in cw1200_sdio_irq_handler()
[all …]
/Linux-v6.6/drivers/net/ethernet/sfc/falcon/
Defx.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2005-2013 Solarflare Communications Inc.
83 /* Reset workqueue. If any NIC has a hardware failure then a reset will be
84 * queued onto this work queue. This is not a per-nic work queue, because
89 /* How often and how many times to poll for a reset while waiting for a
107 * This is only used in MSI-X interrupt mode
116 * On Falcon-based NICs, this will:
117 * - Check the on-board hardware monitor;
118 * - Poll the link state and reconfigure the hardware as necessary.
[all …]
Dqt202x_phy.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2006-2012 Solarflare Communications Inc.
27 /* Quake-specific MDIO registers */
85 ((1 << PCS_FW_HEARTB_WIDTH) - 1)); in qt2025c_wait_heartbeat()
92 * PHY's on-board EEPROM so it cannot load firmware */ in qt2025c_wait_heartbeat()
93 netif_err(efx, hw, efx->net_dev, in qt2025c_wait_heartbeat()
97 return -ETIMEDOUT; in qt2025c_wait_heartbeat()
116 ((1 << PCS_UC_STATUS_WIDTH) - 1) << PCS_UC_STATUS_LBN) >= in qt2025c_wait_fw_status_good()
120 return -ETIMEDOUT; in qt2025c_wait_fw_status_good()
144 if (rc == -ETIMEDOUT) { in qt2025c_wait_reset()
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/net/
Dmicrel-ks8995.txt3 Required properties (according to spi-bus.txt):
4 - compatible: either "micrel,ks8995", "micrel,ksz8864" or "micrel,ksz8795"
7 - reset-gpios : phandle of gpio that will be used to reset chip during probe
11 spi-master {
17 spi-max-frequency = <50000000>;
18 reset-gpios = <&gpio0 46 GPIO_ACTIVE_LOW>;
/Linux-v6.6/Documentation/devicetree/bindings/sound/
Dak5386.txt1 AK5386 Single-ended 24-Bit 192kHz delta-sigma ADC
7 - compatible : "asahi-kasei,ak5386"
11 - reset-gpio : a GPIO spec for the reset/power down pin.
12 If specified, it will be deasserted at probe time.
13 - va-supply : a regulator spec, providing 5.0V
14 - vd-supply : a regulator spec, providing 3.3V
19 compatible = "asahi-kasei,ak5386";
20 reset-gpio = <&gpio0 23>;
21 va-supply = <&vdd_5v0_reg>;
22 vd-supply = <&vdd_3v3_reg>;
Dadi,adau1701.txt5 - compatible: Should contain "adi,adau1701"
6 - reg: The i2c address. Value depends on the state of ADDR0
11 - reset-gpio: A GPIO spec to define which pin is connected to the
12 chip's !RESET pin. If specified, the driver will
13 assert a hardware reset at probe time.
14 - adi,pll-mode-gpios: An array of two GPIO specs to describe the GPIOs
19 - adi,pin-config: An array of 12 numerical values selecting one of the
23 - avdd-supply: Power supply for AVDD, providing 3.3V
24 - dvdd-supply: Power supply for DVDD, providing 3.3V
32 reset-gpio = <&gpio 23 0>;
[all …]
/Linux-v6.6/include/linux/cdx/
Dcdx_bus.h1 /* SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2022-2023, Advanced Micro Devices, Inc.
38 * CDX_DEVICE_DRIVER_OVERRIDE - macro used to describe a CDX device with
51 * struct cdx_ops - Callbacks supported by CDX controller.
53 * @dev_configure: configuration like reset, master_enable,
76 * struct cdx_device - CDX device object
112 * struct cdx_driver - CDX device driver
115 * @probe: Function called when a device is added
118 * @reset_prepare: Function called before is reset to notify driver
119 * @reset_done: Function called after reset is complete to notify driver
[all …]
/Linux-v6.6/drivers/net/ethernet/sfc/siena/
Defx_common.c1 // SPDX-License-Identifier: GPL-2.0-only
37 * On Falcon-based NICs, this will:
38 * - Check the on-board hardware monitor;
39 * - Poll the link state and reconfigure the hardware as necessary.
40 * On Siena-based NICs for power systems with EEH support, this will give EEH a
45 /* How often and how many times to poll for a reset while waiting for a
107 /* Reset workqueue. If any NIC has a hardware failure then a reset will be
108 * queued onto this work queue. This is not a per-nic work queue, because
117 printk(KERN_ERR "Failed to create reset workqueue\n"); in efx_siena_create_reset_workqueue()
118 return -ENOMEM; in efx_siena_create_reset_workqueue()
[all …]
/Linux-v6.6/drivers/gpu/drm/meson/
Dmeson_dw_mipi_dsi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
14 #include <linux/reset.h>
33 #define DRIVER_NAME "meson-dw-mipi-dsi"
34 #define DRIVER_DESC "Amlogic Meson MIPI-DSI DRM driver"
56 /* Software reset */ in meson_dw_mipi_dsi_hw_init()
61 mipi_dsi->base + MIPI_DSI_TOP_SW_RESET); in meson_dw_mipi_dsi_hw_init()
64 0, mipi_dsi->base + MIPI_DSI_TOP_SW_RESET); in meson_dw_mipi_dsi_hw_init()
69 mipi_dsi->base + MIPI_DSI_TOP_CLK_CNTL); in meson_dw_mipi_dsi_hw_init()
72 writel_relaxed(0, mipi_dsi->base + MIPI_DSI_TOP_MEM_PD); in meson_dw_mipi_dsi_hw_init()
82 ret = clk_set_rate(mipi_dsi->bit_clk, in dw_mipi_dsi_phy_init()
[all …]
/Linux-v6.6/sound/soc/sof/intel/
Dbyt.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
18 #include <sound/soc-acpi.h>
19 #include <sound/soc-acpi-intel-match.h>
20 #include <sound/intel-dsp-config.h>
24 #include "../sof-acpi-dev.h"
25 #include "../sof-audio.h"
26 #include "../../intel/common/soc-intel-quirks.h"
80 /* Put DSP into reset, set reset vector */ in byt_reset_dsp_disable_int()
112 struct snd_sof_pdata *pdata = sdev->pdata; in byt_acpi_probe()
113 const struct sof_dev_desc *desc = pdata->desc; in byt_acpi_probe()
[all …]

12345678910>>...42