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

#include <pmif_common.h>

Collaboration diagram for pmif:
Collaboration graph

Data Fields

struct mtk_pmif_regsmtk_pmif
 
struct chan_regsch
 
u32 swinf_no
 
u32 mstid
 
u32 pmifid
 
void(* read )(struct pmif *arb, u32 slvid, u32 reg, u32 *data)
 
void(* write )(struct pmif *arb, u32 slvid, u32 reg, u32 data)
 
u32(* read_field )(struct pmif *arb, u32 slvid, u32 reg, u32 mask, u32 shift)
 
void(* write_field )(struct pmif *arb, u32 slvid, u32 reg, u32 val, u32 mask, u32 shift)
 
int(* is_pmif_init_done )(struct pmif *arb)
 

Detailed Description

Definition at line 25 of file pmif_common.h.

Field Documentation

◆ ch

struct chan_regs* pmif::ch

Definition at line 27 of file pmif_common.h.

Referenced by pmif_check_swinf(), and pmif_send_cmd().

◆ is_pmif_init_done

int(* pmif::is_pmif_init_done) (struct pmif *arb)

Definition at line 35 of file pmif_common.h.

Referenced by init_pmif_arb(), and pmif_spmi_init().

◆ mstid

◆ mtk_pmif

◆ pmifid

u32 pmif::pmifid

Definition at line 30 of file pmif_common.h.

◆ read

void(* pmif::read) (struct pmif *arb, u32 slvid, u32 reg, u32 *data)

Definition at line 31 of file pmif_common.h.

Referenced by buf_read(), init_sistrobe(), mt6315_read(), pmic_read(), rtc_read(), and spmi_read_check().

◆ read_field

u32(* pmif::read_field) (struct pmif *arb, u32 slvid, u32 reg, u32 mask, u32 shift)

Definition at line 33 of file pmif_common.h.

Referenced by mt6359p_read_field().

◆ swinf_no

u32 pmif::swinf_no

Definition at line 28 of file pmif_common.h.

◆ write

void(* pmif::write) (struct pmif *arb, u32 slvid, u32 reg, u32 data)

◆ write_field

void(* pmif::write_field) (struct pmif *arb, u32 slvid, u32 reg, u32 val, u32 mask, u32 shift)

Definition at line 34 of file pmif_common.h.

Referenced by mt6315_write_field(), and mt6359p_write_field().


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