Home
last modified time | relevance | path

Searched refs:vecno (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/i86pc/io/psm/
H A Duppc.c552 int vecno; in pic_save_state() local
570 for (vecno = 0; vecno <= MAX_ISA_IRQ; vecno++) in pic_save_state()
571 sp->elcr |= psm_get_elcr(vecno) << vecno; in pic_save_state()
577 int vecno; in pic_restore_state() local
587 for (vecno = 0; vecno <= MAX_ISA_IRQ; vecno++) in pic_restore_state()
588 psm_set_elcr(vecno, sp->elcr & (1 << vecno)); in pic_restore_state()
H A Dpsm_common.c996 psm_set_elcr(int vecno, int val) in psm_set_elcr() argument
998 int elcr_port = ELCR_PORT1 + (vecno >> 3); in psm_set_elcr()
999 int elcr_bit = 1 << (vecno & 0x07); in psm_set_elcr()
1001 ASSERT((vecno >= 0) && (vecno < 16)); in psm_set_elcr()
1016 psm_get_elcr(int vecno) in psm_get_elcr() argument
1018 int elcr_port = ELCR_PORT1 + (vecno >> 3); in psm_get_elcr()
1019 int elcr_bit = 1 << (vecno & 0x07); in psm_get_elcr()
1021 ASSERT((vecno >= 0) && (vecno < 16)); in psm_get_elcr()
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dpsm_common.h140 extern void psm_set_elcr(int vecno, int val);
141 extern int psm_get_elcr(int vecno);