Home
last modified time | relevance | path

Searched refs:sc_features (Results 1 – 15 of 15) sorted by relevance

/netbsd/src/sys/dev/hil/
Dhilms.c49 int sc_features; member
115 sc->sc_features = ha->ha_info[1]; in hilmsattach()
116 sc->sc_axes = sc->sc_features & HIL_AXMASK; in hilmsattach()
118 if (sc->sc_features & HIL_IOB) { in hilmsattach()
121 if (sc->sc_features & HIL_ABSOLUTE) { in hilmsattach()
131 sc->sc_features &= ~(HIL_IOB | HILIOB_PIO); in hilmsattach()
135 sc->sc_features |= (iob & HILIOB_PIO); in hilmsattach()
145 if (sc->sc_features & HILIOB_PIO) in hilmsattach()
147 if (sc->sc_features & HIL_ABSOLUTE) { in hilmsattach()
243 (sc->sc_features & HIL_16_BITS) ? 1 : 0; in hilms_callback()
[all …]
/netbsd/src/sys/arch/xen/xen/
Dxbd_xenbus.c177 int sc_features; member
312 if (sc->sc_features & BLKIF_FEATURE_INDIRECT) { in xbd_xenbus_attach()
549 if (sc->sc_features & BLKIF_FEATURE_INDIRECT) { in xbd_xenbus_resume()
700 sc->sc_features); in xbd_backend_changed()
733 sc->sc_features |= BLKIF_FEATURE_PERSISTENT; in xbd_connect()
776 sc->sc_features |= BLKIF_FEATURE_CACHE_FLUSH; in xbd_features()
783 sc->sc_features |= BLKIF_FEATURE_BARRIER; in xbd_features()
791 sc->sc_features |= BLKIF_FEATURE_INDIRECT; in xbd_features()
1056 if (sc->sc_features & BLKIF_FEATURE_CACHE_FLUSH) in xbdioctl()
1062 if ((sc->sc_features & BLKIF_FEATURE_CACHE_FLUSH) == 0) in xbdioctl()
[all …]
Dif_xennet_xenbus.c198 int sc_features; member
286 sc->sc_features |= FEATURE_RX_COPY; in xennet_xenbus_attach()
290 sc->sc_features |= FEATURE_IPV6CSUM; in xennet_xenbus_attach()
294 sc->sc_features |= FEATURE_SG; in xennet_xenbus_attach()
295 snprintb(buf, sizeof(buf), FEATURE_BITS, sc->sc_features); in xennet_xenbus_attach()
306 if (sc->sc_features & FEATURE_SG) { in xennet_xenbus_attach()
375 if (sc->sc_features & FEATURE_SG) in xennet_xenbus_attach()
393 if (sc->sc_features & FEATURE_IPV6CSUM) { in xennet_xenbus_attach()
/netbsd/src/sys/dev/ic/
Dncr53c9x.c376 sc->sc_features |= NCR_F_HASCFG3; in ncr53c9x_reset()
380 sc->sc_features |= NCR_F_SELATN3; in ncr53c9x_reset()
391 sc->sc_features |= in ncr53c9x_reset()
627 if (sc->sc_features & NCR_F_FASTSCSI) { in ncr53c9x_setsync()
655 if (sc->sc_features & NCR_F_HASCFG3) in ncr53c9x_setsync()
714 if (sc->sc_features & NCR_F_DMASELECT) { in ncr53c9x_select()
742 if (sc->sc_features & NCR_F_SELATN3) in ncr53c9x_select()
772 if ((sc->sc_features & NCR_F_DMASELECT) && !selatns) { in ncr53c9x_select()
2567 if (sc->sc_features & NCR_F_DMASELECT) { in ncr53c9x_intr()
2594 if (sc->sc_features & NCR_F_DMASELECT && in ncr53c9x_intr()
[all …]
Dncr53c9xvar.h335 int sc_features; /* Chip features */ member
/netbsd/src/sys/arch/arc/jazz/
Dasc.c187 sc->sc_features = NCR_F_FASTSCSI; in asc_attach()
224 sc->sc_features |= NCR_F_DMASELECT; in asc_attach()
/netbsd/src/sys/dev/pci/
Dif_aq.c1373 uint32_t sc_features; member
1387 #define HWTYPE_AQ1_P(sc) (((sc)->sc_features & FEATURES_AQ1) != 0)
1388 #define HWTYPE_AQ2_P(sc) (((sc)->sc_features & FEATURES_AQ2) != 0)
2628 sc->sc_features |= FEATURES_AQ1_REV_A0 | in aq1_fw_version_init()
2635 sc->sc_features |= FEATURES_AQ1_REV_B0 | in aq1_fw_version_init()
2643 sc->sc_features |= FEATURES_AQ1_REV_B1 | in aq1_fw_version_init()
2651 sc->sc_features = 0; in aq1_fw_version_init()
3029 if (sc->sc_features & FEATURES_AQ1_REV_B1) { in aq1_fw_downld_dwords()
3356 sc->sc_features |= FEATURES_AQ2; in aq2_fw_reboot()
3414 sc->sc_features |= FEATURES_AQ2_IFACE_A0; in aq2_fw_reboot()
[all …]
Dpcscp.c208 sc->sc_features = NCR_F_FASTSCSI; in pcscp_attach()
307 sc->sc_features |= NCR_F_DMASELECT; in pcscp_attach()
/netbsd/src/sys/arch/sun3/dev/
Desp.c245 sc->sc_features |= NCR_F_DMASELECT; in espattach()
/netbsd/src/sys/arch/sparc/dev/
Desp_obio.c254 sc->sc_features |= NCR_F_DMASELECT; in espattach_obio()
/netbsd/src/sys/arch/macppc/dev/
Desp.c243 sc->sc_features |= NCR_F_DMASELECT; in espattach()
/netbsd/src/sys/dev/tc/
Dasc_tcds.c201 sc->sc_features |= NCR_F_FASTSCSI; in asc_tcds_attach()
/netbsd/src/sys/dev/sbus/
Desp_sbus.c514 sc->sc_features |= NCR_F_DMASELECT; in espattach()
/netbsd/src/sys/arch/mac68k/obio/
Desp.c407 sc->sc_features |= NCR_F_DMASELECT; in espattach()
/netbsd/src/sys/arch/next68k/dev/
Desp.c271 sc->sc_features |= NCR_F_DMASELECT; in findchannel_defer()