Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.18 48 lines 1.5 kB view raw
1/* 2 * Defines for Multi-Channel Buffered Serial Port 3 * 4 * Copyright (C) 2002 RidgeRun, Inc. 5 * Author: Steve Johnson 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 2 of the License, or 10 * (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 * 21 */ 22#ifndef __ASOC_TI_MCBSP_H 23#define __ASOC_TI_MCBSP_H 24 25#include <linux/spinlock.h> 26#include <linux/clk.h> 27 28/* Platform specific configuration */ 29struct omap_mcbsp_ops { 30 void (*request)(unsigned int); 31 void (*free)(unsigned int); 32}; 33 34struct omap_mcbsp_platform_data { 35 struct omap_mcbsp_ops *ops; 36 u16 buffer_size; 37 u8 reg_size; 38 u8 reg_step; 39 40 /* McBSP platform and instance specific features */ 41 bool has_wakeup; /* Wakeup capability */ 42 bool has_ccr; /* Transceiver has configuration control registers */ 43 int (*force_ick_on)(struct clk *clk, bool force_on); 44}; 45 46void omap3_mcbsp_init_pdata_callback(struct omap_mcbsp_platform_data *pdata); 47 48#endif