/titanic_41/usr/src/uts/common/io/hxge/ |
H A D | hpi_pfc.c | 38 pfc_tcam_ctrl_t tctl; in hpi_pfc_tcam_check_completion() local 44 READ_TCAM_REG_CTL(handle, &tctl.value); in hpi_pfc_tcam_check_completion() 46 (tctl.bits.status != TCAM_CTL_RWC_RWC_STAT)) { in hpi_pfc_tcam_check_completion() 49 READ_TCAM_REG_CTL(handle, &tctl.value); in hpi_pfc_tcam_check_completion() 59 tctl.value = 0; in hpi_pfc_tcam_check_completion() 62 READ_TCAM_REG_CTL(handle, &tctl.value); in hpi_pfc_tcam_check_completion() 65 (tctl.bits.match != TCAM_CTL_RWC_RWC_MATCH)) { in hpi_pfc_tcam_check_completion() 68 READ_TCAM_REG_CTL(handle, &tctl.value); in hpi_pfc_tcam_check_completion() 83 return (tctl.value); in hpi_pfc_tcam_check_completion() 90 pfc_tcam_ctrl_t tctl; in hpi_pfc_tcam_entry_read() local [all …]
|
/titanic_41/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_fflp.c | 228 tcam_ctl_t tctl; in npi_fflp_tcam_check_completion() local 235 READ_TCAM_REG_CTL(handle, &tctl.value); in npi_fflp_tcam_check_completion() 237 (tctl.bits.ldw.stat != TCAM_CTL_RWC_RWC_STAT)) { in npi_fflp_tcam_check_completion() 240 READ_TCAM_REG_CTL(handle, &tctl.value); in npi_fflp_tcam_check_completion() 250 tctl.value = 0; in npi_fflp_tcam_check_completion() 254 READ_TCAM_REG_CTL(handle, &tctl.value); in npi_fflp_tcam_check_completion() 257 (tctl.bits.ldw.match != TCAM_CTL_RWC_RWC_MATCH)) { in npi_fflp_tcam_check_completion() 260 READ_TCAM_REG_CTL(handle, &tctl.value); in npi_fflp_tcam_check_completion() 267 tctl.value = NPI_TCAM_COMP_NO_MATCH; in npi_fflp_tcam_check_completion() 280 return (tctl.value); in npi_fflp_tcam_check_completion() [all …]
|
/titanic_41/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_workarounds.c | 65 u32 tctl; in e1000_fifo_workaround_82547() local 106 tctl = E1000_READ_REG(hw, E1000_TCTL); in e1000_fifo_workaround_82547() 107 E1000_WRITE_REG(hw, E1000_TCTL, tctl & ~E1000_TCTL_EN); in e1000_fifo_workaround_82547() 116 E1000_WRITE_REG(hw, E1000_TCTL, tctl); in e1000_fifo_workaround_82547()
|
/titanic_41/usr/src/uts/common/io/mxfe/ |
H A D | mxfe.c | 1010 unsigned tctl; in mxfe_startnway() local 1035 tctl = GETCSR(mxfep, CSR_TCTL); in mxfe_startnway() 1036 tctl &= ~(TCTL_100FDX | TCTL_100HDX | TCTL_HDX); in mxfe_startnway() 1039 tctl |= TCTL_100FDX; in mxfe_startnway() 1042 tctl |= TCTL_100HDX; in mxfe_startnway() 1048 tctl |= TCTL_HDX; in mxfe_startnway() 1050 tctl |= TCTL_PWR | TCTL_ANE | TCTL_LTE | TCTL_RSQ; in mxfe_startnway() 1056 DBG(DPHY, "writing tctl = 0x%x", tctl); in mxfe_startnway() 1057 PUTCSR(mxfep, CSR_TCTL, tctl); in mxfe_startnway() 1219 unsigned tctl; in mxfe_startphynway() local [all …]
|
/titanic_41/usr/src/grub/grub-0.97/netboot/ |
H A D | e1000.c | 2038 uint32_t tctl; local 2040 tctl = E1000_READ_REG(hw, TCTL); 2042 tctl &= ~E1000_TCTL_COLD; 2043 tctl |= E1000_COLLISION_DISTANCE << E1000_COLD_SHIFT; 2045 E1000_WRITE_REG(hw, TCTL, tctl); 3368 unsigned long tctl; local 3389 tctl = E1000_READ_REG(&hw, TCTL); 3391 tctl &= ~E1000_TCTL_CT; 3392 tctl |= E1000_TCTL_EN | E1000_TCTL_PSP | 3395 tctl = E1000_TCTL_PSP | E1000_TCTL_EN | [all …]
|
H A D | tlan.c | 1559 u16 tctl; local 1618 TLan_MiiReadReg(nic, phy, TLAN_TLPHY_CTL, &tctl); 1620 tctl |= TLAN_TC_AUISEL; 1622 tctl &= ~TLAN_TC_AUISEL; 1632 TLan_MiiWriteReg(nic, phy, TLAN_TLPHY_CTL, tctl);
|
/titanic_41/usr/src/uts/common/io/e1000api/ |
H A D | e1000_mac.c | 1229 u32 tctl; in e1000_config_collision_dist_generic() local 1233 tctl = E1000_READ_REG(hw, E1000_TCTL); in e1000_config_collision_dist_generic() 1235 tctl &= ~E1000_TCTL_COLD; in e1000_config_collision_dist_generic() 1236 tctl |= E1000_COLLISION_DISTANCE << E1000_COLD_SHIFT; in e1000_config_collision_dist_generic() 1238 E1000_WRITE_REG(hw, E1000_TCTL, tctl); in e1000_config_collision_dist_generic()
|
H A D | e1000_82571.c | 1067 u32 ctrl, ctrl_ext, eecd, tctl; in e1000_reset_hw_82571() local 1083 tctl = E1000_READ_REG(hw, E1000_TCTL); in e1000_reset_hw_82571() 1084 tctl &= ~E1000_TCTL_EN; in e1000_reset_hw_82571() 1085 E1000_WRITE_REG(hw, E1000_TCTL, tctl); in e1000_reset_hw_82571()
|