Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

usb_phy.h

Blame
  • Forked from Reform / reform-boundary-uboot
    5853 commits behind the upstream repository.
    usb_phy.h 632 B
    /*
     * Sunxi usb-phy code
     *
     * Copyright (C) 2015 Hans de Goede <hdegoede@redhat.com>
     * Copyright (C) 2014 Roman Byshko <rbyshko@gmail.com>
     *
     * Based on code from
     * Allwinner Technology Co., Ltd. <www.allwinnertech.com>
     *
     * SPDX-License-Identifier:	GPL-2.0+
     */
    
    int sunxi_usb_phy_probe(void);
    int sunxi_usb_phy_remove(void);
    void sunxi_usb_phy_init(int index);
    void sunxi_usb_phy_exit(int index);
    void sunxi_usb_phy_power_on(int index);
    void sunxi_usb_phy_power_off(int index);
    int sunxi_usb_phy_vbus_detect(int index);
    int sunxi_usb_phy_id_detect(int index);
    void sunxi_usb_phy_enable_squelch_detect(int index, int enable);