/linux/drivers/net/ethernet/smsc/ |
A D | epic100.c | 406 ew32(GENCTL, 0x4200); in epic_init_one() 410 ew32(TEST1, 0x0008); in epic_init_one() 413 ew32(MIICfg, 0x12); in epic_init_one() 416 ew32(GENCTL, 0x0200); in epic_init_one() 472 ew32(GENCTL, 0x0008); in epic_init_one() 580 ew32(EECTL, EE_ENB); in read_eeprom() 590 ew32(EECTL, EE_ENB); in read_eeprom() 596 ew32(EECTL, EE_ENB); in read_eeprom() 655 ew32(GENCTL, 0x4001); in epic_open() 666 ew32(GENCTL, 0x4000); in epic_open() [all …]
|
/linux/drivers/net/ethernet/intel/e1000e/ |
A D | 82571.c | 154 ew32(EECD, eecd); in e1000_init_nvm_params_82571() 499 ew32(SWSM, swsm); in e1000_put_hw_semaphore_82571() 607 ew32(POEMB, data); in e1000_set_d0_lplu_state_82574() 634 ew32(POEMB, data); in e1000_set_d3_lplu_state_82574() 762 ew32(EECD, eecd); in e1000_update_nvm_checksum_82571() 958 ew32(RCTL, 0); in e1000_reset_hw_82571() 961 ew32(TCTL, tctl); in e1000_reset_hw_82571() 1199 ew32(CTRL, reg); in e1000_initialize_hw_bits_82571() 1249 ew32(GCR, reg); in e1000_initialize_hw_bits_82571() 1259 ew32(GCR2, reg); in e1000_initialize_hw_bits_82571() [all …]
|
A D | mac.c | 493 ew32(CTRL, ctrl); in e1000e_check_for_fiber_link() 556 ew32(CTRL, ctrl); in e1000e_check_for_serdes_link() 774 ew32(TXCW, txcw); in e1000_commit_fc_settings_generic() 858 ew32(CTRL, ctrl); in e1000e_setup_fiber_serdes_link() 892 ew32(TCTL, tctl); in e1000e_config_collision_dist_generic() 986 ew32(CTRL, ctrl); in e1000e_force_mac_fc() 1409 ew32(SWSM, swsm); in e1000e_put_hw_semaphore() 1682 ew32(GCR, gcr); in e1000e_set_pcie_no_snoop() 1704 ew32(CTRL, ctrl); in e1000e_disable_pcie_master() 1743 ew32(AIT, 0); in e1000e_reset_adaptive() [all …]
|
A D | netdev.c | 2225 ew32(IMC, ~0); in e1000_irq_disable() 3974 ew32(PBA, pba); in e1000e_reset() 4128 ew32(WUC, 0); in e1000e_reset() 6459 ew32(TDFH, 0); in e1000e_s0ix_entry_flow() 6462 ew32(TDFT, 0); in e1000e_s0ix_entry_flow() 6474 ew32(RDFH, 0); in e1000e_s0ix_entry_flow() 6477 ew32(RDFT, 0); in e1000e_s0ix_entry_flow() 6709 ew32(WUC, 0); in __e1000_shutdown() 6710 ew32(WUFC, 0); in __e1000_shutdown() 6963 ew32(WUS, ~0); in __e1000_resume() [all …]
|
A 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() 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() 310 ew32(EERD, eerd); in e1000e_read_nvm_eerd() [all …]
|
A D | 80003es2lan.c | 679 ew32(RCTL, 0); in e1000_reset_hw_80003es2lan() 791 ew32(TCTL, reg_data); in e1000_init_hw_80003es2lan() 803 ew32(TIPG, reg_data); in e1000_init_hw_80003es2lan() 844 ew32(TXDCTL(0), reg); in e1000_initialize_hw_bits_80003es2lan() 856 ew32(TARC(0), reg); in e1000_initialize_hw_bits_80003es2lan() 864 ew32(TARC(1), reg); in e1000_initialize_hw_bits_80003es2lan() 871 ew32(RFCTL, reg); in e1000_initialize_hw_bits_80003es2lan() 974 ew32(CTRL_EXT, reg); in e1000_copper_link_setup_gg82563_80003es2lan() 1032 ew32(CTRL, ctrl); in e1000_setup_copper_link_80003es2lan() 1127 ew32(TIPG, tipg); in e1000_cfg_kmrn_10_100_80003es2lan() [all …]
|
A D | ich8lan.c | 261 ew32(CTRL, mac_reg); in e1000_toggle_lanphypc_pch_lpt() 265 ew32(CTRL, mac_reg); in e1000_toggle_lanphypc_pch_lpt() 1083 ew32(LTRV, reg); in e1000_platform_pm_pch_lpt() 2340 ew32(CTRL, reg); in e1000_configure_k1_ich8lan() 2866 ew32(STATUS, data); in e1000_lan_init_done_ich8lan() 4715 ew32(RCTL, 0); in e1000_reset_hw_ich8lan() 4796 ew32(KABGTXD, reg); in e1000_reset_hw_ich8lan() 4961 ew32(RFCTL, reg); in e1000_initialize_hw_bits_ich8lan() 4971 ew32(CTRL, reg); in e1000_initialize_hw_bits_ich8lan() 5049 ew32(CTRL, ctrl); in e1000_setup_copper_link_ich8lan() [all …]
|
A D | ethtool.c | 1072 ew32(IMS, mask); in e1000_intr_test() 1073 ew32(ICS, mask); in e1000_intr_test() 1206 ew32(TDH(0), 0); in e1000_setup_desc_rings() 1207 ew32(TDT(0), 0); in e1000_setup_desc_rings() 1269 ew32(RDH(0), 0); in e1000_setup_desc_rings() 1270 ew32(RDT(0), 0); in e1000_setup_desc_rings() 1276 ew32(RCTL, rctl); in e1000_setup_desc_rings() 1458 ew32(CTRL, ctrl); in e1000_set_82571_fiber_loopback() 1463 ew32(TXCW, ctrl); in e1000_set_82571_fiber_loopback() 1504 ew32(CTRL, ctrl); in e1000_set_es2lan_mac_loopback() [all …]
|
A D | ptp.c | 62 ew32(TIMINCA, timinca); in e1000e_phc_adjfreq() 118 ew32(TSYNCTXCTL, tsync_ctrl); in e1000e_phc_get_syncdevicetime()
|
A 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()
|
A D | manage.c | 279 ew32(HICR, hicr | E1000_HICR_C); in e1000e_mng_write_dhcp_info()
|
A D | e1000.h | 584 #define ew32(reg, val) __ew32(hw, E1000_##reg, (val)) macro
|
/linux/drivers/net/ethernet/intel/e1000/ |
A D | e1000_hw.c | 397 ew32(RCTL, 0); in e1000_reset_hw() 485 ew32(MANC, manc); in e1000_reset_hw() 545 ew32(VET, 0); in e1000_init_hw() 564 ew32(RCTL, 0); in e1000_init_hw() 772 ew32(FCRTL, 0); in e1000_setup_link() 773 ew32(FCRTH, 0); in e1000_setup_link() 887 ew32(TXCW, txcw); in e1000_setup_fiber_serdes_link() 888 ew32(CTRL, ctrl); in e1000_setup_fiber_serdes_link() 1712 ew32(CTRL, ctrl); in e1000_phy_force_speed_duplex() 4754 ew32(AIT, 0); in e1000_reset_adaptive() [all …]
|
A D | e1000_ethtool.c | 864 ew32(IMC, mask); in e1000_intr_test() 882 ew32(IMS, mask); in e1000_intr_test() 883 ew32(ICS, mask); in e1000_intr_test() 1003 ew32(TDH, 0); in e1000_setup_desc_rings() 1004 ew32(TDT, 0); in e1000_setup_desc_rings() 1063 ew32(RDH, 0); in e1000_setup_desc_rings() 1064 ew32(RDT, 0); in e1000_setup_desc_rings() 1068 ew32(RCTL, rctl); in e1000_setup_desc_rings() 1334 ew32(RCTL, rctl); in e1000_loopback_cleanup() 1409 ew32(TDT, k); in e1000_run_loopback_test() [all …]
|
A D | e1000_main.c | 284 ew32(IMC, ~0); in e1000_irq_disable() 603 ew32(PBA, pba); in e1000_reset() 655 ew32(PBA, pba); in e1000_reset() 678 ew32(WUC, 0); in e1000_reset() 1611 ew32(TDT, 0); in e1000_configure_tx() 1612 ew32(TDH, 0); in e1000_configure_tx() 1893 ew32(RDT, 0); in e1000_configure_rx() 1894 ew32(RDH, 0); in e1000_configure_rx() 3769 ew32(IMC, ~0); in e1000_intr() 5118 ew32(WUC, 0); in __e1000_shutdown() [all …]
|
A D | e1000_osdep.h | 32 #define ew32(reg, value) \ macro
|
/linux/drivers/net/ethernet/intel/igbvf/ |
A D | netdev.c | 996 ew32(IVAR_MISC, tmp); in igbvf_configure_msix() 1160 ew32(EIMC, ~0); in igbvf_irq_disable() 1163 ew32(EIAC, 0); in igbvf_irq_disable() 1302 ew32(TDBAH(0), (tdba >> 32)); in igbvf_configure_tx() 1303 ew32(TDH(0), 0); in igbvf_configure_tx() 1304 ew32(TDT(0), 0); in igbvf_configure_tx() 1318 ew32(TXDCTL(0), txdctl); in igbvf_configure_tx() 1357 ew32(SRRCTL(0), srrctl); in igbvf_setup_srrctl() 1388 ew32(RDH(0), 0); in igbvf_configure_rx() 1389 ew32(RDT(0), 0); in igbvf_configure_rx() [all …]
|
A 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()
|
A D | regs.h | 77 #define ew32(reg, val) writel((val), hw->hw_addr + E1000_##reg) macro
|
A D | vf.c | 113 ew32(CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_vf()
|