Home
last modified time | relevance | path

Searched refs:target_reg (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Dsoc15_common.h153 uint32_t target_reg = adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg;\
159 if (target_reg == grbm_cntl) \
161 else if (target_reg == grbm_idx) \
163 WREG32(target_reg, value); \
165 WREG32(target_reg, value); \
174 uint32_t target_reg = adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg;\
175 __WREG32_SOC15_RLC__(target_reg, value, AMDGPU_REGS_RLC, ip##_HWIP, inst); \
180 uint32_t target_reg = adev->reg_offset[GC_HWIP][inst][reg##_BASE_IDX] + reg;\
181 WREG32_RLC_EX(prefix, target_reg, value, inst); \
/drivers/hwmon/
Dmax6620.c120 static const u8 target_reg[] = { variable
190 ret = i2c_smbus_read_byte_data(client, target_reg[i]); in max6620_update_device()
194 ret = i2c_smbus_read_byte_data(client, target_reg[i] + 1); in max6620_update_device()
272 target_reg[channel], val1); in max6620_read()
278 target_reg[channel] + 1, val2); in max6620_read()
377 ret = i2c_smbus_write_byte_data(client, target_reg[channel], val1); in max6620_write()
380 ret = i2c_smbus_write_byte_data(client, target_reg[channel] + 1, val2); in max6620_write()
/drivers/net/wireless/ath/ath11k/
Dhal.c1100 u32 target_reg; in ath11k_hal_srng_update_shadow_config() local
1107 target_reg = srng_config->reg_start[HAL_HP_OFFSET_IN_REG_START]; in ath11k_hal_srng_update_shadow_config()
1108 target_reg += srng_config->reg_size[HAL_HP_OFFSET_IN_REG_START] * in ath11k_hal_srng_update_shadow_config()
1113 target_reg += HAL_OFFSET_FROM_HP_TO_TP; in ath11k_hal_srng_update_shadow_config()
1115 hal->shadow_reg_addr[shadow_cfg_idx] = target_reg; in ath11k_hal_srng_update_shadow_config()
1123 target_reg, in ath11k_hal_srng_update_shadow_config()
/drivers/net/wireless/ath/ath12k/
Dhal.c2037 u32 target_reg; in ath12k_hal_srng_update_shadow_config() local
2044 target_reg = srng_config->reg_start[HAL_HP_OFFSET_IN_REG_START]; in ath12k_hal_srng_update_shadow_config()
2045 target_reg += srng_config->reg_size[HAL_HP_OFFSET_IN_REG_START] * in ath12k_hal_srng_update_shadow_config()
2050 target_reg += HAL_OFFSET_FROM_HP_TO_TP; in ath12k_hal_srng_update_shadow_config()
2052 hal->shadow_reg_addr[shadow_cfg_idx] = target_reg; in ath12k_hal_srng_update_shadow_config()
2060 target_reg, in ath12k_hal_srng_update_shadow_config()