diff options
Diffstat (limited to 'sound/oss')
#ifndef _AM335x_PHY_CONTROL_H_
#define _AM335x_PHY_CONTROL_H_
struct phy_control {
void (*phy_power)(struct phy_control *phy_ctrl, u32 id,
enum usb_dr_mode dr_mode, bool on);
void (*phy_wkup)(struct phy_control *phy_ctrl, u32 id, bool on);
};
static inline void phy_ctrl_power(struct phy_control *phy_ctrl, u32 id,
enum usb_dr_mode dr_mode, bool on)
{
phy_ctrl->phy_power(phy_ctrl, id, dr_mode, on);
}
static inline void phy_ctrl_wkup(struct phy_control *phy_ctrl, u32 id, bool on)
{
phy_ctrl->phy_wkup(phy_ctrl, id, on);
}
struct phy_control *am335x_get_phy_control(struct device *dev);
#endif
'logo' rowspan='2'>
summaryrefslogtreecommitdiff |
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-01-28 11:00:08 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-01-28 11:00:08 -0800 |
commit | ef1dce990b06a3f5bf4f71100891686b5d3f7c7e (patch) | |
tree | 22d25cfec318d544a10f1a64738e40e2792ff836 /tools/testing/selftests/powerpc/ptrace | |
parent | 1b1bc42c1692e9b62756323c675a44cb1a1f9dbd (diff) | |
parent | 9aed02feae57bf7a40cb04ea0e3017cb7a998db4 (diff) |