Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
H A 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); \
/linux/drivers/hwmon/
H A Dmax6620.c120 static const u8 target_reg[] = { variable
186 ret = i2c_smbus_read_byte_data(client, target_reg[i]); in max6620_update_device()
190 ret = i2c_smbus_read_byte_data(client, target_reg[i] + 1); in max6620_update_device()
264 target_reg[channel], val1); in max6620_read()
268 target_reg[channel] + 1, val2); in max6620_read()
361 ret = i2c_smbus_write_byte_data(client, target_reg[channel], val1); in max6620_write()
364 ret = i2c_smbus_write_byte_data(client, target_reg[channel] + 1, val2); in max6620_write()
/linux/drivers/net/wireless/ath/ath12k/wifi7/
H A Dhal.c415 u32 target_reg; in ath12k_wifi7_hal_srng_update_shadow_config() local
422 target_reg = srng_config->reg_start[HAL_HP_OFFSET_IN_REG_START]; in ath12k_wifi7_hal_srng_update_shadow_config()
423 target_reg += srng_config->reg_size[HAL_HP_OFFSET_IN_REG_START] * in ath12k_wifi7_hal_srng_update_shadow_config()
428 target_reg += HAL_OFFSET_FROM_HP_TO_TP; in ath12k_wifi7_hal_srng_update_shadow_config()
430 hal->shadow_reg_addr[shadow_cfg_idx] = target_reg; in ath12k_wifi7_hal_srng_update_shadow_config()
438 target_reg, in ath12k_wifi7_hal_srng_update_shadow_config()
/linux/drivers/net/wireless/ath/ath11k/
H A Dhal.c1153 u32 target_reg; in ath11k_hal_srng_update_shadow_config() local
1160 target_reg = srng_config->reg_start[HAL_HP_OFFSET_IN_REG_START]; in ath11k_hal_srng_update_shadow_config()
1161 target_reg += srng_config->reg_size[HAL_HP_OFFSET_IN_REG_START] * in ath11k_hal_srng_update_shadow_config()
1166 target_reg += HAL_OFFSET_FROM_HP_TO_TP; in ath11k_hal_srng_update_shadow_config()
1168 hal->shadow_reg_addr[shadow_cfg_idx] = target_reg; in ath11k_hal_srng_update_shadow_config()
1176 target_reg, in ath11k_hal_srng_update_shadow_config()
/linux/sound/pci/rme9652/
H A Dhdspm.c3192 u32 target_reg; in hdspm_set_toggle_setting() local
3196 target_reg = HDSPM_WR_SETTINGS; in hdspm_set_toggle_setting()
3199 target_reg = HDSPM_controlRegister; in hdspm_set_toggle_setting()
3207 hdspm_write(hdspm, target_reg, *reg); in hdspm_set_toggle_setting()