Home
last modified time | relevance | path

Searched refs:usb_otg (Results 1 – 25 of 199) sorted by relevance

12345678

/linux/include/linux/usb/
H A Dotg.h16 struct usb_otg { struct
28 int (*set_host)(struct usb_otg *otg, struct usb_bus *host); argument
31 int (*set_peripheral)(struct usb_otg *otg, argument
35 int (*set_vbus)(struct usb_otg *otg, bool enabled); argument
38 int (*start_srp)(struct usb_otg *otg); argument
41 int (*start_hnp)(struct usb_otg *otg); argument
64 otg_start_hnp(struct usb_otg *otg) in otg_start_hnp()
74 otg_set_vbus(struct usb_otg *otg, bool enabled) in otg_set_vbus()
84 otg_set_host(struct usb_otg *otg, struct usb_bus *host) in otg_set_host()
96 otg_set_peripheral(struct usb_otg *otg, struct usb_gadget *periph) in otg_set_peripheral()
[all …]
H A Dphy.h67 struct usb_otg;
96 struct usb_otg *otg;
/linux/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()
264 struct usb_otg *otg; in devm_otg_ulpi_create()
H A Dphy-fsl-usb.c460 struct usb_otg *otg = fsm->otg; in fsl_otg_start_host()
527 struct usb_otg *otg = fsm->otg; in fsl_otg_start_gadget()
551 static int fsl_otg_set_host(struct usb_otg *otg, struct usb_bus *host) in fsl_otg_set_host()
600 static int fsl_otg_set_peripheral(struct usb_otg *otg, in fsl_otg_set_peripheral()
663 static int fsl_otg_start_srp(struct usb_otg *otg) in fsl_otg_start_srp()
681 static int fsl_otg_start_hnp(struct usb_otg *otg) in fsl_otg_start_hnp()
710 struct usb_otg *otg = ((struct fsl_otg *)dev_id)->phy.otg; in fsl_otg_isr()
786 fsl_otg_tc->phy.otg = kzalloc_obj(struct usb_otg); in fsl_otg_conf()
H A Dphy-generic.c76 static int nop_set_vbus(struct usb_otg *otg, bool enable) in nop_set_vbus()
102 struct usb_otg *otg = nop->phy.otg; in nop_gpio_vbus_thread()
163 static int nop_set_peripheral(struct usb_otg *otg, struct usb_gadget *gadget) in nop_set_peripheral()
182 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()
/linux/drivers/phy/ti/
H A Dphy-omap-usb2.c116 static int omap_usb_set_vbus(struct usb_otg *otg, bool enabled) in omap_usb_set_vbus()
126 static int omap_usb_start_srp(struct usb_otg *otg) in omap_usb_start_srp()
136 static int omap_usb_set_host(struct usb_otg *otg, struct usb_bus *host) in omap_usb_set_host()
145 static int omap_usb_set_peripheral(struct usb_otg *otg, in omap_usb_set_peripheral()
378 struct usb_otg *otg; in omap_usb2_probe()
H A Dphy-dm816x-usb.c52 static int dm816x_usb_phy_set_host(struct usb_otg *otg, struct usb_bus *host) in dm816x_usb_phy_set_host()
61 static int dm816x_usb_phy_set_peripheral(struct usb_otg *otg, in dm816x_usb_phy_set_peripheral()
177 struct usb_otg *otg; in dm816x_usb_phy_probe()
H A Dphy-twl4030-usb.c645 static int twl4030_set_peripheral(struct usb_otg *otg, in twl4030_set_peripheral()
658 static int twl4030_set_host(struct usb_otg *otg, struct usb_bus *host) in twl4030_set_host()
689 struct usb_otg *otg; in twl4030_usb_probe()
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3368-lion-haikou.dts100 &usb_otg {
156 usb_otg {
/linux/arch/arm/boot/dts/allwinner/
H A Dsun8i-s3-elimo-impetus.dtsi36 &usb_otg {
H A Dsun8i-t113s-netcube-nagami-basic-carrier.dts59 &usb_otg {
H A Dsun8i-s3-lichee-zero-plus.dts45 &usb_otg {
H A Dsun8i-r16-nintendo-nes-classic.dts45 &usb_otg {
H A Dsuniv-f1c100s-licheepi-nano.dts73 &usb_otg {
H A Dsuniv-f1c200s-popstick-v1.1.dts74 &usb_otg {
H A Dsuniv-f1c200s-lctech-pi.dts69 &usb_otg {
H A Dsun8i-h3-rervision-dvk.dts107 &usb_otg {
H A Dsun7i-a20-icnova-a20-adb4006.dts126 &usb_otg {
H A Dsun8i-v3-sl631.dtsi131 &usb_otg {
/linux/arch/arm/boot/dts/rockchip/
H A Drk3288-phycore-rdk.dts216 usb_otg {
262 &usb_otg {
H A Drk3128-evb.dts87 &usb_otg {
/linux/drivers/phy/motorola/
H A Dphy-cpcap-usb.c144 static int cpcap_usb_phy_set_host(struct usb_otg *otg, struct usb_bus *host) in cpcap_usb_phy_set_host()
153 static int cpcap_usb_phy_set_peripheral(struct usb_otg *otg, in cpcap_usb_phy_set_peripheral()
613 struct usb_otg *otg; in cpcap_usb_phy_probe()
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-a64-oceanic-5205-5inmfd.dts82 &usb_otg {
/linux/arch/riscv/boot/dts/allwinner/
H A Dsun20i-d1-lichee-rv.dts77 &usb_otg {

12345678