1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Sony CXD2880 DVB-T2/T tuner + demodulator driver
5 * SPI access definitions
7 * Copyright (C) 2016, 2017, 2018 Sony Semiconductor Solutions Corporation
13 #include "cxd2880_common.h"
15 enum cxd2880_spi_mode
{
23 int (*read
)(struct cxd2880_spi
*spi
, u8
*data
,
25 int (*write
)(struct cxd2880_spi
*spi
, const u8
*data
,
27 int (*write_read
)(struct cxd2880_spi
*spi
,
28 const u8
*tx_data
, u32 tx_size
,
29 u8
*rx_data
, u32 rx_size
);