summaryrefslogtreecommitdiff
path: root/include/kernel/udcd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/kernel/udcd.h')
-rw-r--r--include/kernel/udcd.h19
1 files changed, 19 insertions, 0 deletions
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
@@ -430,6 +430,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.
*
* @param driverName - Name of the USB driver to stop
@@ -453,6 +463,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.
*
* @param pid - Product ID for the default USB Driver