Searched refs:phy (Results 76 - 100 of 624) sorted by relevance

1234567891011>>

/drivers/staging/media/omap4iss/
H A Diss_csiphy.h47 int omap4iss_csiphy_acquire(struct iss_csiphy *phy);
48 void omap4iss_csiphy_release(struct iss_csiphy *phy);
/drivers/usb/phy/
H A Dphy-am335x.c12 #include "am35x-phy-control.h"
13 #include "phy-generic.h"
21 static int am335x_init(struct usb_phy *phy) argument
23 struct am335x_phy *am_phy = dev_get_drvdata(phy->dev);
29 static void am335x_shutdown(struct usb_phy *phy) argument
31 struct am335x_phy *am_phy = dev_get_drvdata(phy->dev);
49 am_phy->id = of_alias_get_id(pdev->dev.of_node, "phy");
59 ret = usb_add_phy_dev(&am_phy->usb_phy_gen.phy);
62 am_phy->usb_phy_gen.phy.init = am335x_init;
63 am_phy->usb_phy_gen.phy
[all...]
H A Dphy-keystone.c2 * phy-keystone - USB PHY, talking to dwc3 controller in Keystone.
25 #include "phy-generic.h"
53 static int keystone_usbphy_init(struct usb_phy *phy) argument
55 struct keystone_usbphy *k_phy = dev_get_drvdata(phy->dev);
64 static void keystone_usbphy_shutdown(struct usb_phy *phy) argument
66 struct keystone_usbphy *k_phy = dev_get_drvdata(phy->dev);
94 k_phy->usb_phy_gen.phy.init = keystone_usbphy_init;
95 k_phy->usb_phy_gen.phy.shutdown = keystone_usbphy_shutdown;
99 ret = usb_add_phy_dev(&k_phy->usb_phy_gen.phy);
110 usb_remove_phy(&k_phy->usb_phy_gen.phy);
[all...]
H A Dphy-rcar-gen2-usb.c2 * Renesas R-Car Gen2 USB phy driver
16 #include <linux/platform_data/usb-rcar-gen2-phy.h>
22 struct usb_phy phy; member in struct:rcar_gen2_usb_phy_priv
30 #define usb_phy_to_priv(p) container_of(p, struct rcar_gen2_usb_phy_priv, phy)
52 /* Enable USBHS internal phy */
82 /* Disable USBHS internal phy */
123 static int rcar_gen2_usb_phy_set_suspend(struct usb_phy *phy, int suspend) argument
125 struct rcar_gen2_usb_phy_priv *priv = usb_phy_to_priv(phy);
136 static int rcar_gen2_usb_phy_init(struct usb_phy *phy) argument
138 struct rcar_gen2_usb_phy_priv *priv = usb_phy_to_priv(phy);
152 rcar_gen2_usb_phy_shutdown(struct usb_phy *phy) argument
[all...]
H A Dphy-mxs-usb.c83 #define to_mxs_phy(p) container_of((p), struct mxs_phy, phy)
149 struct usb_phy phy; member in struct:mxs_phy
178 void __iomem *base = mxs_phy->phy.io_priv;
229 void __iomem *base = mxs_phy->phy.io_priv;
280 static int mxs_phy_init(struct usb_phy *phy) argument
283 struct mxs_phy *mxs_phy = to_mxs_phy(phy);
293 static void mxs_phy_shutdown(struct usb_phy *phy) argument
295 struct mxs_phy *mxs_phy = to_mxs_phy(phy);
298 phy->io_priv + HW_USBPHY_CTRL_SET);
343 static int mxs_phy_on_connect(struct usb_phy *phy, argument
356 mxs_phy_on_disconnect(struct usb_phy *phy, enum usb_device_speed speed) argument
[all...]
/drivers/dma/
H A Ds3c24xx-dma.c209 * @phy: the physical channel utilized by this channel, if there is one
221 struct s3c24xx_dma_phy *phy; member in struct:s3c24xx_dma_chan
255 static int s3c24xx_dma_phy_busy(struct s3c24xx_dma_phy *phy) argument
257 unsigned int val = readl(phy->base + S3C24XX_DSTAT);
262 struct s3c24xx_dma_phy *phy)
269 /* every phy is valid for memcopy channels */
277 phyvalid = (cdata->chansel >> (phy->id * S3C24XX_CHANSEL_WIDTH));
294 struct s3c24xx_dma_phy *phy = NULL; local
303 phy = &s3cdma->phy_chans[i];
305 if (!phy
261 s3c24xx_dma_phy_valid(struct s3c24xx_dma_chan *s3cchan, struct s3c24xx_dma_phy *phy) argument
347 s3c24xx_dma_put_phy(struct s3c24xx_dma_phy *phy) argument
363 s3c24xx_dma_terminate_phy(struct s3c24xx_dma_phy *phy) argument
380 struct s3c24xx_dma_phy *phy = s3cchan->phy; local
441 struct s3c24xx_dma_phy *phy = s3cchan->phy; local
503 struct s3c24xx_dma_phy *phy = s3cchan->phy; local
537 struct s3c24xx_dma_phy *phy; local
556 s3c24xx_dma_phy_reassign_start(struct s3c24xx_dma_phy *phy, struct s3c24xx_dma_chan *s3cchan) argument
646 struct s3c24xx_dma_phy *phy = data; local
1246 struct s3c24xx_dma_phy *phy = &s3cdma->phy_chans[i]; local
1371 struct s3c24xx_dma_phy *phy = &s3cdma->phy_chans[i]; local
1394 struct s3c24xx_dma_phy *phy = &s3cdma->phy_chans[i]; local
[all...]
H A Dmmp_pdma.c98 struct mmp_pdma_phy *phy; member in struct:mmp_pdma_chan
131 struct mmp_pdma_phy *phy; member in struct:mmp_pdma_device
132 spinlock_t phy_lock; /* protect alloc/free phy channels */
144 static void set_desc(struct mmp_pdma_phy *phy, dma_addr_t addr) argument
146 u32 reg = (phy->idx << 4) + DDADR;
148 writel(addr, phy->base + reg);
151 static void enable_chan(struct mmp_pdma_phy *phy) argument
155 if (!phy->vchan)
158 reg = DRCMR(phy->vchan->drcmr);
159 writel(DRCMR_MAPVLD | phy
172 disable_chan(struct mmp_pdma_phy *phy) argument
183 clear_chan_irq(struct mmp_pdma_phy *phy) argument
203 struct mmp_pdma_phy *phy = dev_id; local
215 struct mmp_pdma_phy *phy; local
240 struct mmp_pdma_phy *phy, *found = NULL; local
938 struct mmp_pdma_phy *phy = &pdev->phy[idx]; local
[all...]
/drivers/usb/host/
H A Dehci-omap.c70 struct usb_phy *phy[OMAP3_HS_USB_PORTS]; /* one PHY for each port */ member in struct:omap_hcd
171 struct usb_phy *phy; local
175 phy = devm_usb_get_phy_by_phandle(dev, "phys", i);
177 phy = devm_usb_get_phy_dev(dev, i);
178 if (IS_ERR(phy)) {
183 ret = PTR_ERR(phy);
189 omap->phy[i] = phy;
192 usb_phy_init(omap->phy[i]);
194 usb_phy_set_suspend(omap->phy[
[all...]
H A Dohci-exynos.c21 #include <linux/phy/phy.h>
38 struct phy *phy[PHY_NUMBER]; member in struct:exynos_ohci_hcd
45 struct phy *phy; local
64 phy = devm_of_phy_get(dev, child, NULL);
65 exynos_ohci->phy[phy_number] = phy;
67 if (IS_ERR(phy)) {
[all...]
H A Dehci-orion.c18 #include <linux/phy/phy.h>
50 struct phy *phy; member in struct:orion_ehci_hcd
226 priv->phy = devm_phy_optional_get(&pdev->dev, "usb");
227 if (IS_ERR(priv->phy)) {
228 err = PTR_ERR(priv->phy);
231 err = phy_init(priv->phy);
235 err = phy_power_on(priv->phy);
256 case EHCI_PHY_NA: /* dont change USB phy setting
[all...]
/drivers/scsi/mpt3sas/
H A Dmpt3sas_transport.c176 /* phy number of the parent device this device is linked to */
490 * _transport_delete_phy - helper function to removing single phy from port
493 * @mpt3sas_phy: mpt3sas per phy object
503 dev_printk(KERN_INFO, &mpt3sas_phy->phy->dev,
504 "remove: sas_addr(0x%016llx), phy(%d)\n",
509 sas_port_delete_phy(mpt3sas_port->port, mpt3sas_phy->phy);
514 * _transport_add_phy - helper function to adding single phy to port
517 * @mpt3sas_phy: mpt3sas per phy object
527 dev_printk(KERN_INFO, &mpt3sas_phy->phy->dev,
528 "add: sas_addr(0x%016llx), phy(
846 struct sas_phy *phy; local
915 struct sas_phy *phy; local
1028 phy_to_ioc(struct sas_phy *phy) argument
1077 _transport_get_expander_phy_error_log(struct MPT3SAS_ADAPTER *ioc, struct sas_phy *phy) argument
1252 _transport_get_linkerrors(struct sas_phy *phy) argument
1387 _transport_expander_phy_control(struct MPT3SAS_ADAPTER *ioc, struct sas_phy *phy, u8 phy_operation) argument
1574 _transport_phy_reset(struct sas_phy *phy, int hard_reset) argument
1626 _transport_phy_enable(struct sas_phy *phy, int enable) argument
1764 _transport_phy_speed(struct sas_phy *phy, struct sas_phy_linkrates *rates) argument
[all...]
/drivers/net/ethernet/chelsio/cxgb3/
H A Dvsc8211.c278 static int vsc8211_set_automdi(struct cphy *phy, int enable) argument
282 err = t3_mdio_write(phy, MDIO_DEVAD_NONE, VSC8211_EXT_PAGE_AXS, 0x52b5);
286 err = t3_mdio_write(phy, MDIO_DEVAD_NONE, 18, 0x12);
290 err = t3_mdio_write(phy, MDIO_DEVAD_NONE, 17, enable ? 0x2803 : 0x3003);
294 err = t3_mdio_write(phy, MDIO_DEVAD_NONE, 16, 0x87fa);
298 err = t3_mdio_write(phy, MDIO_DEVAD_NONE, VSC8211_EXT_PAGE_AXS, 0);
305 int vsc8211_set_speed_duplex(struct cphy *phy, int speed, int duplex) argument
309 err = t3_set_phy_speed_duplex(phy, speed, duplex);
311 err = vsc8211_set_automdi(phy, 1);
367 int t3_vsc8211_phy_prep(struct cphy *phy, struc argument
[all...]
/drivers/scsi/mpt2sas/
H A Dmpt2sas_transport.c172 /* phy number of the parent device this device is linked to */
498 * _transport_delete_phy - helper function to removing single phy from port
501 * @mpt2sas_phy: mpt2sas per phy object
511 dev_printk(KERN_INFO, &mpt2sas_phy->phy->dev,
512 "remove: sas_addr(0x%016llx), phy(%d)\n",
517 sas_port_delete_phy(mpt2sas_port->port, mpt2sas_phy->phy);
522 * _transport_add_phy - helper function to adding single phy to port
525 * @mpt2sas_phy: mpt2sas per phy object
535 dev_printk(KERN_INFO, &mpt2sas_phy->phy->dev,
536 "add: sas_addr(0x%016llx), phy(
852 struct sas_phy *phy; local
919 struct sas_phy *phy; local
1031 phy_to_ioc(struct sas_phy *phy) argument
1081 _transport_get_expander_phy_error_log(struct MPT2SAS_ADAPTER *ioc, struct sas_phy *phy) argument
1270 _transport_get_linkerrors(struct sas_phy *phy) argument
1404 _transport_expander_phy_control(struct MPT2SAS_ADAPTER *ioc, struct sas_phy *phy, u8 phy_operation) argument
1592 _transport_phy_reset(struct sas_phy *phy, int hard_reset) argument
1644 _transport_phy_enable(struct sas_phy *phy, int enable) argument
1780 _transport_phy_speed(struct sas_phy *phy, struct sas_phy_linkrates *rates) argument
[all...]
/drivers/net/ethernet/ibm/emac/
H A DMakefile7 ibm_emac-y := mal.o core.o phy.o
/drivers/net/ethernet/intel/e1000e/
H A DMakefile35 mac.o manage.o nvm.o phy.o \
/drivers/net/wireless/ath/carl9170/
H A DMakefile1 carl9170-objs := main.o usb.o cmd.o mac.o phy.o led.o fw.o tx.o rx.o
/drivers/net/wireless/rtlwifi/rtl8192ce/
H A DMakefile5 phy.o \
/drivers/net/wireless/rtlwifi/rtl8192cu/
H A DMakefile6 phy.o \
/drivers/net/wireless/rtlwifi/rtl8192de/
H A DMakefile6 phy.o \
/drivers/net/wireless/rtlwifi/rtl8192se/
H A DMakefile6 phy.o \
/drivers/phy/
H A Dphy-spear1310-miphy.c21 #include <linux/phy/phy.h>
105 /* instance id of this phy */
107 /* phy mode: 0 for SATA 1 for PCIe */
111 /* phy struct pointer */
112 struct phy *phy; member in struct:spear1310_miphy_priv
154 static int spear1310_miphy_init(struct phy *phy) argument
156 struct spear1310_miphy_priv *priv = phy_get_drvdata(phy);
165 spear1310_miphy_exit(struct phy *phy) argument
[all...]
H A Dphy-spear1340-miphy.c21 #include <linux/phy/phy.h>
84 /* phy mode: 0 for SATA 1 for PCIe */
88 /* phy struct pointer */
89 struct phy *phy; member in struct:spear1340_miphy_priv
160 static int spear1340_miphy_init(struct phy *phy) argument
162 struct spear1340_miphy_priv *priv = phy_get_drvdata(phy);
173 static int spear1340_miphy_exit(struct phy *ph argument
[all...]
H A Dphy-samsung-usb2.c17 #include <linux/phy/phy.h>
20 #include "phy-samsung-usb2.h"
22 static int samsung_usb2_phy_power_on(struct phy *phy) argument
24 struct samsung_usb2_phy_instance *inst = phy_get_drvdata(phy);
28 dev_dbg(drv->dev, "Request to power_on \"%s\" usb phy\n",
50 static int samsung_usb2_phy_power_off(struct phy *phy) argument
52 struct samsung_usb2_phy_instance *inst = phy_get_drvdata(phy);
[all...]
/drivers/scsi/isci/
H A DMakefile2 isci-objs := init.o phy.o request.o \
/drivers/net/wireless/b43/
H A Dphy_n.c109 return ((dev->phy.n->ipa2g_on && band == IEEE80211_BAND_2GHZ) ||
110 (dev->phy.n->ipa5g_on && band == IEEE80211_BAND_5GHZ));
166 struct b43_phy *phy = &dev->phy; local
176 if (phy->rev >= 19 || phy->rev < 3) {
213 struct b43_phy *phy = &dev->phy; local
216 B43_WARN_ON(phy->rev < 7);
262 if (dev->phy
558 struct b43_phy *phy = &dev->phy; local
732 struct b43_phy *phy = &dev->phy; local
824 struct b43_phy *phy = &dev->phy; local
938 struct b43_phy *phy = &dev->phy; local
1136 struct b43_phy *phy = &dev->phy; local
1314 struct b43_phy *phy = &dev->phy; local
1589 struct b43_phy *phy = &dev->phy; local
2043 struct b43_phy *phy = &dev->phy; local
2494 struct b43_phy *phy = &dev->phy; local
2711 struct b43_phy *phy = &dev->phy; local
3364 struct b43_phy *phy = &dev->phy; local
3451 struct b43_phy *phy = &dev->phy; local
3527 struct b43_phy *phy = &dev->phy; local
3566 struct b43_phy *phy = &dev->phy; local
3613 struct b43_phy *phy = &dev->phy; local
3750 struct b43_phy *phy = &dev->phy; local
3861 struct b43_phy *phy = &dev->phy; local
3945 struct b43_phy *phy = &dev->phy; local
4057 struct b43_phy *phy = &dev->phy; local
4231 struct b43_phy *phy = &dev->phy; local
4786 struct b43_phy *phy = &dev->phy; local
4840 struct b43_phy *phy = &dev->phy; local
5124 struct b43_phy *phy = &dev->phy; local
5225 struct b43_phy *phy = &dev->phy; local
5296 struct b43_phy *phy = &dev->phy; local
5386 struct b43_phy *phy = &dev->phy; local
5852 struct b43_phy *phy = &dev->phy; local
5892 struct b43_phy *phy = &dev->phy; local
6041 struct b43_phy *phy = &dev->phy; local
6289 struct b43_phy *phy = &dev->phy; local
6396 struct b43_phy *phy = &dev->phy; local
6493 struct b43_phy *phy = &dev->phy; local
6546 struct b43_phy *phy = &dev->phy; local
6612 struct b43_phy *phy = &dev->phy; local
6665 struct b43_phy *phy = &dev->phy; local
[all...]

Completed in 685 milliseconds

1234567891011>>