Exploit databaseDownload repository ZIP
GH-9a497cc26994d431b276e9e3b7a8f75c
satheesh575555/linux-4.19.72_cve-2023-0386
Sources for CVE-2023-0386
19 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files66
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- association.h
- audio-v2.h
- audio-v3.h
- audio.h
- c67x00.h
- cdc-wdm.h
- cdc.h
- cdc_ncm.h
- ch9.h
- chipidea.h
- composite.h
- ehci-dbgp.h
- ehci_def.h
- ehci_pdriver.h
- ezusb.h
- functionfs.h
- g_hid.h
- gadget.h
- gadget_configfs.h
- gpio_vbus.h
- hcd.h
- input.h
- iowarrior.h
- irda.h
- isp116x.h
- isp1301.h
- isp1362.h
- isp1760.h
- m66592.h
- musb-ux500.h
- musb.h
- net2280.h
- of.h
- ohci_pdriver.h
- otg-fsm.h
- otg.h
- pd.h
- pd_ado.h
- pd_bdo.h
- pd_ext_sdb.h
- pd_vdo.h
- phy.h
- phy_companion.h
- quirks.h
- r8a66597.h
- renesas_usbhs.h
- rndis_host.h
- role.h
- samsung_usb_phy.h
- serial.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
include/linux/usb/isp1301.h
Text · 2,433 bytes// SPDX-License-Identifier: GPL-2.0
/*
* NXP ISP1301 USB transceiver driver
*
* Copyright (C) 2012 Roland Stigge <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#ifndef __LINUX_USB_ISP1301_H
#define __LINUX_USB_ISP1301_H
#include <linux/of.h>
/* I2C Register definitions: */
#define ISP1301_I2C_MODE_CONTROL_1 0x04 /* u8 read, set, +1 clear */
#define MC1_SPEED_REG (1 << 0)
#define MC1_SUSPEND_REG (1 << 1)
#define MC1_DAT_SE0 (1 << 2)
#define MC1_TRANSPARENT (1 << 3)
#define MC1_BDIS_ACON_EN (1 << 4)
#define MC1_OE_INT_EN (1 << 5)
#define MC1_UART_EN (1 << 6)
#define MC1_MASK 0x7f
#define ISP1301_I2C_MODE_CONTROL_2 0x12 /* u8 read, set, +1 clear */
#define MC2_GLOBAL_PWR_DN (1 << 0)
#define MC2_SPD_SUSP_CTRL (1 << 1)
#define MC2_BI_DI (1 << 2)
#define MC2_TRANSP_BDIR0 (1 << 3)
#define MC2_TRANSP_BDIR1 (1 << 4)
#define MC2_AUDIO_EN (1 << 5)
#define MC2_PSW_EN (1 << 6)
#define MC2_EN2V7 (1 << 7)
#define ISP1301_I2C_OTG_CONTROL_1 0x06 /* u8 read, set, +1 clear */
#define OTG1_DP_PULLUP (1 << 0)
#define OTG1_DM_PULLUP (1 << 1)
#define OTG1_DP_PULLDOWN (1 << 2)
#define OTG1_DM_PULLDOWN (1 << 3)
#define OTG1_ID_PULLDOWN (1 << 4)
#define OTG1_VBUS_DRV (1 << 5)
#define OTG1_VBUS_DISCHRG (1 << 6)
#define OTG1_VBUS_CHRG (1 << 7)
#define ISP1301_I2C_OTG_CONTROL_2 0x10 /* u8 readonly */
#define OTG_B_SESS_END (1 << 6)
#define OTG_B_SESS_VLD (1 << 7)
#define ISP1301_I2C_INTERRUPT_SOURCE 0x8
#define ISP1301_I2C_INTERRUPT_LATCH 0xA
#define ISP1301_I2C_INTERRUPT_FALLING 0xC
#define ISP1301_I2C_INTERRUPT_RISING 0xE
#define INT_VBUS_VLD (1 << 0)
#define INT_SESS_VLD (1 << 1)
#define INT_DP_HI (1 << 2)
#define INT_ID_GND (1 << 3)
#define INT_DM_HI (1 << 4)
#define INT_ID_FLOAT (1 << 5)
#define INT_BDIS_ACON (1 << 6)
#define INT_CR_INT (1 << 7)
#define ISP1301_I2C_REG_CLEAR_ADDR 1 /* Register Address Modifier */
struct i2c_client *isp1301_get_client(struct device_node *node);
#endif /* __LINUX_USB_ISP1301_H */