OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-213
/
include
/
linux
/
usb
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
association.h
4.59 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
atmel_usba_udc.h
421 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
audio-v2.h
13.17 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
audio.h
1.23 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
c67x00.h
1.82 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
cdc-wdm.h
651 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
cdc.h
1.48 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
cdc_ncm.h
5.56 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ch9.h
2.5 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
chipidea.h
2.77 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
composite.h
25.17 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
ehci-dbgp.h
2.05 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ehci_def.h
7.89 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
ehci_pdriver.h
2.31 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ezusb.h
286 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
functionfs.h
151 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
g_hid.h
1.13 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
gadget.h
32.65 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
gadget_configfs.h
2.94 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
gpio_vbus.h
1.13 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
hcd.h
25.93 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
input.h
716 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
iowarrior.h
1.34 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
irda.h
3.76 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
isp116x.h
1.13 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
isp1301.h
2.38 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
isp1362.h
1.59 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
isp1760.h
633 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
m66592.h
1.41 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
musb-ux500.h
899 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
musb.h
4.59 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
net2280.h
23.55 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
of.h
1.46 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ohci_pdriver.h
1.71 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
otg-fsm.h
8.61 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
otg.h
3.01 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
pd.h
8.98 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
pd_bdo.h
1011 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
pd_vdo.h
7.58 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
phy.h
9.25 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
phy_companion.h
1.17 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
quirks.h
2.34 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
r8a66597.h
17.65 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
renesas_usbhs.h
4.76 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
rndis_host.h
5.94 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
samsung_usb_phy.h
530 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
serial.h
17.12 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
sl811.h
838 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
storage.h
2.58 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
tcpm.h
6.46 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
tegra_usb_phy.h
2.38 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
tilegx.h
983 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
typec.h
7.04 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
uas.h
2.07 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ulpi.h
1.99 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
usb338x.h
7.63 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
usb_phy_generic.h
892 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
usbnet.h
10.01 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
wusb-wa.h
7.5 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
wusb.h
9.92 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
xhci-dbgp.h
825 bytes
01/28/2018 09:20:33 PM
rw-r--r--
Editing: musb.h
Close
/* SPDX-License-Identifier: GPL-2.0 */ /* * This is used to for host and peripheral modes of the driver for * Inventra (Multidrop) Highspeed Dual-Role Controllers: (M)HDRC. * * Board initialization should put one of these into dev->platform_data, * probably on some platform_device named "musb-hdrc". It encapsulates * key configuration differences between boards. */ #ifndef __LINUX_USB_MUSB_H #define __LINUX_USB_MUSB_H /* The USB role is defined by the connector used on the board, so long as * standards are being followed. (Developer boards sometimes won't.) */ enum musb_mode { MUSB_UNDEFINED = 0, MUSB_HOST, /* A or Mini-A connector */ MUSB_PERIPHERAL, /* B or Mini-B connector */ MUSB_OTG /* Mini-AB connector */ }; struct clk; enum musb_fifo_style { FIFO_RXTX, FIFO_TX, FIFO_RX } __attribute__ ((packed)); enum musb_buf_mode { BUF_SINGLE, BUF_DOUBLE } __attribute__ ((packed)); struct musb_fifo_cfg { u8 hw_ep_num; enum musb_fifo_style style; enum musb_buf_mode mode; u16 maxpacket; }; #define MUSB_EP_FIFO(ep, st, m, pkt) \ { \ .hw_ep_num = ep, \ .style = st, \ .mode = m, \ .maxpacket = pkt, \ } #define MUSB_EP_FIFO_SINGLE(ep, st, pkt) \ MUSB_EP_FIFO(ep, st, BUF_SINGLE, pkt) #define MUSB_EP_FIFO_DOUBLE(ep, st, pkt) \ MUSB_EP_FIFO(ep, st, BUF_DOUBLE, pkt) struct musb_hdrc_eps_bits { const char name[16]; u8 bits; }; struct musb_hdrc_config { struct musb_fifo_cfg *fifo_cfg; /* board fifo configuration */ unsigned fifo_cfg_size; /* size of the fifo configuration */ /* MUSB configuration-specific details */ unsigned multipoint:1; /* multipoint device */ unsigned dyn_fifo:1 __deprecated; /* supports dynamic fifo sizing */ unsigned soft_con:1 __deprecated; /* soft connect required */ unsigned utm_16:1 __deprecated; /* utm data witdh is 16 bits */ unsigned big_endian:1; /* true if CPU uses big-endian */ unsigned mult_bulk_tx:1; /* Tx ep required for multbulk pkts */ unsigned mult_bulk_rx:1; /* Rx ep required for multbulk pkts */ unsigned high_iso_tx:1; /* Tx ep required for HB iso */ unsigned high_iso_rx:1; /* Rx ep required for HD iso */ unsigned dma:1 __deprecated; /* supports DMA */ unsigned vendor_req:1 __deprecated; /* vendor registers required */ /* need to explicitly de-assert the port reset after resume? */ unsigned host_port_deassert_reset_at_resume:1; u8 num_eps; /* number of endpoints _with_ ep0 */ u8 dma_channels __deprecated; /* number of dma channels */ u8 dyn_fifo_size; /* dynamic size in bytes */ u8 vendor_ctrl __deprecated; /* vendor control reg width */ u8 vendor_stat __deprecated; /* vendor status reg witdh */ u8 dma_req_chan __deprecated; /* bitmask for required dma channels */ u8 ram_bits; /* ram address size */ struct musb_hdrc_eps_bits *eps_bits __deprecated; #ifdef CONFIG_BLACKFIN /* A GPIO controlling VRSEL in Blackfin */ unsigned int gpio_vrsel; unsigned int gpio_vrsel_active; /* musb CLKIN in Blackfin in MHZ */ unsigned char clkin; #endif u32 maximum_speed; }; struct musb_hdrc_platform_data { /* MUSB_HOST, MUSB_PERIPHERAL, or MUSB_OTG */ u8 mode; /* for clk_get() */ const char *clock; /* (HOST or OTG) switch VBUS on/off */ int (*set_vbus)(struct device *dev, int is_on); /* (HOST or OTG) mA/2 power supplied on (default = 8mA) */ u8 power; /* (PERIPHERAL) mA/2 max power consumed (default = 100mA) */ u8 min_power; /* (HOST or OTG) msec/2 after VBUS on till power good */ u8 potpgt; /* (HOST or OTG) program PHY for external Vbus */ unsigned extvbus:1; /* Power the device on or off */ int (*set_power)(int state); /* MUSB configuration-specific details */ const struct musb_hdrc_config *config; /* Architecture specific board data */ void *board_data; /* Platform specific struct musb_ops pointer */ const void *platform_ops; }; enum musb_vbus_id_status { MUSB_UNKNOWN = 0, MUSB_ID_GROUND, MUSB_ID_FLOAT, MUSB_VBUS_VALID, MUSB_VBUS_OFF, }; #if IS_ENABLED(CONFIG_USB_MUSB_HDRC) int musb_mailbox(enum musb_vbus_id_status status); #else static inline int musb_mailbox(enum musb_vbus_id_status status) { return 0; } #endif /* TUSB 6010 support */ #define TUSB6010_OSCCLK_60 16667 /* psec/clk @ 60.0 MHz */ #define TUSB6010_REFCLK_24 41667 /* psec/clk @ 24.0 MHz XI */ #define TUSB6010_REFCLK_19 52083 /* psec/clk @ 19.2 MHz CLKIN */ #ifdef CONFIG_ARCH_OMAP2 extern int __init tusb6010_setup_interface( struct musb_hdrc_platform_data *data, unsigned ps_refclk, unsigned waitpin, unsigned async_cs, unsigned sync_cs, unsigned irq, unsigned dmachan); extern int tusb6010_platform_retime(unsigned is_refclk); #endif /* OMAP2 */ #endif /* __LINUX_USB_MUSB_H */