From 6bbd8e1e7c7e10a6935e56bc4e8529acf14bb8b2 Mon Sep 17 00:00:00 2001 From: Sergi Granell Date: Mon, 27 Aug 2018 17:10:36 +0200 Subject: Update UDCD --- include/kernel/udcd.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'include') diff --git a/include/kernel/udcd.h b/include/kernel/udcd.h index cea21d1..1c2552c 100644 --- a/include/kernel/udcd.h +++ b/include/kernel/udcd.h @@ -429,6 +429,16 @@ int sceUdcdStart(const char *driverName, int size, void *args); */ int sceUdcdStartInternal(const char *driverName, int size, void *args, int bus); +/** + * Starts the current USB driver for an UDCD bus. + * + * @param[in] unused - Unused + * @param[in] bus - UDCD bus (default is 2) + * + * @return 0 on success, < 0 on error. + */ +int sceUdcdStartCurrentInternal(int unused, int bus); + /** * Stop a USB driver. * @@ -452,6 +462,15 @@ int sceUdcdStop(const char *driverName, int size, void *args); */ int sceUdcdStopInternal(const char *driverName, int size, void *args, int bus); +/** + * Stops the current USB driver for an UDCD bus. + * + * @param[in] bus - UDCD bus (default is 2) + * + * @return 0 on success, < 0 on error. + */ +int sceUdcdStopCurrentInternal(int bus); + /** * Activate a USB driver. * -- cgit v1.2.3