diff options
Diffstat (limited to 'drivers/usb/renesas_usbhs/common.h')
-rw-r--r-- | drivers/usb/renesas_usbhs/common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/renesas_usbhs/common.h b/drivers/usb/renesas_usbhs/common.h index a5cef8160107..3b233809cdaa 100644 --- a/drivers/usb/renesas_usbhs/common.h +++ b/drivers/usb/renesas_usbhs/common.h | |||
@@ -185,6 +185,7 @@ struct usbhs_priv; | |||
185 | /* PIPEnCTR */ | 185 | /* PIPEnCTR */ |
186 | /* DCPCTR */ | 186 | /* DCPCTR */ |
187 | #define BSTS (1 << 15) /* Buffer Status */ | 187 | #define BSTS (1 << 15) /* Buffer Status */ |
188 | #define SUREQ (1 << 14) /* Sending SETUP Token */ | ||
188 | #define CSSTS (1 << 12) /* CSSTS Status */ | 189 | #define CSSTS (1 << 12) /* CSSTS Status */ |
189 | #define SQCLR (1 << 8) /* Toggle Bit Clear */ | 190 | #define SQCLR (1 << 8) /* Toggle Bit Clear */ |
190 | #define ACLRM (1 << 9) /* Buffer Auto-Clear Mode */ | 191 | #define ACLRM (1 << 9) /* Buffer Auto-Clear Mode */ |
@@ -260,6 +261,12 @@ void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable); | |||
260 | void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable); | 261 | void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable); |
261 | 262 | ||
262 | /* | 263 | /* |
264 | * usb request | ||
265 | */ | ||
266 | void usbhs_usbreq_get_val(struct usbhs_priv *priv, struct usb_ctrlrequest *req); | ||
267 | void usbhs_usbreq_set_val(struct usbhs_priv *priv, struct usb_ctrlrequest *req); | ||
268 | |||
269 | /* | ||
263 | * bus | 270 | * bus |
264 | */ | 271 | */ |
265 | void usbhs_bus_send_sof_enable(struct usbhs_priv *priv); | 272 | void usbhs_bus_send_sof_enable(struct usbhs_priv *priv); |