Lines Matching refs:sky2_write32

219 	sky2_write32(hw, B2_Y2_CLK_CTRL, Y2_CLK_DIV_DIS);  in sky2_power_on()
252 sky2_write32(hw, B2_GP_IO, reg); in sky2_power_on()
886 sky2_write32(hw, SK_REG(port, TX_GMF_CTRL_T), TX_STFW_ENA); in sky2_set_tx_stfwd()
889 sky2_write32(hw, SK_REG(port, TX_GMF_AE_THR), in sky2_set_tx_stfwd()
892 sky2_write32(hw, SK_REG(port, TX_GMF_CTRL_T), TX_STFW_DIS); in sky2_set_tx_stfwd()
894 sky2_write32(hw, SK_REG(port, TX_GMF_CTRL_T), TX_STFW_ENA); in sky2_set_tx_stfwd()
990 sky2_write32(hw, SK_REG(port, RX_GMF_CTRL_T), rx_reg); in sky2_mac_init()
1046 sky2_write32(hw, RB_ADDR(q, RB_START), start); in sky2_ramset()
1047 sky2_write32(hw, RB_ADDR(q, RB_END), end); in sky2_ramset()
1048 sky2_write32(hw, RB_ADDR(q, RB_WP), start); in sky2_ramset()
1049 sky2_write32(hw, RB_ADDR(q, RB_RP), start); in sky2_ramset()
1058 sky2_write32(hw, RB_ADDR(q, RB_RX_UTHP), tp); in sky2_ramset()
1059 sky2_write32(hw, RB_ADDR(q, RB_RX_LTHP), space/2); in sky2_ramset()
1062 sky2_write32(hw, RB_ADDR(q, RB_RX_UTPP), tp); in sky2_ramset()
1063 sky2_write32(hw, RB_ADDR(q, RB_RX_LTPP), space/4); in sky2_ramset()
1078 sky2_write32(hw, Q_ADDR(q, Q_CSR), BMU_CLR_RESET); in sky2_qset()
1079 sky2_write32(hw, Q_ADDR(q, Q_CSR), BMU_OPER_INIT); in sky2_qset()
1080 sky2_write32(hw, Q_ADDR(q, Q_CSR), BMU_FIFO_OP_ON); in sky2_qset()
1081 sky2_write32(hw, Q_ADDR(q, Q_WM), BMU_WM_DEFAULT); in sky2_qset()
1090 sky2_write32(hw, Y2_QADDR(qaddr, PREF_UNIT_CTRL), PREF_UNIT_RST_SET); in sky2_prefetch_init()
1091 sky2_write32(hw, Y2_QADDR(qaddr, PREF_UNIT_CTRL), PREF_UNIT_RST_CLR); in sky2_prefetch_init()
1092 sky2_write32(hw, Y2_QADDR(qaddr, PREF_UNIT_ADDR_HI), upper_32_bits(addr)); in sky2_prefetch_init()
1093 sky2_write32(hw, Y2_QADDR(qaddr, PREF_UNIT_ADDR_LO), lower_32_bits(addr)); in sky2_prefetch_init()
1095 sky2_write32(hw, Y2_QADDR(qaddr, PREF_UNIT_CTRL), PREF_UNIT_OP_ON); in sky2_prefetch_init()
1274 sky2_write32(sky2->hw, in rx_set_checksum()
1290 sky2_write32(hw, SK_REG(sky2->port, RSS_CFG), HASH_ALL); in rx_set_rss()
1299 sky2_write32(hw, SK_REG(sky2->port, RSS_KEY + i * 4), in rx_set_rss()
1303 sky2_write32(hw, SK_REG(sky2->port, RX_GMF_CTRL_T), in rx_set_rss()
1306 sky2_write32(hw, Q_ADDR(rxqaddr[sky2->port], Q_CSR), in rx_set_rss()
1309 sky2_write32(hw, Q_ADDR(rxqaddr[sky2->port], Q_CSR), in rx_set_rss()
1339 sky2_write32(hw, Q_ADDR(rxq, Q_CSR), BMU_RST_SET | BMU_FIFO_RST); in sky2_rx_stop()
1342 sky2_write32(hw, Y2_QADDR(rxq, PREF_UNIT_CTRL), PREF_UNIT_RST_SET); in sky2_rx_stop()
1410 sky2_write32(hw, SK_REG(port, RX_GMF_CTRL_T), in sky2_vlan_mode()
1413 sky2_write32(hw, SK_REG(port, RX_GMF_CTRL_T), in sky2_vlan_mode()
1417 sky2_write32(hw, SK_REG(port, TX_GMF_CTRL_T), in sky2_vlan_mode()
1422 sky2_write32(hw, SK_REG(port, TX_GMF_CTRL_T), in sky2_vlan_mode()
1529 sky2_write32(hw, Q_ADDR(rxq, Q_WM), BMU_WM_PEX); in sky2_rx_start()
1536 sky2_write32(hw, Q_ADDR(rxq, Q_TEST), F_M_RX_RAM_DIS); in sky2_rx_start()
1560 sky2_write32(hw, SK_REG(sky2->port, RX_GMF_CTRL_T), RX_TRUNC_OFF); in sky2_rx_start()
1563 sky2_write32(hw, SK_REG(sky2->port, RX_GMF_CTRL_T), RX_TRUNC_ON); in sky2_rx_start()
1578 sky2_write32(hw, SK_REG(sky2->port, RX_GMF_CTRL_T), RX_MACSEC_FLUSH_OFF); in sky2_rx_start()
1587 sky2_write32(hw, Q_ADDR(txqaddr[sky2->port], Q_TEST), in sky2_rx_start()
1695 sky2_write32(hw, Q_ADDR(txqaddr[port], Q_TEST), F_TX_CHK_AUTO_OFF); in sky2_hw_up()
1726 sky2_write32(hw, B0_IMSK, Y2_IS_BASE); in sky2_setup_irq()
1764 sky2_write32(hw, B0_IMSK, imask); in sky2_open()
2047 sky2_write32(hw, SK_REG(port, TXA_ITI_INI), 0L); in sky2_tx_reset()
2048 sky2_write32(hw, SK_REG(port, TXA_LIM_INI), 0L); in sky2_tx_reset()
2051 sky2_write32(hw, Q_ADDR(txqaddr[port], Q_CSR), in sky2_tx_reset()
2055 sky2_write32(hw, Y2_QADDR(txqaddr[port], PREF_UNIT_CTRL), in sky2_tx_reset()
2058 sky2_write32(hw, RB_ADDR(txqaddr[port], RB_CTRL), RB_RST_SET); in sky2_tx_reset()
2074 sky2_write32(hw, Q_ADDR(txqaddr[port], Q_CSR), BMU_STOP); in sky2_hw_down()
2077 sky2_write32(hw, RB_ADDR(txqaddr[port], RB_CTRL), in sky2_hw_down()
2094 sky2_write32(hw, STAT_LEV_TIMER_CNT, 0); in sky2_hw_down()
2095 sky2_write32(hw, STAT_TX_TIMER_CNT, 0); in sky2_hw_down()
2096 sky2_write32(hw, STAT_ISR_TIMER_CNT, 0); in sky2_hw_down()
2124 sky2_write32(hw, B0_IMSK, 0); in sky2_close()
2136 sky2_write32(hw, B0_IMSK, imask); in sky2_close()
2347 sky2_write32(hw, B0_IMSK, imask); in sky2_qlink_intr()
2393 sky2_write32(hw, B0_IMSK, 0); in sky2_change_mtu()
2431 sky2_write32(hw, B0_IMSK, imask); in sky2_change_mtu()
2681 sky2_write32(sky2->hw, Q_ADDR(rxqaddr[sky2->port], Q_CSR), in sky2_rx_checksum()
2794 sky2_write32(hw, STAT_CTRL, SC_STAT_CLR_IRQ); in sky2_status_intr()
2833 sky2_write32(hw, Q_ADDR(rxqaddr[port], Q_CSR), BMU_CLR_IRQ_PAR); in sky2_hw_error()
2839 sky2_write32(hw, Q_ADDR(txqaddr[port], Q_CSR), BMU_CLR_IRQ_TCP); in sky2_hw_error()
2874 sky2_write32(hw, Y2_CFG_AER + PCI_ERR_UNCOR_STATUS, in sky2_hw_intr()
2925 sky2_write32(hw, Q_ADDR(q, Q_CSR), BMU_CLR_IRQ_CHK); in sky2_le_error()
3062 sky2_write32(hw, B0_Y2_SP_ICR, 2); in sky2_intr()
3239 sky2_write32(hw, CPU_WDOG, 0); in sky2_reset()
3250 sky2_write32(hw, CPU_WDOG, 0); in sky2_reset()
3270 sky2_write32(hw, Y2_CFG_AER + PCI_ERR_UNCOR_STATUS, in sky2_reset()
3307 sky2_write32(hw, Y2_PEX_PHY_DATA, (0x80UL << 16) | (1 << 7)); in sky2_reset()
3313 sky2_write32(hw, Y2_PEX_PHY_DATA, PEX_DB_ACCESS | (0x08UL << 16)); in sky2_reset()
3347 sky2_write32(hw, Y2_PEX_PHY_DATA, PEX_DB_ACCESS | (0x08UL << 16)); in sky2_reset()
3351 sky2_write32(hw, B2_I2C_IRQ, 1); in sky2_reset()
3358 sky2_write32(hw, B28_DPT_CTRL, DPT_STOP); in sky2_reset()
3386 sky2_write32(hw, B0_HWE_IMSK, hwe_mask); in sky2_reset()
3394 sky2_write32(hw, STAT_CTRL, SC_STAT_RST_SET); in sky2_reset()
3395 sky2_write32(hw, STAT_CTRL, SC_STAT_RST_CLR); in sky2_reset()
3397 sky2_write32(hw, STAT_LIST_ADDR_LO, hw->st_dma); in sky2_reset()
3398 sky2_write32(hw, STAT_LIST_ADDR_HI, (u64) hw->st_dma >> 32); in sky2_reset()
3412 sky2_write32(hw, STAT_TX_TIMER_INI, sky2_us2clk(hw, 1000)); in sky2_reset()
3413 sky2_write32(hw, STAT_ISR_TIMER_INI, sky2_us2clk(hw, 20)); in sky2_reset()
3414 sky2_write32(hw, STAT_LEV_TIMER_INI, sky2_us2clk(hw, 100)); in sky2_reset()
3417 sky2_write32(hw, STAT_CTRL, SC_STAT_OP_ON); in sky2_reset()
3462 sky2_write32(hw, B0_IMSK, 0); in sky2_all_down()
3501 sky2_write32(hw, B0_IMSK, imask); in sky2_all_up()
4114 sky2_write32(hw, STAT_TX_TIMER_INI, in sky2_set_coalesce()
4123 sky2_write32(hw, STAT_LEV_TIMER_INI, in sky2_set_coalesce()
4132 sky2_write32(hw, STAT_ISR_TIMER_INI, in sky2_set_coalesce()
4336 sky2_write32(sky2->hw, in sky2_set_features()
4709 sky2_write32(hw, B0_Y2_SP_ICR, 2); in sky2_test_intr()
4728 sky2_write32(hw, B0_IMSK, Y2_IS_IRQ_SW); in sky2_test_msi()
4744 sky2_write32(hw, B0_IMSK, 0); in sky2_test_msi()
5022 sky2_write32(hw, B0_IMSK, 0); in sky2_remove()