/titanic_44/usr/src/uts/sun4u/serengeti/io/ |
H A D | sgsbbc_iosram.c | 591 sbbc_intrs_t *intr; in iosram_reg_intr() local 626 intr = &master_iosram->intrs[intr_no]; in iosram_reg_intr() 628 if (intr->sbbc_handler != (sbbc_intrfunc_t)NULL) { in iosram_reg_intr() 633 intr->sbbc_handler = intr_handler; in iosram_reg_intr() 634 intr->sbbc_arg = (void *)arg; in iosram_reg_intr() 635 intr->sbbc_intr_state = state; in iosram_reg_intr() 636 intr->sbbc_intr_lock = lock; in iosram_reg_intr() 637 intr->sbbc_intr_next = (sbbc_intrs_t *)NULL; in iosram_reg_intr() 648 &intr->sbbc_intr_id, NULL, NULL, in iosram_reg_intr() 690 sbbc_intrs_t *intr; in iosram_unreg_intr() local [all …]
|
H A D | sgsbbc_mailbox.c | 323 sbbc_intrs_t *intr; in sbbc_mbox_switch() local 335 for (intr = master_mbox->intrs[msg_type]; intr != NULL; in sbbc_mbox_switch() 336 intr = intr->sbbc_intr_next) { in sbbc_mbox_switch() 338 if (intr->sbbc_intr_id) { in sbbc_mbox_switch() 339 ddi_remove_softintr(intr->sbbc_intr_id); in sbbc_mbox_switch() 343 &intr->sbbc_intr_id, NULL, NULL, in sbbc_mbox_switch() 344 intr->sbbc_handler, intr->sbbc_arg) in sbbc_mbox_switch() 557 sbbc_intrs_t *intr; in sbbc_mbox_post_reg() local 561 intr = master_mbox->intrs[msg_type]; in sbbc_mbox_post_reg() 562 while (intr != NULL) { in sbbc_mbox_post_reg() [all …]
|
H A D | sgsbbc.c | 500 sbbc_intrs_t *intr; in sbbc_intr_handler() local 555 intr = &softsp->intr_hdlrs[i]; in sbbc_intr_handler() 556 if ((intr != NULL) && in sbbc_intr_handler() 557 (intr->sbbc_intr_id != 0)) { in sbbc_intr_handler() 581 mutex_enter(intr->sbbc_intr_lock); in sbbc_intr_handler() 582 if (*(intr->sbbc_intr_state) == in sbbc_intr_handler() 584 mutex_exit(intr->sbbc_intr_lock); in sbbc_intr_handler() 586 intr->sbbc_intr_id); in sbbc_intr_handler() 591 mutex_exit(intr->sbbc_intr_lock); in sbbc_intr_handler()
|
/titanic_44/usr/src/uts/i86pc/io/ |
H A D | hpet_acpi.c | 305 hpet_info.cstate_timer.intr) != AE_OK) { in hpet_init_proxy() 309 *hpet_vect = hpet_info.cstate_timer.intr; in hpet_init_proxy() 319 hpet_info.cstate_timer.intr); in hpet_init_proxy() 354 hpet_info.cstate_timer.intr); in hpet_uninstall_interrupt_handler() 636 int intr; in hpet_get_IOAPIC_intr_capable_timer() local 644 intr = lowbit(hip->timer_n_config[timer].int_route_cap) - 1; in hpet_get_IOAPIC_intr_capable_timer() 645 if (intr >= 0) { in hpet_get_IOAPIC_intr_capable_timer() 648 hip->cstate_timer.intr = intr; in hpet_get_IOAPIC_intr_capable_timer() 788 ulong_t intr, dead_count = 0; in hpet_cpr() local 800 intr = intr_clear(); in hpet_cpr() [all …]
|
/titanic_44/usr/src/cmd/refer/ |
H A D | refer1.c | 169 extern void intr(); 175 signal(SIGINT, intr); in signals() 176 signal(SIGHUP, intr); in signals() 177 signal(SIGPIPE, intr); in signals() 178 signal(SIGTERM, intr); in signals() 182 intr(void) in intr() function
|
/titanic_44/usr/src/cmd/mdb/sparc/v9/intr/ |
H A D | Makefile | 26 MODULE = intr.so 29 MODSRCS = intr.c 32 MDB_INTR=intr.so 39 KMDB_INTR=intr 57 MODSRCS_DIR = ../../../sparc/modules/intr
|
/titanic_44/usr/src/cmd/ptools/preap/ |
H A D | preap.c | 48 intr(int sig) in intr() function 249 (void) sigset(SIGHUP, intr); in main() 251 (void) sigset(SIGINT, intr); in main() 253 (void) sigset(SIGPIPE, intr); in main() 255 (void) sigset(SIGQUIT, intr); in main() 256 (void) sigset(SIGTERM, intr); in main()
|
/titanic_44/usr/src/cmd/prtconf/ |
H A D | prt_xxx.c | 184 struct intrspec *intr; in obio_print() local 225 intr = (struct intrspec *)(data + *(di_off_t *)(&dp->par_intr)); in obio_print() 227 obio_printintr(intr + i, ilev); in obio_print() 251 struct intrspec *intr; in pcmcia_print() local 280 intr = (struct intrspec *) in pcmcia_print() 283 pcmcia_printintr(intr + i, ilev); in pcmcia_print() 293 struct intrspec *intr; in sbus_print() local 345 intr = (struct intrspec *) in sbus_print() 347 obio_printintr(intr + i, ilev); in sbus_print()
|
/titanic_44/usr/src/tools/ctf/cvt/ |
H A D | dwarf.c | 603 intr_t *intr; in tdesc_intr_common() local 605 intr = xcalloc(sizeof (intr_t)); in tdesc_intr_common() 606 intr->intr_type = INTR_INT; in tdesc_intr_common() 607 intr->intr_signed = 1; in tdesc_intr_common() 608 intr->intr_nbits = sz * NBBY; in tdesc_intr_common() 615 tdp->t_intr = intr; in tdesc_intr_common() 1276 intr_t *intr; in die_base_name_parse() local 1329 intr = xcalloc(sizeof (intr_t)); in die_base_name_parse() 1330 intr->intr_type = INTR_INT; in die_base_name_parse() 1331 intr->intr_signed = sign; in die_base_name_parse() [all …]
|
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | irm.c | 192 struct devinfo_intr intr; in irmreq_dcmd() local 220 if (mdb_vread(&intr, sizeof (intr), in irmreq_dcmd() 221 (uintptr_t)dev.devi_intr_p) != sizeof (intr)) { in irmreq_dcmd() 233 intr.devi_intr_sup_nintrs, req.ireq_nreq, req.ireq_navail); in irmreq_dcmd()
|
/titanic_44/usr/src/uts/common/pcmcia/nexus/ |
H A D | pcmcia.c | 4153 inthandler_t *intr, *first; in pcmcia_mfc_intr() local 4173 for (done = 0, result = 0, first = intr = sockp->ls_inthandlers; in pcmcia_mfc_intr() 4174 intr != NULL && !done; intr = intr->next) { in pcmcia_mfc_intr() 4175 result |= intr->intr(intr->arg1, intr->arg2); in pcmcia_mfc_intr() 4176 if (intr->next == first) in pcmcia_mfc_intr() 4179 if (intr == NULL) { in pcmcia_mfc_intr() 4774 inthandler_t *intr; in pcmcia_add_intr_impl() local 4782 intr = kmem_zalloc(sizeof (inthandler_t), KM_NOSLEEP); in pcmcia_add_intr_impl() 4783 if (intr == NULL) { in pcmcia_add_intr_impl() 4787 intr->intr = hdlp->ih_cb_func; in pcmcia_add_intr_impl() [all …]
|
/titanic_44/usr/src/cmd/fm/fminject/common/ |
H A D | inj_defn.c | 47 typedef struct intr { struct 206 inj_defn_memcmp_signed(const intr_t *intr, inj_declmem_t *dlm, in inj_defn_memcmp_signed() argument 214 if (inj_strtoll(dfm->dfm_str, intr->ei_width, &val) < 0) in inj_defn_memcmp_signed() 242 inj_defn_memcmp_unsigned(const intr_t *intr, inj_declmem_t *dlm, in inj_defn_memcmp_unsigned() argument 250 if (inj_strtoull(dfm->dfm_str, intr->ei_width, &val) < 0) in inj_defn_memcmp_unsigned() 674 const intr_t *intr; in inj_defn_validate_memlist() local 690 intr = &inj_intrinsics[dlm->dlm_type]; in inj_defn_validate_memlist() 693 rc = inj_defn_memcmp_intr_array(intr, dlm, dfm, in inj_defn_validate_memlist() 696 rc = inj_defn_memcmp_signed(intr, dlm, dfm, in inj_defn_validate_memlist() 705 intr = &inj_intrinsics[dlm->dlm_type]; in inj_defn_validate_memlist() [all …]
|
/titanic_44/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | fsm.txt | 52 command | * sendcdb * * rd-intr-reason 53 cdb | * * start-xfer start-xfer rd-intr-reason 54 datain | * * continue-xfer * rd-intr-reason 55 dataout | * * * continue-xfer rd-intr-reason
|
H A D | ata_fsm.h | 56 #define ATAPI_EVENT(drq, intr) \ argument 58 | (((intr) & (ATI_IO | ATI_COD)) << 1))
|
/titanic_44/usr/src/uts/i86pc/io/apix/ |
H A D | apix_intr.c | 190 uint_t (*intr)() = av->av_vector; in apix_dispatch_pending_autovect() local 196 if (intr == NULL) in apix_dispatch_pending_autovect() 204 void *, intr, caddr_t, arg1, caddr_t, arg2); in apix_dispatch_pending_autovect() 205 r = (*intr)(arg1, arg2); in apix_dispatch_pending_autovect() 207 void *, intr, caddr_t, arg1, uint_t, r); in apix_dispatch_pending_autovect() 311 cpu->cpu_stats.sys.intr[pil - 1]++; in apix_do_softint_epilog() 491 cpu->cpu_stats.sys.intr[pil - 1]++; in apix_hilevel_intr_epilog() 684 cpu->cpu_stats.sys.intr[pil - 1]++; in apix_intr_thread_epilog() 815 uint_t r, (*intr)(); in apix_dispatch_by_vector() local 824 intr = avp->av_vector; in apix_dispatch_by_vector() [all …]
|
/titanic_44/usr/src/cmd/dtrace/test/tst/common/pid/ |
H A D | tst.gcc.c | 43 intr(int sig) in intr() function 52 sa.sa_handler = intr; in main()
|
/titanic_44/usr/src/cmd/plimit/ |
H A D | plimit.c | 59 static void intr(int); 156 (void) sigset(SIGHUP, intr); in main() 158 (void) sigset(SIGINT, intr); in main() 160 (void) sigset(SIGQUIT, intr); in main() 161 (void) sigset(SIGPIPE, intr); in main() 162 (void) sigset(SIGTERM, intr); in main() 221 intr(int sig) in intr() function
|
/titanic_44/usr/src/uts/sparc/io/pciex/ |
H A D | pcieb_sparc.c | 76 uint32_t d, intr; in pcieb_plat_intr_ops() local 102 intr = hdlp->ih_vector; in pcieb_plat_intr_ops() 108 if ((intr >= PCI_INTA) && (intr <= PCI_INTD)) in pcieb_plat_intr_ops() 109 hdlp->ih_vector = ((intr - 1 + (d % 4)) % 4 + 1); in pcieb_plat_intr_ops() 113 ddi_driver_name(dip), intr); in pcieb_plat_intr_ops()
|
/titanic_44/usr/src/cmd/ppgsz/ |
H A D | ppgsz.c | 61 static void intr(int); 246 (void) sigset(SIGHUP, intr); in main() 248 (void) sigset(SIGINT, intr); in main() 250 (void) sigset(SIGQUIT, intr); in main() 251 (void) sigset(SIGTERM, intr); in main() 388 intr(int sig) in intr() function
|
/titanic_44/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3_talk2ctlr.c | 361 uint32_t intr = 0; in cpqary3_intr_onoff() local 372 intr = ddi_get32(cpqary3p->imr_handle, (uint32_t *)cpqary3p->imr); in cpqary3_intr_onoff() 377 (uint32_t *)cpqary3p->imr, intr & ~(intr_mask)); in cpqary3_intr_onoff() 380 (uint32_t *)cpqary3p->imr, (intr | intr_mask)); in cpqary3_intr_onoff() 398 uint32_t intr = 0; in cpqary3_lockup_intr_onoff() local 409 intr = ddi_get32(cpqary3p->imr_handle, (uint32_t *)cpqary3p->imr); in cpqary3_lockup_intr_onoff() 414 (uint32_t *)cpqary3p->imr, intr & ~(intr_lockup_mask)); in cpqary3_lockup_intr_onoff() 417 (uint32_t *)cpqary3p->imr, (intr | intr_lockup_mask)); in cpqary3_lockup_intr_onoff()
|
/titanic_44/usr/src/uts/intel/io/intel_nb5000/ |
H A D | intel_nb5000.c | 100 char *intr = "nb.unknown"; in fat_memory_error() local 116 return (intr); in fat_memory_error() 124 intr = "nb.fbd.alert"; /* Alert on FB-DIMM M1 */ in fat_memory_error() 126 intr = "nb.fbd.crc"; /* CRC error FB_DIMM M2 */ in fat_memory_error() 160 intr = "nb.fbd.otf"; /* thermal temp > Tmid M3 */ in fat_memory_error() 162 intr = "nb.fbd.reset_timeout"; in fat_memory_error() 173 return (intr); in fat_memory_error() 236 char *intr = "nb.unknown"; in nf_memory_error() local 252 return (intr); in nf_memory_error() 274 intr = "nb.mem_ue"; in nf_memory_error() [all …]
|
/titanic_44/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_rwlock.c | 59 smbfs_rw_enter_sig(smbfs_rwlock_t *l, krw_t rw, int intr) in smbfs_rw_enter_sig() argument 80 if (intr) { in smbfs_rw_enter_sig() 115 if (intr) { in smbfs_rw_enter_sig()
|
/titanic_44/usr/src/uts/common/io/ |
H A D | avintr.c | 699 uint_t (*intr)() = av->av_vector; in av_dispatch_autovect() local 708 if (intr == NULL) in av_dispatch_autovect() 712 void *, intr, caddr_t, arg1, caddr_t, arg2); in av_dispatch_autovect() 713 r = (*intr)(arg1, arg2); in av_dispatch_autovect() 715 void *, intr, caddr_t, arg1, uint_t, r); in av_dispatch_autovect() 739 uint_t (*intr)(); in av_dispatch_softvect() local 751 if ((intr = av->av_vector) == NULL) in av_dispatch_softvect() 767 (void) (*intr)(arg1, arg2); in av_dispatch_softvect()
|
/titanic_44/usr/src/uts/common/io/usb/hcd/openhci/ |
H A D | ohci_polled.c | 94 uint_t intr); 297 uint_t intr; in ohci_hcdi_polled_read() local 306 intr = (Get_OpReg(hcr_intr_status) & Get_OpReg(hcr_intr_enable)); in ohci_hcdi_polled_read() 312 if (intr & HCR_INTR_FNO) { in ohci_hcdi_polled_read() 332 if (intr & HCR_INTR_WDH) { in ohci_hcdi_polled_read() 474 uint_t intr, bulk_pkg_size; in ohci_hcdi_polled_write() local 533 intr = Get_OpReg(hcr_intr_status); in ohci_hcdi_polled_write() 535 if (intr & HCR_INTR_FNO) { in ohci_hcdi_polled_write() 540 if (intr & HCR_INTR_WDH) { in ohci_hcdi_polled_write() 550 Set_OpReg(hcr_intr_status, intr); in ohci_hcdi_polled_write() [all …]
|
/titanic_44/usr/src/uts/common/io/usb/hcd/ehci/ |
H A D | ehci.c | 644 uint_t intr; in ehci_intr() local 665 intr = (Get_OpReg(ehci_status) & Get_OpReg(ehci_interrupt)); in ehci_intr() 668 ehci_do_intrs_stats(ehcip, intr); in ehci_intr() 680 if (!intr) { in ehci_intr() 687 Set_OpReg(ehci_status, intr); in ehci_intr() 696 "Interrupt status 0x%x", intr); in ehci_intr() 708 if (intr & EHCI_INTR_FRAME_LIST_ROLLOVER) { in ehci_intr() 722 if (intr & EHCI_INTR_ASYNC_ADVANCE) { in ehci_intr() 745 if ((intr & EHCI_INTR_USB) || (intr & EHCI_INTR_USB_ERROR) || in ehci_intr() 767 if (intr & EHCI_INTR_HOST_SYSTEM_ERROR) { in ehci_intr()
|