Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| phy.h [2018/12/27 14:42] – [struct phy] rpjday | phy.h [2018/12/27 14:49] (current) – [struct phy_lookup] rpjday | ||
|---|---|---|---|
| Line 20: | Line 20: | ||
| </ | </ | ||
| - | ==== Attributes | + | ==== struct phy_attrs and PHY mode ==== |
| < | < | ||
| Line 50: | Line 50: | ||
| PHY_MODE_UFS_HS_B, | PHY_MODE_UFS_HS_B, | ||
| PHY_MODE_PCIE, | PHY_MODE_PCIE, | ||
| + | }; | ||
| + | </ | ||
| + | |||
| + | ==== struct phy_ops ==== | ||
| + | |||
| + | < | ||
| + | struct phy_ops { | ||
| + | int | ||
| + | int | ||
| + | int | ||
| + | int | ||
| + | int | ||
| + | int | ||
| + | int | ||
| + | struct module *owner; | ||
| + | }; | ||
| + | </ | ||
| + | |||
| + | ==== struct phy_provider ==== | ||
| + | |||
| + | < | ||
| + | struct phy_provider { | ||
| + | struct device | ||
| + | struct device_node | ||
| + | struct module | ||
| + | struct list_head | ||
| + | struct phy * (*of_xlate)(struct device *dev, | ||
| + | struct of_phandle_args *args); | ||
| + | }; | ||
| + | </ | ||
| + | |||
| + | ==== struct phy_lookup ==== | ||
| + | |||
| + | < | ||
| + | struct phy_lookup { | ||
| + | struct list_head node; | ||
| + | const char *dev_id; | ||
| + | const char *con_id; | ||
| + | struct phy *phy; | ||
| }; | }; | ||
| </ | </ | ||