Home
last modified time | relevance | path

Searched refs:fusectl (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/qat_c2xxx/
H A Dqat_c2xxx.c83 uint32_t fusectl; in qat_c2xxx_get_accel_mask() local
85 fusectl = pci_read_config(sc->sc_dev, FUSECTL_REG, 4); in qat_c2xxx_get_accel_mask()
87 return ((~fusectl) & ACCEL_MASK_C2XXX); in qat_c2xxx_get_accel_mask()
93 uint32_t fusectl; in qat_c2xxx_get_ae_mask() local
95 fusectl = pci_read_config(sc->sc_dev, FUSECTL_REG, 4); in qat_c2xxx_get_ae_mask()
96 if (fusectl & ( in qat_c2xxx_get_ae_mask()
102 if ((~fusectl & AE_MASK_C2XXX) == 0x3) { in qat_c2xxx_get_ae_mask()
109 fusectl |= 0x2; in qat_c2xxx_get_ae_mask()
111 return ((~fusectl) & AE_MASK_C2XXX); in qat_c2xxx_get_ae_mask()
118 uint32_t fusectl; in qat_c2xxx_get_sku() local
[all …]
H A Dqat.c370 uint32_t fusectl = pci_read_config(dev, FUSECTL_REG, 4); in qat_attach() local
372 i = (fusectl & FUSECTL_MASK) ? 1 : 0; in qat_attach()