Exploit databaseDownload repository ZIP
GH-b6f78b211ff4ea5e7b3ebffe1f088758
abrarkhan/linux-4.19.72_cve-2020-24490
Sources for CVE-2020-24490
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files25
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- Kconfig
- Makefile
- of.c
- phy-ab8500-usb.c
- phy-am335x-control.c
- phy-am335x-control.h
- phy-am335x.c
- phy-fsl-usb.c
- phy-fsl-usb.h
- phy-generic.c
- phy-generic.h
- phy-gpio-vbus-usb.c
- phy-isp1301-omap.c
- phy-isp1301.c
- phy-keystone.c
- phy-mv-usb.c
- phy-mv-usb.h
- phy-mxs-usb.c
- phy-omap-otg.c
- phy-tahvo.c
- phy-tegra-usb.c
- phy-twl6030-usb.c
- phy-ulpi-viewport.c
- phy-ulpi.c
- phy.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/usb/phy/phy-am335x-control.h
Text · 650 bytes/* SPDX-License-Identifier: GPL-2.0 */
#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