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

at73c213.h (828B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * Board-specific data used to set up AT73c213 audio DAC driver.
      4 */
      5
      6#ifndef __LINUX_SPI_AT73C213_H
      7#define __LINUX_SPI_AT73C213_H
      8
      9/**
     10 * at73c213_board_info - how the external DAC is wired to the device.
     11 *
     12 * @ssc_id: SSC platform_driver id the DAC shall use to stream the audio.
     13 * @dac_clk: the external clock used to provide master clock to the DAC.
     14 * @shortname: a short discription for the DAC, seen by userspace tools.
     15 *
     16 * This struct contains the configuration of the hardware connection to the
     17 * external DAC. The DAC needs a master clock and a I2S audio stream. It also
     18 * provides a name which is used to identify it in userspace tools.
     19 */
     20struct at73c213_board_info {
     21	int		ssc_id;
     22	struct clk	*dac_clk;
     23	char		shortname[32];
     24};
     25
     26#endif /* __LINUX_SPI_AT73C213_H */