/linux-6.3-rc2/include/linux/usb/ |
A D | otg.h | 16 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 …]
|
A D | phy.h | 67 struct usb_otg; 96 struct usb_otg *otg;
|
/linux-6.3-rc2/drivers/usb/phy/ |
A D | phy-ulpi.c | 199 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()
|
A D | phy-fsl-usb.c | 459 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()
|
A D | phy-mv-usb.c | 52 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() 665 struct usb_otg *otg; in mv_otg_probe()
|
A D | phy-generic.c | 104 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()
|
A D | phy-gpio-vbus-usb.c | 151 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-6.3-rc2/drivers/phy/ti/ |
A D | phy-omap-usb2.c | 115 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() 370 struct usb_otg *otg; in omap_usb2_probe()
|
A D | phy-dm816x-usb.c | 53 static int dm816x_usb_phy_set_host(struct usb_otg *otg, struct usb_bus *host) in dm816x_usb_phy_set_host() 62 static int dm816x_usb_phy_set_peripheral(struct usb_otg *otg, in dm816x_usb_phy_set_peripheral() 180 struct usb_otg *otg; in dm816x_usb_phy_probe()
|
A D | phy-twl4030-usb.c | 644 static int twl4030_set_peripheral(struct usb_otg *otg, in twl4030_set_peripheral() 657 static int twl4030_set_host(struct usb_otg *otg, struct usb_bus *host) in twl4030_set_host() 688 struct usb_otg *otg; in twl4030_usb_probe()
|
/linux-6.3-rc2/arch/arm64/boot/dts/rockchip/ |
A D | rk3368-lion-haikou.dts | 90 &usb_otg { 138 usb_otg {
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | sun8i-s3-elimo-impetus.dtsi | 36 &usb_otg {
|
A D | sun8i-s3-lichee-zero-plus.dts | 45 &usb_otg {
|
A D | sun8i-r16-nintendo-nes-classic.dts | 45 &usb_otg {
|
A D | rk3288-phycore-rdk.dts | 216 usb_otg { 262 &usb_otg {
|
A D | sun8i-h3-rervision-dvk.dts | 107 &usb_otg {
|
A D | rk3128-evb.dts | 92 &usb_otg {
|
A D | sun8i-v3-sl631.dtsi | 131 &usb_otg {
|
/linux-6.3-rc2/arch/riscv/boot/dts/allwinner/ |
A D | sun20i-d1-lichee-rv.dts | 77 &usb_otg {
|
A D | sun20i-d1-dongshan-nezha-stu.dts | 107 &usb_otg {
|
A D | sun20i-d1-lichee-rv-86-panel.dtsi | 110 &usb_otg {
|
A D | sun20i-d1s-mangopi-mq.dts | 120 &usb_otg {
|
/linux-6.3-rc2/arch/arm64/boot/dts/allwinner/ |
A D | sun50i-a64-oceanic-5205-5inmfd.dts | 82 &usb_otg {
|
/linux-6.3-rc2/drivers/phy/motorola/ |
A D | phy-cpcap-usb.c | 145 static int cpcap_usb_phy_set_host(struct usb_otg *otg, struct usb_bus *host) in cpcap_usb_phy_set_host() 154 static int cpcap_usb_phy_set_peripheral(struct usb_otg *otg, in cpcap_usb_phy_set_peripheral() 614 struct usb_otg *otg; in cpcap_usb_phy_probe()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/usb/ |
A D | allwinner,sun4i-a10-musb.yaml | 94 usb_otg: usb@1c13000 {
|