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

#include <qup.h>

Collaboration diagram for qup_data_t:
Collaboration graph

Data Fields

qup_protocol_t protocol
 
union {
   struct {
      uint8_t   addr
 
      uint8_t *   data
 
      unsigned int   data_len
 
   }   iic
 
   struct {
      void *   in
 
      void *   out
 
      unsigned int   size
 
   }   spi
 
p
 
union {
   struct {
      uint8_t   addr
 
      uint8_t *   data
 
      unsigned int   data_len
 
   }   iic
 
   struct {
      void *   in
 
      void *   out
 
      unsigned int   size
 
   }   spi
 
p
 
union {
   struct {
      uint8_t   addr
 
      uint8_t *   data
 
      unsigned int   data_len
 
   }   iic
 
   struct {
      void *   in
 
      void *   out
 
      unsigned int   size
 
   }   spi
 
p
 

Detailed Description

Definition at line 139 of file qup.h.

Field Documentation

◆ addr

uint8_t qup_data_t::addr

Definition at line 143 of file qup.h.

◆ data

uint8_t* qup_data_t::data

Definition at line 144 of file qup.h.

◆ data_len

unsigned int qup_data_t::data_len

Definition at line 145 of file qup.h.

◆  [1/3]

◆  [2/3]

struct { ... } qup_data_t::iic

◆  [3/3]

struct { ... } qup_data_t::iic

◆ in

void* qup_data_t::in

Definition at line 148 of file qup.h.

◆ out

void* qup_data_t::out

Definition at line 149 of file qup.h.

◆  [1/3]

◆  [2/3]

union { ... } qup_data_t::p

◆  [3/3]

union { ... } qup_data_t::p

◆ protocol

qup_protocol_t qup_data_t::protocol

Definition at line 140 of file qup.h.

Referenced by i2c_read(), i2c_write(), qup_recv_data(), and qup_send_data().

◆ size

unsigned int qup_data_t::size

Definition at line 150 of file qup.h.

◆  [1/3]

struct { ... } qup_data_t::spi

◆  [2/3]

struct { ... } qup_data_t::spi

◆  [3/3]

struct { ... } qup_data_t::spi

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