/drivers/net/ethernet/smsc/ |
D | epic100.c | 186 #define ew32(reg, val) iowrite32(val, ioaddr + (reg)) macro 405 ew32(GENCTL, 0x4200); in epic_init_one() 409 ew32(TEST1, 0x0008); in epic_init_one() 412 ew32(MIICfg, 0x12); in epic_init_one() 414 ew32(NVCTL, (er32(NVCTL) & ~0x003c) | 0x4800); in epic_init_one() 415 ew32(GENCTL, 0x0200); in epic_init_one() 469 ew32(NVCTL, er32(NVCTL) & ~0x483c); in epic_init_one() 470 ew32(GENCTL, 0x0008); in epic_init_one() 541 ew32(INTMASK, 0x00000000); in epic_disable_int() 556 ew32(INTMASK, ep->irq_mask & ~EpicNapiEvent); in epic_napi_irq_off() [all …]
|
/drivers/net/ethernet/intel/e1000e/ |
D | 82571.c | 154 ew32(EECD, eecd); in e1000_init_nvm_params_82571() 283 ew32(SWSM2, swsm2 | E1000_SWSM2_LOCK); in e1000_init_mac_params_82571() 304 ew32(SWSM, swsm & ~E1000_SWSM_SMBI); in e1000_init_mac_params_82571() 468 ew32(SWSM, swsm | E1000_SWSM_SWESMBI); in e1000_get_hw_semaphore_82571() 499 ew32(SWSM, swsm); in e1000_put_hw_semaphore_82571() 517 ew32(EXTCNF_CTRL, extcnf_ctrl); in e1000_get_hw_semaphore_82573() 550 ew32(EXTCNF_CTRL, extcnf_ctrl); in e1000_put_hw_semaphore_82573() 607 ew32(POEMB, data); in e1000_set_d0_lplu_state_82574() 634 ew32(POEMB, data); in e1000_set_d3_lplu_state_82574() 755 ew32(HICR, E1000_HICR_FW_RESET_ENABLE); in e1000_update_nvm_checksum_82571() [all …]
|
D | mac.c | 230 ew32(RAL(index), rar_low); in e1000e_rar_set_generic() 232 ew32(RAH(index), rar_high); in e1000e_rar_set_generic() 488 ew32(TXCW, (mac->txcw & ~E1000_TXCW_ANE)); in e1000e_check_for_fiber_link() 493 ew32(CTRL, ctrl); in e1000e_check_for_fiber_link() 508 ew32(TXCW, mac->txcw); in e1000e_check_for_fiber_link() 509 ew32(CTRL, (ctrl & ~E1000_CTRL_SLU)); in e1000e_check_for_fiber_link() 551 ew32(TXCW, (mac->txcw & ~E1000_TXCW_ANE)); in e1000e_check_for_serdes_link() 556 ew32(CTRL, ctrl); in e1000e_check_for_serdes_link() 571 ew32(TXCW, mac->txcw); in e1000e_check_for_serdes_link() 572 ew32(CTRL, (ctrl & ~E1000_CTRL_SLU)); in e1000e_check_for_serdes_link() [all …]
|
D | netdev.c | 613 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000e_update_rdt_wa() 630 ew32(TCTL, tctl & ~E1000_TCTL_EN); in e1000e_update_tdt_wa() 1104 ew32(TIDV, adapter->tx_int_delay | E1000_TIDV_FPD); in e1000_print_hw_hang() 1110 ew32(TIDV, adapter->tx_int_delay | E1000_TIDV_FPD); in e1000_print_hw_hang() 1782 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000_intr_msi() 1862 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000_intr() 1906 ew32(ICS, (icr & adapter->eiac_mask)); in e1000_msix_other() 1916 ew32(IMS, E1000_IMS_OTHER | IMS_OTHER_MASK); in e1000_msix_other() 1933 ew32(ICS, tx_ring->ims_val); in e1000_intr_msix_tx() 1936 ew32(IMS, adapter->tx_ring->ims_val); in e1000_intr_msix_tx() [all …]
|
D | nvm.c | 16 ew32(EECD, *eecd); in e1000_raise_eec_clk() 31 ew32(EECD, *eecd); in e1000_lower_eec_clk() 62 ew32(EECD, eecd); in e1000_shift_out_eec_bits() 74 ew32(EECD, eecd); in e1000_shift_out_eec_bits() 155 ew32(EECD, eecd | E1000_EECD_REQ); in e1000e_acquire_nvm() 168 ew32(EECD, eecd); in e1000e_acquire_nvm() 190 ew32(EECD, eecd); in e1000_standby_nvm() 194 ew32(EECD, eecd); in e1000_standby_nvm() 232 ew32(EECD, eecd); in e1000e_release_nvm() 252 ew32(EECD, eecd); in e1000_ready_nvm_eeprom() [all …]
|
D | 80003es2lan.c | 303 ew32(SW_FW_SYNC, swfw_sync); in e1000_acquire_swfw_sync_80003es2lan() 327 ew32(SW_FW_SYNC, swfw_sync); in e1000_release_swfw_sync_80003es2lan() 677 ew32(IMC, 0xffffffff); in e1000_reset_hw_80003es2lan() 679 ew32(RCTL, 0); in e1000_reset_hw_80003es2lan() 680 ew32(TCTL, E1000_TCTL_PSP); in e1000_reset_hw_80003es2lan() 692 ew32(CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_80003es2lan() 716 ew32(IMC, 0xffffffff); in e1000_reset_hw_80003es2lan() 780 ew32(TXDCTL(0), reg_data); in e1000_init_hw_80003es2lan() 786 ew32(TXDCTL(1), reg_data); in e1000_init_hw_80003es2lan() 791 ew32(TCTL, reg_data); in e1000_init_hw_80003es2lan() [all …]
|
D | ich8lan.c | 233 ew32(CTRL_EXT, mac_reg); in e1000_phy_is_accessible_pchlan() 255 ew32(FEXTNVM3, mac_reg); in e1000_toggle_lanphypc_pch_lpt() 261 ew32(CTRL, mac_reg); in e1000_toggle_lanphypc_pch_lpt() 265 ew32(CTRL, mac_reg); in e1000_toggle_lanphypc_pch_lpt() 332 ew32(CTRL_EXT, mac_reg); in e1000_init_phy_workarounds_pchlan() 368 ew32(CTRL_EXT, mac_reg); in e1000_init_phy_workarounds_pchlan() 939 ew32(FEXTNVM6, fextnvm6 | E1000_FEXTNVM6_REQ_PLL_CLK); in e1000_k1_workaround_lpt_lp() 983 ew32(FEXTNVM6, fextnvm6); in e1000_k1_workaround_lpt_lp() 1080 ew32(LTRV, reg); in e1000_platform_pm_pch_lpt() 1114 ew32(H2ME, mac_reg); in e1000_enable_ulp_lpt_lp() [all …]
|
D | ethtool.c | 854 ew32(STATUS, toggle); in e1000_reg_test() 863 ew32(STATUS, before); in e1000_reg_test() 1022 ew32(IMC, 0xFFFFFFFF); in e1000_intr_test() 1053 ew32(IMC, mask); in e1000_intr_test() 1054 ew32(ICS, mask); in e1000_intr_test() 1071 ew32(IMS, mask); in e1000_intr_test() 1072 ew32(ICS, mask); in e1000_intr_test() 1089 ew32(IMC, ~mask & 0x00007FFF); in e1000_intr_test() 1090 ew32(ICS, ~mask & 0x00007FFF); in e1000_intr_test() 1102 ew32(IMC, 0xFFFFFFFF); in e1000_intr_test() [all …]
|
D | ptp.c | 62 ew32(TIMINCA, timinca); in e1000e_phc_adjfreq() 118 ew32(TSYNCTXCTL, tsync_ctrl); in e1000e_phc_get_syncdevicetime()
|
D | phy.c | 136 ew32(MDIC, mdic); in e1000e_read_phy_reg_mdic() 200 ew32(MDIC, mdic); in e1000e_write_phy_reg_mdic() 467 ew32(KMRNCTRLSTA, kmrnctrlsta); in __e1000_read_kmrn_reg() 540 ew32(KMRNCTRLSTA, kmrnctrlsta); in __e1000_write_kmrn_reg() 1462 ew32(CTRL, ctrl); in e1000e_phy_force_speed_duplex_setup() 2107 ew32(CTRL, ctrl | E1000_CTRL_PHY_RST); in e1000e_phy_hw_reset_generic() 2112 ew32(CTRL, ctrl); in e1000e_phy_hw_reset_generic()
|
D | manage.c | 279 ew32(HICR, hicr | E1000_HICR_C); in e1000e_mng_write_dhcp_info()
|
D | e1000.h | 583 #define ew32(reg, val) __ew32(hw, E1000_##reg, (val)) macro
|
/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.c | 391 ew32(IMC, 0xffffffff); in e1000_reset_hw() 397 ew32(RCTL, 0); in e1000_reset_hw() 398 ew32(TCTL, E1000_TCTL_PSP); in e1000_reset_hw() 413 ew32(CTRL, (ctrl | E1000_CTRL_PHY_RST)); in e1000_reset_hw() 440 ew32(CTRL_DUP, (ctrl | E1000_CTRL_RST)); in e1000_reset_hw() 444 ew32(CTRL, (ctrl | E1000_CTRL_RST)); in e1000_reset_hw() 461 ew32(CTRL_EXT, ctrl_ext); in e1000_reset_hw() 485 ew32(MANC, manc); in e1000_reset_hw() 495 ew32(LEDCTL, led_ctrl); in e1000_reset_hw() 500 ew32(IMC, 0xffffffff); in e1000_reset_hw() [all …]
|
D | e1000_ethtool.c | 728 ew32(STATUS, toggle); in e1000_reg_test() 737 ew32(STATUS, before); in e1000_reg_test() 847 ew32(IMC, 0xFFFFFFFF); in e1000_intr_test() 864 ew32(IMC, mask); in e1000_intr_test() 865 ew32(ICS, mask); in e1000_intr_test() 882 ew32(IMS, mask); in e1000_intr_test() 883 ew32(ICS, mask); in e1000_intr_test() 900 ew32(IMC, ~mask & 0x00007FFF); in e1000_intr_test() 901 ew32(ICS, ~mask & 0x00007FFF); in e1000_intr_test() 913 ew32(IMC, 0xFFFFFFFF); in e1000_intr_test() [all …]
|
D | e1000_main.c | 284 ew32(IMC, ~0); in e1000_irq_disable() 297 ew32(IMS, IMS_ENABLE_MASK); in e1000_irq_enable() 339 ew32(MANC, manc); in e1000_init_manageability() 353 ew32(MANC, manc); in e1000_release_manageability() 401 ew32(ICS, E1000_ICS_LSC); in e1000_up() 497 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000_down() 505 ew32(TCTL, tctl); in e1000_down() 603 ew32(PBA, pba); in e1000_reset() 655 ew32(PBA, pba); in e1000_reset() 678 ew32(WUC, 0); in e1000_reset() [all …]
|
D | e1000_osdep.h | 32 #define ew32(reg, value) \ macro
|
/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 865 ew32(EIMS, adapter->eims_other); in igbvf_msix_other() 891 ew32(EICS, tx_ring->eims_value); in igbvf_intr_msix_tx() 893 ew32(EIMS, tx_ring->eims_value); in igbvf_intr_msix_tx() 996 ew32(IVAR_MISC, tmp); in igbvf_configure_msix() 1164 ew32(EIMC, ~0); in igbvf_irq_disable() 1167 ew32(EIAC, 0); in igbvf_irq_disable() 1178 ew32(EIAC, adapter->eims_enable_mask); in igbvf_irq_enable() 1179 ew32(EIAM, adapter->eims_enable_mask); in igbvf_irq_enable() 1180 ew32(EIMS, adapter->eims_enable_mask); in igbvf_irq_enable() 1208 ew32(EIMS, adapter->rx_ring->eims_value); in igbvf_poll() [all …]
|
D | mbx.c | 218 ew32(V2PMAILBOX(0), E1000_V2PMAILBOX_VFU); in e1000_obtain_mbx_lock_vf() 263 ew32(V2PMAILBOX(0), E1000_V2PMAILBOX_REQ); in e1000_write_mbx_vf() 294 ew32(V2PMAILBOX(0), E1000_V2PMAILBOX_ACK); in e1000_read_mbx_vf()
|
D | regs.h | 77 #define ew32(reg, val) writel((val), hw->hw_addr + E1000_##reg) macro
|
D | vf.c | 115 ew32(CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_vf()
|