driver_extif.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) | driver_extif.c (b8b6069cf2087545fe53ec920e8353133e9a70bf) |
---|---|
1/* 2 * Sonics Silicon Backplane 3 * Broadcom EXTIF core driver 4 * 5 * Copyright 2005, Broadcom Corporation 6 * Copyright 2006, 2007, Michael Buesch <m@bues.ch> 7 * Copyright 2006, 2007, Felix Fietkau <nbd@openwrt.org> 8 * Copyright 2007, Aurelien Jarno <aurelien@aurel32.net> 9 * 10 * Licensed under the GNU/GPL. See COPYING for details. 11 */ 12 | 1/* 2 * Sonics Silicon Backplane 3 * Broadcom EXTIF core driver 4 * 5 * Copyright 2005, Broadcom Corporation 6 * Copyright 2006, 2007, Michael Buesch <m@bues.ch> 7 * Copyright 2006, 2007, Felix Fietkau <nbd@openwrt.org> 8 * Copyright 2007, Aurelien Jarno <aurelien@aurel32.net> 9 * 10 * Licensed under the GNU/GPL. See COPYING for details. 11 */ 12 |
13#include "ssb_private.h" 14 |
|
13#include <linux/serial.h> 14#include <linux/serial_core.h> 15#include <linux/serial_reg.h> 16 | 15#include <linux/serial.h> 16#include <linux/serial_core.h> 17#include <linux/serial_reg.h> 18 |
17#include "ssb_private.h" | |
18 | 19 |
19 | |
20static inline u32 extif_read32(struct ssb_extif *extif, u16 offset) 21{ 22 return ssb_read32(extif->dev, offset); 23} 24 25static inline void extif_write32(struct ssb_extif *extif, u16 offset, u32 value) 26{ 27 ssb_write32(extif->dev, offset, value); --- 174 unchanged lines hidden --- | 20static inline u32 extif_read32(struct ssb_extif *extif, u16 offset) 21{ 22 return ssb_read32(extif->dev, offset); 23} 24 25static inline void extif_write32(struct ssb_extif *extif, u16 offset, u32 value) 26{ 27 ssb_write32(extif->dev, offset, value); --- 174 unchanged lines hidden --- |