// SPDX-License-Identifier: GPL-2.0 /* * cxd2880_devio_spi.c * Sony CXD2880 DVB-T2/T tuner + demodulator driver * I/O interface via SPI * * Copyright (C) 2016, 2017, 2018 Sony Semiconductor Solutions Corporation */ #include "cxd2880_devio_spi.h" #define BURST_WRITE_MAX … static int cxd2880_io_spi_read_reg(struct cxd2880_io *io, enum cxd2880_io_tgt tgt, u8 sub_address, u8 *data, u32 size) { … } static int cxd2880_io_spi_write_reg(struct cxd2880_io *io, enum cxd2880_io_tgt tgt, u8 sub_address, const u8 *data, u32 size) { … } int cxd2880_io_spi_create(struct cxd2880_io *io, struct cxd2880_spi *spi, u8 slave_select) { … }