|
Linux Kernel
3.7.1
|
#include <linux/io.h>#include <linux/list.h>#include <linux/module.h>#include <linux/platform_device.h>#include <linux/slab.h>#include <linux/usb.h>#include <linux/usb/hcd.h>#include "common.h"Go to the source code of this file.
Data Structures | |
| struct | usbhsh_request |
| struct | usbhsh_device |
| struct | usbhsh_ep |
| struct | usbhsh_hpriv |
Functions | |
| int | usbhs_mod_host_probe (struct usbhs_priv *priv) |
| int | usbhs_mod_host_remove (struct usbhs_priv *priv) |
| #define usbhsh_device0 | ( | h | ) | usbhsh_device_nth(h, 0) |
Definition at line 150 of file mod_host.c.
Definition at line 147 of file mod_host.c.
Definition at line 90 of file mod_host.c.
Definition at line 148 of file mod_host.c.
| #define usbhsh_device_parent | ( | d | ) | (usbhsh_usbv_to_udev((d)->usbv->parent)) |
Definition at line 146 of file mod_host.c.
Definition at line 131 of file mod_host.c.
| #define usbhsh_for_each_udev | ( | pos, | |
| hpriv, | |||
| i | |||
| ) | __usbhsh_for_each_udev(1, pos, hpriv, i) |
Definition at line 117 of file mod_host.c.
| #define usbhsh_for_each_udev_with_dev0 | ( | pos, | |
| hpriv, | |||
| i | |||
| ) | __usbhsh_for_each_udev(0, pos, hpriv, i) |
Definition at line 120 of file mod_host.c.
| #define usbhsh_hcd_to_dev | ( | h | ) | ((h)->self.controller) |
Definition at line 124 of file mod_host.c.
| #define usbhsh_hcd_to_hpriv | ( | h | ) | (struct usbhsh_hpriv *)((h)->hcd_priv) |
Definition at line 123 of file mod_host.c.
Definition at line 127 of file mod_host.c.
| #define usbhsh_hpriv_to_hcd | ( | h | ) | container_of((void *)h, struct usb_hcd, hcd_priv) |
Definition at line 128 of file mod_host.c.
Definition at line 126 of file mod_host.c.
Definition at line 144 of file mod_host.c.
| #define usbhsh_pkt_to_ureq | ( | p | ) | container_of((void *)p, struct usbhsh_request, pkt) |
Definition at line 157 of file mod_host.c.
| #define USBHSH_PORT_MAX 7 /* see DEVADDn :: HUBPORT */ |
Definition at line 91 of file mod_host.c.
Definition at line 154 of file mod_host.c.
Definition at line 155 of file mod_host.c.
Definition at line 152 of file mod_host.c.
Definition at line 153 of file mod_host.c.
| #define usbhsh_priv_to_hpriv | ( | priv | ) | container_of(usbhs_mod_get(priv, USBHS_HOST), struct usbhsh_hpriv, mod) |
Definition at line 109 of file mod_host.c.
| #define usbhsh_udev_is_used | ( | h | ) | usbhsh_udev_to_usbv(h) |
Definition at line 142 of file mod_host.c.
Definition at line 141 of file mod_host.c.
Definition at line 134 of file mod_host.c.
Definition at line 132 of file mod_host.c.
Definition at line 133 of file mod_host.c.
Definition at line 136 of file mod_host.c.
Definition at line 137 of file mod_host.c.
| #define usbhsh_usbv_to_udev | ( | d | ) | dev_get_drvdata(&(d)->dev) |
Definition at line 139 of file mod_host.c.
| int usbhs_mod_host_probe | ( | struct usbhs_priv * | priv | ) |
Definition at line 1517 of file mod_host.c.
| int usbhs_mod_host_remove | ( | struct usbhs_priv * | priv | ) |
Definition at line 1565 of file mod_host.c.
1.8.2