Home
last modified time | relevance | path

Searched refs:gcr (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/io/audio/drv/audio810/
H A Daudio810.c1402 uint32_t gcr; in audio810_chip_init() local
1429 gcr |= (gcr & I810_GCR_COLD_RST) == 0 ? in audio810_chip_init()
1431 I810_BM_PUT32(I810_REG_GCR, gcr); in audio810_chip_init()
1486 uint32_t gcr; in audio810_set_channels() local
1502 gcr |= I810_GCR_SIS_2_CHANNELS; in audio810_set_channels()
1505 gcr |= I810_GCR_SIS_4_CHANNELS; in audio810_set_channels()
1508 gcr |= I810_GCR_SIS_6_CHANNELS; in audio810_set_channels()
1519 gcr &= ~I810_GCR_CHANNELS_MASK; in audio810_set_channels()
1526 gcr |= I810_GCR_2_CHANNELS; in audio810_set_channels()
1529 gcr |= I810_GCR_4_CHANNELS; in audio810_set_channels()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dhpet_acpi.c518 uint64_t gcr; in hpet_start_main_counter() local
521 gcr = *gcr_ptr; in hpet_start_main_counter()
523 gcr |= HPET_GCFR_ENABLE_CNF; in hpet_start_main_counter()
524 *gcr_ptr = gcr; in hpet_start_main_counter()
525 gcr = *gcr_ptr; in hpet_start_main_counter()
527 return (gcr & HPET_GCFR_ENABLE_CNF ? AE_OK : ~AE_OK); in hpet_start_main_counter()
534 uint64_t gcr; in hpet_stop_main_counter() local
537 gcr = *gcr_ptr; in hpet_stop_main_counter()
539 gcr &= ~HPET_GCFR_ENABLE_CNF; in hpet_stop_main_counter()
540 *gcr_ptr = gcr; in hpet_stop_main_counter()
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/intel/
H A Dvtd.c73 volatile uint32_t gcr; member
266 vtdmap->gcr = VTD_GCR_WBF; in vtd_wbflush()
306 vtdmap->gcr = VTD_GCR_TE; in vtd_translation_enable()
315 vtdmap->gcr = 0; in vtd_translation_disable()
569 vtdmap->gcr = VTD_GCR_SRTP; in vtd_enable()
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_82598.c83 u32 gcr = IXGBE_READ_REG(hw, IXGBE_GCR); in ixgbe_set_pcie_completion_timeout() local
87 if (gcr & IXGBE_GCR_CMPL_TMOUT_MASK) in ixgbe_set_pcie_completion_timeout()
94 if (!(gcr & IXGBE_GCR_CAP_VER2)) { in ixgbe_set_pcie_completion_timeout()
95 gcr |= IXGBE_GCR_CMPL_TMOUT_10ms; in ixgbe_set_pcie_completion_timeout()
109 gcr &= ~IXGBE_GCR_CMPL_TMOUT_RESEND; in ixgbe_set_pcie_completion_timeout()
110 IXGBE_WRITE_REG(hw, IXGBE_GCR, gcr); in ixgbe_set_pcie_completion_timeout()
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_mac.c2059 u32 gcr; in e1000_set_pcie_no_snoop_generic() local
2067 gcr = E1000_READ_REG(hw, E1000_GCR); in e1000_set_pcie_no_snoop_generic()
2068 gcr &= ~(PCIE_NO_SNOOP_ALL); in e1000_set_pcie_no_snoop_generic()
2069 gcr |= no_snoop; in e1000_set_pcie_no_snoop_generic()
2070 E1000_WRITE_REG(hw, E1000_GCR, gcr); in e1000_set_pcie_no_snoop_generic()
H A De1000_82575.c2229 u32 gcr = E1000_READ_REG(hw, E1000_GCR); in e1000_set_pcie_completion_timeout() local
2234 if (gcr & E1000_GCR_CMPL_TMOUT_MASK) in e1000_set_pcie_completion_timeout()
2241 if (!(gcr & E1000_GCR_CAP_VER2)) { in e1000_set_pcie_completion_timeout()
2242 gcr |= E1000_GCR_CMPL_TMOUT_10ms; in e1000_set_pcie_completion_timeout()
2262 gcr &= ~E1000_GCR_CMPL_TMOUT_RESEND; in e1000_set_pcie_completion_timeout()
2264 E1000_WRITE_REG(hw, E1000_GCR, gcr); in e1000_set_pcie_completion_timeout()
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_mac.c4798 mii_gcr_t gcr; in nxge_mii_xcvr_init() local
4987 gcr.value = 0; in nxge_mii_xcvr_init()
4988 gcr.bits.ms_mode_en = in nxge_mii_xcvr_init()
4990 gcr.bits.master = in nxge_mii_xcvr_init()
5017 gcr.value = 0; in nxge_mii_xcvr_init()
5018 gcr.bits.ms_mode_en = in nxge_mii_xcvr_init()
5020 gcr.bits.master = in nxge_mii_xcvr_init()
5062 gcr.value = 0; in nxge_mii_xcvr_init()
5128 mii_gcr_t gcr; in nxge_mii_xcvr_fiber_init() local
5284 gcr.value = 0; in nxge_mii_xcvr_fiber_init()
[all …]
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_mii.h67 uchar_t gcr; /* Gigabit basic mode control register. */ member
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_mac.c3358 mii_gcr_t gcr; in npi_mac_pcs_mii_write() local
3380 gcr.value = value; in npi_mac_pcs_mii_write()
3381 pcs_anar.bits.w0.full_duplex = gcr.bits.link_1000fdx; in npi_mac_pcs_mii_write()
3382 pcs_anar.bits.w0.half_duplex = gcr.bits.link_1000hdx; in npi_mac_pcs_mii_write()