/openbsd/sys/dev/ic/ |
H A D | wdc.c | 1227 int cf_flags = drvp->cf_flags; in wdc_probe_caps() local 1262 wdc->cap, cf_flags), DEBUG_PROBE); in wdc_probe_caps() 1412 if (cf_flags & ATA_CONFIG_PIO_SET) { in wdc_probe_caps() 1421 if (cf_flags & ATA_CONFIG_DMA_SET) { in wdc_probe_caps() 1422 if ((cf_flags & ATA_CONFIG_DMA_MODES) == in wdc_probe_caps() 1435 if (cf_flags & ATA_CONFIG_UDMA_SET) { in wdc_probe_caps() 1436 if ((cf_flags & ATA_CONFIG_UDMA_MODES) == in wdc_probe_caps() 1561 int cf_flags = drvp->cf_flags; in wdc_downgrade_mode() local 1568 if ((cf_flags & ATA_CONFIG_PIO_SET) || in wdc_downgrade_mode() 1569 (cf_flags & ATA_CONFIG_DMA_SET) || in wdc_downgrade_mode() [all …]
|
/openbsd/sys/dev/pv/ |
H A D | viornd.c | 100 if (sc->sc_dev.dv_cfdata->cf_flags & VIORND_ONESHOT) { in viornd_attach() 103 shift = VIORND_INTERVAL_SHIFT(sc->sc_dev.dv_cfdata->cf_flags); in viornd_attach()
|
/openbsd/sys/dev/fdt/ |
H A D | virtio_mmio.c | 392 if (!(vsc->sc_dev.dv_cfdata->cf_flags & VIRTIO_CF_NO_INDIRECT) && in virtio_mmio_negotiate_features() 393 !(vsc->sc_child->dv_cfdata->cf_flags & VIRTIO_CF_NO_INDIRECT)) { in virtio_mmio_negotiate_features() 403 ((vsc->sc_dev.dv_cfdata->cf_flags & VIRTIO_CF_NO_EVENT_IDX) || in virtio_mmio_negotiate_features() 404 (vsc->sc_child->dv_cfdata->cf_flags & VIRTIO_CF_NO_EVENT_IDX))) { in virtio_mmio_negotiate_features()
|
/openbsd/sys/dev/isa/ |
H A D | wdc_isa.c | 99 if (cf->cf_flags & WDC_OPTION_PROBE_VERBOSE) in wdc_isa_probe() 158 if (sc->sc_wdcdev.sc_dev.dv_cfdata->cf_flags & WDC_OPTIONS_32) in wdc_isa_attach()
|
H A D | viasio.c | 233 if ((sc->sc_dev.dv_cfdata->cf_flags & in viasio_hm_init() 271 if ((sc->sc_dev.dv_cfdata->cf_flags & in viasio_hm_init() 464 if ((sc->sc_dev.dv_cfdata->cf_flags & in viasio_wdg_init()
|
H A D | pckbc_isa.c | 172 pckbc_attach(sc, cf->cf_flags); in pckbc_isa_attach()
|
H A D | if_we.c | 387 if (self->dv_cfdata->cf_flags & WE_FLAGS_FORCE_16BIT_MODE) in we_attach() 389 if (self->dv_cfdata->cf_flags & WE_FLAGS_FORCE_8BIT_MODE) in we_attach() 498 sc->sc_flags = self->dv_cfdata->cf_flags; in we_attach()
|
H A D | sch311x.c | 474 if (sc->sc_dev.dv_cfdata->cf_flags & SCHSIO_CFFLAGS_WDTEN) { in schsio_wdt_init()
|
H A D | if_ec.c | 409 if (sc->sc_dev.dv_cfdata->cf_flags & DP8390_NO_MULTI_BUFFERING) in ec_attach()
|
/openbsd/sys/arch/i386/i386/ |
H A D | apm.c | 754 if ((sc->sc_dev.dv_cfdata->cf_flags & APM_VERMASK) && in apmattach() 756 (sc->sc_dev.dv_cfdata->cf_flags & APM_VERMASK)) in apmattach() 758 (sc->sc_dev.dv_cfdata->cf_flags & APM_VERMASK); in apmattach() 759 if (sc->sc_dev.dv_cfdata->cf_flags & APM_NOCLI) { in apmattach() 763 if (sc->sc_dev.dv_cfdata->cf_flags & APM_BEBATT) in apmattach()
|
/openbsd/sys/dev/ata/ |
H A D | atavar.h | 86 int cf_flags; member
|
H A D | wd.c | 183 wd->drvp->cf_flags = wd->sc_dev.dv_cfdata->cf_flags; in wdattach()
|
/openbsd/sys/dev/pci/ |
H A D | virtio_pci.c | 642 flags = vsc->sc_dev.dv_cfdata->cf_flags; in virtio_pci_attach() 802 if (!(vsc->sc_dev.dv_cfdata->cf_flags & VIRTIO_CF_NO_INDIRECT) && in virtio_pci_negotiate_features() 803 !(vsc->sc_child->dv_cfdata->cf_flags & VIRTIO_CF_NO_INDIRECT)) { in virtio_pci_negotiate_features() 814 ((vsc->sc_dev.dv_cfdata->cf_flags & VIRTIO_CF_NO_EVENT_IDX) || in virtio_pci_negotiate_features() 815 (vsc->sc_child->dv_cfdata->cf_flags & VIRTIO_CF_NO_EVENT_IDX))) { in virtio_pci_negotiate_features()
|
H A D | fmsradio.c | 169 r->tea.flags = sc->sc_dev.dv_cfdata->cf_flags; in fmsradio_attach() 538 sc->sc_dev.dv_cfdata->cf_flags & TEA5757_TEA5759); in fmsradio_get_info()
|
/openbsd/sys/sys/ |
H A D | device.h | 97 int cf_flags; /* flags from config */ member
|
/openbsd/sys/kern/ |
H A D | subr_userconf.c | 304 printf(" flags 0x%x\n", cd->cf_flags); in userconf_pdev() 505 tmp = cd->cf_flags; in userconf_change() 508 cd->cf_flags = tmp; in userconf_change()
|
/openbsd/sys/dev/atapiscsi/ |
H A D | atapiscsi.c | 204 if (chp->wdc->sc_dev.dv_cfdata->cf_flags & WDC_OPTION_PROBE_VERBOSE) in atapiscsi_attach() 213 drvp->cf_flags = as->sc_dev.dv_cfdata->cf_flags; in atapiscsi_attach() 271 if (chp->wdc->sc_dev.dv_cfdata->cf_flags & WDC_OPTION_PROBE_VERBOSE) in atapiscsi_attach()
|
/openbsd/usr.sbin/config/ |
H A D | ukcutil.c | 244 printf(" flags 0x%x\n", cd->cf_flags); in pdev() 446 modify("flags", &cd->cf_flags); in change() 552 cd->cf_flags = atoi(str); in change_history()
|
/openbsd/sys/dev/i2c/ |
H A D | fintek.c | 140 if (sc->sc_dev.dv_cfdata->cf_flags & FINTEK_OPTION_FULLSPEED) in fintek_attach()
|
/openbsd/sys/arch/hppa/hppa/ |
H A D | mem.c | 214 if (sc->sc_dev.dv_cfdata->cf_flags & 1) in memattach()
|
/openbsd/sys/dev/cardbus/ |
H A D | cardslot.c | 112 sc->sc_dev.dv_cfdata->cf_flags); in cardslotattach()
|
/openbsd/sys/dev/usb/ |
H A D | udl.c | 307 if ((sc->sc_dev.dv_cfdata->cf_flags & 0xff00) > 0) { in udl_attach() 308 i = ((sc->sc_dev.dv_cfdata->cf_flags & 0xff00) >> 8) - 1; in udl_attach() 313 sc->sc_dev.dv_cfdata->cf_flags, i); in udl_attach() 374 if ((sc->sc_dev.dv_cfdata->cf_flags & 0xff) > 0) { in udl_attach() 375 i = (sc->sc_dev.dv_cfdata->cf_flags & 0xff) - 1; in udl_attach() 383 sc->sc_dev.dv_cfdata->cf_flags); in udl_attach()
|
/openbsd/sys/dev/sbus/ |
H A D | cgsix.c | 208 sc->sc_sunfb.sf_dev.dv_cfdata->cf_flags |= CG6_CFFLAG_NOACCEL; in cgsixattach() 210 if ((sc->sc_sunfb.sf_dev.dv_cfdata->cf_flags & CG6_CFFLAG_NOACCEL) in cgsixattach() 260 if ((sc->sc_sunfb.sf_dev.dv_cfdata->cf_flags & in cgsix_ioctl()
|
/openbsd/sys/arch/i386/pci/ |
H A D | pcibios.c | 168 pcibios_flags = sc->sc_dev.dv_cfdata->cf_flags; in pcibiosattach()
|
/openbsd/sys/arch/sparc64/dev/ |
H A D | creator.c | 185 if ((sc->sc_sunfb.sf_dev.dv_cfdata->cf_flags & CREATOR_CFFLAG_NOACCEL) in creator_attach() 238 if ((sc->sc_sunfb.sf_dev.dv_cfdata->cf_flags & in creator_ioctl()
|