mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-10-06 06:12:19 +00:00
7b798658b2
Rename the sunxi_usbc_foo functions to sunxi_usb_phy_bar to make it clear that these are usb-phy functions. Also change the verbs & nouns in the suffix to match the verbs & nouns used in the Linux kernels generic phy framework. This patch purely renames things, it contains no functional changes. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
20 lines
602 B
C
20 lines
602 B
C
/*
|
|
* 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(int index);
|
|
int sunxi_usb_phy_remove(int index);
|
|
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);
|
|
void sunxi_usb_phy_enable_squelch_detect(int index, int enable);
|