Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
bcma_private.h File Reference
#include <linux/bcma/bcma.h>
#include <linux/delay.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define BCMA_CORE_SIZE   0x1000
 
#define bcma_err(bus, fmt,...)   pr_err("bus%d: " fmt, (bus)->num, ##__VA_ARGS__)
 
#define bcma_warn(bus, fmt,...)   pr_warn("bus%d: " fmt, (bus)->num, ##__VA_ARGS__)
 
#define bcma_info(bus, fmt,...)   pr_info("bus%d: " fmt, (bus)->num, ##__VA_ARGS__)
 
#define bcma_debug(bus, fmt,...)   pr_debug("bus%d: " fmt, (bus)->num, ##__VA_ARGS__)
 

Functions

int __devinit bcma_bus_register (struct bcma_bus *bus)
 
void bcma_bus_unregister (struct bcma_bus *bus)
 
int __init bcma_bus_early_register (struct bcma_bus *bus, struct bcma_device *core_cc, struct bcma_device *core_mips)
 
int bcma_bus_scan (struct bcma_bus *bus)
 
int __init bcma_bus_scan_early (struct bcma_bus *bus, struct bcma_device_id *match, struct bcma_device *core)
 
void bcma_init_bus (struct bcma_bus *bus)
 
int bcma_sprom_get (struct bcma_bus *bus)
 
u32 bcma_pmu_alp_clock (struct bcma_drv_cc *cc)
 
u32 bcma_pmu_get_clockcpu (struct bcma_drv_cc *cc)
 
u32 bcma_pcie_read (struct bcma_drv_pci *pc, u32 address)
 

Macro Definition Documentation

#define BCMA_CORE_SIZE   0x1000

Definition at line 11 of file bcma_private.h.

#define bcma_debug (   bus,
  fmt,
  ... 
)    pr_debug("bus%d: " fmt, (bus)->num, ##__VA_ARGS__)

Definition at line 19 of file bcma_private.h.

#define bcma_err (   bus,
  fmt,
  ... 
)    pr_err("bus%d: " fmt, (bus)->num, ##__VA_ARGS__)

Definition at line 13 of file bcma_private.h.

#define bcma_info (   bus,
  fmt,
  ... 
)    pr_info("bus%d: " fmt, (bus)->num, ##__VA_ARGS__)

Definition at line 17 of file bcma_private.h.

#define bcma_warn (   bus,
  fmt,
  ... 
)    pr_warn("bus%d: " fmt, (bus)->num, ##__VA_ARGS__)

Definition at line 15 of file bcma_private.h.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 5 of file bcma_private.h.

Function Documentation

int __init bcma_bus_early_register ( struct bcma_bus bus,
struct bcma_device core_cc,
struct bcma_device core_mips 
)

Definition at line 244 of file main.c.

int __devinit bcma_bus_register ( struct bcma_bus bus)

Definition at line 170 of file main.c.

int bcma_bus_scan ( struct bcma_bus bus)

Definition at line 440 of file scan.c.

int __init bcma_bus_scan_early ( struct bcma_bus bus,
struct bcma_device_id match,
struct bcma_device core 
)

Definition at line 507 of file scan.c.

void bcma_bus_unregister ( struct bcma_bus bus)

Definition at line 229 of file main.c.

void bcma_init_bus ( struct bcma_bus bus)

Definition at line 417 of file scan.c.

u32 bcma_pcie_read ( struct bcma_drv_pci pc,
u32  address 
)

Definition at line 20 of file driver_pci.c.

u32 bcma_pmu_alp_clock ( struct bcma_drv_cc cc)

Definition at line 168 of file driver_chipcommon_pmu.c.

u32 bcma_pmu_get_clockcpu ( struct bcma_drv_cc cc)

Definition at line 293 of file driver_chipcommon_pmu.c.

int bcma_sprom_get ( struct bcma_bus bus)

Definition at line 548 of file sprom.c.