coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
soc_i2c_scl_pin Struct Reference

Data structure to identify GPIO to be toggled to reset peripherals on an I2C bus. More...

#include <i2c.h>

Collaboration diagram for soc_i2c_scl_pin:
Collaboration graph

Data Fields

struct soc_amd_gpio pin
 
uint8_t pin_mask
 

Detailed Description

Data structure to identify GPIO to be toggled to reset peripherals on an I2C bus.

@pin: GPIO corresponding to I2C SCL that needs to be toggled/bit-banged. @pin_mask: Bit Mask of a single I2C bus that needs to be reset.

Definition at line 33 of file i2c.h.

Field Documentation

◆ pin

struct soc_amd_gpio soc_i2c_scl_pin::pin

Definition at line 25 of file i2c.h.

Referenced by drive_scl(), and sb_reset_i2c_peripherals().

◆ pin_mask

uint8_t soc_i2c_scl_pin::pin_mask

Definition at line 35 of file i2c.h.

Referenced by drive_scl().


The documentation for this struct was generated from the following file: