linux/drivers/bcma/driver_chipcommon_pmu.c

/*
 * Broadcom specific AMBA
 * ChipCommon Power Management Unit driver
 *
 * Copyright 2009, Michael Buesch <[email protected]>
 * Copyright 2007, 2011, Broadcom Corporation
 * Copyright 2011, 2012, Hauke Mehrtens <[email protected]>
 *
 * Licensed under the GNU/GPL. See COPYING for details.
 */

#include "bcma_private.h"
#include <linux/export.h>
#include <linux/bcma/bcma.h>

u32 bcma_chipco_pll_read(struct bcma_drv_cc *cc, u32 offset)
{}
EXPORT_SYMBOL_GPL();

void bcma_chipco_pll_write(struct bcma_drv_cc *cc, u32 offset, u32 value)
{}
EXPORT_SYMBOL_GPL();

void bcma_chipco_pll_maskset(struct bcma_drv_cc *cc, u32 offset, u32 mask,
			     u32 set)
{}
EXPORT_SYMBOL_GPL();

void bcma_chipco_chipctl_maskset(struct bcma_drv_cc *cc,
				 u32 offset, u32 mask, u32 set)
{}
EXPORT_SYMBOL_GPL();

void bcma_chipco_regctl_maskset(struct bcma_drv_cc *cc, u32 offset, u32 mask,
				u32 set)
{}
EXPORT_SYMBOL_GPL();

static u32 bcma_pmu_xtalfreq(struct bcma_drv_cc *cc)
{}

static void bcma_pmu2_pll_init0(struct bcma_drv_cc *cc, u32 xtalfreq)
{}

static void bcma_pmu_pll_init(struct bcma_drv_cc *cc)
{}

static void bcma_pmu_resources_init(struct bcma_drv_cc *cc)
{}

/* Disable to allow reading SPROM. Don't know the advantages of enabling it. */
void bcma_chipco_bcm4331_ext_pa_lines_ctl(struct bcma_drv_cc *cc, bool enable)
{}

static void bcma_pmu_workarounds(struct bcma_drv_cc *cc)
{}

void bcma_pmu_early_init(struct bcma_drv_cc *cc)
{}

void bcma_pmu_init(struct bcma_drv_cc *cc)
{}

u32 bcma_pmu_get_alp_clock(struct bcma_drv_cc *cc)
{}

/* Find the output of the "m" pll divider given pll controls that start with
 * pllreg "pll0" i.e. 12 for main 6 for phy, 0 for misc.
 */
static u32 bcma_pmu_pll_clock(struct bcma_drv_cc *cc, u32 pll0, u32 m)
{}

static u32 bcma_pmu_pll_clock_bcm4706(struct bcma_drv_cc *cc, u32 pll0, u32 m)
{}

/* query bus clock frequency for PMU-enabled chipcommon */
u32 bcma_pmu_get_bus_clock(struct bcma_drv_cc *cc)
{}
EXPORT_SYMBOL_GPL();

/* query cpu clock frequency for PMU-enabled chipcommon */
u32 bcma_pmu_get_cpu_clock(struct bcma_drv_cc *cc)
{}

static void bcma_pmu_spuravoid_pll_write(struct bcma_drv_cc *cc, u32 offset,
					 u32 value)
{}

void bcma_pmu_spuravoid_pllupdate(struct bcma_drv_cc *cc, int spuravoid)
{}
EXPORT_SYMBOL_GPL();