#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
summaryrefslogtreecommitdiff
path: root/include/net/tc_act/tc_connmark.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tc_act/tc_connmark.h')
e/sound?id=dab780a3b489b038a47d8fbbc49c33aae1e7a682&id2=1001354ca34179f3db924eb66672442a173147dc'>diff)
regulator: twl-regulator: rework fixed regulator definition
TWL603X and TWL4030 are different and have different code logic. Rework the regulator definition method so we can split the file easily in twl4030 and twl6030. Signed-off-by: Nicolae Rosia <Nicolae_Rosia@mentor.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')