cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

asoc-ti-mcbsp.h (820B)


      1/* SPDX-License-Identifier: GPL-2.0-or-later */
      2/*
      3 * Defines for Multi-Channel Buffered Serial Port
      4 *
      5 * Copyright (C) 2002 RidgeRun, Inc.
      6 * Author: Steve Johnson
      7 */
      8#ifndef __ASOC_TI_MCBSP_H
      9#define __ASOC_TI_MCBSP_H
     10
     11#include <linux/spinlock.h>
     12#include <linux/clk.h>
     13
     14/* Platform specific configuration */
     15struct omap_mcbsp_ops {
     16	void (*request)(unsigned int);
     17	void (*free)(unsigned int);
     18};
     19
     20struct omap_mcbsp_platform_data {
     21	struct omap_mcbsp_ops *ops;
     22	u16 buffer_size;
     23	u8 reg_size;
     24	u8 reg_step;
     25
     26	/* McBSP platform and instance specific features */
     27	bool has_wakeup; /* Wakeup capability */
     28	bool has_ccr; /* Transceiver has configuration control registers */
     29	int (*force_ick_on)(struct clk *clk, bool force_on);
     30};
     31
     32void omap3_mcbsp_init_pdata_callback(struct omap_mcbsp_platform_data *pdata);
     33
     34#endif