Lines Matching refs:ax_spi
42 int axspi_read_rxq(struct axspi_data *ax_spi, void *data, int len);
43 int axspi_write_txq(const struct axspi_data *ax_spi, void *data, int len);
44 u16 axspi_read_reg(struct axspi_data *ax_spi, u8 reg);
45 int axspi_write_reg(struct axspi_data *ax_spi, u8 reg, u16 value);
46 int axspi_read_status(struct axspi_data *ax_spi, struct spi_status *status);
47 int axspi_wakeup(struct axspi_data *ax_spi);
49 static inline u16 AX_READ(struct axspi_data *ax_spi, u8 offset) in AX_READ() argument
51 return axspi_read_reg(ax_spi, offset); in AX_READ()
54 static inline int AX_WRITE(struct axspi_data *ax_spi, u16 value, u8 offset) in AX_WRITE() argument
56 return axspi_write_reg(ax_spi, offset, value); in AX_WRITE()
59 static inline int AX_READ_STATUS(struct axspi_data *ax_spi, in AX_READ_STATUS() argument
62 return axspi_read_status(ax_spi, status); in AX_READ_STATUS()
65 static inline int AX_WAKEUP(struct axspi_data *ax_spi) in AX_WAKEUP() argument
67 return axspi_wakeup(ax_spi); in AX_WAKEUP()