diff options
Diffstat (limited to 'drivers/usb/renesas_usbhs/common.h')
-rw-r--r-- | drivers/usb/renesas_usbhs/common.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/usb/renesas_usbhs/common.h b/drivers/usb/renesas_usbhs/common.h index 8729da5c3be6..d79b3e27db95 100644 --- a/drivers/usb/renesas_usbhs/common.h +++ b/drivers/usb/renesas_usbhs/common.h | |||
@@ -33,6 +33,7 @@ struct usbhs_priv; | |||
33 | #define SYSCFG 0x0000 | 33 | #define SYSCFG 0x0000 |
34 | #define BUSWAIT 0x0002 | 34 | #define BUSWAIT 0x0002 |
35 | #define DVSTCTR 0x0008 | 35 | #define DVSTCTR 0x0008 |
36 | #define TESTMODE 0x000C | ||
36 | #define CFIFO 0x0014 | 37 | #define CFIFO 0x0014 |
37 | #define CFIFOSEL 0x0020 | 38 | #define CFIFOSEL 0x0020 |
38 | #define CFIFOCTR 0x0022 | 39 | #define CFIFOCTR 0x0022 |
@@ -275,19 +276,15 @@ u16 usbhs_read(struct usbhs_priv *priv, u32 reg); | |||
275 | void usbhs_write(struct usbhs_priv *priv, u32 reg, u16 data); | 276 | void usbhs_write(struct usbhs_priv *priv, u32 reg, u16 data); |
276 | void usbhs_bset(struct usbhs_priv *priv, u32 reg, u16 mask, u16 data); | 277 | void usbhs_bset(struct usbhs_priv *priv, u32 reg, u16 mask, u16 data); |
277 | 278 | ||
278 | int usbhsc_drvcllbck_notify_hotplug(struct platform_device *pdev); | ||
279 | |||
280 | #define usbhs_lock(p, f) spin_lock_irqsave(usbhs_priv_to_lock(p), f) | 279 | #define usbhs_lock(p, f) spin_lock_irqsave(usbhs_priv_to_lock(p), f) |
281 | #define usbhs_unlock(p, f) spin_unlock_irqrestore(usbhs_priv_to_lock(p), f) | 280 | #define usbhs_unlock(p, f) spin_unlock_irqrestore(usbhs_priv_to_lock(p), f) |
282 | 281 | ||
283 | /* | 282 | /* |
284 | * sysconfig | 283 | * sysconfig |
285 | */ | 284 | */ |
286 | void usbhs_sys_clock_ctrl(struct usbhs_priv *priv, int enable); | ||
287 | void usbhs_sys_hispeed_ctrl(struct usbhs_priv *priv, int enable); | ||
288 | void usbhs_sys_usb_ctrl(struct usbhs_priv *priv, int enable); | ||
289 | void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable); | 285 | void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable); |
290 | void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable); | 286 | void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable); |
287 | void usbhs_sys_set_test_mode(struct usbhs_priv *priv, u16 mode); | ||
291 | 288 | ||
292 | /* | 289 | /* |
293 | * usb request | 290 | * usb request |
@@ -311,7 +308,7 @@ int usbhs_frame_get_num(struct usbhs_priv *priv); | |||
311 | /* | 308 | /* |
312 | * device config | 309 | * device config |
313 | */ | 310 | */ |
314 | int usbhs_set_device_speed(struct usbhs_priv *priv, int devnum, u16 upphub, | 311 | int usbhs_set_device_config(struct usbhs_priv *priv, int devnum, u16 upphub, |
315 | u16 hubport, u16 speed); | 312 | u16 hubport, u16 speed); |
316 | 313 | ||
317 | /* | 314 | /* |