Home
last modified time | relevance | path

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

12345678910>>...45

/linux/Documentation/driver-api/usb/
H A 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/Documentation/networking/devlink/
H A 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/drivers/net/ethernet/stmicro/stmmac/
H A 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/drivers/net/phy/
H A 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/drivers/media/pci/cx18/
H A 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/Documentation/admin-guide/blockdev/
H A 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/drivers/reset/
H A 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/drivers/hid/intel-ish-hid/ishtp/
H A 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/include/linux/
H A 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/drivers/net/phy/qcom/
H A Dqca83xx.c1 // SPDX-License-Identifier: GPL-2.0+
54 struct qca83xx_priv *priv = phydev->priv; in qca83xx_get_stat()
67 priv->stats[i] += val; in qca83xx_get_stat()
68 ret = priv->stats[i]; in qca83xx_get_stat()
85 struct device *dev = &phydev->mdio.dev; in qca83xx_probe()
90 return -ENOMEM; in qca83xx_probe()
92 phydev->priv = priv; in qca83xx_probe()
101 switch_revision = phydev->dev_flags & QCA8K_DEVFLAGS_REVISION_MASK; in qca83xx_config_init()
143 if (phydev->state == PHY_RUNNING) { in qca83xx_link_change_notify()
144 if (phydev->speed == SPEED_100) in qca83xx_link_change_notify()
[all …]
/linux/Documentation/devicetree/bindings/pinctrl/
H A 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/drivers/net/ethernet/8390/
H A 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/drivers/net/ethernet/sfc/falcon/
H A 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 …]
H A 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/drivers/devfreq/event/
H A 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/drivers/gpu/drm/i915/
H A 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/drivers/platform/x86/
H A 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/drivers/reset/sti/
H A 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/drivers/net/wireless/st/cw1200/
H A 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/drivers/watchdog/
H A 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"
87 u32 wdtcontrol = readl_relaxed(wdt->base + WDTCONTROL); in wdt_is_running()
92 /* This routine finds load value that will reset system in required timeout */
98 rate = wdt->rate; in wdt_setload()
106 load = div_u64(rate, 2) * timeout - 1; in wdt_setload()
111 spin_lock(&wdt->lock); in wdt_setload()
112 wdt->load_val = load; in wdt_setload()
[all …]
/linux/drivers/net/ethernet/sfc/siena/
H A 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/Documentation/devicetree/bindings/net/
H A 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/sound/soc/sof/intel/
H A 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-matc
[all...]
/linux/Documentation/devicetree/bindings/sound/
H A 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>;
/linux/drivers/net/ethernet/smsc/
H A Dsmsc911x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2004-2008 SMSC
5 * Copyright (C) 2005-2008 ARM
56 #define SMSC_MDIONAME "smsc911x-mdio"
57 #define SMSC_DRV_VERSION "2008-10-21"
94 /* device configuration (copied from platform_data during probe) */
138 /* Reset GPIO */
146 #define __smsc_shift(pdata, reg) ((reg) << ((pdata)->config.shift))
150 if (pdata->config.flags & SMSC911X_USE_32BIT) in __smsc911x_reg_read()
151 return readl(pdata->ioaddr + reg); in __smsc911x_reg_read()
[all …]

12345678910>>...45