Home
last modified time | relevance | path

Searched full:usb_otg (Results 1 – 25 of 332) sorted by relevance

12345678910>>...14

/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dotg.h17 struct usb_otg { struct
29 int (*set_host)(struct usb_otg *otg, struct usb_bus *host); argument
32 int (*set_peripheral)(struct usb_otg *otg, argument
36 int (*set_vbus)(struct usb_otg *otg, bool enabled); argument
39 int (*start_srp)(struct usb_otg *otg); argument
42 int (*start_hnp)(struct usb_otg *otg); argument
66 otg_start_hnp(struct usb_otg *otg) in otg_start_hnp()
76 otg_set_vbus(struct usb_otg *otg, bool enabled) in otg_set_vbus()
86 otg_set_host(struct usb_otg *otg, struct usb_bus *host) in otg_set_host()
98 otg_set_peripheral(struct usb_otg *otg, struct usb_gadget *periph) in otg_set_peripheral()
[all …]
H A Dphy.h68 struct usb_otg;
97 struct usb_otg *otg;
/OK3568_Linux_fs/kernel/drivers/usb/phy/
H A Dphy-ulpi.c199 static int ulpi_set_host(struct usb_otg *otg, struct usb_bus *host) in ulpi_set_host()
225 static int ulpi_set_vbus(struct usb_otg *otg, bool on) in ulpi_set_vbus()
243 static void otg_ulpi_init(struct usb_phy *phy, struct usb_otg *otg, in otg_ulpi_init()
263 struct usb_otg *otg; in otg_ulpi_create()
287 struct usb_otg *otg; in devm_otg_ulpi_create()
H A Dphy-jz4770.c107 struct usb_otg otg;
114 static inline struct jz4770_phy *otg_to_jz4770_phy(struct usb_otg *otg) in otg_to_jz4770_phy()
124 static int ingenic_usb_phy_set_peripheral(struct usb_otg *otg, in ingenic_usb_phy_set_peripheral()
144 static int ingenic_usb_phy_set_host(struct usb_otg *otg, struct usb_bus *host) in ingenic_usb_phy_set_host()
H A Dphy-mv-usb.c52 static int mv_otg_set_vbus(struct usb_otg *otg, bool on) in mv_otg_set_vbus()
61 static int mv_otg_set_host(struct usb_otg *otg, in mv_otg_set_host()
69 static int mv_otg_set_peripheral(struct usb_otg *otg, in mv_otg_set_peripheral()
194 struct usb_otg *otg = mvotg->phy.otg; in mv_otg_start_host()
215 struct usb_otg *otg = mvotg->phy.otg; in mv_otg_start_periphrals()
402 struct usb_otg *otg; in mv_otg_work()
667 struct usb_otg *otg; in mv_otg_probe()
H A Dphy-fsl-usb.c459 struct usb_otg *otg = fsm->otg; in fsl_otg_start_host()
526 struct usb_otg *otg = fsm->otg; in fsl_otg_start_gadget()
550 static int fsl_otg_set_host(struct usb_otg *otg, struct usb_bus *host) in fsl_otg_set_host()
599 static int fsl_otg_set_peripheral(struct usb_otg *otg, in fsl_otg_set_peripheral()
662 static int fsl_otg_start_srp(struct usb_otg *otg) in fsl_otg_start_srp()
680 static int fsl_otg_start_hnp(struct usb_otg *otg) in fsl_otg_start_hnp()
709 struct usb_otg *otg = ((struct fsl_otg *)dev_id)->phy.otg; in fsl_otg_isr()
785 fsl_otg_tc->phy.otg = kzalloc(sizeof(struct usb_otg), GFP_KERNEL); in fsl_otg_conf()
H A Dphy-generic.c104 struct usb_otg *otg = nop->phy.otg; in nop_gpio_vbus_thread()
173 static int nop_set_peripheral(struct usb_otg *otg, struct usb_gadget *gadget) in nop_set_peripheral()
192 static int nop_set_host(struct usb_otg *otg, struct usb_bus *host) in nop_set_host()
H A Dphy-gpio-vbus-usb.c151 struct usb_otg *otg = gpio_vbus->phy.otg; in gpio_vbus_irq()
166 static int gpio_vbus_set_peripheral(struct usb_otg *otg, in gpio_vbus_set_peripheral()
244 gpio_vbus->phy.otg = devm_kzalloc(&pdev->dev, sizeof(struct usb_otg), in gpio_vbus_probe()
/OK3568_Linux_fs/kernel/drivers/usb/core/
H A DKconfig59 config USB_OTG config
85 depends on USB_OTG || EXPERT
94 depends on USB && USB_OTG
/OK3568_Linux_fs/u-boot/drivers/usb/phy/
H A Drockchip_usb2_phy.c95 /* Find the usb_otg node */ in otg_phy_parse()
108 pr_err("Not found usb_otg address\n"); in otg_phy_parse()
130 pr_err("Not found usb_otg device\n"); in otg_phy_parse()
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dpx3se-evb.dts85 &usb_otg {
91 usb_otg {
H A Drk3126-evb.dts76 &usb_otg {
87 usb_otg {
H A D.rk3126-evb.dtb.pre.tmp
H A Drk3036-sdk.dts73 &usb_otg {
79 usb_otg {
H A D.rk3036-sdk.dtb.pre.tmp
H A D.rk3036-sdk.dtb.dts.tmp
H A Drk3128-evb.dts83 &usb_otg {
318 usb_otg {
H A Drk3288-phycore-rdk.dts242 usb_otg {
288 &usb_otg {
H A D.rk3288-phycore-rdk.dtb.pre.tmp
/OK3568_Linux_fs/kernel/drivers/phy/ti/
H A Dphy-omap-usb2.c115 static int omap_usb_set_vbus(struct usb_otg *otg, bool enabled) in omap_usb_set_vbus()
125 static int omap_usb_start_srp(struct usb_otg *otg) in omap_usb_start_srp()
135 static int omap_usb_set_host(struct usb_otg *otg, struct usb_bus *host) in omap_usb_set_host()
144 static int omap_usb_set_peripheral(struct usb_otg *otg, in omap_usb_set_peripheral()
371 struct usb_otg *otg; in omap_usb2_probe()
H A Dphy-dm816x-usb.c62 static int dm816x_usb_phy_set_host(struct usb_otg *otg, struct usb_bus *host) in dm816x_usb_phy_set_host()
71 static int dm816x_usb_phy_set_peripheral(struct usb_otg *otg, in dm816x_usb_phy_set_peripheral()
189 struct usb_otg *otg; in dm816x_usb_phy_probe()
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3368-lion-haikou.dts86 &usb_otg {
134 usb_otg {
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-class-extcon45 USB_OTG=1
51 In this example, the extcon device has USB_OTG and TA
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Drk3288-phycore-rdk.dts216 usb_otg {
262 &usb_otg {
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/
H A Dci-hdrc-usb2.txt105 USB_OTG*_DP and USB_OTG*_DN pins after a J-to-K or K-to-J transition.

12345678910>>...14