Searched refs:sc_flags (Results 51 - 75 of 564) sorted by relevance

1234567891011>>

/netbsd-current/sys/dev/
H A Dvnd.c286 if (sc->sc_flags & VNF_INITED) {
346 sc->sc_flags = VNF_KLABEL;
354 if ((sc->sc_flags & VNF_CLEARING) != 0) {
369 if (sc->sc_flags & VNF_INITED) {
375 if ((sc->sc_flags & VNF_VLABEL) == 0) {
383 if ((sc->sc_flags & VNF_VLABEL) == 0) {
384 sc->sc_flags |= VNF_VLABEL;
392 if (((sc->sc_flags & VNF_INITED) == 0) ||
456 if ((sc->sc_flags & VNF_KLABEL) == 0)
457 sc->sc_flags
[all...]
H A Ddkvar.h48 u_int32_t sc_flags; /* flags */ member in struct:dk_softc
60 /* sc_flags:
79 #define DK_ATTACHED(_dksc) ((_dksc)->sc_flags & DKF_INITED)
H A Ddksubr.c99 dksc->sc_flags |= DKF_READYFORDUMP;
101 dksc->sc_flags |= DKF_WARNLABEL | DKF_LABELSANITY;
104 if ((dksc->sc_flags & DKF_NO_RND) == 0) {
114 if ((dksc->sc_flags & DKF_NO_RND) == 0) {
119 dksc->sc_flags &= ~DKF_READYFORDUMP;
168 if ((dksc->sc_flags & DKF_INITED)) {
169 if ((dksc->sc_flags & DKF_VLABEL) == 0) {
170 dksc->sc_flags |= DKF_VLABEL;
177 ((dksc->sc_flags & DKF_VLABEL) == 0 ||
229 if ((dksc->sc_flags
[all...]
/netbsd-current/sys/arch/newsmips/apbus/
H A Dif_sn_ap.c96 sc->sc_flags |= F_NWS40S0;
98 if ((sc->sc_flags & F_NWS40S0) != 0) {
113 if ((sc->sc_flags & F_NWS40S0) != 0) {
153 if ((sc->sc_flags & F_NWS40S0) != 0) {
179 if ((sc->sc_flags & F_NWS40S0) != 0) {
H A Dif_snvar.h30 #define SONIC_GETDMA(sc, p) (((sc)->sc_flags & F_NWS40S0) == 0 ? \
32 #define SONIC_BUFFER(sc, p) (((sc)->sc_flags & F_NWS40S0) == 0 ? \
127 u_int sc_flags; member in struct:sn_softc
/netbsd-current/sys/dev/isa/
H A Dcec.c82 volatile int sc_flags; member in struct:cec_softc
203 sc->sc_flags |= CECF_USEDMA;
212 sc->sc_flags &= ~CECF_USEDMA;
253 if (sc->sc_flags & CECF_IO) {
255 if (sc->sc_flags & CECF_TIMO)
261 sc->sc_flags &= ~(CECF_IO | CECF_READ | CECF_TIMO);
262 if (sc->sc_flags & CECF_USEDMA)
266 } else if (sc->sc_flags & CECF_PPOLL) {
269 sc->sc_flags &= ~CECF_PPOLL;
473 sc->sc_flags |
[all...]
/netbsd-current/sys/arch/hp300/dev/
H A Ddnkbd.c165 int sc_flags; member in struct:dnkbd_softc
387 sc->sc_flags = SF_PLUGGED | SF_CONSOLE | SF_ENABLED;
390 sc->sc_flags = SF_PLUGGED;
404 SET(sc->sc_flags, SF_ATTACHED);
417 flags = sc->sc_flags;
418 SET(sc->sc_flags, SF_POLLING);
529 sc->sc_flags = flags;
612 if (!ISSET(sc->sc_flags, SF_ATTACHED))
614 SET(sc->sc_flags, SF_PLUGGED);
616 CLR(sc->sc_flags, SF_PLUGGE
[all...]
H A Dnhpib.c408 hs->sc_flags |= HPIBF_IO;
410 hs->sc_flags |= HPIBF_TIMO;
412 hs->sc_flags |= HPIBF_READ;
414 else if (hs->sc_flags & HPIBF_READ) {
416 hs->sc_flags &= ~HPIBF_READ;
421 if (hs->sc_flags & HPIBF_READ) {
455 if (hs->sc_flags & HPIBF_IO) {
461 hs->sc_flags &= ~(HPIBF_DONE|HPIBF_IO|HPIBF_READ|HPIBF_TIMO);
480 hs->sc_flags |= HPIBF_DONE;
482 if (hs->sc_flags
[all...]
/netbsd-current/sys/dev/pci/
H A Dradeonfbvar.h216 uint16_t sc_flags; member in struct:radeonfb_softc
311 #define IS_MOBILITY(sc) ((sc)->sc_flags & RFB_MOB)
312 #define HAS_CRTC2(sc) (((sc)->sc_flags & RFB_NCRTC2) == 0)
314 #define IS_R300(sc) ((sc)->sc_flags & RFB_R300)
315 #define HAS_R300CG(sc) ((sc)->sc_flags & RFB_R300CG)
316 #define HAS_SDAC(sc) ((sc)->sc_flags & RFB_SDAC)
317 #define IS_RV100(sc) ((sc)->sc_flags & RFB_RV100)
318 #define IS_IGP(sc) ((sc)->sc_flags & RFB_IGP)
319 #define IS_ATOM(sc) ((sc)->sc_flags & RFB_ATOM)
320 #define IS_AVIVO(sc) ((sc)->sc_flags
[all...]
H A Dif_fxp_pci.c404 sc->sc_flags |= FXPF_FC|FXPF_EXT_TXCB;
409 sc->sc_flags |= FXPF_MWI;
413 sc->sc_flags |= FXPF_82559_RXCSUM;
419 sc->sc_flags &= ~FXPF_82559_RXCSUM;
420 sc->sc_flags |= FXPF_EXT_RFA;
430 sc->sc_flags |= FXPF_HAS_RESUME_BUG;
435 sc->sc_flags |= FXPF_FC|FXPF_EXT_TXCB;
443 sc->sc_flags |= FXPF_HAS_RESUME_BUG;
447 sc->sc_flags |= FXPF_MWI;
466 sc->sc_flags |
[all...]
/netbsd-current/sys/dev/pcmcia/
H A Dmhzc.c113 int sc_flags; member in struct:mhzc_softc
116 /* sc_flags */
233 sc->sc_flags |= MHZC_MODEM_MAPPED;
240 sc->sc_flags |= MHZC_ETHERNET_MAPPED;
277 sc->sc_flags |= MHZC_MODEM_ALLOCED;
303 sc->sc_flags |= MHZC_ETHERNET_ALLOCED;
344 if (sc->sc_flags & MHZC_MODEM_MAPPED)
346 if (sc->sc_flags & MHZC_ETHERNET_MAPPED)
350 if (sc->sc_flags & MHZC_ETHERNET_ALLOCED)
352 if (sc->sc_flags
[all...]
/netbsd-current/sys/dev/tc/
H A Dasc_tcds.c92 unsigned sc_flags; member in struct:asc_softc
238 if (asc->sc_flags & ASC_MAPLOADED)
240 asc->sc_flags &= ~(ASC_DMAACTIVE|ASC_MAPLOADED);
266 asc->sc_flags = (ispullup) ? ASC_ISPULLUP : 0;
299 asc->sc_flags |= ASC_MAPLOADED;
309 asc->sc_flags |= ASC_DMAACTIVE;
350 if ((asc->sc_flags & ASC_DMAACTIVE) == 0)
355 asc->sc_flags &= ~ASC_DMAACTIVE;
367 if ((asc->sc_flags & ASC_ISPULLUP) == 0 &&
391 (sc->sc_flags
[all...]
/netbsd-current/sys/dev/gpib/
H A Drd.c124 int sc_flags; member in struct:rd_softc
422 sc->sc_flags = RDF_ALIVE;
474 if (sc == NULL || (sc->sc_flags & RDF_ALIVE) ==0)
480 while (sc->sc_flags & (RDF_OPENING | RDF_CLOSING))
489 sc->sc_flags |= RDF_OPENING;
491 sc->sc_flags &= ~RDF_OPENING;
547 sc->sc_flags |= RDF_CLOSING;
550 sc->sc_flags |= RDF_WANTED;
554 sc->sc_flags &= ~(RDF_CLOSING | RDF_WLABEL);
608 !(bp->b_flags & B_READ) && !(sc->sc_flags
[all...]
H A Dhil_gpib.c33 int sc_flags; member in struct:hil_softc
86 sc->sc_flags = HILF_ALIVE;
118 sc->sc_flags &= ~HILF_DELAY;
/netbsd-current/sys/dev/ic/
H A Dhd44780_subr.c134 if (row > 0 && (hdscr->hlcd_sc->sc_flags & (HD_MULTILINE|HD_MULTICHIP)))
151 if (row > 0 && (hdscr->hlcd_sc->sc_flags & (HD_MULTILINE|HD_MULTICHIP)))
171 if (row > 0 && (hdscr->hlcd_sc->sc_flags & (HD_MULTILINE|HD_MULTICHIP)))
185 if (!(hdscr->hlcd_sc->sc_flags & (HD_MULTILINE|HD_MULTICHIP)))
299 if (sc->sc_flags & HD_MULTILINE)
304 if (sc->sc_flags & HD_MULTICHIP)
360 * Finish device attach. sc_writereg, sc_readreg and sc_flags must be properly
373 if ((sc->sc_flags & HD_MULTILINE) && (2 * sc->sc_cols > HD_MAX_CHARS))
379 if ((sc->sc_flags & HD_UP) == 0)
410 if (ret != 0 || !(sc->sc_flags
[all...]
/netbsd-current/sys/net/
H A Dif_ppp.c393 sc->sc_flags = 0;
544 *(u_int *)data = sc->sc_flags;
566 if (sc->sc_flags & SC_CCP_OPEN && !(flags & SC_CCP_OPEN))
570 sc->sc_flags = (sc->sc_flags & ~SC_MASK) | flags;
613 if (sc->sc_flags & SC_DEBUG)
633 if (sc->sc_flags & SC_DEBUG)
639 sc->sc_flags &= ~SC_COMP_RUN;
650 if (sc->sc_flags & SC_DEBUG)
656 sc->sc_flags
[all...]
/netbsd-current/sys/dev/acpi/
H A Dacpi_cpu.c185 sc->sc_flags = acpicpu_md_flags();
287 if ((sc->sc_flags & ACPICPU_FLAG_C) != 0)
292 if ((sc->sc_flags & ACPICPU_FLAG_P) != 0)
295 if ((sc->sc_flags & ACPICPU_FLAG_T) != 0)
303 if ((sc->sc_flags & ACPICPU_FLAG_P) != 0) {
568 if ((sc->sc_flags & ACPICPU_FLAG_C) == 0)
576 if ((sc->sc_flags & ACPICPU_FLAG_P) == 0)
584 if ((sc->sc_flags & ACPICPU_FLAG_T) == 0)
603 if ((sc->sc_flags & ACPICPU_FLAG_C) != 0)
606 if ((sc->sc_flags
[all...]
H A Dacpi_cpu_cstate.c93 sc->sc_flags |= ACPICPU_FLAG_C_FADT;
104 sc->sc_flags |= ACPICPU_FLAG_C_DEP;
106 sc->sc_flags |= ACPICPU_FLAG_C;
116 if ((sc->sc_flags & ACPICPU_FLAG_C) == 0)
121 sc->sc_flags &= ~ACPICPU_FLAG_C;
152 if ((sc->sc_flags & ACPICPU_FLAG_C_FADT) != 0)
345 if ((sc->sc_flags & ACPICPU_FLAG_C_FFH) == 0)
356 if ((sc->sc_flags & ACPICPU_FLAG_C_FFH) == 0) {
585 if ((sc->sc_flags & ACPICPU_FLAG_PIIX4) != 0) {
596 sc->sc_flags |
[all...]
/netbsd-current/sys/arch/mipsco/obio/
H A Dasc.c70 int sc_flags; member in struct:asc_softc
165 esc->sc_flags = DMA_IDLE;
276 if (esc->sc_flags & DMA_MAPLOADED)
279 esc->sc_flags = DMA_IDLE;
296 if (esc->sc_flags & DMA_ACTIVE) {
305 esc->sc_flags = datain ? DMA_PULLUP : 0;
319 esc->sc_flags |= DMA_MAPLOADED;
343 if (esc->sc_flags & DMA_PULLUP) {
381 esc->sc_flags |= DMA_ACTIVE;
395 if ((esc->sc_flags
[all...]
/netbsd-current/sys/arch/ews4800mips/dev/
H A Dewsms.c95 u_int sc_flags; member in struct:ewsms_softc
173 sc->sc_flags |= EWSMS_F_RSTCMD;
174 sc->sc_flags |= EWSMS_F_FASTBAUD;
175 sc->sc_flags |= EWSMS_F_SWAPBTN;
176 sc->sc_flags |= EWSMS_F_SYNC1;
203 if (sc->sc_flags & EWSMS_F_FASTBAUD)
208 if (sc->sc_flags & EWSMS_F_RSTCMD) {
279 if (sc->sc_flags & EWSMS_F_SYNC1)
327 if (sc->sc_flags & EWSMS_F_SWAPBTN) {
/netbsd-current/sys/arch/arm/at91/
H A Dat91twi.c170 sc->sc_flags |= I2C_ERROR;
177 if (sc->sc_flags & I2C_READING && sr & TWI_SR_RXRDY) {
181 sc->sc_flags &= ~I2C_BUSY;
212 while (sc->sc_flags & I2C_BUSY) {
233 int rd = (sc->sc_flags & I2C_READING);
240 sc->sc_flags |= I2C_BUSY;
261 if (sc->sc_flags & I2C_ERROR) {
271 sc->sc_flags = I2C_READING;
281 sc->sc_flags = 0;
/netbsd-current/sys/arch/arm/broadcom/
H A Dbcm53xx_sdhc.c91 sc->sc_flags |= SDHC_FLAG_32BIT_ACCESS;
92 sc->sc_flags |= SDHC_FLAG_HAVE_CGM;
93 //sc->sc_flags |= SDHC_FLAG_USE_DMA;
97 (sc->sc_flags & SDHC_FLAG_USE_DMA) ? " (DMA enabled)" : "");
/netbsd-current/sys/arch/arm/fdt/
H A Dsmsh_fdt.c100 sc->sc_flags |= LAN9118_FLAGS_IRQ_ACTHI;
102 sc->sc_flags |= LAN9118_FLAGS_IRQ_PP;
109 sc->sc_flags |= LAN9118_FLAGS_NO_EEPROM;
/netbsd-current/sys/arch/landisk/dev/
H A Dpwrsw_obio.c54 int sc_flags; member in struct:pwrsw_obio_softc
112 sc->sc_flags |= SYSMON_ATTACHED;
128 if (sc->sc_flags & SYSMON_ATTACHED) {
/netbsd-current/sys/dev/qbus/
H A Dif_il.c96 int sc_flags; member in struct:il_softc
252 sc->sc_flags &= ~ILF_RUNNING;
266 if (sc->sc_flags & ILF_RUNNING)
307 if (sc->sc_flags & ILF_SETADDR) {
391 sc->sc_flags |= ILF_RUNNING;
414 if ((sc->sc_flags & ILF_STATPENDING) == 0)
420 sc->sc_flags &= ~ILF_STATPENDING;
463 if (sc->sc_flags & ILF_RCVPENDING) {
474 sc->sc_flags &= ~ILF_RCVPENDING;
548 sc->sc_flags |
[all...]

Completed in 470 milliseconds

1234567891011>>