#include <linux/io.h>
#include <linux/module.h>
#include <linux/pm_runtime.h>
#include <linux/slab.h>
#include <linux/sysfs.h>
#include "common.h"
Go to the source code of this file.
|
u16 | usbhs_read (struct usbhs_priv *priv, u32 reg) |
|
void | usbhs_write (struct usbhs_priv *priv, u32 reg, u16 data) |
|
void | usbhs_bset (struct usbhs_priv *priv, u32 reg, u16 mask, u16 data) |
|
struct usbhs_priv * | usbhs_pdev_to_priv (struct platform_device *pdev) |
|
void | usbhs_sys_host_ctrl (struct usbhs_priv *priv, int enable) |
|
void | usbhs_sys_function_ctrl (struct usbhs_priv *priv, int enable) |
|
void | usbhs_sys_set_test_mode (struct usbhs_priv *priv, u16 mode) |
|
int | usbhs_frame_get_num (struct usbhs_priv *priv) |
|
void | usbhs_usbreq_get_val (struct usbhs_priv *priv, struct usb_ctrlrequest *req) |
|
void | usbhs_usbreq_set_val (struct usbhs_priv *priv, struct usb_ctrlrequest *req) |
|
void | usbhs_bus_send_sof_enable (struct usbhs_priv *priv) |
|
void | usbhs_bus_send_reset (struct usbhs_priv *priv) |
|
int | usbhs_bus_get_speed (struct usbhs_priv *priv) |
|
int | usbhs_vbus_ctrl (struct usbhs_priv *priv, int enable) |
|
int | usbhs_set_device_config (struct usbhs_priv *priv, int devnum, u16 upphub, u16 hubport, u16 speed) |
|
| module_platform_driver (renesas_usbhs_driver) |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_DESCRIPTION ("Renesas USB driver") |
|
| MODULE_AUTHOR ("Kuninori Morimoto <[email protected]>") |
|
#define usbhs_platform_call |
( |
|
priv, |
|
|
|
func, |
|
|
|
args... |
|
) |
| |
Value:
!((
priv)->pfunc.func) ? 0 : \
(
priv)->pfunc.func(args))
Definition at line 62 of file common.c.
#define usbhsc_flags_clr |
( |
|
p, |
|
|
|
b |
|
) |
| ((p)->flags &= ~(b)) |
#define usbhsc_flags_has |
( |
|
p, |
|
|
|
b |
|
) |
| ((p)->flags & (b)) |
#define usbhsc_flags_init |
( |
|
p | ) |
do {(p)->flags = 0; } while (0) |
#define usbhsc_flags_set |
( |
|
p, |
|
|
|
b |
|
) |
| ((p)->flags |= (b)) |
#define USBHSF_RUNTIME_PWCTRL (1 << 0) |
module_platform_driver |
( |
renesas_usbhs_driver |
| ) |
|