Home
last modified time | relevance | path

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

12

/include/linux/phy/
Dphy.h23 struct phy;
85 int (*init)(struct phy *phy);
86 int (*exit)(struct phy *phy);
87 int (*power_on)(struct phy *phy);
88 int (*power_off)(struct phy *phy);
89 int (*set_mode)(struct phy *phy, enum phy_mode mode, int submode);
90 int (*set_media)(struct phy *phy, enum phy_media media);
91 int (*set_speed)(struct phy *phy, int speed);
103 int (*configure)(struct phy *phy, union phy_configure_opts *opts);
121 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 void tegra_phy_xusb_utmi_pad_power_on(struct phy *phy);
25 void tegra_phy_xusb_utmi_pad_power_down(struct phy *phy);
26 int tegra_phy_xusb_utmi_port_reset(struct phy *phy);
29 int tegra_xusb_padctl_get_port_number(struct phy *phy);
30 int tegra_xusb_padctl_enable_phy_sleepwalk(struct tegra_xusb_padctl *padctl, struct phy *phy,
32 int tegra_xusb_padctl_disable_phy_sleepwalk(struct tegra_xusb_padctl *padctl, struct phy *phy);
33 int tegra_xusb_padctl_enable_phy_wake(struct tegra_xusb_padctl *padctl, struct phy *phy);
34 int tegra_xusb_padctl_disable_phy_wake(struct tegra_xusb_padctl *padctl, struct phy *phy);
35 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.h12 int (*init)(struct mii_phy *phy);
13 int (*suspend)(struct mii_phy *phy);
14 int (*setup_aneg)(struct mii_phy *phy, u32 advertise);
15 int (*setup_forced)(struct mii_phy *phy, int speed, int fd);
16 int (*poll_link)(struct mii_phy *phy);
17 int (*read_link)(struct mii_phy *phy);
18 int (*enable_fiber)(struct mii_phy *phy, int autoneg);
67 extern int sungem_phy_probe(struct mii_phy *phy, int mii_id);
Dmdio-bitbang.h41 int mdiobb_read_c22(struct mii_bus *bus, int phy, int reg);
42 int mdiobb_write_c22(struct mii_bus *bus, int phy, int reg, u16 val);
43 int mdiobb_read_c45(struct mii_bus *bus, int devad, int phy, int reg);
44 int mdiobb_write_c45(struct mii_bus *bus, int devad, int phy, int reg, u16 val);
Dfwnode_mdio.h13 struct phy_device *phy,
21 struct phy_device *phy, in fwnode_mdiobus_phy_device_register() argument
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.h255 struct phy_device *phy, unsigned int mode,
471 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.h82 void tegra_usb_phy_preresume(struct usb_phy *phy);
84 void tegra_usb_phy_postresume(struct usb_phy *phy);
86 void tegra_ehci_phy_restore_start(struct usb_phy *phy,
89 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.h258 static inline bool ieee802154_chan_is_valid(struct wpan_phy *phy, in ieee802154_chan_is_valid() argument
263 !(phy->supported.channels[page] & BIT(channel))) in ieee802154_chan_is_valid()
501 static inline void wpan_phy_set_dev(struct wpan_phy *phy, struct device *dev) in wpan_phy_set_dev() argument
503 phy->dev.parent = dev; in wpan_phy_set_dev()
506 int wpan_phy_register(struct wpan_phy *phy);
507 void wpan_phy_unregister(struct wpan_phy *phy);
508 void wpan_phy_free(struct wpan_phy *phy);
510 int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data), void *data);
512 static inline void *wpan_phy_priv(struct wpan_phy *phy) in wpan_phy_priv() argument
514 BUG_ON(!phy); in wpan_phy_priv()
[all …]
Dmac802154.h83 struct wpan_phy *phy; member
/include/scsi/
Dsas_ata.h24 int sas_get_ata_info(struct domain_device *dev, struct ex_phy *phy);
40 int sas_ata_add_dev(struct domain_device *parent, struct ex_phy *phy,
89 static inline int sas_get_ata_info(struct domain_device *dev, struct ex_phy *phy) in sas_get_ata_info() argument
120 static inline int sas_ata_add_dev(struct domain_device *parent, struct ex_phy *phy, in sas_ata_add_dev() argument
Dscsi_transport_sas.h92 #define phy_to_shost(phy) \ argument
93 dev_to_shost((phy)->dev.parent)
223 static inline void sas_port_put_phy(struct sas_phy *phy) in sas_port_put_phy() argument
225 if (phy) in sas_port_put_phy()
226 put_device(&phy->dev); in sas_port_put_phy()
245 #define scsi_is_sas_phy_local(phy) scsi_is_host_device((phy)->dev.parent) argument
Dlibsas.h106 struct sas_phy *phy; member
169 struct sas_phy *phy; member
272 struct asd_sas_phy *phy; member
285 struct asd_sas_phy *phy, int event) in INIT_SAS_EVENT() argument
288 ev->phy = phy; in INIT_SAS_EVENT()
304 struct sas_phy *phy; member
414 static inline void sas_phy_disconnected(struct asd_sas_phy *phy) in sas_phy_disconnected() argument
416 phy->oob_mode = OOB_NOT_CONNECTED; in sas_phy_disconnected()
417 phy->linkrate = SAS_LINK_RATE_UNKNOWN; in sas_phy_disconnected()
425 static inline void sas_put_local_phy(struct sas_phy *phy) in sas_put_local_phy() argument
[all …]
/include/drm/bridge/
Dsamsung-dsim.h89 struct phy *phy; 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