Home
last modified time | relevance | path

Searched refs:phy (Results 1 – 25 of 28) sorted by relevance

12

/include/linux/phy/
Dphy.h22 struct phy;
81 int (*init)(struct phy *phy);
82 int (*exit)(struct phy *phy);
83 int (*power_on)(struct phy *phy);
84 int (*power_off)(struct phy *phy);
85 int (*set_mode)(struct phy *phy, enum phy_mode mode, int submode);
86 int (*set_media)(struct phy *phy, enum phy_media media);
87 int (*set_speed)(struct phy *phy, int speed);
99 int (*configure)(struct phy *phy, union phy_configure_opts *opts);
117 int (*validate)(struct phy *phy, enum phy_mode mode, int submode,
[all …]
Dulpi_phy.h8 static inline struct phy
11 struct phy *phy; in ulpi_phy_create() local
14 phy = phy_create(&ulpi->dev, NULL, ops); in ulpi_phy_create()
15 if (IS_ERR(phy)) in ulpi_phy_create()
16 return phy; in ulpi_phy_create()
18 ret = phy_create_lookup(phy, "usb2-phy", dev_name(ulpi->dev.parent)); in ulpi_phy_create()
20 phy_destroy(phy); in ulpi_phy_create()
24 return phy; in ulpi_phy_create()
28 static inline void ulpi_phy_destroy(struct ulpi *ulpi, struct phy *phy) in ulpi_phy_destroy() argument
30 phy_remove_lookup(phy, "usb2-phy", dev_name(ulpi->dev.parent)); in ulpi_phy_destroy()
[all …]
Dphy-sun4i-usb.h16 void sun4i_usb_phy_set_squelch_detect(struct phy *phy, bool enabled);
Domap_usb.h14 #define phy_to_omapusb(x) container_of((x), struct omap_usb, phy)
/include/linux/phy/tegra/
Dxusb.h24 int tegra_phy_xusb_utmi_port_reset(struct phy *phy);
27 int tegra_xusb_padctl_enable_phy_sleepwalk(struct tegra_xusb_padctl *padctl, struct phy *phy,
29 int tegra_xusb_padctl_disable_phy_sleepwalk(struct tegra_xusb_padctl *padctl, struct phy *phy);
30 int tegra_xusb_padctl_enable_phy_wake(struct tegra_xusb_padctl *padctl, struct phy *phy);
31 int tegra_xusb_padctl_disable_phy_wake(struct tegra_xusb_padctl *padctl, struct phy *phy);
32 bool tegra_xusb_padctl_remote_wake_detected(struct tegra_xusb_padctl *padctl, struct phy *phy);
/include/linux/
Dphy_led_triggers.h27 extern int phy_led_triggers_register(struct phy_device *phy);
28 extern void phy_led_triggers_unregister(struct phy_device *phy);
29 extern void phy_led_trigger_change_speed(struct phy_device *phy);
33 static inline int phy_led_triggers_register(struct phy_device *phy) in phy_led_triggers_register() argument
37 static inline void phy_led_triggers_unregister(struct phy_device *phy) { } in phy_led_triggers_unregister() argument
38 static inline void phy_led_trigger_change_speed(struct phy_device *phy) { } in phy_led_trigger_change_speed() argument
Dsungem_phy.h10 int (*init)(struct mii_phy *phy);
11 int (*suspend)(struct mii_phy *phy);
12 int (*setup_aneg)(struct mii_phy *phy, u32 advertise);
13 int (*setup_forced)(struct mii_phy *phy, int speed, int fd);
14 int (*poll_link)(struct mii_phy *phy);
15 int (*read_link)(struct mii_phy *phy);
16 int (*enable_fiber)(struct mii_phy *phy, int autoneg);
65 extern int sungem_phy_probe(struct mii_phy *phy, int mii_id);
Dfwnode_mdio.h13 struct phy_device *phy,
21 struct phy_device *phy, in fwnode_mdiobus_phy_device_register() argument
Dmdio-bitbang.h41 int mdiobb_read(struct mii_bus *bus, int phy, int reg);
42 int mdiobb_write(struct mii_bus *bus, int phy, int reg, u16 val);
Dfec.h17 phy_interface_t phy; member
Dsh_eth.h9 int phy; member
Dof_mdio.h50 int of_mdiobus_phy_device_register(struct mii_bus *mdio, struct phy_device *phy,
146 struct phy_device *phy, in of_mdiobus_phy_device_register() argument
Dphylink.h112 struct phy_device *phy, unsigned int mode,
327 void mac_link_up(struct phylink_config *config, struct phy_device *phy,
Datmdev.h149 const struct atmphy_ops *phy; /* PHY operations, may be undefined */ member
/include/linux/usb/
Dtegra_usb_phy.h87 void tegra_usb_phy_preresume(struct usb_phy *phy);
89 void tegra_usb_phy_postresume(struct usb_phy *phy);
91 void tegra_ehci_phy_restore_start(struct usb_phy *phy,
94 void tegra_ehci_phy_restore_end(struct usb_phy *phy);
Dotg.h20 struct phy *phy; member
Dchipidea.h38 struct phy *phy; member
Dpd_vdo.h429 #define VDO_ACABLE2(mtemp, stemp, u3p, trans, phy, ele, u4, hops, u2, u32, lane, iso, gen) \ argument
431 | (trans) << 11 | (phy) << 10 | (ele) << 9 | (u4) << 8 \
/include/net/
Dcfg802154.h379 static inline void wpan_phy_set_dev(struct wpan_phy *phy, struct device *dev) in wpan_phy_set_dev() argument
381 phy->dev.parent = dev; in wpan_phy_set_dev()
384 int wpan_phy_register(struct wpan_phy *phy);
385 void wpan_phy_unregister(struct wpan_phy *phy);
386 void wpan_phy_free(struct wpan_phy *phy);
388 int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data), void *data);
390 static inline void *wpan_phy_priv(struct wpan_phy *phy) in wpan_phy_priv() argument
392 BUG_ON(!phy); in wpan_phy_priv()
393 return &phy->priv; in wpan_phy_priv()
398 static inline void wpan_phy_put(struct wpan_phy *phy) in wpan_phy_put() argument
[all …]
Dmac802154.h83 struct wpan_phy *phy; member
/include/scsi/
Dlibsas.h116 struct sas_phy *phy; member
179 struct sas_phy *phy; member
283 struct asd_sas_phy *phy; member
296 struct asd_sas_phy *phy, int event) in INIT_SAS_EVENT() argument
299 ev->phy = phy; in INIT_SAS_EVENT()
315 struct sas_phy *phy; member
432 static inline void sas_phy_disconnected(struct asd_sas_phy *phy) in sas_phy_disconnected() argument
434 phy->oob_mode = OOB_NOT_CONNECTED; in sas_phy_disconnected()
435 phy->linkrate = SAS_LINK_RATE_UNKNOWN; in sas_phy_disconnected()
443 static inline void sas_put_local_phy(struct sas_phy *phy) in sas_put_local_phy() argument
[all …]
Dscsi_transport_sas.h91 #define phy_to_shost(phy) \ argument
92 dev_to_shost((phy)->dev.parent)
220 static inline void sas_port_put_phy(struct sas_phy *phy) in sas_port_put_phy() argument
222 if (phy) in sas_port_put_phy()
223 put_device(&phy->dev); in sas_port_put_phy()
242 #define scsi_is_sas_phy_local(phy) scsi_is_host_device((phy)->dev.parent) argument
Dsas_ata.h24 int sas_get_ata_info(struct domain_device *dev, struct ex_phy *phy);
80 static inline int sas_get_ata_info(struct domain_device *dev, struct ex_phy *phy) in sas_get_ata_info() argument
/include/linux/platform_data/
Deth_ixp4xx.h13 u8 phy; /* MII PHY ID, 0 - 31 */ member
/include/dt-bindings/usb/
Dpd.h404 #define VDO_ACABLE2(mtemp, stemp, u3p, trans, phy, ele, u4, hops, u2, u32, lane, iso, gen) \ argument
406 | (trans) << 11 | (phy) << 10 | (ele) << 9 | (u4) << 8 \

12