#define pr_fmt(fmt) …
#include <linux/string.h>
#include <linux/spi/spi.h>
#include "ax88796c_spi.h"
const u8 ax88796c_rx_cmd_buf[5] = …;
const u8 ax88796c_tx_cmd_buf[4] = …;
int axspi_wakeup(struct axspi_data *ax_spi)
{ … }
int axspi_read_status(struct axspi_data *ax_spi, struct spi_status *status)
{ … }
int axspi_read_rxq(struct axspi_data *ax_spi, void *data, int len)
{ … }
int axspi_write_txq(const struct axspi_data *ax_spi, void *data, int len)
{ … }
u16 axspi_read_reg(struct axspi_data *ax_spi, u8 reg)
{ … }
int axspi_write_reg(struct axspi_data *ax_spi, u8 reg, u16 value)
{ … }