diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-10-11 01:02:33 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-10-13 13:41:40 -0400 |
commit | ef8bedb9048c293dfa85ac36482a1970646a8272 (patch) | |
tree | d20426f584ee7854fd4061a768249e7ac35a1bcc /drivers/usb/renesas_usbhs/common.h | |
parent | 356db7edadb98edbc60abf46b86a1816bfee6278 (diff) |
usb: gadget: renesas_usbhs: move usbhs_usbreq_get/set_val() to common.c
usbhs_usbreq_get/set_val() functions were in pipe.c file,
but it is irrelevant to pipe.
this patch move it to common.c
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
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); |