Home
last modified time | relevance | path

Searched +full:need +full:- +full:phy +full:- +full:for +full:- +full:wake (Results 1 – 25 of 371) sorted by relevance

12345678910>>...15

/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm_tis_spi_cr50.c1 // SPDX-License-Identifier: GPL-2.0
5 * This device driver implements a TCG PTP FIFO interface over SPI for chips
23 * - can go to sleep not earlier than after CR50_SLEEP_DELAY_MSEC.
24 * - needs up to CR50_WAKE_START_DELAY_USEC to wake after sleep.
25 * - requires waiting for "ready" IRQ, if supported; or waiting for at least
27 * - waits for up to CR50_FLOW_CONTROL for flow control 'ready' indication.
52 static inline struct cr50_spi_phy *to_cr50_spi_phy(struct tpm_tis_spi_phy *phy) in to_cr50_spi_phy() argument
54 return container_of(phy, struct cr50_spi_phy, spi_phy); in to_cr50_spi_phy()
66 cr50_phy->irq_confirmed = true; in cr50_spi_irq_handler()
67 complete(&cr50_phy->spi_phy.ready); in cr50_spi_irq_handler()
[all …]
/kernel/linux/linux-5.10/drivers/phy/motorola/
Dphy-mapphone-mdm6600.c1 // SPDX-License-Identifier: GPL-2.0
3 * Motorola Mapphone MDM6600 modem GPIO controlled USB PHY driver
18 #include <linux/phy/phy.h>
21 #define PHY_MDM6600_PHY_DELAY_MS 4000 /* PHY enable 2.2s to 3.5s */
22 #define PHY_MDM6600_ENABLED_DELAY_MS 8000 /* 8s more total for MDM6600 */
28 PHY_MDM6600_ENABLE, /* USB PHY enable */
35 PHY_MDM6600_MODE0, /* out USB mode0 and OOB wake */
36 PHY_MDM6600_MODE1, /* out USB mode1, in OOB wake */
60 PHY_MDM6600_CMD_DATA_ONLY_BYPASS, /* Reroute USB to CPCAP PHY */
61 PHY_MDM6600_CMD_FULL_BYPASS, /* Reroute USB to CPCAP PHY */
[all …]
/kernel/linux/linux-4.19/drivers/phy/motorola/
Dphy-mapphone-mdm6600.c1 // SPDX-License-Identifier: GPL-2.0
3 * Motorola Mapphone MDM6600 modem GPIO controlled USB PHY driver
18 #include <linux/phy/phy.h>
20 #define PHY_MDM6600_PHY_DELAY_MS 4000 /* PHY enable 2.2s to 3.5s */
21 #define PHY_MDM6600_ENABLED_DELAY_MS 8000 /* 8s more total for MDM6600 */
27 PHY_MDM6600_ENABLE, /* USB PHY enable */
34 PHY_MDM6600_MODE0, /* out USB mode0 and OOB wake */
35 PHY_MDM6600_MODE1, /* out USB mode1, in OOB wake */
59 PHY_MDM6600_CMD_DATA_ONLY_BYPASS, /* Reroute USB to CPCAP PHY */
60 PHY_MDM6600_CMD_FULL_BYPASS, /* Reroute USB to CPCAP PHY */
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Ddwc2.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
15 - const: brcm,bcm2835-usb
16 - const: hisilicon,hi6220-usb
17 - items:
18 - const: rockchip,rk3066-usb
19 - const: snps,dwc2
20 - items:
[all …]
/kernel/linux/linux-5.10/Documentation/networking/dsa/
Ddsa.rst7 develop drivers for this subsystem as well as a TODO for developers interested
22 An Ethernet switch is typically comprised of multiple front-panel ports, and one
25 receiving Ethernet frames from the switch. This is a very common setup for all
27 gateways, or even top-of-the rack switches. This host Ethernet controller will
30 The D in DSA stands for Distributed, because the subsystem has been designed
36 For each front-panel port, DSA will create specialized network devices which are
37 used as controlling and data-flowing endpoints for use by the Linux networking
41 The ideal case for using DSA is when an Ethernet switch supports a "switch tag"
42 which is a hardware feature making the switch insert a specific tag for each
46 - what port is this frame coming from
[all …]
/kernel/linux/linux-4.19/Documentation/networking/dsa/
Ddsa.txt9 develop drivers for this subsystem as well as a TODO for developers interested
24 An Ethernet switch is typically comprised of multiple front-panel ports, and one
27 receiving Ethernet frames from the switch. This is a very common setup for all
29 gateways, or even top-of-the rack switches. This host Ethernet controller will
32 The D in DSA stands for Distributed, because the subsystem has been designed
38 For each front-panel port, DSA will create specialized network devices which are
39 used as controlling and data-flowing endpoints for use by the Linux networking
43 The ideal case for using DSA is when an Ethernet switch supports a "switch tag"
44 which is a hardware feature making the switch insert a specific tag for each
48 - what port is this frame coming from
[all …]
/kernel/linux/linux-5.10/drivers/usb/dwc2/
Dplatform.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * platform.c - DesignWare HS OTG Controller platform driver
16 * 3. The names of the above-listed copyright holders may not be used
27 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
29 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
43 #include <linux/dma-mapping.h>
47 #include <linux/phy/phy.h>
48 #include <linux/platform_data/s3c-hsotg.h>
69 * ------------------------------
71 * HST DEV any : ---
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/
Dstm32-dwmac.txt3 This file documents platform glue layer for stmmac.
4 Please see stmmac.txt for the other unchanged properties.
9 - compatible: For MCU family should be "st,stm32-dwmac" to select glue, and
10 "snps,dwmac-3.50a" to select IP version.
11 For MPU family should be "st,stm32mp1-dwmac" to select
12 glue, and "snps,dwmac-4.20a" to select IP version.
13 - clocks: Must contain a phandle for each entry in clock-names.
14 - clock-names: Should be "stmmaceth" for the host clock.
15 Should be "mac-clk-tx" for the MAC TX clock.
16 Should be "mac-clk-rx" for the MAC RX clock.
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Drk3288-veyron.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <dt-bindings/clock/rockchip,rk808.h>
9 #include <dt-bindings/input/input.h>
14 stdout-path = "serial2:115200n8";
27 power_button: power-button {
28 compatible = "gpio-keys";
29 pinctrl-names = "default";
30 pinctrl-0 = <&pwr_key_l>;
36 debounce-interval = <100>;
37 wakeup-source;
[all …]
/kernel/linux/linux-5.10/drivers/usb/musb/
Dtusb6010.c1 // SPDX-License-Identifier: GPL-2.0
9 * - Driver assumes that interface to external host (main CPU) is
10 * configured for NOR FLASH interface instead of VLYNQ serial
24 #include <linux/dma-mapping.h>
32 struct platform_device *phy; member
41 * Checks the revision. We need to use the DMA register as 3.0 does not
42 * have correct versions for TUSB_PRCM_REV or TUSB_INT_CTRL_REV.
46 void __iomem *tbase = musb->ctrl_base; in tusb_get_revision()
63 void __iomem *tbase = musb->ctrl_base; in tusb_print_revision()
66 rev = musb->tusb_revision; in tusb_print_revision()
[all …]
/kernel/linux/linux-4.19/drivers/usb/musb/
Dtusb6010.c1 // SPDX-License-Identifier: GPL-2.0
9 * - Driver assumes that interface to external host (main CPU) is
10 * configured for NOR FLASH interface instead of VLYNQ serial
24 #include <linux/dma-mapping.h>
32 struct platform_device *phy; member
41 * Checks the revision. We need to use the DMA register as 3.0 does not
42 * have correct versions for TUSB_PRCM_REV or TUSB_INT_CTRL_REV.
46 void __iomem *tbase = musb->ctrl_base; in tusb_get_revision()
63 void __iomem *tbase = musb->ctrl_base; in tusb_print_revision()
66 rev = musb->tusb_revision; in tusb_print_revision()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sis/
Dsis900.c1 /* sis900.c: A SiS 900/7016 PCI Fast Ethernet driver for Linux.
17 SiS 7014 Single Chip 100BASE-TX/10BASE-T Physical Layer Solution,
21 Rev 1.08.09 Sep. 19 2005 Daniele Venzano add Wake on LAN support
22 Rev 1.08.08 Jan. 22 2005 Daniele Venzano use netif_msg for debugging messages
24 Rev 1.08.06 Sep. 24 2002 Mufasa Yang bug fix for Tx timeout & add SiS963 support
25 Rev 1.08.05 Jun. 6 2002 Mufasa Yang bug fix for read_eeprom & Tx descriptor over-boundary
28 Rev 1.08.02 Nov. 30 2001 Hui-Fen Hsu workaround for EDB & bug fix for dhcp problem
29 Rev 1.08.01 Aug. 25 2001 Hui-Fen Hsu update for 630ET & workaround for ICS1893 PHY
30 Rev 1.08.00 Jun. 11 2001 Hui-Fen Hsu workaround for RTL8201 PHY and some bug fix
31 …Rev 1.07.11 Apr. 2 2001 Hui-Fen Hsu updates PCI drivers to use the new pci_set_dma_mask for kerne…
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/sis/
Dsis900.c1 /* sis900.c: A SiS 900/7016 PCI Fast Ethernet driver for Linux.
17 SiS 7014 Single Chip 100BASE-TX/10BASE-T Physical Layer Solution,
21 Rev 1.08.09 Sep. 19 2005 Daniele Venzano add Wake on LAN support
22 Rev 1.08.08 Jan. 22 2005 Daniele Venzano use netif_msg for debugging messages
24 Rev 1.08.06 Sep. 24 2002 Mufasa Yang bug fix for Tx timeout & add SiS963 support
25 Rev 1.08.05 Jun. 6 2002 Mufasa Yang bug fix for read_eeprom & Tx descriptor over-boundary
28 Rev 1.08.02 Nov. 30 2001 Hui-Fen Hsu workaround for EDB & bug fix for dhcp problem
29 Rev 1.08.01 Aug. 25 2001 Hui-Fen Hsu update for 630ET & workaround for ICS1893 PHY
30 Rev 1.08.00 Jun. 11 2001 Hui-Fen Hsu workaround for RTL8201 PHY and some bug fix
31 …Rev 1.07.11 Apr. 2 2001 Hui-Fen Hsu updates PCI drivers to use the new pci_set_dma_mask for kerne…
[all …]
/kernel/linux/linux-5.10/drivers/net/phy/
Dphylink.c1 // SPDX-License-Identifier: GPL-2.0
3 * phylink models the MAC to optional PHY connection, supporting
4 * technologies such as SFP cages where the PHY is hot-pluggable.
14 #include <linux/phy.h>
38 * struct phylink - internal data type for phylink
55 u8 link_port; /* The current non-phy ethtool port */
84 if ((pl)->config->type == PHYLINK_NETDEV) \
85 netdev_printk(level, (pl)->netdev, fmt, ##__VA_ARGS__); \
86 else if ((pl)->config->type == PHYLINK_DEV) \
87 dev_printk(level, (pl)->dev, fmt, ##__VA_ARGS__); \
[all …]
/kernel/linux/linux-4.19/Documentation/networking/
De1000e.txt1 Linux* Driver for Intel(R) Ethernet Network Connection
5 Copyright(c) 1999 - 2013 Intel Corporation.
10 - Identifying Your Adapter
11 - Command Line Parameters
12 - Additional Configurations
13 - Support
19 Connections, except those that are 82575, 82576 and 82580-based*.
25 For more information on how to identify your adapter, go to the Adapter &
30 For the latest Intel network drivers for Linux, refer to the following
32 networking link on the left to search for your adapter:
[all …]
/kernel/linux/linux-5.10/drivers/usb/phy/
Dphy-gpio-vbus-usb.c1 // SPDX-License-Identifier: GPL-2.0
3 * gpio-vbus.c - simple GPIO VBUS sensing driver for B peripheral devices
24 * A simple GPIO VBUS sensing driver for B peripheral only devices
33 struct usb_phy phy; member
46 * stabilize, so the peripheral controller driver may need to cope with
60 struct regulator *vbus_draw = gpio_vbus->vbus_draw; in set_vbus_draw()
67 enabled = gpio_vbus->vbus_draw_enabled; in set_vbus_draw()
74 gpio_vbus->vbus_draw_enabled = 1; in set_vbus_draw()
81 gpio_vbus->vbus_draw_enabled = 0; in set_vbus_draw()
84 gpio_vbus->mA = mA; in set_vbus_draw()
[all …]
/kernel/linux/linux-4.19/drivers/usb/phy/
Dphy-gpio-vbus-usb.c1 // SPDX-License-Identifier: GPL-2.0
3 * gpio-vbus.c - simple GPIO VBUS sensing driver for B peripheral devices
25 * A simple GPIO VBUS sensing driver for B peripheral only devices
32 struct usb_phy phy; member
45 * stabilize, so the peripheral controller driver may need to cope with
59 struct regulator *vbus_draw = gpio_vbus->vbus_draw; in set_vbus_draw()
66 enabled = gpio_vbus->vbus_draw_enabled; in set_vbus_draw()
73 gpio_vbus->vbus_draw_enabled = 1; in set_vbus_draw()
80 gpio_vbus->vbus_draw_enabled = 0; in set_vbus_draw()
83 gpio_vbus->mA = mA; in set_vbus_draw()
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c4 Copyright (C) 2007-2011 STMicroelectronics Ltd
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
35 * dwmac1000_validate_mcast_bins - validates the number of Multicast filter bins
65 * dwmac1000_validate_ucast_entries - validate the Unicast address entries
70 * supports 1..32, 64, or 128 Unicast filter entries for it's Unicast filter
94 * stmmac_axi_setup - parse DT parameters for programming the AXI register
97 * if required, from device-tree the AXI internal register can be tuned
105 np = of_parse_phandle(pdev->dev.of_node, "snps,axi-config", 0); in stmmac_axi_setup()
109 axi = devm_kzalloc(&pdev->dev, sizeof(*axi), GFP_KERNEL); in stmmac_axi_setup()
112 return ERR_PTR(-ENOMEM); in stmmac_axi_setup()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c1 // SPDX-License-Identifier: GPL-2.0-only
5 Copyright (C) 2007-2011 STMicroelectronics Ltd
25 * dwmac1000_validate_mcast_bins - validates the number of Multicast filter bins
56 * dwmac1000_validate_ucast_entries - validate the Unicast address entries
62 * supports 1..32, 64, or 128 Unicast filter entries for it's Unicast filter
87 * stmmac_axi_setup - parse DT parameters for programming the AXI register
90 * if required, from device-tree the AXI internal register can be tuned
98 np = of_parse_phandle(pdev->dev.of_node, "snps,axi-config", 0); in stmmac_axi_setup()
102 axi = devm_kzalloc(&pdev->dev, sizeof(*axi), GFP_KERNEL); in stmmac_axi_setup()
105 return ERR_PTR(-ENOMEM); in stmmac_axi_setup()
[all …]
Ddwmac-stm32.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * dwmac-stm32.c - DWMAC Specific Glue layer for STM32 MCU
6 * Author: Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics.
16 #include <linux/phy.h>
32 /* CLOCK feed to PHY*/
37 /* Ethernet PHY interface selection in register SYSCFG Configuration
38 *------------------------------------------
40 *------------------------------------------
42 *------------------------------------------
44 *------------------------------------------
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2006 Intel Corporation. */
4 /* ethtool support for e1000 */
20 sizeof(((struct e1000_adapter *)0)->m), \
23 sizeof(((struct net_device *)0)->m), \
90 struct e1000_hw *hw = &adapter->hw; in e1000_get_link_ksettings()
93 if (hw->media_type == e1000_media_type_copper) { in e1000_get_link_ksettings()
103 if (hw->autoneg == 1) { in e1000_get_link_ksettings()
106 advertising |= hw->autoneg_advertised; in e1000_get_link_ksettings()
109 cmd->base.port = PORT_TP; in e1000_get_link_ksettings()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2006 Intel Corporation. */
4 /* ethtool support for e1000 */
20 sizeof(((struct e1000_adapter *)0)->m), \
23 sizeof(((struct net_device *)0)->m), \
90 struct e1000_hw *hw = &adapter->hw; in e1000_get_link_ksettings()
93 if (hw->media_type == e1000_media_type_copper) { in e1000_get_link_ksettings()
103 if (hw->autoneg == 1) { in e1000_get_link_ksettings()
106 advertising |= hw->autoneg_advertised; in e1000_get_link_ksettings()
109 cmd->base.port = PORT_TP; in e1000_get_link_ksettings()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dethtool.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * ethtool.h: Defines for Linux ethtool.
42 * enum ethtool_phys_id_state - indicator state for physical identification
58 ETH_RSS_HASH_TOP_BIT, /* Configurable RSS hash function - Toeplitz */
59 ETH_RSS_HASH_XOR_BIT, /* Configurable RSS hash function - Xor */
60 ETH_RSS_HASH_CRC32_BIT, /* Configurable RSS hash function - Crc32 */
87 * struct ethtool_link_ext_state_info - link extended state and substate.
102 * ethtool_rxfh_indir_default - get default value for RX flow hash indirection
106 * This function provides the default policy for RX flow hash indirection.
130 * ethtool_link_ksettings_zero_link_mode - clear link_ksettings link mode mask
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/micrel/
Dksz884x.c2 * drivers/net/ethernet/micrel/ksx884x.c - Micrel KSZ8841/2 PCI Ethernet driver
4 * Copyright (c) 2009-2010 Micrel, Inc.
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
278 #define PHY_CTRL_INTERVAL (KS884X_P2MBCR_P - KS884X_P1MBCR_P)
322 /* PHY Identifier Registers */
328 /* Auto-Negotiation Advertisement Register */
348 /* Auto-Negotiation Link Partner Ability Register */
369 #define PHY_SPECIAL_INTERVAL (KS884X_P2VCT_P - KS884X_P1VCT_P)
558 (KS8842_PORT_2_CTRL_1 - KS8842_PORT_1_CTRL_1))
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/micrel/
Dksz884x.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/net/ethernet/micrel/ksx884x.c - Micrel KSZ8841/2 PCI Ethernet driver
5 * Copyright (c) 2009-2010 Micrel, Inc.
270 #define PHY_CTRL_INTERVAL (KS884X_P2MBCR_P - KS884X_P1MBCR_P)
314 /* PHY Identifier Registers */
320 /* Auto-Negotiation Advertisement Register */
340 /* Auto-Negotiation Link Partner Ability Register */
361 #define PHY_SPECIAL_INTERVAL (KS884X_P2VCT_P - KS884X_P1VCT_P)
550 (KS8842_PORT_2_CTRL_1 - KS8842_PORT_1_CTRL_1))
655 #define STATIC_MAC_TABLE_ADDR 00-0000FFFF-FFFFFFFF
[all …]

12345678910>>...15