Linux Kernel
3.7.1
|
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/ethtool.h>
#include <asm/io.h>
#include "emac.h"
#include "debug.h"
Go to the source code of this file.
Macros | |
#define | RGMII_FER_MASK(idx) (0x7 << ((idx) * 4)) |
#define | RGMII_FER_RTBI(idx) (0x4 << ((idx) * 4)) |
#define | RGMII_FER_RGMII(idx) (0x5 << ((idx) * 4)) |
#define | RGMII_FER_TBI(idx) (0x6 << ((idx) * 4)) |
#define | RGMII_FER_GMII(idx) (0x7 << ((idx) * 4)) |
#define | RGMII_FER_MII(idx) RGMII_FER_GMII(idx) |
#define | RGMII_SSR_MASK(idx) (0x7 << ((idx) * 8)) |
#define | RGMII_SSR_100(idx) (0x2 << ((idx) * 8)) |
#define | RGMII_SSR_1000(idx) (0x4 << ((idx) * 8)) |
Functions | |
int __devinit | rgmii_attach (struct platform_device *ofdev, int input, int mode) |
void | rgmii_set_speed (struct platform_device *ofdev, int input, int speed) |
void | rgmii_get_mdio (struct platform_device *ofdev, int input) |
void | rgmii_put_mdio (struct platform_device *ofdev, int input) |
void | rgmii_detach (struct platform_device *ofdev, int input) |
int | rgmii_get_regs_len (struct platform_device *ofdev) |
void * | rgmii_dump_regs (struct platform_device *ofdev, void *buf) |
int __init | rgmii_init (void) |
void | rgmii_exit (void) |
#define RGMII_FER_MII | ( | idx | ) | RGMII_FER_GMII(idx) |
void rgmii_detach | ( | struct platform_device * | ofdev, |
int | input | ||
) |
void* rgmii_dump_regs | ( | struct platform_device * | ofdev, |
void * | buf | ||
) |
void rgmii_get_mdio | ( | struct platform_device * | ofdev, |
int | input | ||
) |
int rgmii_get_regs_len | ( | struct platform_device * | ofdev | ) |
void rgmii_put_mdio | ( | struct platform_device * | ofdev, |
int | input | ||
) |