coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
itss.h File Reference
Include dependency graph for itss.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PCR_ITSS_PIRQA_ROUT   0x3100
 
#define PCR_ITSS_PIRQB_ROUT   0x3101
 
#define PCR_ITSS_PIRQC_ROUT   0x3102
 
#define PCR_ITSS_PIRQD_ROUT   0x3103
 
#define PCR_ITSS_PIRQE_ROUT   0x3104
 
#define PCR_ITSS_PIRQF_ROUT   0x3105
 
#define PCR_ITSS_PIRQG_ROUT   0x3106
 
#define PCR_ITSS_PIRQH_ROUT   0x3107
 
#define PCR_ITSS_IPC0_CONF   0x3200
 
#define PCR_ITSS_ITSSPRC   0x3300
 

Functions

void itss_set_irq_polarity (int irq, int active_low)
 
void itss_snapshot_irq_polarities (int start, int end)
 
void itss_restore_irq_polarities (int start, int end)
 
void itss_irq_init (const uint8_t pch_interrupt_routing[PIRQ_COUNT])
 
void itss_clock_gate_8254 (void)
 

Macro Definition Documentation

◆ PCR_ITSS_IPC0_CONF

#define PCR_ITSS_IPC0_CONF   0x3200

Definition at line 23 of file itss.h.

◆ PCR_ITSS_ITSSPRC

#define PCR_ITSS_ITSSPRC   0x3300

Definition at line 25 of file itss.h.

◆ PCR_ITSS_PIRQA_ROUT

#define PCR_ITSS_PIRQA_ROUT   0x3100

Definition at line 7 of file itss.h.

◆ PCR_ITSS_PIRQB_ROUT

#define PCR_ITSS_PIRQB_ROUT   0x3101

Definition at line 9 of file itss.h.

◆ PCR_ITSS_PIRQC_ROUT

#define PCR_ITSS_PIRQC_ROUT   0x3102

Definition at line 11 of file itss.h.

◆ PCR_ITSS_PIRQD_ROUT

#define PCR_ITSS_PIRQD_ROUT   0x3103

Definition at line 13 of file itss.h.

◆ PCR_ITSS_PIRQE_ROUT

#define PCR_ITSS_PIRQE_ROUT   0x3104

Definition at line 15 of file itss.h.

◆ PCR_ITSS_PIRQF_ROUT

#define PCR_ITSS_PIRQF_ROUT   0x3105

Definition at line 17 of file itss.h.

◆ PCR_ITSS_PIRQG_ROUT

#define PCR_ITSS_PIRQG_ROUT   0x3106

Definition at line 19 of file itss.h.

◆ PCR_ITSS_PIRQH_ROUT

#define PCR_ITSS_PIRQH_ROUT   0x3107

Definition at line 21 of file itss.h.

Function Documentation

◆ itss_clock_gate_8254()

void itss_clock_gate_8254 ( void  )

Definition at line 38 of file itss.c.

References PCR_ITSS_ITSSPRC, pcr_rmw32(), and PID_ITSS.

Here is the call graph for this function:

◆ itss_irq_init()

void itss_irq_init ( const uint8_t  pch_interrupt_routing[PIRQ_COUNT])

Definition at line 12 of file itss.c.

References ARRAY_SIZE, pch_interrupt_routing, PCR_ITSS_PIRQA_ROUT, pcr_write32(), PID_ITSS, PIRQ_COUNT, and val.

Referenced by pch_pirq_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ itss_restore_irq_polarities()

void itss_restore_irq_polarities ( int  start,
int  end 
)

Definition at line 94 of file itss.c.

References irq_snapshot, IRQS_PER_IPC, ITSS_MAX_IRQ, mask, MAX, MIN, PCR_ITSS_IPC0_CONF, pcr_rmw32(), PID_ITSS, and show_irq_polarities().

Referenced by soc_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ itss_set_irq_polarity()

void itss_set_irq_polarity ( int  irq,
int  active_low 
)

Definition at line 45 of file itss.c.

References IRQS_PER_IPC, ITSS_MAX_IRQ, mask, PCR_ITSS_IPC0_CONF, pcr_rmw32(), and PID_ITSS.

Referenced by gpio_configure_itss().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ itss_snapshot_irq_polarities()

void itss_snapshot_irq_polarities ( int  start,
int  end 
)

Definition at line 62 of file itss.c.

References irq_snapshot, IRQS_PER_IPC, ITSS_MAX_IRQ, PCR_ITSS_IPC0_CONF, pcr_read32(), and PID_ITSS.

Referenced by soc_init().

Here is the call graph for this function:
Here is the caller graph for this function: