| /NextBSD/sys/dev/e1000/ |
| HD | e1000_82543.c | 596 E1000_WRITE_REG(hw, E1000_CTRL, (*ctrl | E1000_CTRL_MDC)); in e1000_raise_mdi_clk_82543() 615 E1000_WRITE_REG(hw, E1000_CTRL, (*ctrl & ~E1000_CTRL_MDC)); in e1000_lower_mdi_clk_82543() 644 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_shift_out_mdi_bits_82543() 661 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_shift_out_mdi_bits_82543() 697 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_shift_in_mdi_bits_82543() 706 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_shift_in_mdi_bits_82543() 720 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_shift_in_mdi_bits_82543() 923 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_82543() 927 E1000_WRITE_REG(hw, E1000_CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_82543() 933 E1000_WRITE_REG_IO(hw, E1000_CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_82543() [all …]
|
| HD | e1000_82542.c | 218 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_82542() 221 E1000_WRITE_REG(hw, E1000_CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_82542() 289 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_init_hw_82542() 290 E1000_WRITE_REG(hw, E1000_CTRL, ctrl | E1000_CTRL_PRIOR); in e1000_init_hw_82542() 375 u32 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_led_on_82542() 381 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_led_on_82542() 394 u32 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_led_off_82542() 400 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_led_off_82542()
|
| HD | e1000_mac.c | 784 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_check_for_fiber_link_generic() 808 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_check_for_fiber_link_generic() 810 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_check_for_fiber_link_generic() 826 E1000_WRITE_REG(hw, E1000_CTRL, (ctrl & ~E1000_CTRL_SLU)); in e1000_check_for_fiber_link_generic() 851 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_check_for_serdes_link_generic() 873 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_check_for_serdes_link_generic() 875 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_check_for_serdes_link_generic() 891 E1000_WRITE_REG(hw, E1000_CTRL, (ctrl & ~E1000_CTRL_SLU)); in e1000_check_for_serdes_link_generic() 1183 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_setup_fiber_serdes_link_generic() 1202 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_setup_fiber_serdes_link_generic() [all …]
|
| HD | e1000_82571.c | 1105 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_82571() 1108 E1000_WRITE_REG(hw, E1000_CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_82571() 1325 reg = E1000_READ_REG(hw, E1000_CTRL); in e1000_initialize_hw_bits_82571() 1327 E1000_WRITE_REG(hw, E1000_CTRL, reg); in e1000_initialize_hw_bits_82571() 1577 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_setup_copper_link_82571() 1580 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_setup_copper_link_82571() 1662 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_check_for_serdes_link_82571() 1695 E1000_WRITE_REG(hw, E1000_CTRL, in e1000_check_for_serdes_link_82571() 1731 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_check_for_serdes_link_82571() 1754 E1000_WRITE_REG(hw, E1000_CTRL, (ctrl & in e1000_check_for_serdes_link_82571()
|
| HD | e1000_82540.c | 290 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_82540() 304 E1000_WRITE_REG_IO(hw, E1000_CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_82540() 419 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_setup_copper_link_82540() 422 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_setup_copper_link_82540()
|
| HD | e1000_82541.c | 315 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_82541() 319 E1000_WRITE_REG(hw, E1000_CTRL, (ctrl | E1000_CTRL_PHY_RST)); in e1000_reset_hw_82541() 332 E1000_WRITE_REG_IO(hw, E1000_CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_82541() 335 E1000_WRITE_REG(hw, E1000_CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_82541() 541 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_setup_copper_link_82541() 544 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_setup_copper_link_82541()
|
| HD | e1000_vf.c | 269 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_vf() 270 E1000_WRITE_REG(hw, E1000_CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_vf()
|
| HD | e1000_ich8lan.c | 270 mac_reg = E1000_READ_REG(hw, E1000_CTRL); in e1000_toggle_lanphypc_pch_lpt() 273 E1000_WRITE_REG(hw, E1000_CTRL, mac_reg); in e1000_toggle_lanphypc_pch_lpt() 277 E1000_WRITE_REG(hw, E1000_CTRL, mac_reg); in e1000_toggle_lanphypc_pch_lpt() 2315 ctrl_reg = E1000_READ_REG(hw, E1000_CTRL); in e1000_configure_k1_ich8lan() 2319 E1000_WRITE_REG(hw, E1000_CTRL, reg); in e1000_configure_k1_ich8lan() 2324 E1000_WRITE_REG(hw, E1000_CTRL, ctrl_reg); in e1000_configure_k1_ich8lan() 4229 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_ich8lan() 4247 E1000_WRITE_REG(hw, E1000_CTRL, (ctrl | E1000_CTRL_RST)); in e1000_reset_hw_ich8lan() 4452 reg = E1000_READ_REG(hw, E1000_CTRL); in e1000_initialize_hw_bits_ich8lan() 4454 E1000_WRITE_REG(hw, E1000_CTRL, reg); in e1000_initialize_hw_bits_ich8lan() [all …]
|
| HD | e1000_82575.c | 1444 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_82575() 1447 E1000_WRITE_REG(hw, E1000_CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_82575() 1544 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_setup_copper_link_82575() 1547 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_setup_copper_link_82575() 1648 ctrl_reg = E1000_READ_REG(hw, E1000_CTRL); in e1000_setup_serdes_link_82575() 1697 E1000_WRITE_REG(hw, E1000_CTRL, ctrl_reg); in e1000_setup_serdes_link_82575() 2461 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_82580() 2490 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_reset_hw_82580()
|
| HD | e1000_80003es2lan.c | 843 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_80003es2lan() 850 E1000_WRITE_REG(hw, E1000_CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_80003es2lan() 1184 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_setup_copper_link_80003es2lan() 1187 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_setup_copper_link_80003es2lan()
|
| HD | e1000_i210.c | 857 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_pll_workaround_i210() 858 E1000_WRITE_REG(hw, E1000_CTRL, ctrl|E1000_CTRL_PHY_RST); in e1000_pll_workaround_i210()
|
| HD | e1000_phy.c | 2024 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_phy_force_speed_duplex_setup() 2059 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_phy_force_speed_duplex_setup() 2868 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_phy_hw_reset_generic() 2869 E1000_WRITE_REG(hw, E1000_CTRL, ctrl | E1000_CTRL_PHY_RST); in e1000_phy_hw_reset_generic() 2874 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_phy_hw_reset_generic()
|
| HD | if_lem.c | 1283 ctrl = E1000_READ_REG(&adapter->hw, E1000_CTRL); in lem_init_locked() 1285 E1000_WRITE_REG(&adapter->hw, E1000_CTRL, ctrl); in lem_init_locked() 3996 reg = E1000_READ_REG(hw, E1000_CTRL); in lem_setup_vlan_hw_support() 3998 E1000_WRITE_REG(hw, E1000_CTRL, reg); in lem_setup_vlan_hw_support() 4192 ctrl = E1000_READ_REG(&adapter->hw, E1000_CTRL); in lem_enable_wakeup() 4194 E1000_WRITE_REG(&adapter->hw, E1000_CTRL, ctrl); in lem_enable_wakeup() 4285 mreg = E1000_READ_REG(hw, E1000_CTRL); in lem_enable_phy_wakeup() 4555 CTLTYPE_UINT | CTLFLAG_RD, adapter, E1000_CTRL, in lem_add_hw_stats()
|
| HD | e1000_regs.h | 38 #define E1000_CTRL 0x00000 /* Device Control - RW */ macro
|
| HD | if_em.c | 1413 ctrl = E1000_READ_REG(&adapter->hw, E1000_CTRL); in em_init_locked() 1415 E1000_WRITE_REG(&adapter->hw, E1000_CTRL, ctrl); in em_init_locked() 4932 reg = E1000_READ_REG(hw, E1000_CTRL); in em_setup_vlan_hw_support() 4934 E1000_WRITE_REG(hw, E1000_CTRL, reg); in em_setup_vlan_hw_support() 5165 ctrl = E1000_READ_REG(&adapter->hw, E1000_CTRL); in em_enable_wakeup() 5167 E1000_WRITE_REG(&adapter->hw, E1000_CTRL, ctrl); in em_enable_wakeup() 5258 mreg = E1000_READ_REG(hw, E1000_CTRL); in em_enable_phy_wakeup() 5519 CTLTYPE_UINT | CTLFLAG_RD, adapter, E1000_CTRL, in em_add_hw_stats()
|
| HD | if_igb.c | 5284 reg = E1000_READ_REG(hw, E1000_CTRL); in igb_setup_vlan_hw_support() 5286 E1000_WRITE_REG(hw, E1000_CTRL, reg); in igb_setup_vlan_hw_support() 5712 adapter->device_control = E1000_READ_REG(hw, E1000_CTRL); in igb_update_stats_counters()
|