Lines Matching refs:ino

20 static unsigned long psycho_pcislot_imap_offset(unsigned long ino)
22 unsigned int bus = (ino & 0x10) >> 4;
23 unsigned int slot = (ino & 0x0c) >> 2;
40 #define psycho_iclr_offset(ino) \
41 ((ino & 0x20) ? (PSYCHO_ICLR_SCSI + (((ino) & 0x1f) << 3)) : \
42 (PSYCHO_ICLR_A_SLOT0 + (((ino) & 0x1f)<<3)))
45 unsigned int ino,
53 ino &= 0x3f;
54 if (ino < PSYCHO_ONBOARD_IRQ_BASE) {
56 imap_off = psycho_pcislot_imap_offset(ino);
59 imap_off = psycho_onboard_imap_offset(ino);
65 iclr_off = psycho_iclr_offset(ino);
68 if ((ino & 0x20) == 0)
69 inofixup = ino & 0x03;
115 static void sabre_wsync_handler(unsigned int ino, void *_arg1, void *_arg2)
163 static unsigned long sabre_pcislot_imap_offset(unsigned long ino)
165 unsigned int bus = (ino & 0x10) >> 4;
166 unsigned int slot = (ino & 0x0c) >> 2;
179 #define sabre_iclr_offset(ino) \
180 ((ino & 0x20) ? (SABRE_ICLR_SCSI + (((ino) & 0x1f) << 3)) : \
181 (SABRE_ICLR_A_SLOT0 + (((ino) & 0x1f)<<3)))
223 unsigned int ino,
234 ino &= 0x3f;
235 if (ino < SABRE_ONBOARD_IRQ_BASE) {
237 imap_off = sabre_pcislot_imap_offset(ino);
240 imap_off = sabre_onboard_imap_offset(ino);
246 iclr_off = sabre_iclr_offset(ino);
249 if ((ino & 0x20) == 0)
250 inofixup = ino & 0x03;
296 static unsigned long schizo_imap_offset(unsigned long ino)
298 return SCHIZO_IMAP_BASE + (ino * 8UL);
301 static unsigned long schizo_iclr_offset(unsigned long ino)
303 return SCHIZO_ICLR_BASE + (ino * 8UL);
307 unsigned int ino)
310 return pbm_regs + schizo_iclr_offset(ino);
314 unsigned int ino)
316 return pbm_regs + schizo_imap_offset(ino);
334 static void tomatillo_wsync_handler(unsigned int ino, void *_arg1, void *_arg2)
337 u64 mask = 1UL << (ino & IMAP_INO);
380 unsigned int ino,
390 ino &= 0x3f;
393 imap = schizo_ino_to_imap(pbm_regs, ino);
394 iclr = schizo_ino_to_iclr(pbm_regs, ino);
489 static unsigned long fire_imap_offset(unsigned long ino)
491 return FIRE_IMAP_BASE + (ino * 8UL);
494 static unsigned long fire_iclr_offset(unsigned long ino)
496 return FIRE_ICLR_BASE + (ino * 8UL);
500 unsigned int ino)
502 return pbm_regs + fire_iclr_offset(ino);
506 unsigned int ino)
508 return pbm_regs + fire_imap_offset(ino);
512 unsigned int ino,
520 ino &= 0x3f;
523 imap = fire_ino_to_imap(pbm_regs, ino);
524 iclr = fire_ino_to_iclr(pbm_regs, ino);
538 ino |= (irq_data->portid << 6);
539 ino -= int_ctrlr;
540 return build_irq(ino, iclr, imap);
650 unsigned int ino,
659 ino &= 0x3f;
665 if (ino < 0x20)
666 ino += (sbus_slot * 8);
668 imap = sysio_irq_offsets[ino];
671 ino);
680 if (ino >= 0x20) {
683 sbus_level = ino & 0x7;
720 unsigned int ino,
736 return ino;