Lines Matching refs:index

90 static int get_vbus_gpio(int index)  in get_vbus_gpio()  argument
92 switch (index) { in get_vbus_gpio()
101 static int get_vbus_detect_gpio(int index) in get_vbus_detect_gpio() argument
103 switch (index) { in get_vbus_detect_gpio()
109 static int get_id_detect_gpio(int index) in get_id_detect_gpio() argument
111 switch (index) { in get_id_detect_gpio()
214 void sunxi_usb_phy_enable_squelch_detect(int index, int enable) in sunxi_usb_phy_enable_squelch_detect() argument
217 struct sunxi_usb_phy *phy = &sunxi_usb_phy[index]; in sunxi_usb_phy_enable_squelch_detect()
223 void sunxi_usb_phy_init(int index) in sunxi_usb_phy_init() argument
225 struct sunxi_usb_phy *phy = &sunxi_usb_phy[index]; in sunxi_usb_phy_init()
249 void sunxi_usb_phy_exit(int index) in sunxi_usb_phy_exit() argument
251 struct sunxi_usb_phy *phy = &sunxi_usb_phy[index]; in sunxi_usb_phy_exit()
271 void sunxi_usb_phy_power_on(int index) in sunxi_usb_phy_power_on() argument
273 struct sunxi_usb_phy *phy = &sunxi_usb_phy[index]; in sunxi_usb_phy_power_on()
288 void sunxi_usb_phy_power_off(int index) in sunxi_usb_phy_power_off() argument
290 struct sunxi_usb_phy *phy = &sunxi_usb_phy[index]; in sunxi_usb_phy_power_off()
300 int sunxi_usb_phy_vbus_detect(int index) in sunxi_usb_phy_vbus_detect() argument
302 struct sunxi_usb_phy *phy = &sunxi_usb_phy[index]; in sunxi_usb_phy_vbus_detect()
322 int sunxi_usb_phy_id_detect(int index) in sunxi_usb_phy_id_detect() argument
324 struct sunxi_usb_phy *phy = &sunxi_usb_phy[index]; in sunxi_usb_phy_id_detect()