Searched refs:sc_active (Results 1 – 13 of 13) sorted by relevance
| /openbsd/src/sys/dev/pci/ |
| D | tcpcib.c | 77 int sc_active; member 190 sc->sc_active = 0; in tcpcib_attach() 214 sc->sc_active |= E600_HPET_ACTIVE; in tcpcib_attach() 228 sc->sc_active ? ',' : ':'); in tcpcib_attach() 231 printf("%c watchdog", sc->sc_active ? ',' : ':'); in tcpcib_attach() 257 sc->sc_active |= E600_WDT_ACTIVE; in tcpcib_attach() 278 if (sc->sc_active & E600_WDT_ACTIVE && sc->sc_wdt_period != 0) in tcpcib_activate() 282 if (sc->sc_active & E600_WDT_ACTIVE) { in tcpcib_activate() 293 if (sc->sc_active & E600_HPET_ACTIVE) in tcpcib_activate() 299 if (sc->sc_active & E600_WDT_ACTIVE) in tcpcib_activate()
|
| D | pcscp.c | 77 int sc_active; /* DMA state */ member 347 esc->sc_active = 0; in pcscp_dma_reset() 378 esc->sc_active = 0; in pcscp_dma_intr() 384 if (esc->sc_active == 0) in pcscp_dma_intr() 390 esc->sc_active = 0; in pcscp_dma_intr() 593 esc->sc_active = 1; in pcscp_dma_go() 607 esc->sc_active = 0; in pcscp_dma_stop()
|
| /openbsd/src/sys/dev/ic/ |
| D | arcofi.c | 393 if (bcmp(&sc->sc_active, &sc->sc_shadow, sizeof(sc->sc_active)) == 0) in arcofi_commit_settings() 398 if (sc->sc_active.gr_idx != sc->sc_shadow.gr_idx) { in arcofi_commit_settings() 403 sc->sc_active.gr_idx = sc->sc_shadow.gr_idx; in arcofi_commit_settings() 406 if (sc->sc_active.gx_idx != sc->sc_shadow.gx_idx || in arcofi_commit_settings() 407 sc->sc_active.output_mute != sc->sc_shadow.output_mute) { in arcofi_commit_settings() 417 sc->sc_active.gx_idx = sc->sc_shadow.gx_idx; in arcofi_commit_settings() 418 sc->sc_active.output_mute = sc->sc_shadow.output_mute; in arcofi_commit_settings() 421 if (sc->sc_active.cr3 != sc->sc_shadow.cr3) { in arcofi_commit_settings() 425 sc->sc_active.cr3 = sc->sc_shadow.cr3; in arcofi_commit_settings() 428 if ((sc->sc_active.cr3 & CR3_OPMODE_MASK) != CR3_OPMODE_NORMAL) in arcofi_commit_settings() [all …]
|
| D | lsi64854var.h | 48 int sc_active; /* DMA active ? */ member 80 #define DMA_ISACTIVE(sc) ((sc)->sc_active) 94 sc->sc_active = 1; \
|
| D | lsi64854.c | 275 sc->sc_active = 0; in lsi64854_reset() 398 if (sc->sc_active == 0) in lsi64854_scsi_intr() 406 sc->sc_active = 0; in lsi64854_scsi_intr() 633 if (sc->sc_active != 0) { in lsi64854_pp_intr() 642 sc->sc_active = 0; in lsi64854_pp_intr()
|
| D | arcofivar.h | 36 } sc_active, member
|
| D | osiop.c | 275 sc->sc_active = 0; 560 sc->sc_active++; 659 sc->sc_active--; 671 sc->sc_active--; 678 sc->sc_active--; 759 if (sc->sc_active > 0) { 760 sc->sc_active = 0; 952 sc->sc_script, acb->ds, sc->sc_active); 1039 sc->sc_script, acb->ds, sc->sc_active); 1532 sc->sc_active--; [all …]
|
| D | oosiopvar.h | 149 int sc_active; member
|
| D | osiopvar.h | 208 int sc_active; /* number of active I/O's */ member
|
| D | oosiop.c | 256 sc->sc_active = 0; in oosiop_attach() 800 if (!sc->sc_active) { in oosiop_scsicmd() 1256 sc->sc_active = (sc->sc_nextdsp != Ent_wait_reselect); in oosiop_processintr()
|
| /openbsd/src/sys/dev/pcmcia/ |
| D | cfxga.c | 85 struct cfxga_screen *sc_active; member 396 if (sc->sc_active != NULL) in cfxga_attach() 397 cfxga_clear_screen(sc->sc_active); in cfxga_attach() 569 if (scr == sc->sc_active) { in cfxga_free_screen() 570 sc->sc_active = NULL; in cfxga_free_screen() 593 scr = sc->sc_active; in cfxga_ioctl() 660 old = sc->sc_active; in cfxga_show_screen() 664 sc->sc_active = scr; in cfxga_show_screen() 674 struct cfxga_screen *scr = sc->sc_active; in cfxga_load_font() 686 struct cfxga_screen *scr = sc->sc_active; in cfxga_list_font() [all …]
|
| /openbsd/src/sys/dev/fdt/ |
| D | rkiis.c | 197 uint32_t sc_active; member 534 if (sc->sc_active == 0) { in rkiis_trigger_output() 540 sc->sc_active |= XFER_TXS; in rkiis_trigger_output() 572 sc->sc_active &= ~XFER_TXS; in rkiis_halt_output() 573 if (sc->sc_active == 0) { in rkiis_halt_output() 603 sc->sc_active &= ~XFER_RXS; in rkiis_halt_input() 604 if (sc->sc_active == 0) { in rkiis_halt_input()
|
| /openbsd/src/sys/arch/armv7/omap/ |
| D | omdisplay.c | 419 struct omdisplay_screen *sc_active; member 580 struct omdisplay_screen *scr = sc->sc_active; in omdisplay_ioctl() 665 old = sc->sc_active; in omdisplay_show_screen() 672 sc->sc_active = scr; in omdisplay_show_screen() 850 if (sc->sc_active != NULL) { in omdisplay_suspend() 859 if (sc->sc_active != NULL) { in omdisplay_resume() 898 scr = sc->sc_active; in omdisplay_initialize() 1302 struct omdisplay_screen *screen = sc->sc_active; /* ??? */ in omdisplay_mmap() 1327 if (scr == sc->sc_active) { in omdisplay_free_screen() 1329 sc->sc_active = NULL; in omdisplay_free_screen() [all …]
|