Lines Matching refs:reg_val
302 uint32_t reg_val = 0; in hal_tx_config_rbm_mapping_be_9224() local
324 reg_val = val | ((RBM_MAPPING_BMSK & rbm_id) << in hal_tx_config_rbm_mapping_be_9224()
328 HAL_REG_WRITE(hal_soc, reg_addr, reg_val); in hal_tx_config_rbm_mapping_be_9224()
600 uint32_t reg_addr, reg_val = 0; in hal_tx_set_ppe_cmn_config_9224() local
604 reg_val = HAL_REG_READ(soc, reg_addr); in hal_tx_set_ppe_cmn_config_9224()
606 reg_val &= ~HWIO_TCL_R0_CMN_CONFIG_PPE_DROP_PREC_ERR_EXCEPTION_BMSK; in hal_tx_set_ppe_cmn_config_9224()
607 reg_val |= in hal_tx_set_ppe_cmn_config_9224()
612 reg_val &= ~HWIO_TCL_R0_CMN_CONFIG_PPE_FAKE_MAC_HDR_EXCEPTION_BMSK; in hal_tx_set_ppe_cmn_config_9224()
613 reg_val |= in hal_tx_set_ppe_cmn_config_9224()
618 reg_val &= ~HWIO_TCL_R0_CMN_CONFIG_PPE_CPU_CODE_VALID_EXCEPTION_BMSK; in hal_tx_set_ppe_cmn_config_9224()
619 reg_val |= in hal_tx_set_ppe_cmn_config_9224()
624 reg_val &= ~HWIO_TCL_R0_CMN_CONFIG_PPE_L3_L4_CSUM_ERR_EXCEPTION_BMSK; in hal_tx_set_ppe_cmn_config_9224()
625 reg_val |= in hal_tx_set_ppe_cmn_config_9224()
630 HAL_REG_WRITE(soc, reg_addr, reg_val); in hal_tx_set_ppe_cmn_config_9224()
691 uint32_t reg_addr, reg_val = 0; in hal_tx_set_ppe_pri2tid_map_9224() local
700 reg_val |= val; in hal_tx_set_ppe_pri2tid_map_9224()
701 HAL_REG_WRITE(soc, reg_addr, reg_val); in hal_tx_set_ppe_pri2tid_map_9224()
717 uint32_t reg_addr, reg_val = 0; in hal_tx_enable_pri2tid_map_9224() local
725 reg_val = HAL_REG_READ(soc, reg_addr); in hal_tx_enable_pri2tid_map_9224()
727 reg_val &= in hal_tx_enable_pri2tid_map_9224()
730 reg_val |= in hal_tx_enable_pri2tid_map_9224()
735 HAL_REG_WRITE(soc, reg_addr, reg_val); in hal_tx_enable_pri2tid_map_9224()
751 uint32_t reg_addr, reg_val = 0, mask, shift; in hal_tx_update_ppe_pri2tid_9224() local
778 reg_val = HAL_REG_READ(soc, reg_addr); in hal_tx_update_ppe_pri2tid_9224()
779 reg_val &= ~mask; in hal_tx_update_ppe_pri2tid_9224()
780 reg_val |= (pri << shift) & mask; in hal_tx_update_ppe_pri2tid_9224()
782 HAL_REG_WRITE(soc, reg_addr, reg_val); in hal_tx_update_ppe_pri2tid_9224()