| /freebsd-9-stable/sys/dev/ixgbe/ |
| D | ixgbe_common.c | 73 u32 eec = IXGBE_READ_REG(hw, IXGBE_EEC); in ixgbe_init_ops_generic() 240 reg = IXGBE_READ_REG(hw, IXGBE_PCS1GANA); in ixgbe_setup_fc() 241 reg_bp = IXGBE_READ_REG(hw, IXGBE_AUTOC); in ixgbe_setup_fc() 319 reg = IXGBE_READ_REG(hw, IXGBE_PCS1GLCTL); in ixgbe_setup_fc() 397 ctrl_ext = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT); in ixgbe_start_hw_generic() 438 regval = IXGBE_READ_REG(hw, IXGBE_DCA_TXCTRL_82599(i)); in ixgbe_start_hw_gen2() 444 regval = IXGBE_READ_REG(hw, IXGBE_DCA_RXCTRL(i)); in ixgbe_start_hw_gen2() 493 IXGBE_READ_REG(hw, IXGBE_CRCERRS); in ixgbe_clear_hw_cntrs_generic() 494 IXGBE_READ_REG(hw, IXGBE_ILLERRC); in ixgbe_clear_hw_cntrs_generic() 495 IXGBE_READ_REG(hw, IXGBE_ERRBC); in ixgbe_clear_hw_cntrs_generic() [all …]
|
| D | ixgbe_dcb_82598.c | 62 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc)); in ixgbe_dcb_get_tc_stats_82598() 64 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC(tc)); in ixgbe_dcb_get_tc_stats_82598() 66 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc)); in ixgbe_dcb_get_tc_stats_82598() 68 stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC(tc)); in ixgbe_dcb_get_tc_stats_82598() 103 stats->pxofftxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFTXC(tc)); in ixgbe_dcb_get_pfc_stats_82598() 105 stats->pxoffrxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFRXC(tc)); in ixgbe_dcb_get_pfc_stats_82598() 126 reg = IXGBE_READ_REG(hw, IXGBE_RUPPBMR) | IXGBE_RUPPBMR_MQA; in ixgbe_dcb_config_rx_arbiter_82598() 129 reg = IXGBE_READ_REG(hw, IXGBE_RMCS); in ixgbe_dcb_config_rx_arbiter_82598() 152 reg = IXGBE_READ_REG(hw, IXGBE_RDRXCTL); in ixgbe_dcb_config_rx_arbiter_82598() 158 reg = IXGBE_READ_REG(hw, IXGBE_RXCTRL); in ixgbe_dcb_config_rx_arbiter_82598() [all …]
|
| D | ixgbe_dcb_82599.c | 62 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc)); in ixgbe_dcb_get_tc_stats_82599() 64 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC_L(tc)); in ixgbe_dcb_get_tc_stats_82599() 66 (((u64)(IXGBE_READ_REG(hw, IXGBE_QBTC_H(tc)))) << 32); in ixgbe_dcb_get_tc_stats_82599() 68 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc)); in ixgbe_dcb_get_tc_stats_82599() 70 stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC_L(tc)); in ixgbe_dcb_get_tc_stats_82599() 72 (((u64)(IXGBE_READ_REG(hw, IXGBE_QBRC_H(tc)))) << 32); in ixgbe_dcb_get_tc_stats_82599() 75 stats->qprdc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRDC(tc)); in ixgbe_dcb_get_tc_stats_82599() 102 stats->pxofftxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFTXC(tc)); in ixgbe_dcb_get_pfc_stats_82599() 104 stats->pxoffrxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFRXCNT(tc)); in ixgbe_dcb_get_pfc_stats_82599() 292 reg = IXGBE_READ_REG(hw, IXGBE_MFLCN); in ixgbe_dcb_config_pfc_82599() [all …]
|
| D | ixgbe.c | 621 ctrl_ext = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT); in ixgbe_attach() 696 ctrl_ext = IXGBE_READ_REG(&adapter->hw, IXGBE_CTRL_EXT); in ixgbe_detach() 1160 gpie = IXGBE_READ_REG(&adapter->hw, IXGBE_GPIE); 1183 mhadd = IXGBE_READ_REG(hw, IXGBE_MHADD); 1192 txdctl = IXGBE_READ_REG(hw, IXGBE_TXDCTL(i)); 1208 rxdctl = IXGBE_READ_REG(hw, IXGBE_RXDCTL(i)); 1221 if (IXGBE_READ_REG(hw, IXGBE_RXDCTL(i)) & 1260 rxctrl = IXGBE_READ_REG(hw, IXGBE_RXCTRL); 1325 rxpb = IXGBE_READ_REG(hw, IXGBE_RXPBSIZE(0)) >> 10; 1459 reg_eicr = IXGBE_READ_REG(hw, IXGBE_EICR); [all …]
|
| D | ixgbe_x540.c | 132 mac->arc_subsystem_valid = (IXGBE_READ_REG(hw, IXGBE_FWSM) & in ixgbe_init_ops_X540() 216 ctrl |= IXGBE_READ_REG(hw, IXGBE_CTRL); in ixgbe_reset_hw_X540() 223 ctrl = IXGBE_READ_REG(hw, IXGBE_CTRL); in ixgbe_reset_hw_X540() 350 eec = IXGBE_READ_REG(hw, IXGBE_EEC); in ixgbe_init_eeprom_params_X540() 671 flup = IXGBE_READ_REG(hw, IXGBE_EEC) | IXGBE_EEC_FLUP; in ixgbe_update_flash_X540() 681 flup = IXGBE_READ_REG(hw, IXGBE_EEC); in ixgbe_update_flash_X540() 714 reg = IXGBE_READ_REG(hw, IXGBE_EEC); in ixgbe_poll_flash_update_done_X540() 766 swfw_sync = IXGBE_READ_REG(hw, IXGBE_SWFW_SYNC); in ixgbe_acquire_swfw_sync_X540() 796 swfw_sync = IXGBE_READ_REG(hw, IXGBE_SWFW_SYNC); in ixgbe_acquire_swfw_sync_X540() 841 swfw_sync = IXGBE_READ_REG(hw, IXGBE_SWFW_SYNC); in ixgbe_release_swfw_sync_X540() [all …]
|
| D | ixgbe_82598.c | 75 u32 gcr = IXGBE_READ_REG(hw, IXGBE_GCR); in ixgbe_set_pcie_completion_timeout() 259 regval = IXGBE_READ_REG(hw, IXGBE_DCA_TXCTRL(i)); in ixgbe_start_hw_82598() 266 regval = IXGBE_READ_REG(hw, IXGBE_DCA_RXCTRL(i)); in ixgbe_start_hw_82598() 304 autoc = IXGBE_READ_REG(hw, IXGBE_AUTOC); in ixgbe_get_link_capabilities_82598() 455 fctrl_reg = IXGBE_READ_REG(hw, IXGBE_FCTRL); in ixgbe_fc_enable_82598() 458 rmcs_reg = IXGBE_READ_REG(hw, IXGBE_RMCS); in ixgbe_fc_enable_82598() 558 autoc_reg = IXGBE_READ_REG(hw, IXGBE_AUTOC); in ixgbe_start_mac_link_82598() 570 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_start_mac_link_82598() 681 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_82598() 691 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_82598() [all …]
|
| D | ixgbe_82599.c | 54 fwsm = IXGBE_READ_REG(hw, IXGBE_FWSM); in ixgbe_mng_enabled() 58 manc = IXGBE_READ_REG(hw, IXGBE_MANC); in ixgbe_mng_enabled() 62 factps = IXGBE_READ_REG(hw, IXGBE_FACTPS); in ixgbe_mng_enabled() 215 hw->mac.cached_autoc = IXGBE_READ_REG(hw, IXGBE_AUTOC); in ixgbe_setup_sfp_modules_82599() 315 mac->arc_subsystem_valid = (IXGBE_READ_REG(hw, IXGBE_FWSM) & in ixgbe_init_ops_82599() 372 autoc = IXGBE_READ_REG(hw, IXGBE_AUTOC); in ixgbe_get_link_capabilities_82599() 514 autoc2_reg = IXGBE_READ_REG(hw, IXGBE_AUTOC2); in ixgbe_stop_mac_link_on_d3_82599() 560 autoc_reg = IXGBE_READ_REG(hw, IXGBE_AUTOC); in ixgbe_start_mac_link_82599() 569 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_start_mac_link_82599() 598 u32 esdp_reg = IXGBE_READ_REG(hw, IXGBE_ESDP); in ixgbe_disable_tx_laser_multispeed_fiber() [all …]
|
| D | ixgbe_phy.c | 309 command = IXGBE_READ_REG(hw, IXGBE_MSCA); in ixgbe_read_phy_reg_mdi() 339 command = IXGBE_READ_REG(hw, IXGBE_MSCA); in ixgbe_read_phy_reg_mdi() 353 data = IXGBE_READ_REG(hw, IXGBE_MSRWD); in ixgbe_read_phy_reg_mdi() 375 if (IXGBE_READ_REG(hw, IXGBE_STATUS) & IXGBE_STATUS_LAN_ID_1) in ixgbe_read_phy_reg_generic() 423 command = IXGBE_READ_REG(hw, IXGBE_MSCA); in ixgbe_write_phy_reg_mdi() 452 command = IXGBE_READ_REG(hw, IXGBE_MSCA); in ixgbe_write_phy_reg_mdi() 481 if (IXGBE_READ_REG(hw, IXGBE_STATUS) & IXGBE_STATUS_LAN_ID_1) in ixgbe_write_phy_reg_generic() 1432 if (IXGBE_READ_REG(hw, IXGBE_STATUS) & IXGBE_STATUS_LAN_ID_1) in ixgbe_read_i2c_byte_generic() 1522 if (IXGBE_READ_REG(hw, IXGBE_STATUS) & IXGBE_STATUS_LAN_ID_1) in ixgbe_write_i2c_byte_generic() 1585 u32 i2cctl = IXGBE_READ_REG(hw, IXGBE_I2CCTL); in ixgbe_i2c_start() [all …]
|
| D | ixv.c | 865 gpie = IXGBE_READ_REG(&adapter->hw, IXGBE_GPIE); in ixv_init_locked() 883 mhadd = IXGBE_READ_REG(hw, IXGBE_MHADD); in ixv_init_locked() 1102 reg = IXGBE_READ_REG(hw, IXGBE_VTEICS); in ixv_msix_mbx() 1442 if (IXGBE_READ_REG(&adapter->hw, IXGBE_TFCS) & IXGBE_TFCS_TXOFF) in ixv_local_timer() 1465 IXGBE_READ_REG(&adapter->hw, IXGBE_VFTDH(i)), in ixv_local_timer() 1466 IXGBE_READ_REG(&adapter->hw, IXGBE_VFTDT(i))); in ixv_local_timer() 2265 txdctl = IXGBE_READ_REG(hw, IXGBE_VFTXDCTL(i)); in ixv_initialize_transmit_units() 2269 txdctl = IXGBE_READ_REG(hw, IXGBE_VFTXDCTL(i)); in ixv_initialize_transmit_units() 2288 txctrl = IXGBE_READ_REG(hw, IXGBE_VFDCA_TXCTRL(i)); in ixv_initialize_transmit_units() 3058 fctrl = IXGBE_READ_REG(hw, IXGBE_FCTRL); in ixv_initialize_receive_units() [all …]
|
| D | ixgbe_mbx.c | 289 u32 v2p_mailbox = IXGBE_READ_REG(hw, IXGBE_VFMAILBOX); in ixgbe_read_v2p_mailbox() 520 u32 mbvficr = IXGBE_READ_REG(hw, IXGBE_MBVFICR(index)); in ixgbe_check_for_bit_pf() 597 vflre = IXGBE_READ_REG(hw, IXGBE_VFLRE(reg_offset)); in ixgbe_check_for_rst_pf() 600 vflre = IXGBE_READ_REG(hw, IXGBE_VFLREC(reg_offset)); in ixgbe_check_for_rst_pf() 633 p2v_mailbox = IXGBE_READ_REG(hw, IXGBE_PFMAILBOX(vf_number)); in ixgbe_obtain_mbx_lock_pf()
|
| D | ixgbe_osdep.h | 196 #define IXGBE_WRITE_FLUSH(a) IXGBE_READ_REG(a, IXGBE_STATUS) 198 #define IXGBE_READ_REG(a, reg) (\ macro
|
| D | ixgbe_vf.c | 44 #define IXGBE_VFREAD_REG IXGBE_READ_REG 511 links_reg = IXGBE_READ_REG(hw, IXGBE_VFLINKS); in ixgbe_check_mac_link_vf()
|
| /freebsd-9-stable/sys/dev/netmap/ |
| D | ixgbe_netmap.h | 86 hl = IXGBE_READ_REG(hw, IXGBE_HLREG0); in set_crcstrip() 87 rxc = IXGBE_READ_REG(hw, IXGBE_RDRXCTL); in set_crcstrip() 312 nic_i = IXGBE_READ_REG(&adapter->hw, IXGBE_TDH(ring_nr)); in ixgbe_netmap_txsync()
|