2 #ifndef _SPI_BITBANG_H_
3 #define _SPI_BITBANG_H_
17 size_t bytes_out,
void *din,
size_t bytes_in);
static struct device_operations ops
int spi_bitbang_xfer(const struct spi_bitbang_ops *ops, const void *dout, size_t bytes_out, void *din, size_t bytes_in)
int spi_bitbang_claim_bus(const struct spi_bitbang_ops *ops)
void spi_bitbang_release_bus(const struct spi_bitbang_ops *ops)
int(* get_miso)(const struct spi_bitbang_ops *ops)
void(* set_clk)(const struct spi_bitbang_ops *ops, int value)
void(* set_mosi)(const struct spi_bitbang_ops *ops, int value)
void(* set_cs)(const struct spi_bitbang_ops *ops, int value)
typedef void(X86APIP X86EMU_intrFuncs)(int num)