|
PebbleOS v4.47.0-1161-g94e3d98da
|
Data Structures | |
| struct | pbl_phy_listener |
| PHY listener. More... | |
| struct | pbl_phy_ops |
| PHY driver operations, called with the device lock held. More... | |
| struct | pbl_phy_state |
| PHY runtime state. More... | |
| struct | pbl_phy |
| PHY. More... | |
Macros | |
| #define | PBL_PHY_STATE_DEFINE(sym) |
| Define the runtime state of a PHY. | |
| #define | PBL_PHY_INIT(sym, _name, _parent, _ops) |
| Initialize a struct pbl_phy. | |
Functions | |
| int | pbl_phy_power_on (const struct pbl_phy *phy) |
| Power a PHY on. | |
| int | pbl_phy_power_off (const struct pbl_phy *phy) |
| Power a PHY off. | |
| int | pbl_phy_vbus_present (const struct pbl_phy *phy, bool *present) |
| Check whether VBUS is present. | |
| void | pbl_phy_add_listener (const struct pbl_phy *phy, struct pbl_phy_listener *listener) |
| Add a listener to a PHY. | |
| void | pbl_phy_report_vbus_changed (const struct pbl_phy *phy) |
| Report VBUS coming or going to the listeners, from thread context. | |