![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <types.h>
Go to the source code of this file.
Data Structures | |
struct | spi_bitbang_ops |
Functions | |
int | spi_bitbang_claim_bus (const struct spi_bitbang_ops *ops) |
void | spi_bitbang_release_bus (const struct spi_bitbang_ops *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 | ) |
Definition at line 17 of file bitbang.c.
References ops.
Referenced by spi_ctrlr_claim_bus().
void spi_bitbang_release_bus | ( | const struct spi_bitbang_ops * | ops | ) |
Definition at line 23 of file bitbang.c.
References ops.
Referenced by spi_ctrlr_release_bus().
int spi_bitbang_xfer | ( | const struct spi_bitbang_ops * | ops, |
const void * | dout, | ||
size_t | bytes_out, | ||
void * | din, | ||
size_t | bytes_in | ||
) |
Definition at line 29 of file bitbang.c.
References BIOS_SPEW, HALF_CLOCK_US, in_byte(), ops, out_byte(), printk, TRACE, and udelay().