mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
![Thomas Gleixner](/assets/img/avatar_default.png)
Based on 1 normalized pattern(s): license terms gnu general public license gpl version 2 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 161 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Reviewed-by: Steve Winslow <swinslow@gmail.com> Reviewed-by: Richard Fontana <rfontana@redhat.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190528170027.447718015@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
22 lines
558 B
C
22 lines
558 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) ST-Ericsson SA 2011
|
|
*
|
|
* Author: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
|
|
*/
|
|
#ifndef __ASM_ARCH_USB_H
|
|
#define __ASM_ARCH_USB_H
|
|
|
|
#include <linux/dmaengine.h>
|
|
|
|
#define UX500_MUSB_DMA_NUM_RX_TX_CHANNELS 8
|
|
|
|
struct ux500_musb_board_data {
|
|
void **dma_rx_param_array;
|
|
void **dma_tx_param_array;
|
|
bool (*dma_filter)(struct dma_chan *chan, void *filter_param);
|
|
};
|
|
|
|
void ux500_add_usb(struct device *parent, resource_size_t base,
|
|
int irq, int *dma_rx_cfg, int *dma_tx_cfg);
|
|
#endif
|