/netbsd/games/robots/ |
H A D | score.c | 75 for (scp = Top; scp < &Top[MAXSCORES]; scp++) { in read_score() 76 scp->s_uid = ntohl(scp->s_uid); in read_score() 78 scp->s_auto = ntohl(scp->s_auto); in read_score() 83 for (scp = Top; scp < &Top[MAXSCORES]; scp++) in read_score() 103 for (scp = Top; scp < &Top[MAXSCORES]; scp++) { in write_score() 104 scp->s_uid = htonl(scp->s_uid); in write_score() 106 scp->s_auto = htonl(scp->s_auto); in write_score() 136 for (scp = Top; scp < &Top[MAXSCORES]; scp++) in score() 172 for (scp = Top; scp < &Top[MAXSCORES]; scp++) { in score() 179 (long)(scp - Top) + 1, scp->s_score, scp->s_name, in score() [all …]
|
/netbsd/sys/dev/ic/ |
H A D | hd64570.c | 568 msci_write_1(scp, SCA_RXS0, scp->sp_rxs); in sca_msci_init() 569 msci_write_1(scp, SCA_TXS0, scp->sp_txs); in sca_msci_init() 570 msci_write_1(scp, SCA_TMC0, scp->sp_tmc); in sca_msci_init() 765 scp->sp_rxend = scp->sp_nrxdesc - 1; in sca_dmac_rxinit() 1056 desc = &scp->sp_txdesc[scp->txcur]; in sca_start() 1142 if (scp->sp_txinuse < scp->sp_ntxdesc) in sca_start() 1150 desc = &scp->sp_txdesc[scp->sp_txcur]; in sca_start() 1669 scp->sca->scu_set_page(scp->sca, in sca_frame_process() 1671 scp->sca->scu_page_on(scp->sca); in sca_frame_process() 1760 scp->sp_rxend = scp->sp_rxstart; in sca_frame_read_done() [all …]
|
/netbsd/sys/dev/wsfb/ |
H A D | genfb.c | 332 scp->sc_screens[0] = &scp->sc_defaultscreen_descr; in genfb_attach() 333 scp->sc_screenlist = (struct wsscreen_list){1, scp->sc_screens}; in genfb_attach() 337 scp->sc_modecb->gmc_setmode(sc, scp->sc_mode); in genfb_attach() 416 scp->sc_splash.si_bits = scp->sc_console_screen.scr_ri.ri_origbits; in genfb_attach() 851 scp->sc_cmap_green[i], scp->sc_cmap_blue[i]); in genfb_restore_palette() 905 scp->sc_cmcb->gcc_set_mapreg(scp->sc_cmcb->gcc_cookie, in genfb_putpalreg() 988 if (scp == NULL) in genfb_enable_polling() 1006 if (scp == NULL) in genfb_disable_polling() 1167 scp->sc_putchar(&scp->sc_cache_ri, cell, 0, c, attr); in genfb_putchar() 1171 src = scp->sc_cache + cell * scp->sc_cache_ri.ri_yscale; in genfb_putchar() [all …]
|
/netbsd/sys/arch/sparc64/sparc64/ |
H A D | compat_13_machdep.c | 69 struct sigcontext13 sc, *scp; in compat_13_sys_sigreturn() local 96 scp = SCARG(uap, sigcntxp); in compat_13_sys_sigreturn() 97 if ((vaddr_t)scp & 3 || (copyin((void *)scp, &sc, sizeof sc) != 0)) in compat_13_sys_sigreturn() 110 scp = ≻ in compat_13_sys_sigreturn() 118 if (((scp->sc_pc | scp->sc_npc) & 3) != 0 || scp->sc_pc == 0 || scp->sc_npc == 0) in compat_13_sys_sigreturn() 122 (void *)scp->sc_pc, (void *)scp->sc_npc); in compat_13_sys_sigreturn() 136 tf->tf_pc = scp->sc_pc; in compat_13_sys_sigreturn() 137 tf->tf_npc = scp->sc_npc; in compat_13_sys_sigreturn() 138 tf->tf_global[1] = scp->sc_g1; in compat_13_sys_sigreturn() 139 tf->tf_out[0] = scp->sc_o0; in compat_13_sys_sigreturn() [all …]
|
H A D | sunos32_machdep.c | 169 struct sunos32_sigcontext *scp; in sunos32_sendsig() local 214 scp = &fp->sf_sc; in sunos32_sendsig() 327 if ((vaddr_t)scp & 3 || (copyin((void *)scp, &sc, sizeof sc) != 0)) in sunos32_sys_sigreturn() 329 scp = ≻ in sunos32_sys_sigreturn() 337 if (((scp->sc_pc | scp->sc_npc) & 3) != 0 || scp->sc_pc == 0 || scp->sc_npc == 0) in sunos32_sys_sigreturn() 340 printf("sunos32_sigreturn: pc %x or npc %x invalid\n", scp->sc_pc, scp->sc_npc); in sunos32_sys_sigreturn() 349 tf->tf_pc = scp->sc_pc; in sunos32_sys_sigreturn() 350 tf->tf_npc = scp->sc_npc; in sunos32_sys_sigreturn() 351 tf->tf_global[1] = scp->sc_g1; in sunos32_sys_sigreturn() 352 tf->tf_out[0] = scp->sc_o0; in sunos32_sys_sigreturn() [all …]
|
H A D | sunos_machdep.c | 217 struct sunos_sigcontext sc, *scp; in sunos_sys_sigreturn() local 238 if ((vaddr_t)scp & 3 || (copyin((void *)scp, &sc, sizeof sc) != 0)) in sunos_sys_sigreturn() 240 scp = ≻ in sunos_sys_sigreturn() 248 if (((scp->sc_pc | scp->sc_npc) & 3) != 0 || scp->sc_pc == 0 || scp->sc_npc == 0) in sunos_sys_sigreturn() 251 …sunos_sigreturn: pc %p or npc %p invalid\n", (void *)(u_long)scp->sc_pc, (void *)(u_long)scp->sc_n… in sunos_sys_sigreturn() 261 tf->tf_pc = scp->sc_pc; in sunos_sys_sigreturn() 262 tf->tf_npc = scp->sc_npc; in sunos_sys_sigreturn() 263 tf->tf_global[1] = scp->sc_g1; in sunos_sys_sigreturn() 264 tf->tf_out[0] = scp->sc_o0; in sunos_sys_sigreturn() 265 tf->tf_out[6] = scp->sc_sp; in sunos_sys_sigreturn() [all …]
|
H A D | compat_16_machdep.c | 264 struct sigcontext sc, *scp; in compat_16_sys___sigreturn14() local 290 scp = SCARG(uap, sigcntxp); in compat_16_sys___sigreturn14() 291 if (((vaddr_t)scp & 3) != 0 || in compat_16_sys___sigreturn14() 292 (error = copyin((void *)scp, &sc, sizeof sc)) != 0) in compat_16_sys___sigreturn14() 295 printf("sigreturn14: copyin failed: scp=%p\n", scp); in compat_16_sys___sigreturn14() 304 scp = ≻ in compat_16_sys___sigreturn14() 332 tf->tf_pc = (uint64_t)scp->sc_pc; in compat_16_sys___sigreturn14() 333 tf->tf_npc = (uint64_t)scp->sc_npc; in compat_16_sys___sigreturn14() 334 tf->tf_global[1] = (uint64_t)scp->sc_g1; in compat_16_sys___sigreturn14() 335 tf->tf_out[0] = (uint64_t)scp->sc_o0; in compat_16_sys___sigreturn14() [all …]
|
/netbsd/sys/arch/m68k/m68k/ |
H A D | compat_13_machdep.c | 76 struct sigcontext13 *scp; in compat_13_sys_sigreturn() local 86 scp = SCARG(uap, sigcntxp); in compat_13_sys_sigreturn() 87 if ((int)scp & 1) in compat_13_sys_sigreturn() 90 if (copyin(scp, &tsigc, sizeof(tsigc)) != 0) in compat_13_sys_sigreturn() 92 scp = &tsigc; in compat_13_sys_sigreturn() 106 if (scp->sc_ap != 0) in compat_13_sys_sigreturn() 116 frame->f_regs[SP] = scp->sc_sp; in compat_13_sys_sigreturn() 117 frame->f_regs[A6] = scp->sc_fp; in compat_13_sys_sigreturn() 118 frame->f_pc = scp->sc_pc; in compat_13_sys_sigreturn() 119 frame->f_sr = scp->sc_ps; in compat_13_sys_sigreturn() [all …]
|
H A D | sunos_machdep.c | 202 struct sunos_sigcontext *scp; in sunos_sys_sigreturn() local 207 scp = (struct sunos_sigcontext *) SCARG(uap, sigcntxp); in sunos_sys_sigreturn() 210 printf("sunos_sigreturn: pid %d, scp %p\n", p->p_pid, scp); in sunos_sys_sigreturn() 212 if ((int)scp & 1) in sunos_sys_sigreturn() 216 scp = &tsigc; in sunos_sys_sigreturn() 219 if ((scp->sc_ps & (PSL_MBZ|PSL_IPL|PSL_S)) != 0) in sunos_sys_sigreturn() 227 frame->f_regs[SP] = scp->sc_sp; in sunos_sys_sigreturn() 228 frame->f_pc = scp->sc_pc; in sunos_sys_sigreturn() 229 frame->f_sr = scp->sc_ps; in sunos_sys_sigreturn() 234 if (scp->sc_onstack & SS_ONSTACK) in sunos_sys_sigreturn() [all …]
|
H A D | compat_16_machdep.c | 253 struct sigcontext *scp; in compat_16_sys___sigreturn14() local 264 scp = SCARG(uap, sigcntxp); in compat_16_sys___sigreturn14() 269 if ((int)scp & 1) in compat_16_sys___sigreturn14() 272 if (copyin(scp, &tsigc, sizeof(tsigc)) != 0) in compat_16_sys___sigreturn14() 274 scp = &tsigc; in compat_16_sys___sigreturn14() 287 if ((rf = scp->sc_ap) == 0) in compat_16_sys___sigreturn14() 358 frame->f_regs[SP] = scp->sc_sp; in compat_16_sys___sigreturn14() 359 frame->f_regs[A6] = scp->sc_fp; in compat_16_sys___sigreturn14() 360 frame->f_pc = scp->sc_pc; in compat_16_sys___sigreturn14() 361 frame->f_sr = scp->sc_ps; in compat_16_sys___sigreturn14() [all …]
|
/netbsd/sys/arch/sparc/sparc/ |
H A D | compat_13_machdep.c | 70 struct sigcontext13 sc, *scp; in compat_13_sys_sigreturn() local 84 scp = ≻ in compat_13_sys_sigreturn() 92 if (((scp->sc_pc | scp->sc_npc) & 3) != 0) in compat_13_sys_sigreturn() 95 tf->tf_psr = (tf->tf_psr & ~PSR_ICC) | (scp->sc_psr & PSR_ICC); in compat_13_sys_sigreturn() 96 tf->tf_pc = scp->sc_pc; in compat_13_sys_sigreturn() 97 tf->tf_npc = scp->sc_npc; in compat_13_sys_sigreturn() 98 tf->tf_global[1] = scp->sc_g1; in compat_13_sys_sigreturn() 99 tf->tf_out[0] = scp->sc_o0; in compat_13_sys_sigreturn() 100 tf->tf_out[6] = scp->sc_sp; in compat_13_sys_sigreturn() 103 if (scp->sc_onstack & SS_ONSTACK) in compat_13_sys_sigreturn() [all …]
|
H A D | compat_16_machdep.c | 265 struct sigcontext sc, *scp; in compat_16_sys___sigreturn14() local 285 scp = ≻ in compat_16_sys___sigreturn14() 293 if (((scp->sc_pc | scp->sc_npc) & 3) != 0) in compat_16_sys___sigreturn14() 297 tf->tf_psr = (tf->tf_psr & ~PSR_ICC) | (scp->sc_psr & PSR_ICC); in compat_16_sys___sigreturn14() 298 tf->tf_pc = scp->sc_pc; in compat_16_sys___sigreturn14() 299 tf->tf_npc = scp->sc_npc; in compat_16_sys___sigreturn14() 300 tf->tf_global[1] = scp->sc_g1; in compat_16_sys___sigreturn14() 301 tf->tf_out[0] = scp->sc_o0; in compat_16_sys___sigreturn14() 302 tf->tf_out[6] = scp->sc_sp; in compat_16_sys___sigreturn14() 305 if (scp->sc_onstack & SS_ONSTACK) in compat_16_sys___sigreturn14() [all …]
|
/netbsd/games/atc/ |
H A D | graphics.c | 148 setup_screen(const C_SCREEN *scp) in setup_screen() argument 159 radar = newwin(scp->height, scp->width * 2, 0, 0); in setup_screen() 163 cleanradar = newwin(scp->height, scp->width * 2, 0, 0); in setup_screen() 175 for (i = 1; i < scp->height - 1; i++) { in setup_screen() 189 draw_line(radar, scp->line[iu].p1.x, scp->line[iu].p1.y, in setup_screen() 190 scp->line[iu].p2.x, scp->line[iu].p2.y, str); in setup_screen() 196 for (i = 0; i < scp->width - 1; i++) in setup_screen() 203 for (i = 0; i < scp->width - 1; i++) in setup_screen() 217 (void)wmove(radar, scp->beacon[iu].y, scp->beacon[iu].x * 2); in setup_screen() 222 (void)wmove(radar, scp->exit[iu].y, scp->exit[iu].x * 2); in setup_screen() [all …]
|
/netbsd/sys/dev/pci/ |
H A D | chipsfb.c | 89 struct chipsfb_pci_softc *scp = device_private(self); in chipsfb_pci_attach() local 90 struct chipsfb_softc *sc = &scp->sc_chips; in chipsfb_pci_attach() 94 scp->sc_pc = pa->pa_pc; in chipsfb_pci_attach() 95 scp->sc_pcitag = pa->pa_tag; in chipsfb_pci_attach() 98 screg = pci_conf_read(scp->sc_pc, scp->sc_pcitag, in chipsfb_pci_attach() 101 pci_conf_write(scp->sc_pc, scp->sc_pcitag, PCI_COMMAND_STATUS_REG, in chipsfb_pci_attach() 112 sc->sc_fb = (pci_conf_read(scp->sc_pc, scp->sc_pcitag, PCI_BAR0) & in chipsfb_pci_attach() 144 struct chipsfb_pci_softc *scp = vd->cookie; in chipsfb_pci_ioctl() local 150 return pci_devioctl(scp->sc_pc, scp->sc_pcitag, in chipsfb_pci_ioctl() 154 return wsdisplayio_busid_pci(sc->sc_dev, scp->sc_pc, in chipsfb_pci_ioctl() [all …]
|
/netbsd/sys/compat/linux32/arch/amd64/ |
H A D | linux32_machdep.c | 431 if (!VALID_USER_CSEL32(scp->sc_cs)) in linux32_restore_sigcontext() 434 if (scp->sc_fs != 0 && !VALID_USER_DSEL32(scp->sc_fs) && in linux32_restore_sigcontext() 438 if (scp->sc_gs != 0 && !VALID_USER_DSEL32(scp->sc_gs) && in linux32_restore_sigcontext() 442 if (scp->sc_es != 0 && !VALID_USER_DSEL32(scp->sc_es)) in linux32_restore_sigcontext() 445 if (!VALID_USER_DSEL32(scp->sc_ds) || in linux32_restore_sigcontext() 446 !VALID_USER_DSEL32(scp->sc_ss)) in linux32_restore_sigcontext() 449 if (scp->sc_eip >= VM_MAXUSER_ADDRESS32) in linux32_restore_sigcontext() 452 gssel = (register_t)scp->sc_gs & 0xffff; in linux32_restore_sigcontext() 453 fssel = (register_t)scp->sc_fs & 0xffff; in linux32_restore_sigcontext() 455 tf->tf_es = (register_t)scp->sc_es & 0xffff; in linux32_restore_sigcontext() [all …]
|
/netbsd/lib/libcurses/ |
H A D | ins_wstr.c | 165 while (*scp) { in wins_nwstr() 176 scp++; in wins_nwstr() 182 scp++; in wins_nwstr() 193 scp++; in wins_nwstr() 203 scp++; in wins_nwstr() 210 scp++; in wins_nwstr() 219 scp = wstr; in wins_nwstr() 242 scp++; in wins_nwstr() 251 scp++; in wins_nwstr() 266 scp++; in wins_nwstr() [all …]
|
H A D | insstr.c | 146 const char *scp; in winsnstr() local 155 for (scp = str, len = 0; n-- && *scp++; ++len); in winsnstr() 157 for (scp = str, len = 0; *scp++; ++len); in winsnstr() 183 for (scp = str, temp1 = end, x = win->curx; in winsnstr() 184 *scp && x < len + win->curx && x < win->maxx; in winsnstr() 185 scp++, temp1++, x++) in winsnstr() 187 temp1->ch = (wchar_t)*scp & __CHARTEXT; in winsnstr()
|
/netbsd/sys/arch/mips/mips/ |
H A D | compat_13_machdep.c | 53 struct sigcontext13 *scp, ksc; in compat_13_sys_sigreturn() local 69 scp = SCARG(uap, sigcntxp); in compat_13_sys_sigreturn() 72 printf("sigreturn13: pid %d, scp %p\n", p->p_pid, scp); in compat_13_sys_sigreturn() 74 if ((error = copyin(scp, &ksc, sizeof(ksc))) != 0) in compat_13_sys_sigreturn() 85 memcpy(&tf->tf_regs[1], &scp->sc_regs[1], in compat_13_sys_sigreturn() 86 sizeof(scp->sc_regs) - sizeof(scp->sc_regs[0])); in compat_13_sys_sigreturn() 88 for (size_t i = 1; i < __arraycount(scp->sc_regs); i++) in compat_13_sys_sigreturn() 89 tf->tf_regs[i] = scp->sc_regs[i]; in compat_13_sys_sigreturn() 91 if (scp->sc_fpused) { in compat_13_sys_sigreturn() 93 *(struct fpreg *)&pcb->pcb_fpregs = *(struct fpreg *)scp->sc_fpregs; in compat_13_sys_sigreturn()
|
H A D | compat_16_machdep.c | 109 scp--; in sendsig_sigcontext() 115 p->p_pid, sig, &onstack, scp); in sendsig_sigcontext() 162 error = copyout(&ksc, (void *)scp, sizeof(ksc)); in sendsig_sigcontext() 187 tf->tf_regs[_R_A2] = (intptr_t)scp; in sendsig_sigcontext() 192 tf->tf_regs[_R_SP] = (intptr_t)scp; in sendsig_sigcontext() 238 struct sigcontext *scp, ksc; in compat_16_sys___sigreturn14() local 254 scp = SCARG(uap, sigcntxp); in compat_16_sys___sigreturn14() 259 if ((error = copyin(scp, &ksc, sizeof(ksc))) != 0) in compat_16_sys___sigreturn14() 270 memcpy(&tf->tf_regs[1], &scp->sc_regs[1], in compat_16_sys___sigreturn14() 271 sizeof(scp->sc_regs) - sizeof(scp->sc_regs[0])); in compat_16_sys___sigreturn14() [all …]
|
/netbsd/sys/net/ |
H A D | if_spppsubr.c | 1084 memset(sp->scp, 0, sizeof(sp->scp)); in sppp_attach() 1505 scp = &sp->scp[cp->protoidx]; in sppp_cp_init() 1531 scp = &sp->scp[cp->protoidx]; in sppp_cp_fini() 1578 scp = &sp->scp[cp->protoidx]; in sppp_cp_input() 2126 scp = &sp->scp[cp->protoidx]; in sppp_rcr_event() 2218 scp = &sp->scp[cp->protoidx]; in sppp_rcn_event() 3157 scp = &sp->scp[(cps[i])->protoidx]; in sppp_lcp_tlu() 3219 scp = &sp->scp[(cps[i])->protoidx]; in sppp_lcp_tld() 3309 sp->scp[IDX_LCP].confid = ++sp->scp[IDX_LCP].seq; in sppp_lcp_scr() 3982 sp->scp[IDX_IPCP].confid = ++sp->scp[IDX_IPCP].seq; in sppp_ipcp_scr() [all …]
|
/netbsd/external/gpl3/gcc.old/dist/libgcc/config/i386/ |
H A D | gnu-unwind.h | 46 struct sigcontext *scp; in x86_gnu_fallback_frame_state() member 93 struct sigcontext *scp = handler_args->legacy.scp; in x86_gnu_fallback_frame_state() local 94 usp = scp->sc_uesp; in x86_gnu_fallback_frame_state() 96 fs->regs.reg[0].loc.offset = (unsigned long)&scp->sc_eax - usp; in x86_gnu_fallback_frame_state() 97 fs->regs.reg[1].loc.offset = (unsigned long)&scp->sc_ecx - usp; in x86_gnu_fallback_frame_state() 98 fs->regs.reg[2].loc.offset = (unsigned long)&scp->sc_edx - usp; in x86_gnu_fallback_frame_state() 99 fs->regs.reg[3].loc.offset = (unsigned long)&scp->sc_ebx - usp; in x86_gnu_fallback_frame_state() 100 fs->regs.reg[5].loc.offset = (unsigned long)&scp->sc_ebp - usp; in x86_gnu_fallback_frame_state() 101 fs->regs.reg[6].loc.offset = (unsigned long)&scp->sc_esi - usp; in x86_gnu_fallback_frame_state() 102 fs->regs.reg[7].loc.offset = (unsigned long)&scp->sc_edi - usp; in x86_gnu_fallback_frame_state() [all …]
|
/netbsd/external/gpl3/gcc/dist/libgcc/config/i386/ |
H A D | gnu-unwind.h | 46 struct sigcontext *scp; in x86_gnu_fallback_frame_state() member 93 struct sigcontext *scp = handler_args->legacy.scp; in x86_gnu_fallback_frame_state() local 94 usp = scp->sc_uesp; in x86_gnu_fallback_frame_state() 96 fs->regs.reg[0].loc.offset = (unsigned long)&scp->sc_eax - usp; in x86_gnu_fallback_frame_state() 97 fs->regs.reg[1].loc.offset = (unsigned long)&scp->sc_ecx - usp; in x86_gnu_fallback_frame_state() 98 fs->regs.reg[2].loc.offset = (unsigned long)&scp->sc_edx - usp; in x86_gnu_fallback_frame_state() 99 fs->regs.reg[3].loc.offset = (unsigned long)&scp->sc_ebx - usp; in x86_gnu_fallback_frame_state() 100 fs->regs.reg[5].loc.offset = (unsigned long)&scp->sc_ebp - usp; in x86_gnu_fallback_frame_state() 101 fs->regs.reg[6].loc.offset = (unsigned long)&scp->sc_esi - usp; in x86_gnu_fallback_frame_state() 102 fs->regs.reg[7].loc.offset = (unsigned long)&scp->sc_edi - usp; in x86_gnu_fallback_frame_state() [all …]
|
/netbsd/sys/dev/isa/ |
H A D | if_ntwoc_isa.c | 635 scp->sp_eclock = in ntwoc_isa_get_clock() 637 scp->sp_rxs = rdiv; in ntwoc_isa_get_clock() 639 scp->sp_tmc = tmc; in ntwoc_isa_get_clock() 644 scp->sp_rxs = 0; in ntwoc_isa_get_clock() 665 scp->sp_txs = 0; in ntwoc_isa_get_clock() 788 scp->sp_txdesc = (void *)(uintptr_t)scp->sp_txdesc_p; in ntwoc_isa_setup_memory() 789 scp->sp_txbuf_p = scp->sp_txdesc_p; in ntwoc_isa_setup_memory() 791 scp->sp_txbuf = (void *)(uintptr_t)scp->sp_txbuf_p; in ntwoc_isa_setup_memory() 795 scp->sp_rxdesc = (void *)(uintptr_t)scp->sp_txdesc_p; in ntwoc_isa_setup_memory() 796 scp->sp_rxbuf_p = scp->sp_rxdesc_p; in ntwoc_isa_setup_memory() [all …]
|
/netbsd/sys/compat/linux/arch/m68k/ |
H A D | linux_machdep.c | 532 scp = &tsigc2.c_sc; in linux_sys_sigreturn() 537 if ((sz = scp->sc_ss.ss_format) != 0) { in linux_sys_sigreturn() 575 frame->f_regs[SP] = scp->sc_sp; in linux_sys_sigreturn() 576 frame->f_regs[D0] = scp->sc_d0; in linux_sys_sigreturn() 577 frame->f_regs[D1] = scp->sc_d1; in linux_sys_sigreturn() 578 frame->f_regs[A0] = scp->sc_a0; in linux_sys_sigreturn() 579 frame->f_regs[A1] = scp->sc_a1; in linux_sys_sigreturn() 580 frame->f_pc = scp->sc_pc; in linux_sys_sigreturn() 593 if (scp->sc_ss.ss_format) { in linux_sys_sigreturn() 594 frame->f_format = scp->sc_ss.ss_format; in linux_sys_sigreturn() [all …]
|
/netbsd/sys/arch/acorn32/podulebus/ |
H A D | simide.c | 161 struct simide_channel *scp; in simide_attach() local 253 scp = &sc->simide_channels[channel]; in simide_attach() 255 cp = &scp->sc_channel; in simide_attach() 283 sc->sc_ctl_reg &= ~scp->sc_irqmask; in simide_attach() 286 ihp = &scp->sc_ih; in simide_attach() 288 ihp->ih_arg = scp; in simide_attach() 292 ihp->ih_maskbits = scp->sc_irqmask; in simide_attach() 297 sc->sc_ctl_reg |= scp->sc_irqmask; in simide_attach() 331 struct simide_channel *scp = arg; in simide_intr() local 332 irqhandler_t *ihp = &scp->sc_ih; in simide_intr() [all …]
|