Lines Matching refs:origin
185 u32 origin = dsaf_read_dev(drv, XGMAC_PMA_FEC_CONTROL_REG); in hns_xgmac_pma_fec_enable() local
187 dsaf_set_bit(origin, XGMAC_PMA_FEC_CTL_TX_B, !!tx_value); in hns_xgmac_pma_fec_enable()
188 dsaf_set_bit(origin, XGMAC_PMA_FEC_CTL_RX_B, !!rx_value); in hns_xgmac_pma_fec_enable()
189 dsaf_write_dev(drv, XGMAC_PMA_FEC_CONTROL_REG, origin); in hns_xgmac_pma_fec_enable()
234 u32 origin = dsaf_read_dev(drv, XGMAC_MAC_CONTROL_REG); in hns_xgmac_config_pad_and_crc() local
236 dsaf_set_bit(origin, XGMAC_CTL_TX_PAD_B, !!newval); in hns_xgmac_config_pad_and_crc()
237 dsaf_set_bit(origin, XGMAC_CTL_TX_FCS_B, !!newval); in hns_xgmac_config_pad_and_crc()
238 dsaf_set_bit(origin, XGMAC_CTL_RX_FCS_B, !!newval); in hns_xgmac_config_pad_and_crc()
239 dsaf_write_dev(drv, XGMAC_MAC_CONTROL_REG, origin); in hns_xgmac_config_pad_and_crc()
251 u32 origin = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_CTRL_REG); in hns_xgmac_pausefrm_cfg() local
253 dsaf_set_bit(origin, XGMAC_PAUSE_CTL_TX_B, !!tx_en); in hns_xgmac_pausefrm_cfg()
254 dsaf_set_bit(origin, XGMAC_PAUSE_CTL_RX_B, !!rx_en); in hns_xgmac_pausefrm_cfg()
255 dsaf_write_dev(drv, XGMAC_MAC_PAUSE_CTRL_REG, origin); in hns_xgmac_pausefrm_cfg()