Searched refs:vecno (Results 1 – 3 of 3) sorted by relevance
552 int vecno; in pic_save_state() local570 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() local587 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()
996 psm_set_elcr(int vecno, int val) in psm_set_elcr() argument998 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() argument1018 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()
140 extern void psm_set_elcr(int vecno, int val);141 extern int psm_get_elcr(int vecno);