coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Functions | |
static void | tegra_set_sda (unsigned int bus, int high) |
static void | tegra_set_scl (unsigned int bus, int high) |
static int | tegra_get_sda (unsigned int bus) |
static int | tegra_get_scl (unsigned int bus) |
void | tegra_software_i2c_init (unsigned int bus) |
void | tegra_software_i2c_disable (unsigned int bus) |
Variables | |
struct { | |
int pinmux_func | |
gpio_t sda | |
gpio_t scl | |
} | pins [] |
static struct software_i2c_ops | tegra_ops |
|
static |
Definition at line 47 of file software_i2c.c.
References gpio_get(), pins, and scl.
|
static |
Definition at line 42 of file software_i2c.c.
References gpio_get(), pins, and sda.
Definition at line 34 of file software_i2c.c.
References gpio_input_pullup(), gpio_output(), pins, and scl.
Referenced by tegra_software_i2c_init().
Definition at line 26 of file software_i2c.c.
References gpio_input_pullup(), gpio_output(), pins, and sda.
Referenced by tegra_software_i2c_init().
Definition at line 68 of file software_i2c.c.
References GPIO_MODE_SPIO, GPIO_PINMUX_SHIFT, gpio_set_mode(), NULL, pinmux_func, PINMUX_INPUT_ENABLE, pinmux_set_config(), pins, scl, sda, and software_i2c.
Definition at line 59 of file software_i2c.c.
References software_i2c, tegra_ops, tegra_set_scl(), and tegra_set_sda().
int pinmux_func |
Definition at line 10 of file software_i2c.c.
Referenced by tegra_software_i2c_disable().
struct { ... } pins[] |
Referenced by board_id(), get_board_id(), mtk_pcie_set_pinmux(), panel_id(), ram_code(), sku_id(), tegra_get_scl(), tegra_get_sda(), tegra_set_scl(), tegra_set_sda(), and tegra_software_i2c_disable().
gpio_t scl |
Definition at line 12 of file software_i2c.c.
Referenced by __wait(), get_scl(), set_scl(), tegra_get_scl(), tegra_set_scl(), and tegra_software_i2c_disable().
gpio_t sda |
Definition at line 11 of file software_i2c.c.
Referenced by __wait(), get_sda(), tegra_get_sda(), tegra_set_sda(), and tegra_software_i2c_disable().
|
static |
Definition at line 47 of file software_i2c.c.
Referenced by tegra_software_i2c_init().