coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
twsi.h File Reference
#include <device/i2c.h>
Include dependency graph for twsi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int twsi_init (unsigned int bus, enum i2c_speed hz)
 

Function Documentation

◆ twsi_init()

int twsi_init ( unsigned int  bus,
enum i2c_speed  hz 
)

Definition at line 649 of file twsi.c.

References MIO_TWSx_PF_BAR0, TWSI_CTL_ENAB, twsi_set_speed(), and twsi_write_ctl().

Referenced by mainboard_enable().

Here is the call graph for this function:
Here is the caller graph for this function: