Home
last modified time | relevance | path

Searched refs:tctl (Results 1 – 10 of 10) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dtracefile.c174 struct tracefiled_ctl *tctl = &trace_tctl; in cfs_trace_get_tage_try() local
178 wake_up(&tctl->tctl_waitq); in cfs_trace_get_tage_try()
960 struct tracefiled_ctl *tctl = arg; in tracefiled() local
974 complete(&tctl->tctl_start); in tracefiled()
1056 if (atomic_read(&tctl->tctl_shutdown)) { in tracefiled()
1065 add_wait_queue(&tctl->tctl_waitq, &__wait); in tracefiled()
1068 remove_wait_queue(&tctl->tctl_waitq, &__wait); in tracefiled()
1070 complete(&tctl->tctl_stop); in tracefiled()
1076 struct tracefiled_ctl *tctl = &trace_tctl; in cfs_trace_start_thread() local
1083 init_completion(&tctl->tctl_start); in cfs_trace_start_thread()
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/igb/
De1000_mac.c654 u32 tctl; in igb_config_collision_dist() local
656 tctl = rd32(E1000_TCTL); in igb_config_collision_dist()
658 tctl &= ~E1000_TCTL_COLD; in igb_config_collision_dist()
659 tctl |= E1000_COLLISION_DISTANCE << E1000_COLD_SHIFT; in igb_config_collision_dist()
661 wr32(E1000_TCTL, tctl); in igb_config_collision_dist()
Digb_main.c1774 u32 tctl, rctl; in igb_down() local
1791 tctl = rd32(E1000_TCTL); in igb_down()
1792 tctl &= ~E1000_TCTL_EN; in igb_down()
1793 wr32(E1000_TCTL, tctl); in igb_down()
3240 u32 tctl; in igb_setup_tctl() local
3246 tctl = rd32(E1000_TCTL); in igb_setup_tctl()
3247 tctl &= ~E1000_TCTL_CT; in igb_setup_tctl()
3248 tctl |= E1000_TCTL_PSP | E1000_TCTL_RTLC | in igb_setup_tctl()
3254 tctl |= E1000_TCTL_EN; in igb_setup_tctl()
3256 wr32(E1000_TCTL, tctl); in igb_setup_tctl()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
Dmac.c903 u32 tctl; in e1000e_config_collision_dist_generic() local
905 tctl = er32(TCTL); in e1000e_config_collision_dist_generic()
907 tctl &= ~E1000_TCTL_COLD; in e1000e_config_collision_dist_generic()
908 tctl |= E1000_COLLISION_DISTANCE << E1000_COLD_SHIFT; in e1000e_config_collision_dist_generic()
910 ew32(TCTL, tctl); in e1000e_config_collision_dist_generic()
D82571.c961 u32 ctrl, ctrl_ext, eecd, tctl; in e1000_reset_hw_82571() local
975 tctl = er32(TCTL); in e1000_reset_hw_82571()
976 tctl &= ~E1000_TCTL_EN; in e1000_reset_hw_82571()
977 ew32(TCTL, tctl); in e1000_reset_hw_82571()
Dnetdev.c649 u32 tctl = er32(TCTL); in e1000e_update_tdt_wa() local
651 ew32(TCTL, tctl & ~E1000_TCTL_EN); in e1000e_update_tdt_wa()
2932 u32 tdlen, tctl, tarc; in e1000_configure_tx() local
2977 tctl = er32(TCTL); in e1000_configure_tx()
2978 tctl &= ~E1000_TCTL_CT; in e1000_configure_tx()
2979 tctl |= E1000_TCTL_PSP | E1000_TCTL_RTLC | in e1000_configure_tx()
3012 ew32(TCTL, tctl); in e1000_configure_tx()
3811 u32 tdt, tctl, txd_lower = E1000_TXD_CMD_IFCS; in e1000_flush_tx_ring() local
3814 tctl = er32(TCTL); in e1000_flush_tx_ring()
3815 ew32(TCTL, tctl | E1000_TCTL_EN); in e1000_flush_tx_ring()
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/e1000/
De1000_main.c522 u32 rctl, tctl; in e1000_down() local
534 tctl = er32(TCTL); in e1000_down()
535 tctl &= ~E1000_TCTL_EN; in e1000_down()
536 ew32(TCTL, tctl); in e1000_down()
1601 u32 tdlen, tctl, tipg; in e1000_configure_tx() local
1655 tctl = er32(TCTL); in e1000_configure_tx()
1656 tctl &= ~E1000_TCTL_CT; in e1000_configure_tx()
1657 tctl |= E1000_TCTL_PSP | E1000_TCTL_RTLC | in e1000_configure_tx()
1681 ew32(TCTL, tctl); in e1000_configure_tx()
2364 u32 tctl; in e1000_82547_tx_fifo_stall_task() local
[all …]
De1000_hw.c1906 u32 tctl, coll_dist; in e1000_config_collision_dist() local
1913 tctl = er32(TCTL); in e1000_config_collision_dist()
1915 tctl &= ~E1000_TCTL_COLD; in e1000_config_collision_dist()
1916 tctl |= coll_dist << E1000_COLD_SHIFT; in e1000_config_collision_dist()
1918 ew32(TCTL, tctl); in e1000_config_collision_dist()
/linux-4.4.14/drivers/net/ethernet/ti/
Dtlan.c2610 u16 tctl; in tlan_phy_start_link() local
2664 tlan_mii_read_reg(dev, phy, TLAN_TLPHY_CTL, &tctl); in tlan_phy_start_link()
2666 tctl |= TLAN_TC_AUISEL; in tlan_phy_start_link()
2668 tctl &= ~TLAN_TC_AUISEL; in tlan_phy_start_link()
2677 tlan_mii_write_reg(dev, phy, TLAN_TLPHY_CTL, tctl); in tlan_phy_start_link()
/linux-4.4.14/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c741 u32 tctl; in ixgb_configure_tx() local
766 tctl = IXGB_TCTL_TCE | IXGB_TCTL_TXEN | IXGB_TCTL_TPDE; in ixgb_configure_tx()
767 IXGB_WRITE_REG(hw, TCTL, tctl); in ixgb_configure_tx()