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

cxd2880_spi_device.h (635B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * cxd2880_spi_device.h
      4 * Sony CXD2880 DVB-T2/T tuner + demodulator driver
      5 * SPI access interface
      6 *
      7 * Copyright (C) 2016, 2017, 2018 Sony Semiconductor Solutions Corporation
      8 */
      9
     10#ifndef CXD2880_SPI_DEVICE_H
     11#define CXD2880_SPI_DEVICE_H
     12
     13#include "cxd2880_spi.h"
     14
     15struct cxd2880_spi_device {
     16	struct spi_device *spi;
     17};
     18
     19int cxd2880_spi_device_initialize(struct cxd2880_spi_device *spi_device,
     20				  enum cxd2880_spi_mode mode,
     21				  u32 speedHz);
     22
     23int cxd2880_spi_device_create_spi(struct cxd2880_spi *spi,
     24				  struct cxd2880_spi_device *spi_device);
     25
     26#endif /* CXD2880_SPI_DEVICE_H */