Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Dsoc15_common.h158 uint32_t target_reg = adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg;\
164 if (target_reg == grbm_cntl) \
166 else if (target_reg == grbm_idx) \
168 WREG32(target_reg, value); \
170 WREG32(target_reg, value); \
179 uint32_t target_reg = adev->reg_offset[ip##_HWIP][0][reg##_BASE_IDX] + reg;\
180 __WREG32_SOC15_RLC__(target_reg, value, AMDGPU_REGS_RLC, ip##_HWIP); \
185 uint32_t target_reg = adev->reg_offset[GC_HWIP][0][reg##_BASE_IDX] + reg;\
186 WREG32_RLC_EX(prefix, target_reg, value); \
/linux-6.1.9/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()
/linux-6.1.9/tools/perf/util/
Dbpf-prologue.c113 const char *reg, int target_reg) in gen_ldx_reg_from_ctx() argument
122 ins(BPF_LDX_MEM(BPF_DW, target_reg, ctx_reg, offset), pos); in gen_ldx_reg_from_ctx()
/linux-6.1.9/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()
/linux-6.1.9/sound/pci/rme9652/
Dhdspm.c3212 u32 target_reg; in hdspm_set_toggle_setting() local
3216 target_reg = HDSPM_WR_SETTINGS; in hdspm_set_toggle_setting()
3219 target_reg = HDSPM_controlRegister; in hdspm_set_toggle_setting()
3227 hdspm_write(hdspm, target_reg, *reg); in hdspm_set_toggle_setting()