Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/ras/amd/atl/
Ddenormalize.c657 unsigned int mod_value, shift_value; in denorm_addr_df4_np2() local
665 shift_value = 13; in denorm_addr_df4_np2()
669 shift_value = 12; in denorm_addr_df4_np2()
673 shift_value = 11; in denorm_addr_df4_np2()
677 shift_value = 13; in denorm_addr_df4_np2()
681 shift_value = 12; in denorm_addr_df4_np2()
689 hash_pa8 = BIT_ULL(shift_value) & ctx->ret_addr; in denorm_addr_df4_np2()
690 temp_addr_a = remove_bits(shift_value, shift_value, ctx->ret_addr); in denorm_addr_df4_np2()
711 shift_value += 1 - ilog2(ctx->map.num_intlv_sockets); in denorm_addr_df4_np2()
712 temp_addr_b = GENMASK_ULL(63, shift_value) & ctx->ret_addr; in denorm_addr_df4_np2()
[all …]
/linux-6.12.1/drivers/power/supply/
Dab8500_charger.c1168 int curr_index, prev_curr_index, shift_value, i; in ab8500_charger_set_current() local
1184 shift_value = MAIN_CH_INPUT_CURR_SHIFT; in ab8500_charger_set_current()
1185 prev_curr_index = (reg_value >> shift_value); in ab8500_charger_set_current()
1192 shift_value = VBUS_IN_CURR_LIM_SHIFT; in ab8500_charger_set_current()
1193 prev_curr_index = (reg_value >> shift_value); in ab8500_charger_set_current()
1201 shift_value = 0; in ab8500_charger_set_current()
1202 prev_curr_index = (reg_value >> shift_value); in ab8500_charger_set_current()
1237 reg, (u8)curr_index << shift_value); in ab8500_charger_set_current()
1243 (u8) i << shift_value, reg); in ab8500_charger_set_current()
1245 AB8500_CHARGER, reg, (u8)i << shift_value); in ab8500_charger_set_current()
[all …]
/linux-6.12.1/drivers/scsi/pm8001/
Dpm8001_hwi.c4625 u32 shift_value, gsm_base, gsm_dump_offset; in pm8001_get_gsm_dump() local
4654 shift_value = ((gsm_dump_offset + offset) & in pm8001_get_gsm_dump()
4657 shift_value = (((gsm_dump_offset + offset) & in pm8001_get_gsm_dump()
4664 (gsm_base + shift_value))) in pm8001_get_gsm_dump()
4669 (gsm_base + shift_value))) in pm8001_get_gsm_dump()
Dpm80xx_hwi.c51 int pm80xx_bar4_shift(struct pm8001_hba_info *pm8001_ha, u32 shift_value) in pm80xx_bar4_shift() argument
55 pm8001_cw32(pm8001_ha, 0, MEMBASE_II_SHIFT_REGISTER, shift_value); in pm80xx_bar4_shift()
60 } while ((reg_val != shift_value) && time_before(jiffies, start)); in pm80xx_bar4_shift()
61 if (reg_val != shift_value) { in pm80xx_bar4_shift()