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.
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) |
Definition at line 38 of file itss.c.
References PCR_ITSS_ITSSPRC, pcr_rmw32(), and PID_ITSS.
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().
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().
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().
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().