Home
last modified time | relevance | path

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

12345678910>>...44

/linux-6.14.4/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-6.14.4/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-6.14.4/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 = devm_kzalloc(&pdev->dev, in dwc_eth_dwmac_config_dt()
53 if (!plat_dat->axi) in dwc_eth_dwmac_config_dt()
54 return -ENOMEM; in dwc_eth_dwmac_config_dt()
[all …]
/linux-6.14.4/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-6.14.4/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-6.14.4/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 …]
/linux-6.14.4/Documentation/admin-guide/blockdev/
Dparide.rst5 PARIDE v1.03 (c) 1997-8 Grant Guenther <[email protected]>
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-6.14.4/include/linux/
Dintel-ish-client-if.h1 /* SPDX-License-Identifier: GPL-2.0 */
32 * struct ishtp_cl_device - ISHTP device handle
34 * @name: Name of the device for probe
35 * @probe: driver callback for device probe
44 int (*probe)(struct ishtp_cl_device *dev); member
46 int (*reset)(struct ishtp_cl_device *dev); member
51 * struct ishtp_msg_data - ISHTP message data struct
61 * struct ishtp_cl_rb - request block structure
98 int tx_size, int rx_size, bool reset);
99 void ishtp_cl_destroy_connection(struct ishtp_cl *cl, bool reset);
/linux-6.14.4/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-6.14.4/drivers/net/phy/qcom/
Dqca83xx.c1 // SPDX-License-Identifier: GPL-2.0+
52 struct qca83xx_priv *priv = phydev->priv; in qca83xx_get_stat()
65 priv->stats[i] += val; in qca83xx_get_stat()
66 ret = priv->stats[i]; in qca83xx_get_stat()
83 struct device *dev = &phydev->mdio.dev; in qca83xx_probe()
88 return -ENOMEM; in qca83xx_probe()
90 phydev->priv = priv; in qca83xx_probe()
99 switch_revision = phydev->dev_flags & QCA8K_DEVFLAGS_REVISION_MASK; in qca83xx_config_init()
141 if (phydev->state == PHY_RUNNING) { in qca83xx_link_change_notify()
142 if (phydev->speed == SPEED_100) in qca83xx_link_change_notify()
[all …]
/linux-6.14.4/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 <[email protected]>
16 - semtech,sx1501q
17 - semtech,sx1502q
18 - semtech,sx1503q
19 - semtech,sx1504q
20 - semtech,sx1505q
21 - semtech,sx1506q
[all …]
/linux-6.14.4/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-6.14.4/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-6.14.4/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-6.14.4/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-6.14.4/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-6.14.4/drivers/platform/x86/
Dmeegopad_anx7428.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver to power on the Analogix ANX7428 USB Type-C crosspoint switch
4 * on MeeGoPad top-set boxes.
6 * The MeeGoPad T8 and T9 are Cherry Trail top-set boxes which
7 * use an ANX7428 to provide a Type-C port with USB3.1 Gen 1 and
8 * DisplayPort over Type-C alternate mode support.
12 * to send the right signal to the 4 highspeed pairs of the Type-C
16 * IOW the ANX7428 operates fully autonomous and to the x5-Z8350 SoC
17 * things look like there simply is a USB-3 Type-A connector and a
22 * It should be possible to tell the micro-controller which data- and/or
[all …]
/linux-6.14.4/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-6.14.4/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-6.14.4/drivers/net/wireless/st/cw1200/
Dcw1200_spi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Mac80211 SPI driver for ST-Ericsson CW1200 device
9 * Copyright (c) 2010, ST-Ericsson
25 #include <linux/platform_data/net-cw1200.h>
29 MODULE_DESCRIPTION("mac80211 ST-Ericsson CW1200 SPI driver");
41 struct gpio_desc *reset; member
54 Hardware expects 32-bit data to be written as 16-bit BE words:
91 if (self->func->bits_per_word == 8) in cw1200_spi_memcpy_fromio()
98 ret = spi_sync(self->func, &m); in cw1200_spi_memcpy_fromio()
114 if (self->func->bits_per_word == 8) in cw1200_spi_memcpy_fromio()
[all …]
/linux-6.14.4/drivers/watchdog/
Dsp805_wdt.c1 // SPDX-License-Identifier: GPL-2.0+
3 * drivers/char/watchdog/sp805-wdt.c
28 #include <linux/reset.h>
37 #define MODULE_NAME "sp805-wdt"
86 u32 wdtcontrol = readl_relaxed(wdt->base + WDTCONTROL); in wdt_is_running()
91 /* This routine finds load value that will reset system in required timeout */
97 rate = wdt->rate; in wdt_setload()
105 load = div_u64(rate, 2) * timeout - 1; in wdt_setload()
110 spin_lock(&wdt->lock); in wdt_setload()
111 wdt->load_val = load; in wdt_setload()
[all …]
/linux-6.14.4/drivers/net/ethernet/ibm/emac/
Dtah.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Driver for PowerPC 4xx on-chip ethernet controller, TAH support.
29 mutex_lock(&dev->lock); in tah_attach()
30 /* Reset has been done at probe() time... nothing else to do for now */ in tah_attach()
31 ++dev->users; in tah_attach()
32 mutex_unlock(&dev->lock); in tah_attach()
41 mutex_lock(&dev->lock); in tah_detach()
42 --dev->users; in tah_detach()
43 mutex_unlock(&dev->lock); in tah_detach()
49 struct tah_regs __iomem *p = dev->base; in tah_reset()
[all …]
/linux-6.14.4/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 …]

12345678910>>...44