Linux Kernel
3.7.1
|
#include <linux/slab.h>
#include "efx.h"
#include "phy.h"
#include "mcdi.h"
#include "mcdi_pcol.h"
#include "nic.h"
#include "selftest.h"
Go to the source code of this file.
Data Structures | |
struct | efx_mcdi_phy_data |
Macros | |
#define | SFP_PAGE_SIZE 128 |
#define | SFP_NUM_PAGES 2 |
Functions | |
int | efx_mcdi_mdio_read (struct efx_nic *efx, unsigned int bus, unsigned int prtad, unsigned int devad, u16 addr, u16 *value_out, u32 *status_out) |
int | efx_mcdi_mdio_write (struct efx_nic *efx, unsigned int bus, unsigned int prtad, unsigned int devad, u16 addr, u16 value, u32 *status_out) |
int | efx_mcdi_phy_reconfigure (struct efx_nic *efx) |
void | efx_mcdi_phy_decode_link (struct efx_nic *efx, struct efx_link_state *link_state, u32 speed, u32 flags, u32 fcntl) |
void | efx_mcdi_phy_check_fcntl (struct efx_nic *efx, u32 lpa) |
Variables | |
struct efx_phy_operations | efx_mcdi_phy_ops |
#define SFP_NUM_PAGES 2 |
Definition at line 743 of file mcdi_phy.c.
#define SFP_PAGE_SIZE 128 |
Definition at line 742 of file mcdi_phy.c.
int efx_mcdi_mdio_read | ( | struct efx_nic * | efx, |
unsigned int | bus, | ||
unsigned int | prtad, | ||
unsigned int | devad, | ||
u16 | addr, | ||
u16 * | value_out, | ||
u32 * | status_out | ||
) |
Definition at line 128 of file mcdi_phy.c.
int efx_mcdi_mdio_write | ( | struct efx_nic * | efx, |
unsigned int | bus, | ||
unsigned int | prtad, | ||
unsigned int | devad, | ||
u16 | addr, | ||
u16 | value, | ||
u32 * | status_out | ||
) |
Definition at line 156 of file mcdi_phy.c.
Definition at line 447 of file mcdi_phy.c.
void efx_mcdi_phy_decode_link | ( | struct efx_nic * | efx, |
struct efx_link_state * | link_state, | ||
u32 | speed, | ||
u32 | flags, | ||
u32 | fcntl | ||
) |
Definition at line 417 of file mcdi_phy.c.
Definition at line 406 of file mcdi_phy.c.
struct efx_phy_operations efx_mcdi_phy_ops |
Definition at line 816 of file mcdi_phy.c.