Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/netdevice.h>
#include <linux/mmc/card.h>
#include <linux/ssb/ssb_regs.h>
#include <linux/bcma/bcma.h>
#include <chipcommon.h>
#include <brcm_hw_ids.h>
#include <brcmu_wifi.h>
#include <brcmu_utils.h>
#include <soc.h>
#include "dhd_dbg.h"
#include "sdio_host.h"
#include "sdio_chip.h"
Go to the source code of this file.
Data Structures | |
struct | sdiod_drive_str |
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
#define | BCM4329_CORE_BUS_BASE 0x18011000 |
#define | BCM4329_CORE_SOCRAM_BASE 0x18003000 |
#define | BCM4329_CORE_ARM_BASE 0x18002000 |
#define | BCM4329_RAMSIZE 0x48000 |
#define | SBCOREREV(sbidh) |
#define | SOCI_SB 0 |
#define | SOCI_AI 1 |
#define | CIB_REV_MASK 0xff000000 |
#define | CIB_REV_SHIFT 24 |
#define | SDIOD_DRVSTR_KEY(chip, pmu) (((chip) << 16) | (pmu)) |
Functions | |
u8 | brcmf_sdio_chip_getinfidx (struct chip_info *ci, u16 coreid) |
int | brcmf_sdio_chip_attach (struct brcmf_sdio_dev *sdiodev, struct chip_info **ci_ptr, u32 regs) |
void | brcmf_sdio_chip_detach (struct chip_info **ci_ptr) |
void | brcmf_sdio_chip_drivestrengthinit (struct brcmf_sdio_dev *sdiodev, struct chip_info *ci, u32 drivestrength) |
#define BCM4329_CORE_ARM_BASE 0x18002000 |
Definition at line 42 of file sdio_chip.c.
#define BCM4329_CORE_BUS_BASE 0x18011000 |
Definition at line 38 of file sdio_chip.c.
#define BCM4329_CORE_SOCRAM_BASE 0x18003000 |
Definition at line 40 of file sdio_chip.c.
#define BCM4329_RAMSIZE 0x48000 |
Definition at line 43 of file sdio_chip.c.
#define CIB_REV_MASK 0xff000000 |
Definition at line 54 of file sdio_chip.c.
#define CIB_REV_SHIFT 24 |
Definition at line 55 of file sdio_chip.c.
Definition at line 18 of file sdio_chip.c.
#define SBCOREREV | ( | sbidh | ) |
Definition at line 45 of file sdio_chip.c.
Definition at line 57 of file sdio_chip.c.
#define SOCI_AI 1 |
Definition at line 51 of file sdio_chip.c.
#define SOCI_SB 0 |
Definition at line 50 of file sdio_chip.c.
int brcmf_sdio_chip_attach | ( | struct brcmf_sdio_dev * | sdiodev, |
struct chip_info ** | ci_ptr, | ||
u32 | regs | ||
) |
Definition at line 547 of file sdio_chip.c.
Definition at line 584 of file sdio_chip.c.
void brcmf_sdio_chip_drivestrengthinit | ( | struct brcmf_sdio_dev * | sdiodev, |
struct chip_info * | ci, | ||
u32 | drivestrength | ||
) |
Definition at line 602 of file sdio_chip.c.
Definition at line 76 of file sdio_chip.c.