Searched refs:axspi_data (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/ethernet/asix/ |
H A D | ax88796c_spi.h | 27 struct axspi_data { struct 42 int axspi_read_rxq(struct axspi_data *ax_spi, void *data, int len); argument 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() 54 static inline int AX_WRITE(struct axspi_data *ax_spi, u16 value, u8 offset) in AX_WRITE() 59 static inline int AX_READ_STATUS(struct axspi_data *ax_spi, in AX_READ_STATUS() [all …]
|
H A D | ax88796c_spi.c | 20 int axspi_wakeup(struct axspi_data *ax_spi) in axspi_wakeup() 31 int axspi_read_status(struct axspi_data *ax_spi, struct spi_status *status) in axspi_read_status() 46 int axspi_read_rxq(struct axspi_data *ax_spi, void *data, int len) in axspi_read_rxq() 72 int axspi_write_txq(const struct axspi_data *ax_spi, void *data, int len) in axspi_write_txq() 77 u16 axspi_read_reg(struct axspi_data *ax_spi, u8 reg) in axspi_read_reg() 100 int axspi_write_reg(struct axspi_data *ax_spi, u8 reg, u16 value) in axspi_write_reg()
|
H A D | ax88796c_main.h | 103 struct axspi_data ax_spi;
|