Searched refs:phy (Results 126 - 150 of 624) sorted by relevance

1234567891011>>

/drivers/gpu/drm/msm/hdmi/
H A Dhdmi.h62 struct hdmi_phy *phy; member in struct:hdmi
130 * The phy appears to be different, for example between 8960 and 8x60,
131 * so split the phy related functions out and load the correct one at
136 void (*destroy)(struct hdmi_phy *phy);
137 void (*reset)(struct hdmi_phy *phy);
138 void (*powerup)(struct hdmi_phy *phy, unsigned long int pixclock);
139 void (*powerdown)(struct hdmi_phy *phy);
H A Dhdmi_bridge.c97 struct hdmi_phy *phy = hdmi->phy; local
107 phy->funcs->powerup(phy, hdmi->pixclock);
123 struct hdmi_phy *phy = hdmi->phy; local
127 phy->funcs->powerdown(phy);
/drivers/usb/phy/
H A Dotg-wakelock.c142 struct usb_phy *phy; local
144 phy = usb_get_phy(USB_PHY_TYPE_USB2);
146 if (IS_ERR(phy)) {
148 return PTR_ERR(phy);
150 otgwl_xceiv = phy;
H A Dphy-mv-usb.c29 #include "phy-mv-usb.h"
59 struct mv_otg *mvotg = container_of(otg->phy, struct mv_otg, phy);
205 struct usb_otg *otg = mvotg->phy.otg;
226 struct usb_otg *otg = mvotg->phy.otg;
231 dev_info(mvotg->phy.dev, "gadget %s\n", on ? "on" : "off");
263 "init phy error %d\n", retval);
341 struct usb_phy *phy = &mvotg->phy; local
342 int old_state = phy
414 struct usb_phy *phy; local
[all...]
H A Dphy-fsl-usb.c45 #include "phy-fsl-usb.h"
277 if ((fsl_otg_dev->phy.state == OTG_STATE_B_SRP_INIT) &&
290 if (!fsl_otg_dev->phy.otg->host->b_hnp_enable)
502 struct fsl_otg *otg_dev = container_of(otg->phy, struct fsl_otg, phy);
597 otg_dev = container_of(otg->phy, struct fsl_otg, phy);
626 otg->phy->state = OTG_STATE_UNDEFINED;
647 otg_dev = container_of(otg->phy, struct fsl_otg, phy);
680 fsl_otg_set_power(struct usb_phy *phy, unsigned mA) argument
[all...]
/drivers/net/wireless/b43/
H A Dphy_g.h59 #define has_tx_magnification(phy) \
60 (((phy)->rev >= 2) && \
61 ((phy)->radio_ver == 0x2050) && \
62 ((phy)->radio_rev == 8))
64 #define has_loopback_gain(phy) \
65 (((phy)->rev > 1) || ((phy)->gmode))
H A Dppr.c82 struct b43_phy *phy = &dev->phy; local
154 if (phy->type == B43_PHYTYPE_N && phy->rev >= 3)
160 if (phy->type == B43_PHYTYPE_N && phy->rev >= 3)
178 if (phy->type == B43_PHYTYPE_N && phy->rev >= 3)
184 if (phy->type == B43_PHYTYPE_N && phy
[all...]
H A Dsysfs.c62 if (wldev->phy.type != B43_PHYTYPE_G) {
67 switch (wldev->phy.g->interfmode) {
123 if (wldev->phy.ops->interf_mitigation) {
124 err = wldev->phy.ops->interf_mitigation(wldev, mode);
/drivers/power/
H A Disp1704_charger.c62 struct usb_phy *phy; member in struct:isp1704_charger
75 return usb_phy_io_read(isp->phy, reg);
80 return usb_phy_io_write(isp->phy, val, reg);
252 switch (isp->phy->last_event) {
270 if (isp->phy->otg->gadget)
271 usb_gadget_connect(isp->phy->otg->gadget);
300 if (isp->phy->otg->gadget)
301 usb_gadget_disconnect(isp->phy->otg->gadget);
439 isp->phy = devm_usb_get_phy_by_phandle(&pdev->dev, "usb-phy",
[all...]
/drivers/dma/
H A Dk3dma.c80 struct k3_dma_phy *phy; member in struct:k3_dma_chan
101 struct k3_dma_phy *phy; member in struct:k3_dma_dev
115 static void k3_dma_pause_dma(struct k3_dma_phy *phy, bool on) argument
120 val = readl_relaxed(phy->base + CX_CFG);
122 writel_relaxed(val, phy->base + CX_CFG);
124 val = readl_relaxed(phy->base + CX_CFG);
126 writel_relaxed(val, phy->base + CX_CFG);
130 static void k3_dma_terminate_chan(struct k3_dma_phy *phy, struct k3_dma_dev *d) argument
134 k3_dma_pause_dma(phy, false);
136 val = 0x1 << phy
142 k3_dma_set_desc(struct k3_dma_phy *phy, struct k3_desc_hw *hw) argument
152 k3_dma_get_curr_cnt(struct k3_dma_dev *d, struct k3_dma_phy *phy) argument
161 k3_dma_get_curr_lli(struct k3_dma_phy *phy) argument
[all...]
/drivers/phy/
H A Dphy-exynos5-usbdrd.c21 #include <linux/phy/phy.h>
149 * @reg_phy: usb phy controller register memory base
150 * @clk: phy clock for register access
153 * instances each with its 'phy' and 'phy_cfg'.
166 struct phy *phy; member in struct:exynos5_usbdrd_phy::phy_usb_instance
186 * can be written to the phy register.
236 * Sets the pipe3 phy's clk as EXTREFCLK (XXTI) which is internal clock
283 * Sets the utmi phy'
345 exynos5_usbdrd_phy_init(struct phy *phy) argument
407 exynos5_usbdrd_phy_exit(struct phy *phy) argument
441 exynos5_usbdrd_phy_power_on(struct phy *phy) argument
471 exynos5_usbdrd_phy_power_off(struct phy *phy) argument
639 struct phy *phy = devm_phy_create(dev, NULL, local
[all...]
H A Dphy-miphy365x.c23 #include <linux/phy/phy.h>
28 #include <dt-bindings/phy/phy-miphy365x.h>
139 struct phy *phy; member in struct:miphy365x_phy
418 static int miphy365x_init(struct phy *phy) argument
420 struct miphy365x_phy *miphy_phy = phy_get_drvdata(phy);
421 struct miphy365x_dev *miphy_dev = dev_get_drvdata(phy
560 struct phy *phy; local
[all...]
/drivers/staging/vt6656/
H A Dcard.c266 struct vnt_phy_field phy[4]; local
274 vnt_get_cck_rate(priv, RATE_1M), PK_TYPE_11B, &phy[0]);
278 vnt_get_cck_rate(priv, RATE_2M), PK_TYPE_11B, &phy[1]);
282 vnt_get_cck_rate(priv, RATE_5M), PK_TYPE_11B, &phy[2]);
286 vnt_get_cck_rate(priv, RATE_11M), PK_TYPE_11B, &phy[3]);
320 put_unaligned(phy[0].len, (u16 *)&data[0]);
321 data[2] = phy[0].signal;
322 data[3] = phy[0].service;
324 put_unaligned(phy[1].len, (u16 *)&data[4]);
325 data[6] = phy[
[all...]
/drivers/usb/host/
H A Dehci-msm.c72 struct usb_phy *phy; local
111 phy = devm_usb_get_phy_by_phandle(&pdev->dev, "usb-phy", 0);
113 phy = devm_usb_get_phy(&pdev->dev, USB_PHY_TYPE_USB2);
115 if (IS_ERR(phy)) {
121 ret = otg_set_host(phy->otg, &hcd->self);
127 hcd->usb_phy = phy;
H A Dehci-st.c23 #include <linux/phy/phy.h>
39 struct phy *phy; member in struct:st_ehci_platform_priv
100 ret = phy_init(priv->phy);
104 ret = phy_power_on(priv->phy);
111 phy_exit(priv->phy);
133 phy_power_off(priv->phy);
135 phy_exit(priv->phy);
189 priv->phy
[all...]
H A Dohci-st.c22 #include <linux/phy/phy.h>
38 struct phy *phy; member in struct:st_ohci_platform_priv
76 ret = phy_init(priv->phy);
80 ret = phy_power_on(priv->phy);
87 phy_exit(priv->phy);
110 phy_power_off(priv->phy);
112 phy_exit(priv->phy);
166 priv->phy
[all...]
/drivers/net/wireless/b43legacy/
H A Dmain.c49 #include "phy.h"
594 if (dev->phy.type != B43legacy_PHYTYPE_G)
626 struct b43legacy_phy *phy = &dev->phy; local
638 switch (phy->type) {
666 if (phy->radio_ver == 0x2050 && phy->radio_rev <= 0x5)
686 if (phy->radio_ver == 0x2050 && phy->radio_rev <= 0x5)
725 dev->phy
822 struct b43legacy_phy *phy = &dev->phy; local
2181 struct b43legacy_phy *phy = &dev->phy; local
2293 struct b43legacy_phy *phy = &dev->phy; local
2701 struct b43legacy_phy *phy; local
3021 struct b43legacy_phy *phy = &dev->phy; local
3113 setup_struct_phy_for_init(struct b43legacy_wldev *dev, struct b43legacy_phy *phy) argument
3211 struct b43legacy_phy *phy = &dev->phy; local
3247 struct b43legacy_phy *phy = &dev->phy; local
3289 struct b43legacy_phy *phy = &dev->phy; local
3633 struct b43legacy_phy *phy = &dev->phy; local
[all...]
/drivers/net/ethernet/ti/
H A Dcpsw.h18 #include <linux/phy.h>
H A Dtlan.c339 /* Reset and power down phy */
964 u32 phy = priv->phy[priv->phy_num]; local
971 data->phy_id = phy;
1706 u32 phy; local
1724 phy = priv->phy[priv->phy_num];
1733 tlan_mii_read_reg(dev, phy, TLAN_TLPHY_STS, &tlphy_sts);
1734 tlan_mii_read_reg(dev, phy, TLAN_TLPHY_CTL, &tlphy_ctl);
1738 tlan_mii_write_reg(dev, phy, TLAN_TLPHY_CT
2263 u32 phy; local
2430 u16 i, data0, data1, data2, data3, phy; local
2479 u32 phy; local
2574 u16 phy; local
2609 u16 phy; local
2697 u16 phy; local
2773 u16 phy; local
2855 tlan_mii_read_reg(struct net_device *dev, u16 phy, u16 reg, u16 *val) argument
3027 tlan_mii_write_reg(struct net_device *dev, u16 phy, u16 reg, u16 val) argument
[all...]
/drivers/scsi/aic94xx/
H A Daic94xx_seq.h65 void asd_update_port_links(struct asd_ha_struct *asd_ha, struct asd_phy *phy);
H A Daic94xx_hwi.c60 /* Set a phy's address only if it has none.
62 ASD_DPRINTK("setting phy%d addr to %llx\n", i,
71 static void asd_init_phy_identify(struct asd_phy *phy) argument
73 phy->identify_frame = phy->id_frm_tok->vaddr;
75 memset(phy->identify_frame, 0, sizeof(*phy->identify_frame));
77 phy->identify_frame->dev_type = SAS_END_DEVICE;
78 if (phy->sas_phy.role & PHY_ROLE_INITIATOR)
79 phy
87 asd_init_phy(struct asd_phy *phy) argument
136 struct asd_phy *phy = &asd_ha->phys[i]; local
1326 struct asd_phy *phy = &asd_ha->phys[phy_id]; local
[all...]
/drivers/net/ethernet/smsc/
H A Dsmc911x.h85 /* Contains the current active receive/phy mode */
844 #define SMC_GET_MII(lp,a,phy,v) \
850 SMC_SET_MII_ACC( (lp), ((phy)<<11) | ((a)<<6) | \
857 #define SMC_SET_MII(lp,a,phy,v) \
864 SMC_SET_MII_ACC( (lp), ((phy)<<11) | ((a)<<6) | \
871 #define SMC_GET_PHY_BMCR(lp,phy,x) SMC_GET_MII( (lp), MII_BMCR, phy, x )
872 #define SMC_SET_PHY_BMCR(lp,phy,x) SMC_SET_MII( (lp), MII_BMCR, phy, x )
873 #define SMC_GET_PHY_BMSR(lp,phy,
[all...]
/drivers/net/phy/
H A Dfixed.c20 #include <linux/phy.h>
74 pr_warn("fixed phy: unknown speed\n");
94 pr_warn("fixed phy: unknown speed\n");
241 struct phy_device *phy; local
258 phy = get_phy_device(fmb->mii_bus, phy_addr, false);
259 if (!phy || IS_ERR(phy)) {
265 phy->dev.of_node = np;
267 ret = phy_device_register(phy);
269 phy_device_free(phy);
[all...]
/drivers/pinctrl/
H A Dpinctrl-tegra-xusb.c18 #include <linux/phy/phy.h>
100 struct phy *phys[2];
530 static int tegra_xusb_phy_init(struct phy *phy) argument
532 struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy);
537 static int tegra_xusb_phy_exit(struct phy *phy) argument
539 struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy);
544 static int pcie_phy_power_on(struct phy *ph argument
580 pcie_phy_power_off(struct phy *phy) argument
600 sata_phy_power_on(struct phy *phy) argument
640 sata_phy_power_off(struct phy *phy) argument
872 struct phy *phy; local
[all...]
/drivers/net/ethernet/intel/e1000e/
H A D82571.c65 struct e1000_phy_info *phy = &hw->phy; local
68 if (hw->phy.media_type != e1000_media_type_copper) {
69 phy->type = e1000_phy_none;
73 phy->addr = 1;
74 phy->autoneg_mask = AUTONEG_ADVERTISE_SPEED_DEFAULT;
75 phy->reset_delay_us = 100;
77 phy->ops.power_up = e1000_power_up_phy_copper;
78 phy->ops.power_down = e1000_power_down_phy_copper_82571;
83 phy
408 struct e1000_phy_info *phy = &hw->phy; local
895 struct e1000_phy_info *phy = &hw->phy; local
1816 struct e1000_phy_info *phy = &hw->phy; local
[all...]

Completed in 592 milliseconds

1234567891011>>