/linux-master/drivers/phy/starfive/ |
H A D | Makefile | 2 obj-$(CONFIG_PHY_STARFIVE_JH7110_DPHY_RX) += phy-jh7110-dphy-rx.o 3 obj-$(CONFIG_PHY_STARFIVE_JH7110_PCIE) += phy-jh7110-pcie.o 4 obj-$(CONFIG_PHY_STARFIVE_JH7110_USB) += phy-jh7110-usb.o
|
H A D | phy-jh7110-usb.c | 14 #include <linux/phy/phy.h> 23 struct phy *phy; member in struct:jh7110_usb2_phy 30 static void usb2_set_ls_keepalive(struct jh7110_usb2_phy *phy, bool set) argument 35 val = readl(phy->regs + USB_LS_KEEPALIVE_OFF); 41 writel(val, phy->regs + USB_LS_KEEPALIVE_OFF); 44 static int usb2_phy_set_mode(struct phy *_phy, 47 struct jh7110_usb2_phy *phy = phy_get_drvdata(_phy); local 58 if (mode != phy 69 struct jh7110_usb2_phy *phy = phy_get_drvdata(_phy); local 85 struct jh7110_usb2_phy *phy = phy_get_drvdata(_phy); local 101 struct jh7110_usb2_phy *phy; local [all...] |
/linux-master/drivers/phy/allwinner/ |
H A D | phy-sun50i-usb3.c | 3 * Allwinner sun50i(H6) USB 3.0 phy driver 7 * Based on phy-sun9i-usb.c, which is: 21 #include <linux/phy/phy.h> 56 struct phy *phy; member in struct:sun50i_usb3_phy 62 static void sun50i_usb3_phy_open(struct sun50i_usb3_phy *phy) argument 66 val = readl(phy->regs + SUNXI_PHY_EXTERNAL_CONTROL); 69 writel(val, phy->regs + SUNXI_PHY_EXTERNAL_CONTROL); 71 val = readl(phy 100 struct sun50i_usb3_phy *phy = phy_get_drvdata(_phy); local 119 struct sun50i_usb3_phy *phy = phy_get_drvdata(_phy); local 135 struct sun50i_usb3_phy *phy; local [all...] |
H A D | Makefile | 2 obj-$(CONFIG_PHY_SUN4I_USB) += phy-sun4i-usb.o 3 obj-$(CONFIG_PHY_SUN6I_MIPI_DPHY) += phy-sun6i-mipi-dphy.o 4 obj-$(CONFIG_PHY_SUN9I_USB) += phy-sun9i-usb.o 5 obj-$(CONFIG_PHY_SUN50I_USB3) += phy-sun50i-usb3.o
|
/linux-master/drivers/phy/mscc/ |
H A D | Makefile | 3 # Makefile for the Microsemi phy drivers. 6 obj-$(CONFIG_PHY_OCELOT_SERDES) := phy-ocelot-serdes.o
|
/linux-master/include/linux/ |
H A D | fec.h | 14 #include <linux/phy.h> 17 phy_interface_t phy; member in struct:fec_platform_data
|
/linux-master/drivers/phy/ingenic/ |
H A D | Makefile | 2 obj-$(CONFIG_PHY_INGENIC_USB) += phy-ingenic-usb.o
|
/linux-master/drivers/phy/sunplus/ |
H A D | Makefile | 2 obj-$(CONFIG_PHY_SUNPLUS_USB) += phy-sunplus-usb2.o
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_hti_regs.h | 13 #define HDPORT_DDI_USED(phy) REG_BIT(2 * (phy) + 1)
|
H A D | intel_combo_phy_regs.h | 17 #define _ICL_COMBOPHY(phy) _PICK(phy, _ICL_COMBOPHY_A, \ 24 #define _ICL_PORT_CL_DW(dw, phy) (_ICL_COMBOPHY(phy) + \ 27 #define ICL_PORT_CL_DW5(phy) _MMIO(_ICL_PORT_CL_DW(5, phy)) 31 #define ICL_PORT_CL_DW10(phy) _MMIO(_ICL_PORT_CL_DW(10, phy)) 48 #define ICL_PORT_CL_DW12(phy) _MMIO(_ICL_PORT_CL_DW(12, phy)) [all...] |
H A D | intel_combo_phy.c | 55 icl_get_procmon_ref_values(struct drm_i915_private *dev_priv, enum phy phy) argument 59 val = intel_de_read(dev_priv, ICL_PORT_COMP_DW3(phy)); 78 enum phy phy) 82 procmon = icl_get_procmon_ref_values(dev_priv, phy); 84 intel_de_rmw(dev_priv, ICL_PORT_COMP_DW1(phy), 87 intel_de_write(dev_priv, ICL_PORT_COMP_DW9(phy), procmon->dw9); 88 intel_de_write(dev_priv, ICL_PORT_COMP_DW10(phy), procmon->dw10); 92 enum phy ph 77 icl_set_procmon_ref_values(struct drm_i915_private *dev_priv, enum phy phy) argument 91 check_phy_reg(struct drm_i915_private *dev_priv, enum phy phy, i915_reg_t reg, u32 mask, u32 expected_val) argument 109 icl_verify_procmon_ref_values(struct drm_i915_private *dev_priv, enum phy phy) argument 127 has_phy_misc(struct drm_i915_private *i915, enum phy phy) argument 148 icl_combo_phy_enabled(struct drm_i915_private *dev_priv, enum phy phy) argument 187 phy_is_master(struct drm_i915_private *dev_priv, enum phy phy) argument 215 icl_combo_phy_verify_state(struct drm_i915_private *dev_priv, enum phy phy) argument 257 intel_combo_phy_power_up_lanes(struct drm_i915_private *dev_priv, enum phy phy, bool is_dsi, int lane_count, bool lane_reversal) argument 308 enum phy phy; local 374 enum phy phy; local [all...] |
/linux-master/drivers/phy/tegra/ |
H A D | Makefile | 2 obj-$(CONFIG_PHY_TEGRA_XUSB) += phy-tegra-xusb.o 4 phy-tegra-xusb-y += xusb.o 5 phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_124_SOC) += xusb-tegra124.o 6 phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_132_SOC) += xusb-tegra124.o 7 phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_210_SOC) += xusb-tegra210.o 8 phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_186_SOC) += xusb-tegra186.o 9 phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_194_SOC) += xusb-tegra186.o 10 phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_234_SOC) += xusb-tegra186.o 11 obj-$(CONFIG_PHY_TEGRA194_P2U) += phy-tegra194-p2u.o
|
/linux-master/drivers/phy/intel/ |
H A D | Makefile | 2 obj-$(CONFIG_PHY_INTEL_KEEMBAY_EMMC) += phy-intel-keembay-emmc.o 3 obj-$(CONFIG_PHY_INTEL_KEEMBAY_USB) += phy-intel-keembay-usb.o 4 obj-$(CONFIG_PHY_INTEL_LGM_COMBO) += phy-intel-lgm-combo.o 5 obj-$(CONFIG_PHY_INTEL_LGM_EMMC) += phy-intel-lgm-emmc.o
|
/linux-master/drivers/phy/hisilicon/ |
H A D | phy-hi3670-pcie.c | 3 * PCIe phy driver for Kirin 970 25 #include <linux/phy/phy.h> 168 static inline void hi3670_apb_phy_writel(struct hi3670_pcie_phy *phy, u32 val, argument 171 writel(val, phy->base + APB_PHY_START_ADDR + reg); 174 static inline u32 hi3670_apb_phy_readl(struct hi3670_pcie_phy *phy, u32 reg) argument 176 return readl(phy->base + APB_PHY_START_ADDR + reg); 179 static inline void hi3670_apb_phy_updatel(struct hi3670_pcie_phy *phy, argument 184 regval = hi3670_apb_phy_readl(phy, reg); 187 hi3670_apb_phy_writel(phy, regva 190 kirin_apb_natural_phy_writel(struct hi3670_pcie_phy *phy, u32 val, u32 reg) argument 196 kirin_apb_natural_phy_readl(struct hi3670_pcie_phy *phy, u32 reg) argument 202 hi3670_pcie_phy_oe_enable(struct hi3670_pcie_phy *phy, bool enable) argument 215 hi3670_pcie_get_eyeparam(struct hi3670_pcie_phy *phy) argument 233 hi3670_pcie_set_eyeparam(struct hi3670_pcie_phy *phy) argument 278 hi3670_pcie_natural_cfg(struct hi3670_pcie_phy *phy) argument 306 hi3670_pcie_pll_init(struct hi3670_pcie_phy *phy) argument 334 hi3670_pcie_pll_ctrl(struct hi3670_pcie_phy *phy, bool enable) argument 374 hi3670_pcie_hp_debounce_gt(struct hi3670_pcie_phy *phy, bool open) argument 386 hi3670_pcie_phyref_gt(struct hi3670_pcie_phy *phy, bool open) argument 403 hi3670_pcie_oe_ctrl(struct hi3670_pcie_phy *phy, bool en_flag) argument 429 hi3670_pcie_ioref_gt(struct hi3670_pcie_phy *phy, bool open) argument 462 hi3670_pcie_allclk_ctrl(struct hi3670_pcie_phy *phy, bool clk_on) argument 503 is_pipe_clk_stable(struct hi3670_pcie_phy *phy) argument 524 hi3670_pcie_noc_power(struct hi3670_pcie_phy *phy, bool enable) argument 554 hi3670_pcie_get_resources_from_pcie(struct hi3670_pcie_phy *phy) argument 590 kirin_pcie_clk_ctrl(struct hi3670_pcie_phy *phy, bool enable) argument 639 struct hi3670_pcie_phy *phy = phy_get_drvdata(generic_phy); local 662 struct hi3670_pcie_phy *phy = phy_get_drvdata(generic_phy); local 717 struct hi3670_pcie_phy *phy = phy_get_drvdata(generic_phy); local 745 hi3670_pcie_phy_get_resources(struct hi3670_pcie_phy *phy, struct platform_device *pdev) argument 798 struct hi3670_pcie_phy *phy; local [all...] |
/linux-master/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_phy_8x74.c | 9 static void hdmi_phy_8x74_powerup(struct hdmi_phy *phy, argument 12 hdmi_phy_write(phy, REG_HDMI_8x74_ANA_CFG0, 0x1b); 13 hdmi_phy_write(phy, REG_HDMI_8x74_ANA_CFG1, 0xf2); 14 hdmi_phy_write(phy, REG_HDMI_8x74_BIST_CFG0, 0x0); 15 hdmi_phy_write(phy, REG_HDMI_8x74_BIST_PATN0, 0x0); 16 hdmi_phy_write(phy, REG_HDMI_8x74_BIST_PATN1, 0x0); 17 hdmi_phy_write(phy, REG_HDMI_8x74_BIST_PATN2, 0x0); 18 hdmi_phy_write(phy, REG_HDMI_8x74_BIST_PATN3, 0x0); 19 hdmi_phy_write(phy, REG_HDMI_8x74_PD_CTRL1, 0x20); 22 static void hdmi_phy_8x74_powerdown(struct hdmi_phy *phy) argument [all...] |
/linux-master/drivers/net/ |
H A D | sungem_phy.c | 47 static inline int __sungem_phy_read(struct mii_phy* phy, int id, int reg) argument 49 return phy->mdio_read(phy->dev, id, reg); 52 static inline void __sungem_phy_write(struct mii_phy* phy, int id, int reg, int val) argument 54 phy->mdio_write(phy->dev, id, reg, val); 57 static inline int sungem_phy_read(struct mii_phy* phy, int reg) argument 59 return phy->mdio_read(phy->dev, phy 62 sungem_phy_write(struct mii_phy* phy, int reg, int val) argument 67 reset_one_mii_phy(struct mii_phy* phy, int phy_id) argument 91 bcm5201_init(struct mii_phy* phy) argument 104 bcm5201_suspend(struct mii_phy* phy) argument 112 bcm5221_init(struct mii_phy* phy) argument 135 bcm5221_suspend(struct mii_phy* phy) argument 150 bcm5241_init(struct mii_phy* phy) argument 173 bcm5241_suspend(struct mii_phy* phy) argument 188 bcm5400_init(struct mii_phy* phy) argument 217 bcm5400_suspend(struct mii_phy* phy) argument 225 bcm5401_init(struct mii_phy* phy) argument 273 bcm5401_suspend(struct mii_phy* phy) argument 281 bcm5411_init(struct mii_phy* phy) argument 310 genmii_setup_aneg(struct mii_phy *phy, u32 advertise) argument 341 genmii_setup_forced(struct mii_phy *phy, int speed, int fd) argument 374 genmii_poll_link(struct mii_phy *phy) argument 387 genmii_read_link(struct mii_phy *phy) argument 411 generic_suspend(struct mii_phy* phy) argument 418 bcm5421_init(struct mii_phy* phy) argument 466 bcm54xx_setup_aneg(struct mii_phy *phy, u32 advertise) argument 510 bcm54xx_setup_forced(struct mii_phy *phy, int speed, int fd) argument 545 bcm54xx_read_link(struct mii_phy *phy) argument 571 marvell88e1111_init(struct mii_phy* phy) argument 595 bcm5421_poll_link(struct mii_phy* phy) argument 619 bcm5421_read_link(struct mii_phy* phy) argument 647 bcm5421_enable_fiber(struct mii_phy* phy, int autoneg) argument 668 bcm5461_poll_link(struct mii_phy* phy) argument 694 bcm5461_read_link(struct mii_phy* phy) argument 723 bcm5461_enable_fiber(struct mii_phy* phy, int autoneg) argument 742 marvell_setup_aneg(struct mii_phy *phy, u32 advertise) argument 793 marvell_setup_forced(struct mii_phy *phy, int speed, int fd) argument 843 marvell_read_link(struct mii_phy *phy) argument 1157 sungem_phy_probe(struct mii_phy *phy, int mii_id) argument [all...] |
/linux-master/drivers/phy/ti/ |
H A D | phy-omap-usb2.c | 17 #include <linux/phy/omap_control_phy.h> 18 #include <linux/phy/omap_usb.h> 19 #include <linux/phy/phy.h> 55 struct usb_phy phy; member in struct:omap_usb 71 #define phy_to_omapusb(x) container_of((x), struct omap_usb, phy) 93 * omap_usb2_set_comparator() - links the comparator present in the system with this phy 95 * @comparator: the companion phy(comparator) for this phy 97 * The phy companio 104 struct omap_usb *phy; local 118 struct omap_usb *phy = phy_to_omapusb(otg->usb_phy); local 128 struct omap_usb *phy = phy_to_omapusb(otg->usb_phy); local 155 omap_usb_phy_power(struct omap_usb *phy, int on) argument 177 struct omap_usb *phy = phy_get_drvdata(x); local 184 struct omap_usb *phy = phy_get_drvdata(x); local 189 omap_usb2_disable_clocks(struct omap_usb *phy) argument 198 omap_usb2_enable_clocks(struct omap_usb *phy) argument 227 struct omap_usb *phy = phy_get_drvdata(x); local 258 struct omap_usb *phy = phy_get_drvdata(x); local 346 omap_usb2_init_errata(struct omap_usb *phy) argument 368 struct omap_usb *phy; local 506 struct omap_usb *phy = platform_get_drvdata(pdev); local [all...] |
/linux-master/drivers/phy/motorola/ |
H A D | Makefile | 3 # Makefile for the phy drivers. 6 obj-$(CONFIG_PHY_CPCAP_USB) += phy-cpcap-usb.o 7 obj-$(CONFIG_PHY_MAPPHONE_MDM6600) += phy-mapphone-mdm6600.o
|
/linux-master/drivers/phy/lantiq/ |
H A D | Makefile | 2 obj-$(CONFIG_PHY_LANTIQ_RCU_USB2) += phy-lantiq-rcu-usb2.o 3 obj-$(CONFIG_PHY_LANTIQ_VRX200_PCIE) += phy-lantiq-vrx200-pcie.o
|
/linux-master/drivers/usb/phy/ |
H A D | phy-ulpi.c | 42 static int ulpi_set_otg_flags(struct usb_phy *phy) argument 47 if (phy->flags & ULPI_OTG_ID_PULLUP) 54 if (phy->flags & ULPI_OTG_DP_PULLDOWN_DIS) 57 if (phy->flags & ULPI_OTG_DM_PULLDOWN_DIS) 60 if (phy->flags & ULPI_OTG_EXTVBUSIND) 63 return usb_phy_io_write(phy, flags, ULPI_OTG_CTRL); 66 static int ulpi_set_fc_flags(struct usb_phy *phy) argument 74 if (phy->flags & ULPI_FC_HS) 76 else if (phy->flags & ULPI_FC_LS) 78 else if (phy 108 ulpi_set_ic_flags(struct usb_phy *phy) argument 127 ulpi_set_flags(struct usb_phy *phy) argument 142 ulpi_check_integrity(struct usb_phy *phy) argument 168 ulpi_init(struct usb_phy *phy) argument 201 struct usb_phy *phy = otg->usb_phy; local 227 struct usb_phy *phy = otg->usb_phy; local 243 otg_ulpi_init(struct usb_phy *phy, struct usb_otg *otg, struct usb_phy_io_ops *ops, unsigned int flags) argument 262 struct usb_phy *phy; local 286 struct usb_phy *phy; local [all...] |
/linux-master/drivers/usb/renesas_usbhs/ |
H A D | rcar2.c | 9 #include <linux/phy/phy.h> 18 struct phy *phy = phy_get(&pdev->dev, "usb"); local 20 if (IS_ERR(phy)) 21 return PTR_ERR(phy); 23 priv->phy = phy; 34 if (priv->phy) { 35 phy_put(&pdev->dev, priv->phy); [all...] |
/linux-master/drivers/phy/ralink/ |
H A D | Makefile | 2 obj-$(CONFIG_PHY_MT7621_PCI) += phy-mt7621-pci.o 3 obj-$(CONFIG_PHY_RALINK_USB) += phy-ralink-usb.o
|
/linux-master/drivers/phy/realtek/ |
H A D | Makefile | 2 obj-$(CONFIG_PHY_RTK_RTD_USB2PHY) += phy-rtk-usb2.o 3 obj-$(CONFIG_PHY_RTK_RTD_USB3PHY) += phy-rtk-usb3.o
|
/linux-master/drivers/phy/marvell/ |
H A D | Makefile | 2 obj-$(CONFIG_ARMADA375_USBCLUSTER_PHY) += phy-armada375-usb2.o 3 obj-$(CONFIG_PHY_BERLIN_SATA) += phy-berlin-sata.o 4 obj-$(CONFIG_PHY_BERLIN_USB) += phy-berlin-usb.o 5 obj-$(CONFIG_PHY_MMP3_USB) += phy-mmp3-usb.o 6 obj-$(CONFIG_PHY_MMP3_HSIC) += phy-mmp3-hsic.o 7 obj-$(CONFIG_PHY_MVEBU_A3700_COMPHY) += phy-mvebu-a3700-comphy.o 8 obj-$(CONFIG_PHY_MVEBU_A3700_UTMI) += phy-mvebu-a3700-utmi.o 9 obj-$(CONFIG_PHY_MVEBU_A38X_COMPHY) += phy-armada38x-comphy.o 10 obj-$(CONFIG_PHY_MVEBU_CP110_COMPHY) += phy-mvebu-cp110-comphy.o 11 obj-$(CONFIG_PHY_MVEBU_CP110_UTMI) += phy [all...] |
/linux-master/drivers/phy/st/ |
H A D | Makefile | 2 obj-$(CONFIG_PHY_MIPHY28LP) += phy-miphy28lp.o 3 obj-$(CONFIG_PHY_ST_SPEAR1310_MIPHY) += phy-spear1310-miphy.o 4 obj-$(CONFIG_PHY_ST_SPEAR1340_MIPHY) += phy-spear1340-miphy.o 5 obj-$(CONFIG_PHY_STIH407_USB) += phy-stih407-usb.o 6 obj-$(CONFIG_PHY_STM32_USBPHYC) += phy-stm32-usbphyc.o
|