/drivers/net/ethernet/intel/e1000e/ |
D | mac.c | 54 reg = er32(STATUS); in e1000_set_lan_id_multi_port_pcie() 349 er32(CRCERRS); in e1000e_clear_hw_cntrs_base() 350 er32(SYMERRS); in e1000e_clear_hw_cntrs_base() 351 er32(MPC); in e1000e_clear_hw_cntrs_base() 352 er32(SCC); in e1000e_clear_hw_cntrs_base() 353 er32(ECOL); in e1000e_clear_hw_cntrs_base() 354 er32(MCC); in e1000e_clear_hw_cntrs_base() 355 er32(LATECOL); in e1000e_clear_hw_cntrs_base() 356 er32(COLC); in e1000e_clear_hw_cntrs_base() 357 er32(DC); in e1000e_clear_hw_cntrs_base() [all …]
|
D | 82571.c | 123 u32 eecd = er32(EECD); in e1000_init_nvm_params_82571() 251 mac->arc_subsystem_valid = !!(er32(FWSM) & in e1000_init_mac_params_82571() 279 swsm2 = er32(SWSM2); in e1000_init_mac_params_82571() 296 swsm = er32(SWSM); in e1000_init_mac_params_82571() 318 int is_port_b = er32(STATUS) & E1000_STATUS_FUNC_1; in e1000_get_variants_82571() 453 swsm = er32(SWSM); in e1000_get_hw_semaphore_82571() 467 swsm = er32(SWSM); in e1000_get_hw_semaphore_82571() 471 if (er32(SWSM) & E1000_SWSM_SWESMBI) in e1000_get_hw_semaphore_82571() 497 swsm = er32(SWSM); in e1000_put_hw_semaphore_82571() 514 extcnf_ctrl = er32(EXTCNF_CTRL); in e1000_get_hw_semaphore_82573() [all …]
|
D | 80003es2lan.c | 73 u32 eecd = er32(EECD); in e1000_init_nvm_params_80003es2lan() 142 mac->arc_subsystem_valid = !!(er32(FWSM) & E1000_FWSM_MODE_MASK); in e1000_init_mac_params_80003es2lan() 285 swfw_sync = er32(SW_FW_SYNC); in e1000_acquire_swfw_sync_80003es2lan() 325 swfw_sync = er32(SW_FW_SYNC); in e1000_release_swfw_sync_80003es2lan() 501 if (er32(EEMNGCTL) & mask) in e1000_get_cfg_done_80003es2lan() 685 ctrl = er32(CTRL); in e1000_reset_hw_80003es2lan() 717 er32(ICR); in e1000_reset_hw_80003es2lan() 777 reg_data = er32(TXDCTL(0)); in e1000_init_hw_80003es2lan() 783 reg_data = er32(TXDCTL(1)); in e1000_init_hw_80003es2lan() 789 reg_data = er32(TCTL); in e1000_init_hw_80003es2lan() [all …]
|
D | nvm.c | 49 u32 eecd = er32(EECD); in e1000_shift_out_eec_bits() 94 eecd = er32(EECD); in e1000_shift_in_eec_bits() 102 eecd = er32(EECD); in e1000_shift_in_eec_bits() 129 reg = er32(EERD); in e1000e_poll_eerd_eewr_done() 131 reg = er32(EEWR); in e1000e_poll_eerd_eewr_done() 152 u32 eecd = er32(EECD); in e1000e_acquire_nvm() 156 eecd = er32(EECD); in e1000e_acquire_nvm() 162 eecd = er32(EECD); in e1000e_acquire_nvm() 185 u32 eecd = er32(EECD); in e1000_standby_nvm() 210 eecd = er32(EECD); in e1000_stop_nvm() [all …]
|
D | ich8lan.c | 224 if (!(er32(FWSM) & E1000_ICH_FWSM_FW_VALID)) { in e1000_phy_is_accessible_pchlan() 231 mac_reg = er32(CTRL_EXT); in e1000_phy_is_accessible_pchlan() 252 mac_reg = er32(FEXTNVM3); in e1000_toggle_lanphypc_pch_lpt() 258 mac_reg = er32(CTRL); in e1000_toggle_lanphypc_pch_lpt() 275 } while (!(er32(CTRL_EXT) & E1000_CTRL_EXT_LPCD) && count--); in e1000_toggle_lanphypc_pch_lpt() 291 u32 mac_reg, fwsm = er32(FWSM); in e1000_init_phy_workarounds_pchlan() 330 mac_reg = er32(CTRL_EXT); in e1000_init_phy_workarounds_pchlan() 366 mac_reg = er32(CTRL_EXT); in e1000_init_phy_workarounds_pchlan() 610 nvm_size = (((er32(STRAP) >> 1) & 0x1F) + 1) in e1000_init_nvm_params_ich8lan() 913 u32 fextnvm6 = er32(FEXTNVM6); in e1000_k1_workaround_lpt_lp() [all …]
|
D | netdev.c | 123 while ((er32(FWSM) & E1000_ICH_FWSM_PCIM2PCI) && --i) in __ew32_prepare() 523 !(er32(TSYNCRXCTL) & E1000_TSYNCRXCTL_VALID)) in e1000e_rx_hwtstamp() 533 rxstmp = (u64)er32(RXSTMPL); in e1000e_rx_hwtstamp() 534 rxstmp |= (u64)er32(RXSTMPH) << 32; in e1000e_rx_hwtstamp() 611 u32 rctl = er32(RCTL); in e1000e_update_rdt_wa() 628 u32 tctl = er32(TCTL); in e1000e_update_tdt_wa() 1118 if (er32(TDH(0)) == er32(TDT(0))) { in e1000_print_hw_hang() 1150 eop, jiffies, eop_desc->upper.fields.status, er32(STATUS), in e1000_print_hw_hang() 1156 if ((hw->mac.type == e1000_pchlan) && (er32(CTRL) & E1000_CTRL_TFCE)) in e1000_print_hw_hang() 1174 if (er32(TSYNCTXCTL) & E1000_TSYNCTXCTL_VALID) { in e1000e_tx_hwtstamp_work() [all …]
|
D | manage.c | 49 hicr = er32(HICR); in e1000_mng_enable_host_if() 56 hicr = er32(HICR); in e1000_mng_enable_host_if() 79 u32 fwsm = er32(FWSM); in e1000e_check_mng_mode_generic() 278 hicr = er32(HICR); in e1000e_mng_write_dhcp_info() 296 manc = er32(MANC); in e1000e_enable_mng_pass_thru() 302 fwsm = er32(FWSM); in e1000e_enable_mng_pass_thru() 303 factps = er32(FACTPS); in e1000e_enable_mng_pass_thru() 314 factps = er32(FACTPS); in e1000e_enable_mng_pass_thru()
|
D | ptp.c | 115 tsync_ctrl = er32(TSYNCTXCTL); in e1000e_phc_get_syncdevicetime() 121 tsync_ctrl = er32(TSYNCTXCTL); in e1000e_phc_get_syncdevicetime() 129 dev_cycles = er32(SYSSTMPH); in e1000e_phc_get_syncdevicetime() 131 dev_cycles |= er32(SYSSTMPL); in e1000e_phc_get_syncdevicetime() 136 sys_cycles = er32(PLTSTMPH); in e1000e_phc_get_syncdevicetime() 138 sys_cycles |= er32(PLTSTMPL); in e1000e_phc_get_syncdevicetime() 302 (er32(TSYNCRXCTL) & E1000_TSYNCRXCTL_SYSCFI)) { in e1000e_ptp_init()
|
D | ethtool.c | 158 u32 status = er32(STATUS); in e1000_get_link_ksettings() 451 regs_buff[0] = er32(CTRL); in e1000_get_regs() 452 regs_buff[1] = er32(STATUS); in e1000_get_regs() 454 regs_buff[2] = er32(RCTL); in e1000_get_regs() 455 regs_buff[3] = er32(RDLEN(0)); in e1000_get_regs() 456 regs_buff[4] = er32(RDH(0)); in e1000_get_regs() 457 regs_buff[5] = er32(RDT(0)); in e1000_get_regs() 458 regs_buff[6] = er32(RDTR); in e1000_get_regs() 460 regs_buff[7] = er32(TCTL); in e1000_get_regs() 461 regs_buff[8] = er32(TDLEN(0)); in e1000_get_regs() [all …]
|
D | phy.c | 47 manc = er32(MANC); in e1000e_check_reset_block_generic() 144 mdic = er32(MDIC); in e1000e_read_phy_reg_mdic() 208 mdic = er32(MDIC); in e1000e_write_phy_reg_mdic() 472 kmrnctrlsta = er32(KMRNCTRLSTA); in __e1000_read_kmrn_reg() 1427 ctrl = er32(CTRL); in e1000e_phy_force_speed_duplex_setup() 2106 ctrl = er32(CTRL); in e1000e_phy_hw_reset_generic() 2646 (!(er32(PHY_CTRL) & E1000_PHY_CTRL_GBE_DISABLE))) in e1000_access_phy_wakeup_reg_bm()
|
D | e1000.h | 579 #define er32(reg) __er32(hw, E1000_##reg) macro 585 #define e1e_flush() er32(STATUS)
|
/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.c | 356 status = er32(STATUS); in e1000_set_media_type() 409 ctrl = er32(CTRL); in e1000_reset_hw() 459 ctrl_ext = er32(CTRL_EXT); in e1000_reset_hw() 483 manc = er32(MANC); in e1000_reset_hw() 492 led_ctrl = er32(LEDCTL); in e1000_reset_hw() 503 er32(ICR); in e1000_reset_hw() 588 ctrl = er32(CTRL); in e1000_init_hw() 611 ctrl = er32(TXDCTL); in e1000_init_hw() 627 ctrl_ext = er32(CTRL_EXT); in e1000_init_hw() 813 ctrl = er32(CTRL); in e1000_setup_fiber_serdes_link() [all …]
|
D | e1000_main.c | 334 u32 manc = er32(MANC); in e1000_init_manageability() 348 u32 manc = er32(MANC); in e1000_release_manageability() 454 if (er32(MANC) & E1000_MANC_SMBUS_EN) in e1000_power_down_phy() 496 rctl = er32(RCTL); in e1000_down() 503 tctl = er32(TCTL); in e1000_down() 612 pba = er32(PBA); in e1000_reset() 688 u32 ctrl = er32(CTRL); in e1000_reset() 1137 if (er32(STATUS) & E1000_STATUS_FUNC_1) { in e1000_probe() 1164 if (er32(STATUS) & E1000_STATUS_FUNC_1) in e1000_probe() 1651 tctl = er32(TCTL); in e1000_configure_tx() [all …]
|
D | e1000_ethtool.c | 123 if (er32(STATUS) & E1000_STATUS_LU) { in e1000_get_link_ksettings() 336 regs_buff[0] = er32(CTRL); in e1000_get_regs() 337 regs_buff[1] = er32(STATUS); in e1000_get_regs() 339 regs_buff[2] = er32(RCTL); in e1000_get_regs() 340 regs_buff[3] = er32(RDLEN); in e1000_get_regs() 341 regs_buff[4] = er32(RDH); in e1000_get_regs() 342 regs_buff[5] = er32(RDT); in e1000_get_regs() 343 regs_buff[6] = er32(RDTR); in e1000_get_regs() 345 regs_buff[7] = er32(TCTL); in e1000_get_regs() 346 regs_buff[8] = er32(TDLEN); in e1000_get_regs() [all …]
|
D | e1000_osdep.h | 28 #define er32(reg) \ macro 69 #define E1000_WRITE_FLUSH() er32(STATUS)
|
/drivers/net/ethernet/smsc/ |
D | epic100.c | 189 #define er32(reg) ioread32(ioaddr + (reg)) macro 414 ew32(NVCTL, (er32(NVCTL) & ~0x003c) | 0x4800); in epic_init_one() 469 ew32(NVCTL, er32(NVCTL) & ~0x483c); in epic_init_one() 529 #define eeprom_delay() er32(EECTL) 547 er32(INTMASK); in __epic_pci_commit() 575 (er32(EECTL) & 0x40 ? EE_READ64_CMD : EE_READ256_CMD); in read_eeprom() 593 retval = (retval << 1) | ((er32(EECTL) & EE_DATA_READ) ? 1 : 0); in read_eeprom() 616 if ((er32(MIICtrl) & MII_READOP) == 0) { in mdio_read() 639 if ((er32(MIICtrl) & MII_WRITEOP) == 0) in mdio_write() 678 ew32(NVCTL, (er32(NVCTL) & ~0x003c) | 0x4800); in epic_open() [all …]
|
/drivers/net/ethernet/intel/igbvf/ |
D | ethtool.c | 65 status = er32(STATUS); in igbvf_get_link_ksettings() 138 regs_buff[0] = er32(CTRL); in igbvf_get_regs() 139 regs_buff[1] = er32(STATUS); in igbvf_get_regs() 141 regs_buff[2] = er32(RDLEN(0)); in igbvf_get_regs() 142 regs_buff[3] = er32(RDH(0)); in igbvf_get_regs() 143 regs_buff[4] = er32(RDT(0)); in igbvf_get_regs() 145 regs_buff[5] = er32(TDLEN(0)); in igbvf_get_regs() 146 regs_buff[6] = er32(TDH(0)); in igbvf_get_regs() 147 regs_buff[7] = er32(TDT(0)); in igbvf_get_regs() 280 if (!(er32(STATUS) & E1000_STATUS_LU)) in igbvf_link_test()
|
D | netdev.c | 1297 txdctl = er32(TXDCTL(0)); in igbvf_configure_tx() 1316 dca_txctrl = er32(DCA_TXCTRL(0)); in igbvf_configure_tx() 1378 rxdctl = er32(RXDCTL(0)); in igbvf_configure_rx() 1557 er32(EICR); in igbvf_up() 1579 rxdctl = er32(RXDCTL(0)); in igbvf_down() 1586 txdctl = er32(TXDCTL(0)); in igbvf_down() 1677 adapter->stats.last_gprc = er32(VFGPRC); in igbvf_initialize_last_counter_stats() 1678 adapter->stats.last_gorc = er32(VFGORC); in igbvf_initialize_last_counter_stats() 1679 adapter->stats.last_gptc = er32(VFGPTC); in igbvf_initialize_last_counter_stats() 1680 adapter->stats.last_gotc = er32(VFGOTC); in igbvf_initialize_last_counter_stats() [all …]
|
D | regs.h | 76 #define er32(reg) readl(hw->hw_addr + E1000_##reg) macro 82 #define e1e_flush() er32(STATUS)
|
D | vf.c | 81 status = er32(STATUS); in e1000_get_link_up_info_vf() 114 ctrl = er32(CTRL); in e1000_reset_hw_vf() 399 if (!(er32(STATUS) & E1000_STATUS_LU)) in e1000_check_for_link_vf()
|
D | mbx.c | 121 u32 v2p_mailbox = er32(V2PMAILBOX(0)); in e1000_read_v2p_mailbox()
|