![]() |
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 | |
int | i2c_read_field (unsigned int bus, uint8_t chip, uint8_t reg, uint8_t *data, uint8_t mask, uint8_t shift) |
int | i2c_write_field (unsigned int bus, uint8_t chip, uint8_t reg, uint8_t data, uint8_t mask, uint8_t shift) |
int i2c_read_field | ( | unsigned int | bus, |
uint8_t | chip, | ||
uint8_t | reg, | ||
uint8_t * | data, | ||
uint8_t | mask, | ||
uint8_t | shift | ||
) |
Definition at line 6 of file i2c.c.
References buf, chip, i2c_readb(), and mask.
Referenced by da9212_probe(), get_mt6311_chip_id(), get_mt6691_chip_id(), mt6311_hw_init(), and mt6691_get_voltage().
int i2c_write_field | ( | unsigned int | bus, |
uint8_t | chip, | ||
uint8_t | reg, | ||
uint8_t | data, | ||
uint8_t | mask, | ||
uint8_t | shift | ||
) |
Definition at line 20 of file i2c.c.
References buf, chip, i2c_readb(), i2c_writeb(), and mask.
Referenced by da9212_hw_init(), da9212_probe(), mt6311_hw_init(), mt6691_probe(), mt6691_set_voltage(), ps8640_bridge_aux_request(), sn65dsi86_bridge_assr_config(), sn65dsi86_bridge_configure(), sn65dsi86_bridge_dp_lane_config(), sn65dsi86_bridge_init(), and sn65dsi86_bridge_set_dp_clock_range().