Home
last modified time | relevance | path

Searched refs:ctrl_reg_val (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/wireless/ath/ath12k/
Dhal_tx.c71 u32 ctrl_reg_val; in ath12k_hal_tx_set_dscp_tid_map() local
77 ctrl_reg_val = ath12k_hif_read32(ab, HAL_SEQ_WCSS_UMAC_TCL_REG + in ath12k_hal_tx_set_dscp_tid_map()
80 ctrl_reg_val |= HAL_TCL1_RING_CMN_CTRL_DSCP_TID_MAP_PROG_EN; in ath12k_hal_tx_set_dscp_tid_map()
82 HAL_TCL1_RING_CMN_CTRL_REG, ctrl_reg_val); in ath12k_hal_tx_set_dscp_tid_map()
132 ctrl_reg_val = ath12k_hif_read32(ab, HAL_SEQ_WCSS_UMAC_TCL_REG + in ath12k_hal_tx_set_dscp_tid_map()
134 ctrl_reg_val &= ~HAL_TCL1_RING_CMN_CTRL_DSCP_TID_MAP_PROG_EN; in ath12k_hal_tx_set_dscp_tid_map()
137 ctrl_reg_val); in ath12k_hal_tx_set_dscp_tid_map()
/linux-6.12.1/drivers/net/wireless/ath/ath11k/
Dhal_tx.c85 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()
/linux-6.12.1/drivers/accel/habanalabs/common/pci/
Dpci.c250 u32 offset, ctrl_reg_val; in hl_pci_set_inbound_region() local
277 ctrl_reg_val = FIELD_PREP(IATU_REGION_CTRL_REGION_EN_MASK, 1); in hl_pci_set_inbound_region()
278 ctrl_reg_val |= FIELD_PREP(IATU_REGION_CTRL_MATCH_MODE_MASK, pci_region->mode); in hl_pci_set_inbound_region()
279 ctrl_reg_val |= FIELD_PREP(IATU_REGION_CTRL_NUM_MATCH_EN_MASK, 1); in hl_pci_set_inbound_region()
282 ctrl_reg_val |= FIELD_PREP(IATU_REGION_CTRL_BAR_NUM_MASK, pci_region->bar); in hl_pci_set_inbound_region()
284 rc |= hl_pci_iatu_write(hdev, offset + 0x4, ctrl_reg_val); in hl_pci_set_inbound_region()