Searched refs:ctrl_reg_val (Results 1 – 2 of 2) sorted by relevance
/drivers/net/wireless/ath/ath11k/ |
D | hal_tx.c | 85 u32 ctrl_reg_val; in ath11k_hal_tx_set_dscp_tid_map() local 92 ctrl_reg_val = ath11k_hif_read32(ab, HAL_SEQ_WCSS_UMAC_TCL_REG + in ath11k_hal_tx_set_dscp_tid_map() 95 ctrl_reg_val |= HAL_TCL1_RING_CMN_CTRL_DSCP_TID_MAP_PROG_EN; in ath11k_hal_tx_set_dscp_tid_map() 97 HAL_TCL1_RING_CMN_CTRL_REG, ctrl_reg_val); in ath11k_hal_tx_set_dscp_tid_map() 132 ctrl_reg_val = ath11k_hif_read32(ab, HAL_SEQ_WCSS_UMAC_TCL_REG + in ath11k_hal_tx_set_dscp_tid_map() 134 ctrl_reg_val &= ~HAL_TCL1_RING_CMN_CTRL_DSCP_TID_MAP_PROG_EN; in ath11k_hal_tx_set_dscp_tid_map() 137 ctrl_reg_val); in ath11k_hal_tx_set_dscp_tid_map()
|
/drivers/misc/habanalabs/common/pci/ |
D | pci.c | 242 u32 offset, ctrl_reg_val; in hl_pci_set_inbound_region() local 269 ctrl_reg_val = FIELD_PREP(IATU_REGION_CTRL_REGION_EN_MASK, 1); in hl_pci_set_inbound_region() 270 ctrl_reg_val |= FIELD_PREP(IATU_REGION_CTRL_MATCH_MODE_MASK, pci_region->mode); in hl_pci_set_inbound_region() 271 ctrl_reg_val |= FIELD_PREP(IATU_REGION_CTRL_NUM_MATCH_EN_MASK, 1); in hl_pci_set_inbound_region() 274 ctrl_reg_val |= FIELD_PREP(IATU_REGION_CTRL_BAR_NUM_MASK, pci_region->bar); in hl_pci_set_inbound_region() 276 rc |= hl_pci_iatu_write(hdev, offset + 0x4, ctrl_reg_val); in hl_pci_set_inbound_region()
|