Linux Kernel
3.7.1
|
#include <linux/ssb/ssb.h>
#include <linux/ssb/ssb_regs.h>
#include <linux/slab.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include "ssb_private.h"
Go to the source code of this file.
Macros | |
#define | SSB_VERBOSE_PCICORESWITCH_DEBUG 0 |
#define | SPOFF(offset) ((offset) / sizeof(u16)) |
#define | SPEX16(_outvar, _offset, _mask, _shift) out->_outvar = ((in[SPOFF(_offset)] & (_mask)) >> (_shift)) |
#define | SPEX32(_outvar, _offset, _mask, _shift) |
#define | SPEX(_outvar, _offset, _mask, _shift) SPEX16(_outvar, _offset, _mask, _shift) |
#define | SPEX_ARRAY8(_field, _offset, _mask, _shift) |
Functions | |
int | ssb_pci_switch_coreidx (struct ssb_bus *bus, u8 coreidx) |
int | ssb_pci_switch_core (struct ssb_bus *bus, struct ssb_device *dev) |
int | ssb_pci_xtal (struct ssb_bus *bus, u32 what, int turn_on) |
int | ssb_pci_get_invariants (struct ssb_bus *bus, struct ssb_init_invariants *iv) |
void | ssb_pci_exit (struct ssb_bus *bus) |
int | ssb_pci_init (struct ssb_bus *bus) |
Variables | |
struct ssb_bus_ops | ssb_pci_ops |
#define SPEX | ( | _outvar, | |
_offset, | |||
_mask, | |||
_shift | |||
) | SPEX16(_outvar, _offset, _mask, _shift) |
#define SPEX32 | ( | _outvar, | |
_offset, | |||
_mask, | |||
_shift | |||
) |
#define SPEX_ARRAY8 | ( | _field, | |
_offset, | |||
_mask, | |||
_shift | |||
) |
int ssb_pci_get_invariants | ( | struct ssb_bus * | bus, |
struct ssb_init_invariants * | iv | ||
) |
int ssb_pci_switch_core | ( | struct ssb_bus * | bus, |
struct ssb_device * | dev | ||
) |
struct ssb_bus_ops ssb_pci_ops |