Searched refs:shadow_cfg_idx (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | hal.c | 1082 int shadow_cfg_idx, in ath11k_hal_srng_update_hp_tp_addr() argument 1098 srng->u.dst_ring.tp_addr = (u32 *)(HAL_SHADOW_REG(ab, shadow_cfg_idx) + in ath11k_hal_srng_update_hp_tp_addr() 1101 srng->u.src_ring.hp_addr = (u32 *)(HAL_SHADOW_REG(ab, shadow_cfg_idx) + in ath11k_hal_srng_update_hp_tp_addr() 1111 int shadow_cfg_idx = hal->num_shadow_reg_configured; in ath11k_hal_srng_update_shadow_config() local 1114 if (shadow_cfg_idx >= HAL_SHADOW_NUM_REGS) in ath11k_hal_srng_update_shadow_config() 1127 hal->shadow_reg_addr[shadow_cfg_idx] = target_reg; in ath11k_hal_srng_update_shadow_config() 1130 ath11k_hal_srng_update_hp_tp_addr(ab, shadow_cfg_idx, ring_type, in ath11k_hal_srng_update_shadow_config() 1136 HAL_SHADOW_REG(ab, shadow_cfg_idx), in ath11k_hal_srng_update_shadow_config() 1137 shadow_cfg_idx, in ath11k_hal_srng_update_shadow_config()
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | hal.c | 2016 int shadow_cfg_idx, in ath12k_hal_srng_update_hp_tp_addr() argument 2032 srng->u.dst_ring.tp_addr = (u32 *)(HAL_SHADOW_REG(shadow_cfg_idx) + in ath12k_hal_srng_update_hp_tp_addr() 2035 srng->u.src_ring.hp_addr = (u32 *)(HAL_SHADOW_REG(shadow_cfg_idx) + in ath12k_hal_srng_update_hp_tp_addr() 2045 int shadow_cfg_idx = hal->num_shadow_reg_configured; in ath12k_hal_srng_update_shadow_config() local 2048 if (shadow_cfg_idx >= HAL_SHADOW_NUM_REGS) in ath12k_hal_srng_update_shadow_config() 2061 hal->shadow_reg_addr[shadow_cfg_idx] = target_reg; in ath12k_hal_srng_update_shadow_config() 2064 ath12k_hal_srng_update_hp_tp_addr(ab, shadow_cfg_idx, ring_type, in ath12k_hal_srng_update_shadow_config() 2070 HAL_SHADOW_REG(shadow_cfg_idx), in ath12k_hal_srng_update_shadow_config() 2071 shadow_cfg_idx, in ath12k_hal_srng_update_shadow_config()
|