#include "ehci-mem.c"
#include "usbstorage.h"
#include "usb2.c"
#include "usbstorage.c"
Go to the source code of this file.
|
void | debug_qtds (struct ehci_hcd *ehci) |
|
void | dump_qh (struct ehci_hcd *ehci, struct ehci_qh *qh) |
|
struct ehci_qtd * | qh_urb_transaction (struct ehci_hcd *ehci, struct ehci_urb *urb) |
|
int | ehci_do_urb (struct ehci_hcd *ehci, struct ehci_device *dev, struct ehci_urb *urb) |
|
s32 | ehci_control_message (struct ehci_hcd *ehci, struct ehci_device *dev, u8 bmRequestType, u8 bmRequest, u16 wValue, u16 wIndex, u16 wLength, void *buf) |
|
s32 | ehci_bulk_message (struct ehci_hcd *ehci, struct ehci_device *dev, u8 bEndpoint, u16 wLength, void *rpData) |
|
int | ehci_reset_port_old (struct ehci_hcd *ehci, int port) |
|
void | ehci_adquire_port (struct ehci_hcd *ehci, int port) |
|
int | ehci_reset_usb_port (struct ehci_hcd *ehci, int port) |
|
int | ehci_init_port (struct ehci_hcd *ehci, int port) |
|
int | ehci_reset_port (struct ehci_hcd *ehci, int port) |
|
int | ehci_reset_port2 (struct ehci_hcd *ehci, int port) |
|
int | ehci_reset_device (struct ehci_hcd *ehci, struct ehci_device *dev) |
|
int | ehci_discover (struct ehci_hcd *ehci) |
|
int | ehci_release_ports (struct ehci_hcd *ehci) |
|
int | ehci_open_device (struct ehci_hcd *ehci, int vid, int pid, int fd) |
|
int | ehci_close_device (struct ehci_device *dev) |
|
void * | ehci_fd_to_dev (struct ehci_hcd *ehci, int fd) |
|
int | ehci_get_device_list (struct ehci_hcd *ehci, u8 maxdev, u8 b0, u8 *num, u16 *buf) |
|
◆ EHCI_TUNE_CERR
#define EHCI_TUNE_CERR 0 /* 0-3 qtd retries; 0 == don't stop */ /* by Hermes: i have replaced 3 by 0 and now it don�t hang when i extract the device*/ |
◆ EHCI_TUNE_FLS
#define EHCI_TUNE_FLS 2 /* (small) 256 frame schedule */ |
◆ EHCI_TUNE_MULT_HS
#define EHCI_TUNE_MULT_HS 1 /* 1-3 transactions/uframe; 4.10.3 */ |
◆ EHCI_TUNE_MULT_TT
#define EHCI_TUNE_MULT_TT 1 |
◆ EHCI_TUNE_RL_HS
#define EHCI_TUNE_RL_HS 4 /* nak throttle; see 4.9 */ |
◆ EHCI_TUNE_RL_TT
#define EHCI_TUNE_RL_TT 0 |
◆ g_ehci
◆ hb_mult
#define hb_mult |
( |
|
wMaxPacketSize | ) |
(1 + (((wMaxPacketSize) >> 11) & 0x03)) |
◆ INTR_MASK
◆ max_packet
#define max_packet |
( |
|
wMaxPacketSize | ) |
((wMaxPacketSize) & 0x07ff) |
◆ debug_qtds()
void debug_qtds |
( |
struct ehci_hcd * |
ehci | ) |
|
◆ dump_qh()
◆ ehci_adquire_port()
void ehci_adquire_port |
( |
struct ehci_hcd * |
ehci, |
|
|
int |
port |
|
) |
| |
◆ ehci_bulk_message()
◆ ehci_close_device()
◆ ehci_control_message()
◆ ehci_discover()
int ehci_discover |
( |
struct ehci_hcd * |
ehci | ) |
|
◆ ehci_do_urb()
◆ ehci_fd_to_dev()
void * ehci_fd_to_dev |
( |
struct ehci_hcd * |
ehci, |
|
|
int |
fd |
|
) |
| |
◆ ehci_get_device_list()
int ehci_get_device_list |
( |
struct ehci_hcd * |
ehci, |
|
|
u8 |
maxdev, |
|
|
u8 |
b0, |
|
|
u8 * |
num, |
|
|
u16 * |
buf |
|
) |
| |
◆ ehci_init_port()
int ehci_init_port |
( |
struct ehci_hcd * |
ehci, |
|
|
int |
port |
|
) |
| |
◆ ehci_open_device()
int ehci_open_device |
( |
struct ehci_hcd * |
ehci, |
|
|
int |
vid, |
|
|
int |
pid, |
|
|
int |
fd |
|
) |
| |
◆ ehci_release_ports()
int ehci_release_ports |
( |
struct ehci_hcd * |
ehci | ) |
|
◆ ehci_reset_device()
◆ ehci_reset_port()
int ehci_reset_port |
( |
struct ehci_hcd * |
ehci, |
|
|
int |
port |
|
) |
| |
◆ ehci_reset_port2()
int ehci_reset_port2 |
( |
struct ehci_hcd * |
ehci, |
|
|
int |
port |
|
) |
| |
◆ ehci_reset_port_old()
int ehci_reset_port_old |
( |
struct ehci_hcd * |
ehci, |
|
|
int |
port |
|
) |
| |
◆ ehci_reset_usb_port()
int ehci_reset_usb_port |
( |
struct ehci_hcd * |
ehci, |
|
|
int |
port |
|
) |
| |
◆ qh_urb_transaction()
◆ handshake_mode
◆ unplug_device
◆ usb_timeout
u32 usb_timeout = 1000 * 1000 |