Linux Kernel
3.7.1
|
#include <linux/io.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/phy.h>
#include <linux/of_mdio.h>
#include <linux/of_platform.h>
Go to the source code of this file.
Data Structures | |
struct | gpio_priv |
Macros | |
#define | DELAY 1 |
#define | MDC_PIN(bus) (((struct gpio_priv *)bus->priv)->mdc_pin) |
#define | MDIO_PIN(bus) (((struct gpio_priv *)bus->priv)->mdio_pin) |
Functions | |
MODULE_DEVICE_TABLE (of, gpio_mdio_match) | |
int | gpio_mdio_init (void) |
module_init (gpio_mdio_init) | |
void | gpio_mdio_exit (void) |
module_exit (gpio_mdio_exit) | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Olof Johansson <[email protected]>") | |
MODULE_DESCRIPTION ("Driver for MDIO over GPIO on PA Semi PWRficient-based boards") | |
#define DELAY 1 |
Definition at line 36 of file gpio_mdio.c.
Definition at line 46 of file gpio_mdio.c.
Definition at line 47 of file gpio_mdio.c.
Definition at line 332 of file gpio_mdio.c.
Definition at line 312 of file gpio_mdio.c.
MODULE_AUTHOR | ( | "Olof Johansson <[email protected]>" | ) |
MODULE_DEVICE_TABLE | ( | of | , |
gpio_mdio_match | |||
) |
module_exit | ( | gpio_mdio_exit | ) |
module_init | ( | gpio_mdio_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |