Lines Matching refs:wr32
587 wr32(E1000_I2CPARAMS, i2cctl); in igb_set_i2c_data()
610 wr32(E1000_I2CPARAMS, i2cctl); in igb_set_i2c_clk()
883 wr32(E1000_CTRL_EXT, tmp); in igb_configure_msix()
900 wr32(E1000_GPIE, E1000_GPIE_MSIX_MODE | in igb_configure_msix()
908 wr32(E1000_IVAR_MISC, tmp); in igb_configure_msix()
1148 wr32(E1000_IOVCTL, E1000_IOVCTL_REUSE_VFQ); in igb_set_interrupt_capability()
1485 wr32(E1000_EIAM, regval & ~adapter->eims_enable_mask); in igb_irq_disable()
1486 wr32(E1000_EIMC, adapter->eims_enable_mask); in igb_irq_disable()
1488 wr32(E1000_EIAC, regval & ~adapter->eims_enable_mask); in igb_irq_disable()
1491 wr32(E1000_IAM, 0); in igb_irq_disable()
1492 wr32(E1000_IMC, ~0); in igb_irq_disable()
1516 wr32(E1000_EIAC, regval | adapter->eims_enable_mask); in igb_irq_enable()
1518 wr32(E1000_EIAM, regval | adapter->eims_enable_mask); in igb_irq_enable()
1519 wr32(E1000_EIMS, adapter->eims_enable_mask); in igb_irq_enable()
1521 wr32(E1000_MBVFIMR, 0xFF); in igb_irq_enable()
1524 wr32(E1000_IMS, ims); in igb_irq_enable()
1526 wr32(E1000_IMS, IMS_ENABLE_MASK | in igb_irq_enable()
1528 wr32(E1000_IAM, IMS_ENABLE_MASK | in igb_irq_enable()
1571 wr32(E1000_CTRL_EXT, in igb_release_hw_control()
1590 wr32(E1000_CTRL_EXT, in igb_get_hw_control()
1630 wr32(E1000_I210_TXDCTL(queue), val); in set_tx_desc_fetch_prio()
1647 wr32(E1000_I210_TQAVCC(queue), val); in set_queue_mode()
1731 wr32(E1000_I210_TQAVCTRL, tqavctrl); in igb_config_tx_modes()
1795 wr32(E1000_I210_TQAVCC(queue), tqavcc); in igb_config_tx_modes()
1797 wr32(E1000_I210_TQAVHC(queue), in igb_config_tx_modes()
1804 wr32(E1000_I210_TQAVCC(queue), tqavcc); in igb_config_tx_modes()
1807 wr32(E1000_I210_TQAVHC(queue), 0); in igb_config_tx_modes()
1816 wr32(E1000_I210_TQAVCTRL, tqavctrl); in igb_config_tx_modes()
1833 wr32(E1000_I210_TQAVCTRL, tqavctrl); in igb_config_tx_modes()
1843 wr32(E1000_I210_TQAVCTRL, tqavctrl); in igb_config_tx_modes()
1923 wr32(E1000_I210_TQAVCTRL, val); in igb_setup_tx_mode()
1932 wr32(E1000_TXPBS, val); in igb_setup_tx_mode()
1937 wr32(E1000_RXPBS, val); in igb_setup_tx_mode()
1951 wr32(E1000_I210_DTXMXPKTSZ, val); in igb_setup_tx_mode()
1965 wr32(E1000_RXPBS, I210_RXPBSIZE_DEFAULT); in igb_setup_tx_mode()
1966 wr32(E1000_TXPBS, I210_TXPBSIZE_DEFAULT); in igb_setup_tx_mode()
1967 wr32(E1000_I210_DTXMXPKTSZ, I210_DTXMXPKTSZ_DEFAULT); in igb_setup_tx_mode()
1975 wr32(E1000_I210_TQAVCTRL, val); in igb_setup_tx_mode()
2071 wr32(E1000_CONNSW, connsw); in igb_check_swap_media()
2079 wr32(E1000_CONNSW, connsw); in igb_check_swap_media()
2110 wr32(E1000_CTRL_EXT, ctrl_ext); in igb_check_swap_media()
2145 wr32(E1000_CTRL_EXT, reg_data); in igb_up()
2175 wr32(E1000_RCTL, rctl & ~E1000_RCTL_EN); in igb_down()
2186 wr32(E1000_TCTL, tctl); in igb_down()
2251 wr32(E1000_CONNSW, connsw); in igb_enable_mas()
2290 wr32(E1000_PBA, pba); in igb_reset()
2328 wr32(E1000_PBA, pba); in igb_reset()
2358 wr32(E1000_VFRE, 0); in igb_reset()
2359 wr32(E1000_VFTE, 0); in igb_reset()
2364 wr32(E1000_WUC, 0); in igb_reset()
2425 wr32(E1000_VET, ETHERNET_IEEE_VLAN_TYPE); in igb_reset()
3129 wr32(E1000_I2CPARAMS, i2cctl); in igb_init_i2c()
3374 wr32(E1000_RXPBS, I210_RXPBSIZE_DEFAULT); in igb_probe()
3375 wr32(E1000_TXPBS, I210_TXPBSIZE_DEFAULT); in igb_probe()
3660 wr32(E1000_IOVCTL, E1000_IOVCTL_REUSE_VFQ); in igb_disable_sriov()
3809 wr32(E1000_DCA_CTRL, E1000_DCA_CTRL_DCA_MODE_DISABLE); in igb_remove()
4121 wr32(E1000_CTRL_EXT, reg_data); in __igb_open()
4270 wr32(E1000_TXDCTL(0), 0); in igb_setup_tctl()
4283 wr32(E1000_TCTL, tctl); in igb_setup_tctl()
4301 wr32(E1000_TDLEN(reg_idx), in igb_configure_tx_ring()
4303 wr32(E1000_TDBAL(reg_idx), in igb_configure_tx_ring()
4305 wr32(E1000_TDBAH(reg_idx), tdba >> 32); in igb_configure_tx_ring()
4308 wr32(E1000_TDH(reg_idx), 0); in igb_configure_tx_ring()
4320 wr32(E1000_TXDCTL(reg_idx), txdctl); in igb_configure_tx_ring()
4336 wr32(E1000_TXDCTL(adapter->tx_ring[i]->reg_idx), 0); in igb_configure_tx()
4438 wr32(E1000_RSSRK(j), rss_key[j]); in igb_setup_mrqc()
4472 wr32(E1000_RXCSUM, rxcsum); in igb_setup_mrqc()
4501 wr32(E1000_VT_CTL, vtctl); in igb_setup_mrqc()
4512 wr32(E1000_MRQC, mrqc); in igb_setup_mrqc()
4545 wr32(E1000_RXDCTL(0), 0); in igb_setup_rctl()
4553 wr32(E1000_QDE, ALL_QUEUES); in igb_setup_rctl()
4572 wr32(E1000_RCTL, rctl); in igb_setup_rctl()
4587 wr32(E1000_VMOLR(vfn), vmolr); in igb_set_vf_rlpml()
4611 wr32(reg, val); in igb_set_vf_vlan_strip()
4643 wr32(E1000_VMOLR(vfn), vmolr); in igb_set_vmolr()
4674 wr32(E1000_SRRCTL(reg_idx), srrctl); in igb_setup_srrctl()
4698 wr32(E1000_RXDCTL(reg_idx), 0); in igb_configure_rx_ring()
4701 wr32(E1000_RDBAL(reg_idx), in igb_configure_rx_ring()
4703 wr32(E1000_RDBAH(reg_idx), rdba >> 32); in igb_configure_rx_ring()
4704 wr32(E1000_RDLEN(reg_idx), in igb_configure_rx_ring()
4709 wr32(E1000_RDH(reg_idx), 0); in igb_configure_rx_ring()
4732 wr32(E1000_RXDCTL(reg_idx), rxdctl); in igb_configure_rx_ring()
5094 wr32(E1000_VLVF(i), vlvf); in igb_vlan_promisc_enable()
5149 wr32(E1000_VLVF(i), bits); in igb_scrub_vfta()
5249 wr32(E1000_RCTL, rctl); in igb_set_rx_mode()
5257 wr32(E1000_RLPML, rlpml); in igb_set_rx_mode()
5283 wr32(E1000_VMOLR(vfn), vmolr); in igb_set_rx_mode()
5625 wr32(E1000_EICS, eics); in igb_watchdog_task()
5627 wr32(E1000_ICS, E1000_ICS_RXDMT0); in igb_watchdog_task()
6470 wr32(E1000_EICS, in igb_tx_timeout()
6594 wr32(E1000_RQDPC(i), 0); in igb_update_stats()
6821 wr32((tsintr_tt == 1) ? E1000_TRGTTIML1 : E1000_TRGTTIML0, ts.tv_nsec); in igb_perout()
6822 wr32((tsintr_tt == 1) ? E1000_TRGTTIMH1 : E1000_TRGTTIMH0, (u32)ts.tv_sec); in igb_perout()
6825 wr32(E1000_TSAUXC, tsauxc); in igb_perout()
6901 wr32(E1000_TSICR, ack); in igb_tsync_interrupt()
6938 wr32(E1000_EIMS, adapter->eims_other); in igb_msix_other()
6994 wr32(E1000_DCA_TXCTRL(tx_ring->reg_idx), txctrl); in igb_update_tx_dca()
7014 wr32(E1000_DCA_RXCTRL(rx_ring->reg_idx), rxctrl); in igb_update_rx_dca()
7045 wr32(E1000_DCA_CTRL, E1000_DCA_CTRL_DCA_MODE_CB2); in igb_setup_dca()
7081 wr32(E1000_DCA_CTRL, E1000_DCA_CTRL_DCA_MODE_DISABLE); in __igb_notify_dca()
7163 wr32(E1000_VMOLR(vf), vmolr); in igb_set_vf_promisc()
7221 wr32(E1000_VMOLR(i), vmolr); in igb_restore_vf_multicasts()
7273 wr32(E1000_VLVF(i), vlvf); in igb_clear_vf_vfta()
7316 wr32(E1000_VLVF(idx), BIT(pf_id)); in igb_update_pf_vlvf()
7318 wr32(E1000_VLVF(idx), 0); in igb_update_pf_vlvf()
7361 wr32(E1000_VMVIR(vf), (vid | E1000_VMVIR_VLANA_DEFAULT)); in igb_set_vmvir()
7363 wr32(E1000_VMVIR(vf), 0); in igb_set_vmvir()
7502 wr32(E1000_VFTE, reg | BIT(vf)); in igb_vf_reset_msg()
7504 wr32(E1000_VFRE, reg | BIT(vf)); in igb_vf_reset_msg()
8077 wr32(E1000_EIMS, q_vector->eims_value); in igb_ring_irq_enable()
9127 wr32(E1000_CTRL, ctrl); in igb_vlan_mode()
9132 wr32(E1000_RCTL, rctl); in igb_vlan_mode()
9137 wr32(E1000_CTRL, ctrl); in igb_vlan_mode()
9278 wr32(E1000_RCTL, rctl); in __igb_shutdown()
9283 wr32(E1000_CTRL, ctrl); in __igb_shutdown()
9288 wr32(E1000_WUC, E1000_WUC_PME_EN); in __igb_shutdown()
9289 wr32(E1000_WUFC, wufc); in __igb_shutdown()
9291 wr32(E1000_WUC, 0); in __igb_shutdown()
9292 wr32(E1000_WUFC, 0); in __igb_shutdown()
9390 wr32(E1000_WUS, ~0); in __igb_resume()
9571 wr32(E1000_WUS, ~0); in igb_io_slot_reset()
9650 wr32(E1000_RAL(index), rar_low); in igb_rar_set_index()
9652 wr32(E1000_RAH(index), rar_high); in igb_rar_set_index()
9745 wr32(E1000_RTTDQSEL, vf); /* vf X uses queue X */ in igb_set_vf_rate_limit()
9749 wr32(E1000_RTTBCNRM, 0x14); in igb_set_vf_rate_limit()
9750 wr32(E1000_RTTBCNRC, bcnrc_val); in igb_set_vf_rate_limit()
9829 wr32(reg_offset, reg_val); in igb_ndo_set_vf_spoofchk()
9885 wr32(E1000_DTXCTL, reg); in igb_vmm_control()
9891 wr32(E1000_RPLOLR, reg); in igb_vmm_control()
9919 wr32(E1000_DMCTXTH, 0); in igb_init_dmac()
9930 wr32(E1000_FCRTC, reg); in igb_init_dmac()
9950 wr32(E1000_DMACR, reg); in igb_init_dmac()
9955 wr32(E1000_DMCRTRH, 0); in igb_init_dmac()
9959 wr32(E1000_DMCTLX, reg); in igb_init_dmac()
9964 wr32(E1000_DMCTXTH, (IGB_MIN_TXPBSIZE - in igb_init_dmac()
9972 wr32(E1000_PCIEMISC, reg); in igb_init_dmac()
9977 wr32(E1000_PCIEMISC, reg & ~E1000_PCIEMISC_LX_DECISION); in igb_init_dmac()
9978 wr32(E1000_DMACR, 0); in igb_init_dmac()