Lines Matching refs:nw64_mac

95 #define nw64_mac(reg, val)	writeq((val), np->mac_regs + (reg))  macro
141 nw64_mac(reg, bits); in __niu_set_and_wait_clear_mac()
1566 nw64_mac(XMAC_CONFIG, val); in xcvr_init_10g_bcm8706()
1622 nw64_mac(XMAC_CONFIG, val); in xcvr_init_10g()
2632 nw64_mac(XMAC_ADDR0, reg0); in niu_set_primary_mac()
2633 nw64_mac(XMAC_ADDR1, reg1); in niu_set_primary_mac()
2634 nw64_mac(XMAC_ADDR2, reg2); in niu_set_primary_mac()
2636 nw64_mac(BMAC_ADDR0, reg0); in niu_set_primary_mac()
2637 nw64_mac(BMAC_ADDR1, reg1); in niu_set_primary_mac()
2638 nw64_mac(BMAC_ADDR2, reg2); in niu_set_primary_mac()
2660 nw64_mac(XMAC_ALT_ADDR0(index), reg0); in niu_set_alt_mac()
2661 nw64_mac(XMAC_ALT_ADDR1(index), reg1); in niu_set_alt_mac()
2662 nw64_mac(XMAC_ALT_ADDR2(index), reg2); in niu_set_alt_mac()
2664 nw64_mac(BMAC_ALT_ADDR0(index), reg0); in niu_set_alt_mac()
2665 nw64_mac(BMAC_ALT_ADDR1(index), reg1); in niu_set_alt_mac()
2666 nw64_mac(BMAC_ALT_ADDR2(index), reg2); in niu_set_alt_mac()
2693 nw64_mac(reg, val); in niu_enable_alt_mac()
2706 nw64_mac(reg, val); in __set_rdc_table_num_hw()
5285 nw64_mac(XMAC_CONFIG, val); in niu_handle_led()
5329 nw64_mac(XMAC_CONFIG, val); in niu_init_xif_xmac()
5342 nw64_mac(XMAC_CONFIG, val); in niu_init_xif_xmac()
5372 nw64_mac(BMAC_XIF_CONFIG, val); in niu_init_xif_bmac()
5432 nw64_mac(XMAC_CONFIG, val); in niu_init_pcs()
5483 nw64_mac(BTXMAC_SW_RST, BTXMAC_SW_RST_RESET); in niu_reset_tx_bmac()
5517 nw64_mac(XMAC_MIN, val); in niu_init_tx_xmac()
5519 nw64_mac(XMAC_MAX, max); in niu_init_tx_xmac()
5521 nw64_mac(XTXMAC_STAT_MSK, ~(u64)0); in niu_init_tx_xmac()
5531 nw64_mac(XMAC_IPG, val); in niu_init_tx_xmac()
5538 nw64_mac(XMAC_CONFIG, val); in niu_init_tx_xmac()
5540 nw64_mac(TXMAC_FRM_CNT, 0); in niu_init_tx_xmac()
5541 nw64_mac(TXMAC_BYTE_CNT, 0); in niu_init_tx_xmac()
5548 nw64_mac(BMAC_MIN_FRAME, min); in niu_init_tx_bmac()
5549 nw64_mac(BMAC_MAX_FRAME, max); in niu_init_tx_bmac()
5551 nw64_mac(BTXMAC_STATUS_MASK, ~(u64)0); in niu_init_tx_bmac()
5552 nw64_mac(BMAC_CTRL_TYPE, 0x8808); in niu_init_tx_bmac()
5553 nw64_mac(BMAC_PREAMBLE_SIZE, 7); in niu_init_tx_bmac()
5558 nw64_mac(BTXMAC_CONFIG, val); in niu_init_tx_bmac()
5586 nw64_mac(XRXMAC_SW_RST, in niu_reset_rx_xmac()
5609 nw64_mac(BRXMAC_SW_RST, BRXMAC_SW_RST_RESET); in niu_reset_rx_bmac()
5642 nw64_mac(XMAC_ADD_FILT0, 0); in niu_init_rx_xmac()
5643 nw64_mac(XMAC_ADD_FILT1, 0); in niu_init_rx_xmac()
5644 nw64_mac(XMAC_ADD_FILT2, 0); in niu_init_rx_xmac()
5645 nw64_mac(XMAC_ADD_FILT12_MASK, 0); in niu_init_rx_xmac()
5646 nw64_mac(XMAC_ADD_FILT00_MASK, 0); in niu_init_rx_xmac()
5648 nw64_mac(XMAC_HASH_TBL(i), 0); in niu_init_rx_xmac()
5649 nw64_mac(XRXMAC_STAT_MSK, ~(u64)0); in niu_init_rx_xmac()
5667 nw64_mac(XMAC_CONFIG, val); in niu_init_rx_xmac()
5669 nw64_mac(RXMAC_BT_CNT, 0); in niu_init_rx_xmac()
5670 nw64_mac(RXMAC_BC_FRM_CNT, 0); in niu_init_rx_xmac()
5671 nw64_mac(RXMAC_MC_FRM_CNT, 0); in niu_init_rx_xmac()
5672 nw64_mac(RXMAC_FRAG_CNT, 0); in niu_init_rx_xmac()
5673 nw64_mac(RXMAC_HIST_CNT1, 0); in niu_init_rx_xmac()
5674 nw64_mac(RXMAC_HIST_CNT2, 0); in niu_init_rx_xmac()
5675 nw64_mac(RXMAC_HIST_CNT3, 0); in niu_init_rx_xmac()
5676 nw64_mac(RXMAC_HIST_CNT4, 0); in niu_init_rx_xmac()
5677 nw64_mac(RXMAC_HIST_CNT5, 0); in niu_init_rx_xmac()
5678 nw64_mac(RXMAC_HIST_CNT6, 0); in niu_init_rx_xmac()
5679 nw64_mac(RXMAC_HIST_CNT7, 0); in niu_init_rx_xmac()
5680 nw64_mac(RXMAC_MPSZER_CNT, 0); in niu_init_rx_xmac()
5681 nw64_mac(RXMAC_CRC_ER_CNT, 0); in niu_init_rx_xmac()
5682 nw64_mac(RXMAC_CD_VIO_CNT, 0); in niu_init_rx_xmac()
5683 nw64_mac(LINK_FAULT_CNT, 0); in niu_init_rx_xmac()
5694 nw64_mac(BMAC_ADD_FILT0, 0); in niu_init_rx_bmac()
5695 nw64_mac(BMAC_ADD_FILT1, 0); in niu_init_rx_bmac()
5696 nw64_mac(BMAC_ADD_FILT2, 0); in niu_init_rx_bmac()
5697 nw64_mac(BMAC_ADD_FILT12_MASK, 0); in niu_init_rx_bmac()
5698 nw64_mac(BMAC_ADD_FILT00_MASK, 0); in niu_init_rx_bmac()
5700 nw64_mac(BMAC_HASH_TBL(i), 0); in niu_init_rx_bmac()
5703 nw64_mac(BRXMAC_STATUS_MASK, ~(u64)0); in niu_init_rx_bmac()
5714 nw64_mac(BRXMAC_CONFIG, val); in niu_init_rx_bmac()
5718 nw64_mac(BMAC_ADDR_CMPEN, val); in niu_init_rx_bmac()
5739 nw64_mac(XMAC_CONFIG, val); in niu_enable_tx_xmac()
5750 nw64_mac(BTXMAC_CONFIG, val); in niu_enable_tx_bmac()
5777 nw64_mac(XMAC_CONFIG, val); in niu_enable_rx_xmac()
5796 nw64_mac(BRXMAC_CONFIG, val); in niu_enable_rx_bmac()
6310 nw64_mac(XMAC_HASH_TBL(i), hash[i]); in niu_load_hash_xmac()
6318 nw64_mac(BMAC_HASH_TBL(i), hash[i]); in niu_load_hash_bmac()
7841 nw64_mac(XMAC_CONFIG, val); in niu_led_state_restore()
7843 nw64_mac(BMAC_XIF_CONFIG, val); in niu_led_state_restore()
7863 nw64_mac(reg, val); in niu_force_led()