projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kbuild: trivial - use tabs for code indent where possible
[carl9170fw.git]
/
carlfw
/
usb
/
fifo.c
diff --git
a/carlfw/usb/fifo.c
b/carlfw/usb/fifo.c
index 24d2515ed81aa46ae83659e3d301a63c2ad07260..01c2d0c5e9ae2de32fd7062a2ad73712e3878701 100644
(file)
--- a/
carlfw/usb/fifo.c
+++ b/
carlfw/usb/fifo.c
@@
-4,7
+4,7
@@
* Copyright (c) 2000-2005 ZyDAS Technology Corporation
* Copyright (c) 2007-2009 Atheros Communications, Inc.
* Copyright 2009 Johannes Berg <johannes@sipsolutions.net>
* Copyright (c) 2000-2005 ZyDAS Technology Corporation
* Copyright (c) 2007-2009 Atheros Communications, Inc.
* Copyright 2009 Johannes Berg <johannes@sipsolutions.net>
- * Copyright
2009
Christian Lamparter <chunkeey@googlemail.com>
+ * Copyright
2009-2011
Christian Lamparter <chunkeey@googlemail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-17,8
+17,7
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * with this program; If not, see <http://www.gnu.org/licenses/>.
*/
#include "carl9170.h"
*/
#include "carl9170.h"
@@
-28,29
+27,29
@@
/* TODO / TOTEST */
#ifdef CONFIG_CARL9170FW_USB_MODESWITCH
/* TODO / TOTEST */
#ifdef CONFIG_CARL9170FW_USB_MODESWITCH
-static
inline
void usb_ep_map(const uint8_t ep, const uint8_t map)
+static void usb_ep_map(const uint8_t ep, const uint8_t map)
{
setb(AR9170_USB_REG_EP_MAP + (ep - 1), map);
}
{
setb(AR9170_USB_REG_EP_MAP + (ep - 1), map);
}
-static
inline
void usb_fifo_map(const uint8_t fifo, const uint8_t map)
+static void usb_fifo_map(const uint8_t fifo, const uint8_t map)
{
setb(AR9170_USB_REG_FIFO_MAP + (fifo - 1), map);
}
{
setb(AR9170_USB_REG_FIFO_MAP + (fifo - 1), map);
}
-static
inline
void usb_fifo_config(const uint8_t fifo, const uint8_t cfg)
+static void usb_fifo_config(const uint8_t fifo, const uint8_t cfg)
{
setb(AR9170_USB_REG_FIFO_CONFIG + (fifo - 1), cfg);
}
{
setb(AR9170_USB_REG_FIFO_CONFIG + (fifo - 1), cfg);
}
-static
inline
void usb_ep_packet_size_hi(const uint8_t ep, const uint8_t dir,
+static void usb_ep_packet_size_hi(const uint8_t ep, const uint8_t dir,
const uint16_t size)
{
setb(AR9170_USB_REG_EP_IN_MAX_SIZE_HIGH + (((dir * 0x20) + ep) << 1),
(size >> 8) & 0xf);
}
const uint16_t size)
{
setb(AR9170_USB_REG_EP_IN_MAX_SIZE_HIGH + (((dir * 0x20) + ep) << 1),
(size >> 8) & 0xf);
}
-static
inline
void usb_ep_packet_size_lo(const uint8_t ep, const uint8_t dir,
+static void usb_ep_packet_size_lo(const uint8_t ep, const uint8_t dir,
const uint16_t size)
{
setb(AR9170_USB_REG_EP_IN_MAX_SIZE_LOW + (((dir * 0x20) + ep) << 1),
const uint16_t size)
{
setb(AR9170_USB_REG_EP_IN_MAX_SIZE_LOW + (((dir * 0x20) + ep) << 1),