Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>
#include <asm/mach-powertv/asic.h>
#include <asm/mach-powertv/interrupts.h>
Go to the source code of this file.
#define BCM1_USB2_CTL_APP_PRT_OVRCUR_IN_ACTIVE_HIGH (1 << 0) |
Definition at line 116 of file powertv-usb.c.
#define BCM1_USB2_CTL_BISTOK (1 << 11) |
Definition at line 110 of file powertv-usb.c.
#define BCM1_USB2_CTL_EHCI_PRT_PWR_ACTIVE_HIGH (1 << 1) |
Definition at line 115 of file powertv-usb.c.
#define BCM1_USB2_CTL_PORT1_FAST_EDGE (1 << 4) |
Definition at line 114 of file powertv-usb.c.
#define BCM1_USB2_CTL_PORT1_SHIFT_JK (1 << 6) |
Definition at line 112 of file powertv-usb.c.
#define BCM1_USB2_CTL_PORT2_FAST_EDGE (1 << 5) |
Definition at line 113 of file powertv-usb.c.
#define BCM1_USB2_CTL_PORT2_SHIFT_JK (1 << 7) |
Definition at line 111 of file powertv-usb.c.
#define CRT_SPARE_DIVIDE_BY_9_FROM_432 (1 << 17) |
Definition at line 123 of file powertv-usb.c.
#define CRT_SPARE_PORT1_FAST_EDGE (1 << 18) |
Definition at line 122 of file powertv-usb.c.
#define CRT_SPARE_PORT1_SHIFT_JK (1 << 20) |
Definition at line 120 of file powertv-usb.c.
#define CRT_SPARE_PORT2_FAST_EDGE (1 << 19) |
Definition at line 121 of file powertv-usb.c.
#define CRT_SPARE_PORT2_SHIFT_JK (1 << 21) |
Definition at line 119 of file powertv-usb.c.
#define CRT_SPARE_USB_DIVIDE_BY_9 (1 << 16) |
Definition at line 124 of file powertv-usb.c.
#define DDR_PLL_REF_SELECT (1 << 19) |
Definition at line 90 of file powertv-usb.c.
#define ETHER_CLK_CONFIG |
Definition at line 72 of file powertv-usb.c.
#define FSX4A_REF_SELECT (1 << 16) |
Definition at line 87 of file powertv-usb.c.
#define FSX4B_REF_SELECT (1 << 17) |
Definition at line 88 of file powertv-usb.c.
#define FSX4C_REF_SELECT (1 << 18) |
Definition at line 89 of file powertv-usb.c.
#define MCC1_30MHZ_POWERUP_SELECT (1 << 14) |
Definition at line 39 of file powertv-usb.c.
#define MCC1_CLOCK108_POWERUP_SELECT (1 << 0) |
Definition at line 43 of file powertv-usb.c.
#define MCC1_CONFIG |
Definition at line 51 of file powertv-usb.c.
#define MCC1_DIV9 (1 << 13) |
Definition at line 40 of file powertv-usb.c.
#define MCC1_ETHMIPS_POWERUP_SELECT (1 << 11) |
Definition at line 41 of file powertv-usb.c.
#define MCC1_USB_CLOCK_24MHZ (2 << 4) |
Definition at line 48 of file powertv-usb.c.
#define MCC1_USB_CLOCK_48MHZ (1 << 4) |
Definition at line 47 of file powertv-usb.c.
#define MCC1_USB_CLOCK_6MHZ (3 << 4) |
Definition at line 49 of file powertv-usb.c.
#define MCC1_USB_CLOCK_HIGH_Z (0 << 4) |
Definition at line 46 of file powertv-usb.c.
#define MCC1_USB_POWERUP_SELECT (1 << 1) |
Definition at line 42 of file powertv-usb.c.
#define MCC2_ETHER125_0_CLOCK_SELECT (1 << 29) |
Definition at line 59 of file powertv-usb.c.
#define MCC2_ETHER125_1_CLOCK_SELECT (1 << 24) |
Definition at line 63 of file powertv-usb.c.
#define MCC2_ETHER125_2_CLOCK_SELECT (1 << 19) |
Definition at line 67 of file powertv-usb.c.
#define MCC2_GMII_GCLK_TO_PAD (1 << 31) |
Definition at line 58 of file powertv-usb.c.
#define MCC2_GMII_RX0_CLOCK_SELECT (1 << 26) |
Definition at line 62 of file powertv-usb.c.
#define MCC2_GMII_RX1_CLOCK_SELECT (1 << 21) |
Definition at line 66 of file powertv-usb.c.
#define MCC2_GMII_RX2_CLOCK_SELECT (1 << 16) |
Definition at line 70 of file powertv-usb.c.
#define MCC2_GMII_TX0_CLOCK_SELECT (1 << 27) |
Definition at line 61 of file powertv-usb.c.
#define MCC2_GMII_TX1_CLOCK_SELECT (1 << 22) |
Definition at line 65 of file powertv-usb.c.
#define MCC2_GMII_TX2_CLOCK_SELECT (1 << 17) |
Definition at line 69 of file powertv-usb.c.
#define MCC2_RMII_0_CLOCK_SELECT (1 << 28) |
Definition at line 60 of file powertv-usb.c.
#define MCC2_RMII_1_CLOCK_SELECT (1 << 23) |
Definition at line 64 of file powertv-usb.c.
#define MCC2_RMII_2_CLOCK_SELECT (1 << 18) |
Definition at line 68 of file powertv-usb.c.
#define MIPS_PLL_REF_SELECT (1 << 20) |
Definition at line 91 of file powertv-usb.c.
#define QAM_FS_CHOOSE_FS (1 << 0) |
Definition at line 104 of file powertv-usb.c.
#define QAM_FS_DISABLE_DIGITAL_STANDBY (1 << 1) |
Definition at line 103 of file powertv-usb.c.
#define QAM_FS_DISABLE_DIVIDE_BY_3 (1 << 5) |
Definition at line 99 of file powertv-usb.c.
#define QAM_FS_ENABLE_OUTPUT (1 << 3) |
Definition at line 101 of file powertv-usb.c.
#define QAM_FS_ENABLE_PROGRAM (1 << 4) |
Definition at line 100 of file powertv-usb.c.
#define QAM_FS_MD_MASK 0x1f /* Cut down to 5 bits */ |
Definition at line 96 of file powertv-usb.c.
#define QAM_FS_MD_SHIFT 24 |
Definition at line 95 of file powertv-usb.c.
#define QAM_FS_NSDIV_54MHZ (1 << 2) |
Definition at line 107 of file powertv-usb.c.
#define QAM_FS_PE_SHIFT 8 |
Definition at line 97 of file powertv-usb.c.
#define QAM_FS_SDIV_SHIFT 29 |
Definition at line 94 of file powertv-usb.c.
#define QAM_FS_SELECT_TEST_BYPASS (1 << 2) |
Definition at line 102 of file powertv-usb.c.
#define USB2_STBUS_CHUNK_SIZE_2 0x1 /* 2 packets */ |
Definition at line 133 of file powertv-usb.c.
#define USB2_STBUS_MESS_SIZE_2 0x1 /* 2 packets */ |
Definition at line 130 of file powertv-usb.c.
#define USB2_STRAP_HFREQ_SELECT 0x1 |
Definition at line 136 of file powertv-usb.c.
#define USB_STBUS_OBC_STORE32_LOAD32 0x3 |
Definition at line 127 of file powertv-usb.c.
EXPORT_SYMBOL | ( | platform_configure_usb_ehci | ) |
EXPORT_SYMBOL | ( | platform_configure_usb_ohci | ) |
EXPORT_SYMBOL | ( | platform_unconfigure_usb_ehci | ) |
EXPORT_SYMBOL | ( | platform_unconfigure_usb_ohci | ) |
Definition at line 356 of file powertv-usb.c.
Definition at line 365 of file powertv-usb.c.
Definition at line 374 of file powertv-usb.c.
Definition at line 383 of file powertv-usb.c.
int __init platform_usb_devices_init | ( | struct platform_device ** | ehci_dev, |
struct platform_device ** | ohci_dev | ||
) |
platform_devices_init - sets up USB device resourse.
Definition at line 392 of file powertv-usb.c.