Searched refs:nr64_mac (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/sun/
H A Dniu.c74 #define nr64_mac(reg) readq(np->mac_regs + (reg)) macro
104 u64 val = nr64_mac(reg); __niu_wait_bits_clear_mac()
126 (unsigned long long)nr64_mac(reg)); __niu_set_and_wait_clear_mac()
1076 val2 = nr64_mac(XMAC_INTER2); link_status_10g_serdes()
1561 val = nr64_mac(XMAC_CONFIG); xcvr_init_10g_bcm8706()
1617 val = nr64_mac(XMAC_CONFIG); xcvr_init_10g()
2686 val = nr64_mac(reg); niu_enable_alt_mac()
2699 u64 val = nr64_mac(reg); __set_rdc_table_num_hw()
3906 u64 xrxmac_stat = nr64_mac(XRXMAC_STATUS); niu_mif_interrupt()
3923 val = nr64_mac(XTXMAC_STATUS); niu_xmac_interrupt()
3937 val = nr64_mac(XRXMAC_STATUS); niu_xmac_interrupt()
3981 val = nr64_mac(XMAC_FC_STAT); niu_xmac_interrupt()
3995 val = nr64_mac(BTXMAC_STATUS); niu_bmac_interrupt()
4005 val = nr64_mac(BRXMAC_STATUS); niu_bmac_interrupt()
4017 val = nr64_mac(BMAC_CTRL_STATUS); niu_bmac_interrupt()
5273 val = nr64_mac(XMAC_CONFIG); niu_handle_led()
5300 val = nr64_mac(XMAC_CONFIG); niu_init_xif_xmac()
5332 val = nr64_mac(XMAC_CONFIG); niu_init_xif_xmac()
5431 val = nr64_mac(XMAC_CONFIG); niu_init_pcs()
5487 if (!(nr64_mac(BTXMAC_SW_RST) & BTXMAC_SW_RST_RESET)) niu_reset_tx_bmac()
5494 (unsigned long long) nr64_mac(BTXMAC_SW_RST)); niu_reset_tx_bmac()
5513 val = nr64_mac(XMAC_MIN); niu_init_tx_xmac()
5524 val = nr64_mac(XMAC_IPG); niu_init_tx_xmac()
5534 val = nr64_mac(XMAC_CONFIG); niu_init_tx_xmac()
5556 val = nr64_mac(BTXMAC_CONFIG); niu_init_tx_bmac()
5591 if (!(nr64_mac(XRXMAC_SW_RST) & (XRXMAC_SW_RST_REG_RS | niu_reset_rx_xmac()
5599 (unsigned long long) nr64_mac(XRXMAC_SW_RST)); niu_reset_rx_xmac()
5613 if (!(nr64_mac(BRXMAC_SW_RST) & BRXMAC_SW_RST_RESET)) niu_reset_rx_bmac()
5620 (unsigned long long) nr64_mac(BRXMAC_SW_RST)); niu_reset_rx_bmac()
5654 val = nr64_mac(XMAC_CONFIG); niu_init_rx_xmac()
5706 val = nr64_mac(BRXMAC_CONFIG); niu_init_rx_bmac()
5717 val = nr64_mac(BMAC_ADDR_CMPEN); niu_init_rx_bmac()
5734 u64 val = nr64_mac(XMAC_CONFIG); niu_enable_tx_xmac()
5745 u64 val = nr64_mac(BTXMAC_CONFIG); niu_enable_tx_bmac()
5764 u64 val = nr64_mac(XMAC_CONFIG); niu_enable_rx_xmac()
5783 u64 val = nr64_mac(BRXMAC_CONFIG); niu_enable_rx_bmac()
6197 mp->tx_frames += nr64_mac(TXMAC_FRM_CNT); niu_sync_xmac_stats()
6198 mp->tx_bytes += nr64_mac(TXMAC_BYTE_CNT); niu_sync_xmac_stats()
6200 mp->rx_link_faults += nr64_mac(LINK_FAULT_CNT); niu_sync_xmac_stats()
6201 mp->rx_align_errors += nr64_mac(RXMAC_ALIGN_ERR_CNT); niu_sync_xmac_stats()
6202 mp->rx_frags += nr64_mac(RXMAC_FRAG_CNT); niu_sync_xmac_stats()
6203 mp->rx_mcasts += nr64_mac(RXMAC_MC_FRM_CNT); niu_sync_xmac_stats()
6204 mp->rx_bcasts += nr64_mac(RXMAC_BC_FRM_CNT); niu_sync_xmac_stats()
6205 mp->rx_hist_cnt1 += nr64_mac(RXMAC_HIST_CNT1); niu_sync_xmac_stats()
6206 mp->rx_hist_cnt2 += nr64_mac(RXMAC_HIST_CNT2); niu_sync_xmac_stats()
6207 mp->rx_hist_cnt3 += nr64_mac(RXMAC_HIST_CNT3); niu_sync_xmac_stats()
6208 mp->rx_hist_cnt4 += nr64_mac(RXMAC_HIST_CNT4); niu_sync_xmac_stats()
6209 mp->rx_hist_cnt5 += nr64_mac(RXMAC_HIST_CNT5); niu_sync_xmac_stats()
6210 mp->rx_hist_cnt6 += nr64_mac(RXMAC_HIST_CNT6); niu_sync_xmac_stats()
6211 mp->rx_hist_cnt7 += nr64_mac(RXMAC_HIST_CNT7); niu_sync_xmac_stats()
6212 mp->rx_octets += nr64_mac(RXMAC_BT_CNT); niu_sync_xmac_stats()
6213 mp->rx_code_violations += nr64_mac(RXMAC_CD_VIO_CNT); niu_sync_xmac_stats()
6214 mp->rx_len_errors += nr64_mac(RXMAC_MPSZER_CNT); niu_sync_xmac_stats()
6215 mp->rx_crc_errors += nr64_mac(RXMAC_CRC_ER_CNT); niu_sync_xmac_stats()
6222 mp->tx_bytes += nr64_mac(BTXMAC_BYTE_CNT); niu_sync_bmac_stats()
6223 mp->tx_frames += nr64_mac(BTXMAC_FRM_CNT); niu_sync_bmac_stats()
6225 mp->rx_frames += nr64_mac(BRXMAC_FRAME_CNT); niu_sync_bmac_stats()
6226 mp->rx_align_errors += nr64_mac(BRXMAC_ALIGN_ERR_CNT); niu_sync_bmac_stats()
6227 mp->rx_crc_errors += nr64_mac(BRXMAC_ALIGN_ERR_CNT); niu_sync_bmac_stats()
6228 mp->rx_len_errors += nr64_mac(BRXMAC_CODE_VIOL_ERR_CNT); niu_sync_bmac_stats()
7842 return nr64_mac(XMAC_CONFIG); niu_led_state_save()
7844 return nr64_mac(BMAC_XIF_CONFIG); niu_led_state_save()
7867 val = nr64_mac(reg); niu_force_led()

Completed in 80 milliseconds