Home
last modified time | relevance | path

Searched refs:sc_cfg (Results 1 – 6 of 6) sorted by relevance

/openbsd/sys/arch/sparc64/dev/
H A Dfd.c200 int sc_cfg; /* current configuration */ member
467 if (fdc_wrfifo(fdc, fdc->sc_cfg) != 0) in fdconf()
1532 ((st0 & 0xf8) != 0x20 || (fdc->sc_cfg & CFG_EIS) == 0))) { in fdcstate()
1550 int thr = fdc->sc_cfg & CFG_THRHLD_MASK; in fdcstate()
1553 fdc->sc_cfg &= ~CFG_THRHLD_MASK; in fdcstate()
1554 fdc->sc_cfg |= (thr & CFG_THRHLD_MASK); in fdcstate()
1578 int thr = fdc->sc_cfg & CFG_THRHLD_MASK; in fdcstate()
1581 fdc->sc_cfg &= ~CFG_THRHLD_MASK; in fdcstate()
1582 fdc->sc_cfg |= (thr & CFG_THRHLD_MASK); in fdcstate()
1870 fdc->sc_cfg &= ~CFG_THRHLD_MASK; in fdioctl()
[all …]
/openbsd/sys/arch/octeon/dev/
H A Doctpcie.c205 const struct octpcie_config *sc_cfg; member
307 sc->sc_cfg = cfg; in octpcie_attach()
433 const struct octpcie_config *cfg = sc->sc_cfg; in octpcie_port_reset()
792 if (sc->sc_cfg->cfg_has_ciu3) in octpcie_pci_intr_map()
/openbsd/sys/dev/ic/
H A Dmfivar.h158 struct mfi_conf *sc_cfg; member
H A Dmfi.c1603 if (sc->sc_cfg) in mfi_bio_getitall()
1604 free(sc->sc_cfg, M_DEVBUF, 0); in mfi_bio_getitall()
1605 sc->sc_cfg = cfg; in mfi_bio_getitall()
1659 if (sc->sc_cfg == NULL) in mfi_ioctl_inq()
1661 cfg = sc->sc_cfg; in mfi_ioctl_inq()
1800 cfg = sc->sc_cfg; in mfi_ioctl_disk()
/openbsd/sys/dev/usb/
H A Ducycom.c111 uint8_t sc_cfg; /* Data format */ member
406 cfg = sc->sc_cfg; in ucycom_param()
/openbsd/sys/dev/pci/
H A Dmfii.c317 struct mfi_conf *sc_cfg; member
2939 if (sc->sc_cfg) in mfii_bio_getitall()
2940 free(sc->sc_cfg, M_DEVBUF, 0); in mfii_bio_getitall()
2941 sc->sc_cfg = cfg; in mfii_bio_getitall()
2995 if (sc->sc_cfg == NULL) in mfii_ioctl_inq()
2997 cfg = sc->sc_cfg; in mfii_ioctl_inq()
3142 cfg = sc->sc_cfg; in mfii_ioctl_disk()
3452 size = sizeof *hs + sizeof(uint16_t) * sc->sc_cfg->mfc_no_array; in mfii_makespare()