Lines Matching refs:rtase_w16
109 static void rtase_w16(const struct rtase_private *tp, u16 reg, u16 val16) in rtase_w16() function
666 rtase_w16(tp, RTASE_INT_MITI_TX + i * 2, tp->tx_int_mit); in rtase_interrupt_mitigation()
669 rtase_w16(tp, RTASE_INT_MITI_RX + i * 2, tp->rx_int_mit); in rtase_interrupt_mitigation()
701 rtase_w16(tp, RTASE_TX_DESC_COMMAND, cmd); in rtase_desc_addr_fill()
742 rtase_w16(tp, RTASE_RX_CONFIG_0, rx_config); in rtase_hw_set_features()
746 rtase_w16(tp, RTASE_CPLUS_CMD, val | RTASE_RX_CHKSUM); in rtase_hw_set_features()
748 rtase_w16(tp, RTASE_CPLUS_CMD, val & ~RTASE_RX_CHKSUM); in rtase_hw_set_features()
758 rtase_w16(tp, RTASE_RX_CONFIG_1, rx_config); in rtase_hw_set_features()
796 rtase_w16(tp, RTASE_RX_CONFIG_0, rx_mode); in rtase_hw_set_rx_packet_filter()
812 rtase_w16(tp, ivec->imr_addr, 0); in rtase_irq_dis_and_clear()
814 rtase_w16(tp, ivec->isr_addr, val2); in rtase_irq_dis_and_clear()
838 rtase_w16(tp, RTASE_RX_CONFIG_0, rx_config & ~RTASE_ACCEPT_MASK); in rtase_nic_reset()
861 rtase_w16(tp, RTASE_RX_CONFIG_0, rx_config); in rtase_nic_reset()
889 rtase_w16(tp, RTASE_FCR, reg_data); in rtase_set_rx_queue()
912 rtase_w16(tp, RTASE_TX_CONFIG_1, reg_data); in rtase_set_tx_queue()
928 rtase_w16(tp, RTASE_RX_CONFIG_0, reg_data16); in rtase_hw_config()
934 rtase_w16(tp, RTASE_RX_CONFIG_1, reg_data16); in rtase_hw_config()
950 rtase_w16(tp, RTASE_TFUN_CTRL, reg_data16 | in rtase_hw_config()
959 rtase_w16(tp, RTASE_MTPS, reg_data16); in rtase_hw_config()
963 rtase_w16(tp, RTASE_TOKSEL, 0x5555); in rtase_hw_config()
972 rtase_w16(tp, RTASE_CPLUS_CMD, reg_data16); in rtase_hw_config()
974 rtase_w16(tp, RTASE_RFIFONFULL, 0x190); in rtase_hw_config()
976 rtase_w16(tp, RTASE_RMS, tp->rx_buf_sz); in rtase_hw_config()
987 rtase_w16(tp, RTASE_RX_CONFIG_1, rcr & ~RTASE_PCIE_RELOAD_EN); in rtase_nic_enable()
988 rtase_w16(tp, RTASE_RX_CONFIG_1, rcr | RTASE_PCIE_RELOAD_EN); in rtase_nic_enable()
1006 rtase_w16(tp, ivec->imr_addr, ivec->imr); in rtase_enable_hw_interrupt()
1052 rtase_w16(tp, ivec->imr_addr, 0x0); in rtase_q_interrupt()
1053 rtase_w16(tp, ivec->isr_addr, status); in rtase_q_interrupt()
1081 rtase_w16(tp, ivec->imr_addr, ivec->imr); in rtase_poll()
1454 rtase_w16(tp, RTASE_LBK_CTRL, RTASE_LBK_ATLD | RTASE_LBK_CLR); in rtase_rar_set()
1767 rtase_w16(tp, RTASE_CPLUS_CMD, value); in rtase_set_pauseparam()