host_soc.c (9938b04472d5c59f8bd8152a548533a8599596a2) | host_soc.c (b8b6069cf2087545fe53ec920e8353133e9a70bf) |
---|---|
1/* 2 * Sonics Silicon Backplane SoC host related functions. 3 * Subsystem core 4 * 5 * Copyright 2005, Broadcom Corporation 6 * Copyright 2006, 2007, Michael Buesch <m@bues.ch> 7 * 8 * Licensed under the GNU/GPL. See COPYING for details. 9 */ 10 | 1/* 2 * Sonics Silicon Backplane SoC host related functions. 3 * Subsystem core 4 * 5 * Copyright 2005, Broadcom Corporation 6 * Copyright 2006, 2007, Michael Buesch <m@bues.ch> 7 * 8 * Licensed under the GNU/GPL. See COPYING for details. 9 */ 10 |
11#include "ssb_private.h" 12 |
|
11#include <linux/bcm47xx_nvram.h> 12#include <linux/ssb/ssb.h> 13 | 13#include <linux/bcm47xx_nvram.h> 14#include <linux/ssb/ssb.h> 15 |
14#include "ssb_private.h" 15 | |
16static u8 ssb_host_soc_read8(struct ssb_device *dev, u16 offset) 17{ 18 struct ssb_bus *bus = dev->bus; 19 20 offset += dev->core_index * SSB_CORE_SIZE; 21 return readb(bus->mmio + offset); 22} 23 --- 187 unchanged lines hidden --- | 16static u8 ssb_host_soc_read8(struct ssb_device *dev, u16 offset) 17{ 18 struct ssb_bus *bus = dev->bus; 19 20 offset += dev->core_index * SSB_CORE_SIZE; 21 return readb(bus->mmio + offset); 22} 23 --- 187 unchanged lines hidden --- |