/usr/src/kernels/4.18.0-553.157.1.el8_10.x86_64/include/linux/usb
NameSizeModeActions
association.h46970644editdlrm
audio-v2.h137750644editdlrm
audio-v3.h142700644editdlrm
audio.h11080644editdlrm
c67x00.h18670644editdlrm
ccid.h7870644editdlrm
cdc-wdm.h4610644editdlrm
cdc.h13270644editdlrm
cdc_ncm.h59560644editdlrm
ch9.h23420644editdlrm
chipidea.h31280644editdlrm
composite.h256380644editdlrm
ehci-dbgp.h20990644editdlrm
ehci_def.h80760644editdlrm
ehci_pdriver.h23950644editdlrm
ezusb.h2860644editdlrm
functionfs.h1510644editdlrm
gadget.h343350644editdlrm
gadget_configfs.h30140644editdlrm
gpio_vbus.h11530644editdlrm
g_hid.h11580644editdlrm
hcd.h284230644editdlrm
input.h5260644editdlrm
iowarrior.h13740644editdlrm
irda.h38530644editdlrm
isp116x.h11600644editdlrm
isp1301.h19750644editdlrm
isp1362.h16280644editdlrm
m66592.h7730644editdlrm
musb-ux500.h8990644editdlrm
musb.h36000644editdlrm
net2280.h241200644editdlrm
of.h18150644editdlrm
ohci_pdriver.h17480644editdlrm
otg-fsm.h88230644editdlrm
otg.h30800644editdlrm
pd.h165390644editdlrm
pd_ado.h11910644editdlrm
pd_bdo.h5550644editdlrm
pd_ext_sdb.h6980644editdlrm
pd_vdo.h165540644editdlrm
phy.h84350644editdlrm
phy_companion.h11960644editdlrm
quirks.h24030644editdlrm
r8a66597.h173980644editdlrm
r8152.h9700644editdlrm
renesas_usbhs.h43220644editdlrm
rndis_host.h60800644editdlrm
role.h35380644editdlrm
serial.h173840644editdlrm
sl811.h8380644editdlrm
storage.h25820644editdlrm
tcpci.h77710644editdlrm
tcpm.h70090644editdlrm
tegra_usb_phy.h24900644editdlrm
typec.h101360644editdlrm
typec_altmode.h66410644editdlrm
typec_dp.h39780644editdlrm
typec_mux.h29860644editdlrm
typec_retimer.h11980644editdlrm
typec_tbt.h17740644editdlrm
uas.h21210644editdlrm
ulpi.h21470644editdlrm
usb338x.h79770644editdlrm
usbnet.h105060644editdlrm
usb_phy_generic.h5820644editdlrm
uvc.h63390644editdlrm
wusb-wa.h76790644editdlrm
wusb.h95860644editdlrm
xhci-dbgp.h6510644editdlrm
Edit: /usr/src/kernels/4.18.0-553.157.1.el8_10.x86_64/include/linux/usb/ch9.h (2342B)
/* SPDX-License-Identifier: GPL-2.0 */ /* * This file holds USB constants and structures that are needed for * USB device APIs. These are used by the USB device model, which is * defined in chapter 9 of the USB 2.0 specification and in the * Wireless USB 1.0 (spread around). Linux has several APIs in C that * need these: * * - the host side Linux-USB kernel driver API; * - the "usbfs" user space API; and * - the Linux "gadget" device/peripheral side driver API. * * USB 2.0 adds an additional "On The Go" (OTG) mode, which lets systems * act either as a USB host or as a USB device. That means the host and * device side APIs benefit from working well together. * * There's also "Wireless USB", using low power short range radios for * peripheral interconnection but otherwise building on the USB framework. * * Note all descriptors are declared '__attribute__((packed))' so that: * * [a] they never get padded, either internally (USB spec writers * probably handled that) or externally; * * [b] so that accessing bigger-than-a-bytes fields will never * generate bus errors on any platform, even when the location of * its descriptor inside a bundle isn't "naturally aligned", and * * [c] for consistency, removing all doubt even when it appears to * someone that the two other points are non-issues for that * particular descriptor type. */ #ifndef __LINUX_USB_CH9_H #define __LINUX_USB_CH9_H #include #include /* USB 3.2 SuperSpeed Plus phy signaling rate generation and lane count */ enum usb_ssp_rate { USB_SSP_GEN_UNKNOWN = 0, USB_SSP_GEN_2x1, USB_SSP_GEN_1x2, USB_SSP_GEN_2x2, }; extern const char *usb_ep_type_string(int ep_type); extern const char *usb_speed_string(enum usb_device_speed speed); extern enum usb_device_speed usb_get_maximum_speed(struct device *dev); extern enum usb_ssp_rate usb_get_maximum_ssp_rate(struct device *dev); extern const char *usb_state_string(enum usb_device_state state); unsigned int usb_decode_interval(const struct usb_endpoint_descriptor *epd, enum usb_device_speed speed); #ifdef CONFIG_TRACING extern const char *usb_decode_ctrl(char *str, size_t size, __u8 bRequestType, __u8 bRequest, __u16 wValue, __u16 wIndex, __u16 wLength); #endif #endif /* __LINUX_USB_CH9_H */