| /kernel/linux/linux-5.10/drivers/char/tpm/ |
| D | tpm_tis_spi_cr50.c | 1 // 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-6.6/drivers/char/tpm/ |
| D | tpm_tis_spi_cr50.c | 1 // 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. 39 /* Default quality for hwrng. */ 55 static inline struct cr50_spi_phy *to_cr50_spi_phy(struct tpm_tis_spi_phy *phy) in to_cr50_spi_phy() argument 57 return container_of(phy, struct cr50_spi_phy, spi_phy); in to_cr50_spi_phy() 69 cr50_phy->irq_confirmed = true; in cr50_spi_irq_handler() [all …]
|
| /kernel/linux/linux-6.6/drivers/phy/motorola/ |
| D | phy-mapphone-mdm6600.c | 1 // 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-5.10/drivers/phy/motorola/ |
| D | phy-mapphone-mdm6600.c | 1 // 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-5.10/Documentation/devicetree/bindings/usb/ |
| D | dwc2.yaml | 1 # 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/ |
| D | dsa.rst | 7 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-6.6/Documentation/devicetree/bindings/usb/ |
| D | dwc2.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 13 - $ref: usb-drd.yaml# 14 - $ref: usb-hcd.yaml# 19 - const: brcm,bcm2835-usb 20 - const: hisilicon,hi6220-usb 21 - const: ingenic,jz4775-otg 22 - const: ingenic,jz4780-otg [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/dwc2/ |
| D | platform.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * platform.c - DesignWare HS OTG Controller platform driver 13 #include <linux/dma-mapping.h> 17 #include <linux/phy/phy.h> 18 #include <linux/platform_data/s3c-hsotg.h> 39 * ------------------------------ 41 * HST DEV any : --- 44 * DEV HST any : --- 56 hsotg->dr_mode = usb_get_dr_mode(hsotg->dev); in dwc2_get_dr_mode() 57 if (hsotg->dr_mode == USB_DR_MODE_UNKNOWN) in dwc2_get_dr_mode() [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/dwc2/ |
| D | platform.c | 1 // 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-6.6/net/mac802154/ |
| D | util.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include "driver-ops.h" 13 /* privid for wpan_phys to determine whether they belong to us or not */ 17 * ieee802154_wake_queue - wake ieee802154 queue 21 * for both transmitting and receiving. Hence, the core currently only handles 22 * one frame at a time for each phy, which means we had to stop the queue to 32 clear_bit(WPAN_PHY_FLAG_STATE_QUEUE_STOPPED, &local->phy->flags); in ieee802154_wake_queue() 33 list_for_each_entry_rcu(sdata, &local->interfaces, list) { in ieee802154_wake_queue() 34 if (!sdata->dev) in ieee802154_wake_queue() 37 netif_wake_queue(sdata->dev); in ieee802154_wake_queue() [all …]
|
| D | ieee802154_i.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2007-2012 Siemens AG 8 * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> 36 /* ieee802154 phy */ 37 struct wpan_phy *phy; member 105 struct list_head list; /* the ieee802154_priv->slaves list */ 113 * level given by iface_default_filtering, which is set once for all at 114 * the interface creation and should not evolve over time. For some MAC 117 * the PHY level may be different and is shown in struct wpan_phy. 134 extern const void *const mac802154_wpan_phy_privid; /* for wpan_phy privid */ [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/ |
| D | mediatek-dwmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/mediatek-dwmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Biao Huang <biao.huang@mediatek.com> 13 This file documents platform glue layer for stmmac. 15 # We need a select here so we don't match all nodes with 'snps,dwmac' 21 - mediatek,mt2712-gmac 22 - mediatek,mt8188-gmac 23 - mediatek,mt8195-gmac [all …]
|
| /kernel/linux/linux-6.6/Documentation/networking/dsa/ |
| D | dsa.rst | 7 develop drivers for this subsystem as well as a TODO for developers interested 22 An Ethernet switch typically comprises 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-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 creates 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-6.6/drivers/net/phy/ |
| D | broadcom.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * drivers/net/phy/broadcom.c 13 #include "bcm-phy-lib.h" 16 #include <linux/phy.h> 25 ((phydev)->drv->phy_id & (phydev)->drv->phy_id_mask) 28 ((phydev)->drv->phy_id & ~((phydev)->drv->phy_id_mask)) 30 MODULE_DESCRIPTION("Broadcom PHY driver"); 43 struct bcm54xx_phy_priv *priv = phydev->priv; in bcm54xx_phy_can_wakeup() 45 return phy_interrupt_is_valid(phydev) || priv->wake_irq >= 0; in bcm54xx_phy_can_wakeup() 52 /* handling PHY's internal RX clock delay */ in bcm54xx_config_clock_delay() [all …]
|
| D | phylink.c | 1 // 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. 15 #include <linux/phy.h> 44 * struct phylink - internal data type for phylink 60 u8 link_port; /* The current non-phy ethtool port */ 93 if ((pl)->config->type == PHYLINK_NETDEV) \ 94 netdev_printk(level, (pl)->netdev, fmt, ##__VA_ARGS__); \ 95 else if ((pl)->config->type == PHYLINK_DEV) \ 96 dev_printk(level, (pl)->dev, fmt, ##__VA_ARGS__); \ [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/rockchip/ |
| D | rk3288-veyron.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/clock/rockchip,rk808.h> 9 #include <dt-bindings/input/input.h> 18 stdout-path = "serial2:115200n8"; 31 power_button: power-button { 32 compatible = "gpio-keys"; 33 pinctrl-names = "default"; 34 pinctrl-0 = <&pwr_key_l>; 36 key-power { 40 debounce-interval = <100>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | rk3288-veyron.dtsi | 1 // 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-6.6/drivers/usb/phy/ |
| D | phy-tegra-usb.c | 1 // SPDX-License-Identifier: GPL-2.0 159 /* For Tegra30 and above only, the address is different in Tegra20 */ 221 static void set_pts(struct tegra_usb_phy *phy, u8 pts_val) in set_pts() argument 223 void __iomem *base = phy->regs; in set_pts() 226 if (phy->soc_config->has_hostpc) { in set_pts() 240 static void set_phcd(struct tegra_usb_phy *phy, bool enable) in set_phcd() argument 242 void __iomem *base = phy->regs; in set_phcd() 245 if (phy->soc_config->has_hostpc) { in set_phcd() 262 static int utmip_pad_open(struct tegra_usb_phy *phy) in utmip_pad_open() argument 266 ret = clk_prepare_enable(phy->pad_clk); in utmip_pad_open() [all …]
|
| D | phy-gpio-vbus-usb.c | 1 // 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-5.10/drivers/usb/musb/ |
| D | tusb6010.c | 1 // 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-6.6/drivers/usb/musb/ |
| D | tusb6010.c | 1 // 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 27 #include <linux/dma-mapping.h> 35 struct platform_device *phy; member 46 * Checks the revision. We need to use the DMA register as 3.0 does not 47 * have correct versions for TUSB_PRCM_REV or TUSB_INT_CTRL_REV. 51 void __iomem *tbase = musb->ctrl_base; in tusb_get_revision() 68 void __iomem *tbase = musb->ctrl_base; in tusb_print_revision() 71 rev = musb->tusb_revision; in tusb_print_revision() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/sis/ |
| D | sis900.c | 1 /* 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-6.6/drivers/net/ethernet/sis/ |
| D | sis900.c | 1 /* 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/ |
| D | phylink.c | 1 // 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-5.10/drivers/usb/phy/ |
| D | phy-gpio-vbus-usb.c | 1 // 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 …]
|