Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | KS8695_MISC_OFFSET (0xF0000 + 0xEA00) |
#define | KS8695_MISC_VA (KS8695_IO_VA + KS8695_MISC_OFFSET) |
#define | KS8695_MISC_PA (KS8695_IO_PA + KS8695_MISC_OFFSET) |
#define | KS8695_DID (0x00) /* Device ID */ |
#define | KS8695_RID (0x04) /* Revision ID */ |
#define | KS8695_HMC (0x08) /* HPNA Miscellaneous Control [KS8695 only] */ |
#define | KS8695_WMC (0x0c) /* WAN Miscellaneous Control */ |
#define | KS8695_WPPM (0x10) /* WAN PHY Power Management */ |
#define | KS8695_PPS (0x1c) /* PHY PowerSave */ |
#define | DID_ID (0xffff << 0) /* Device ID */ |
#define | RID_SUBID (0xf << 4) /* Sub-Device ID */ |
#define | RID_REVISION (0xf << 0) /* Revision ID */ |
#define | HMC_HSS (1 << 1) /* Speed */ |
#define | HMC_HDS (1 << 0) /* Duplex */ |
#define | WMC_WANC (1 << 30) /* Auto-negotiation complete */ |
#define | WMC_WANR (1 << 29) /* Auto-negotiation restart */ |
#define | WMC_WANAP (1 << 28) /* Advertise Pause */ |
#define | WMC_WANA100F (1 << 27) /* Advertise 100 FDX */ |
#define | WMC_WANA100H (1 << 26) /* Advertise 100 HDX */ |
#define | WMC_WANA10F (1 << 25) /* Advertise 10 FDX */ |
#define | WMC_WANA10H (1 << 24) /* Advertise 10 HDX */ |
#define | WMC_WLS (1 << 23) /* Link status */ |
#define | WMC_WDS (1 << 22) /* Duplex status */ |
#define | WMC_WSS (1 << 21) /* Speed status */ |
#define | WMC_WLPP (1 << 20) /* Link Partner Pause */ |
#define | WMC_WLP100F (1 << 19) /* Link Partner 100 FDX */ |
#define | WMC_WLP100H (1 << 18) /* Link Partner 100 HDX */ |
#define | WMC_WLP10F (1 << 17) /* Link Partner 10 FDX */ |
#define | WMC_WLP10H (1 << 16) /* Link Partner 10 HDX */ |
#define | WMC_WAND (1 << 15) /* Auto-negotiation disable */ |
#define | WMC_WANF100 (1 << 14) /* Force 100 */ |
#define | WMC_WANFF (1 << 13) /* Force FDX */ |
#define | WMC_WLED1S (7 << 4) /* LED1 Select */ |
#define | WLED1S_SPEED (0 << 4) |
#define | WLED1S_LINK (1 << 4) |
#define | WLED1S_DUPLEX (2 << 4) |
#define | WLED1S_COLLISION (3 << 4) |
#define | WLED1S_ACTIVITY (4 << 4) |
#define | WLED1S_FDX_COLLISION (5 << 4) |
#define | WLED1S_LINK_ACTIVITY (6 << 4) |
#define | WMC_WLED0S (7 << 0) /* LED0 Select */ |
#define | WLED0S_SPEED (0 << 0) |
#define | WLED0S_LINK (1 << 0) |
#define | WLED0S_DUPLEX (2 << 0) |
#define | WLED0S_COLLISION (3 << 0) |
#define | WLED0S_ACTIVITY (4 << 0) |
#define | WLED0S_FDX_COLLISION (5 << 0) |
#define | WLED0S_LINK_ACTIVITY (6 << 0) |
#define | WPPM_WLPBK (1 << 14) /* Local Loopback */ |
#define | WPPM_WRLPKB (1 << 13) /* Remove Loopback */ |
#define | WPPM_WPI (1 << 12) /* PHY isolate */ |
#define | WPPM_WFL (1 << 10) /* Force link */ |
#define | WPPM_MDIXS (1 << 9) /* MDIX Status */ |
#define | WPPM_FEF (1 << 8) /* Far End Fault */ |
#define | WPPM_AMDIXP (1 << 7) /* Auto MDIX Parameter */ |
#define | WPPM_TXDIS (1 << 6) /* Disable transmitter */ |
#define | WPPM_DFEF (1 << 5) /* Disable Far End Fault */ |
#define | WPPM_PD (1 << 4) /* Power Down */ |
#define | WPPM_DMDX (1 << 3) /* Disable Auto MDI/MDIX */ |
#define | WPPM_FMDX (1 << 2) /* Force MDIX */ |
#define | WPPM_LPBK (1 << 1) /* MAX Loopback */ |
#define | PPS_PPSM (1 << 0) /* PHY Power Save Mode */ |
#define DID_ID (0xffff << 0) /* Device ID */ |
Definition at line 32 of file regs-misc.h.
#define HMC_HDS (1 << 0) /* Duplex */ |
Definition at line 40 of file regs-misc.h.
#define HMC_HSS (1 << 1) /* Speed */ |
Definition at line 39 of file regs-misc.h.
#define KS8695_DID (0x00) /* Device ID */ |
Definition at line 24 of file regs-misc.h.
#define KS8695_HMC (0x08) /* HPNA Miscellaneous Control [KS8695 only] */ |
Definition at line 26 of file regs-misc.h.
#define KS8695_MISC_OFFSET (0xF0000 + 0xEA00) |
Definition at line 16 of file regs-misc.h.
#define KS8695_MISC_PA (KS8695_IO_PA + KS8695_MISC_OFFSET) |
Definition at line 18 of file regs-misc.h.
#define KS8695_MISC_VA (KS8695_IO_VA + KS8695_MISC_OFFSET) |
Definition at line 17 of file regs-misc.h.
#define KS8695_PPS (0x1c) /* PHY PowerSave */ |
Definition at line 29 of file regs-misc.h.
#define KS8695_RID (0x04) /* Revision ID */ |
Definition at line 25 of file regs-misc.h.
#define KS8695_WMC (0x0c) /* WAN Miscellaneous Control */ |
Definition at line 27 of file regs-misc.h.
#define KS8695_WPPM (0x10) /* WAN PHY Power Management */ |
Definition at line 28 of file regs-misc.h.
Definition at line 94 of file regs-misc.h.
#define RID_REVISION (0xf << 0) /* Revision ID */ |
Definition at line 36 of file regs-misc.h.
#define RID_SUBID (0xf << 4) /* Sub-Device ID */ |
Definition at line 35 of file regs-misc.h.
#define WLED0S_ACTIVITY (4 << 0) |
Definition at line 74 of file regs-misc.h.
#define WLED0S_COLLISION (3 << 0) |
Definition at line 73 of file regs-misc.h.
#define WLED0S_DUPLEX (2 << 0) |
Definition at line 72 of file regs-misc.h.
#define WLED0S_FDX_COLLISION (5 << 0) |
Definition at line 75 of file regs-misc.h.
#define WLED0S_LINK (1 << 0) |
Definition at line 71 of file regs-misc.h.
#define WLED0S_LINK_ACTIVITY (6 << 0) |
Definition at line 76 of file regs-misc.h.
#define WLED0S_SPEED (0 << 0) |
Definition at line 70 of file regs-misc.h.
#define WLED1S_ACTIVITY (4 << 4) |
Definition at line 66 of file regs-misc.h.
#define WLED1S_COLLISION (3 << 4) |
Definition at line 65 of file regs-misc.h.
#define WLED1S_DUPLEX (2 << 4) |
Definition at line 64 of file regs-misc.h.
#define WLED1S_FDX_COLLISION (5 << 4) |
Definition at line 67 of file regs-misc.h.
#define WLED1S_LINK (1 << 4) |
Definition at line 63 of file regs-misc.h.
#define WLED1S_LINK_ACTIVITY (6 << 4) |
Definition at line 68 of file regs-misc.h.
#define WLED1S_SPEED (0 << 4) |
Definition at line 62 of file regs-misc.h.
#define WMC_WANA100F (1 << 27) /* Advertise 100 FDX */ |
Definition at line 46 of file regs-misc.h.
#define WMC_WANA100H (1 << 26) /* Advertise 100 HDX */ |
Definition at line 47 of file regs-misc.h.
#define WMC_WANA10F (1 << 25) /* Advertise 10 FDX */ |
Definition at line 48 of file regs-misc.h.
#define WMC_WANA10H (1 << 24) /* Advertise 10 HDX */ |
Definition at line 49 of file regs-misc.h.
#define WMC_WANAP (1 << 28) /* Advertise Pause */ |
Definition at line 45 of file regs-misc.h.
#define WMC_WANC (1 << 30) /* Auto-negotiation complete */ |
Definition at line 43 of file regs-misc.h.
#define WMC_WAND (1 << 15) /* Auto-negotiation disable */ |
Definition at line 58 of file regs-misc.h.
#define WMC_WANF100 (1 << 14) /* Force 100 */ |
Definition at line 59 of file regs-misc.h.
#define WMC_WANFF (1 << 13) /* Force FDX */ |
Definition at line 60 of file regs-misc.h.
#define WMC_WANR (1 << 29) /* Auto-negotiation restart */ |
Definition at line 44 of file regs-misc.h.
#define WMC_WDS (1 << 22) /* Duplex status */ |
Definition at line 51 of file regs-misc.h.
#define WMC_WLED0S (7 << 0) /* LED0 Select */ |
Definition at line 69 of file regs-misc.h.
#define WMC_WLED1S (7 << 4) /* LED1 Select */ |
Definition at line 61 of file regs-misc.h.
Definition at line 54 of file regs-misc.h.
#define WMC_WLP100H (1 << 18) /* Link Partner 100 HDX */ |
Definition at line 55 of file regs-misc.h.
Definition at line 56 of file regs-misc.h.
#define WMC_WLP10H (1 << 16) /* Link Partner 10 HDX */ |
Definition at line 57 of file regs-misc.h.
Definition at line 53 of file regs-misc.h.
Definition at line 50 of file regs-misc.h.
#define WMC_WSS (1 << 21) /* Speed status */ |
Definition at line 52 of file regs-misc.h.
#define WPPM_AMDIXP (1 << 7) /* Auto MDIX Parameter */ |
Definition at line 85 of file regs-misc.h.
#define WPPM_DFEF (1 << 5) /* Disable Far End Fault */ |
Definition at line 87 of file regs-misc.h.
#define WPPM_DMDX (1 << 3) /* Disable Auto MDI/MDIX */ |
Definition at line 89 of file regs-misc.h.
#define WPPM_FEF (1 << 8) /* Far End Fault */ |
Definition at line 84 of file regs-misc.h.
#define WPPM_FMDX (1 << 2) /* Force MDIX */ |
Definition at line 90 of file regs-misc.h.
#define WPPM_LPBK (1 << 1) /* MAX Loopback */ |
Definition at line 91 of file regs-misc.h.
#define WPPM_MDIXS (1 << 9) /* MDIX Status */ |
Definition at line 83 of file regs-misc.h.
#define WPPM_PD (1 << 4) /* Power Down */ |
Definition at line 88 of file regs-misc.h.
#define WPPM_TXDIS (1 << 6) /* Disable transmitter */ |
Definition at line 86 of file regs-misc.h.
#define WPPM_WFL (1 << 10) /* Force link */ |
Definition at line 82 of file regs-misc.h.
#define WPPM_WLPBK (1 << 14) /* Local Loopback */ |
Definition at line 79 of file regs-misc.h.
#define WPPM_WPI (1 << 12) /* PHY isolate */ |
Definition at line 81 of file regs-misc.h.
#define WPPM_WRLPKB (1 << 13) /* Remove Loopback */ |
Definition at line 80 of file regs-misc.h.