15 #define HALF_CLOCK_US 0
30 size_t bytes_out,
void *din,
size_t bytes_in)
33 if (bytes_in && bytes_out)
41 while (bytes_out || bytes_in) {
50 for (i = 7; i >= 0; i--) {
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)
#define printk(level,...)
static int out_byte(unsigned int bus, u8 byte)
static int in_byte(unsigned int bus, int ack)
static struct device_operations ops
#define BIOS_SPEW
BIOS_SPEW - Excessively verbose output.