coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
i2c.c File Reference
#include <device/device.h>
#include <drivers/i2c/designware/dw_i2c.h>
#include <soc/pci_devs.h>
Include dependency graph for i2c.c:

Go to the source code of this file.

Functions

int dw_i2c_soc_devfn_to_bus (unsigned int devfn)
 
int dw_i2c_soc_bus_to_devfn (unsigned int bus)
 

Function Documentation

◆ dw_i2c_soc_bus_to_devfn()

int dw_i2c_soc_bus_to_devfn ( unsigned int  bus)

Definition at line 36 of file i2c.c.

Referenced by dw_i2c_base_address(), and lpss_i2c_early_init_bus().

Here is the caller graph for this function:

◆ dw_i2c_soc_devfn_to_bus()

int dw_i2c_soc_devfn_to_bus ( unsigned int  devfn)

Definition at line 13 of file i2c.c.

Referenced by dw_i2c_soc_dev_to_bus().

Here is the caller graph for this function: