Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dab8500_charger.c1156 int curr_index, prev_curr_index, shift_value, i; in ab8500_charger_set_current() local
1172 shift_value = MAIN_CH_INPUT_CURR_SHIFT; in ab8500_charger_set_current()
1173 prev_curr_index = (reg_value >> shift_value); in ab8500_charger_set_current()
1180 shift_value = VBUS_IN_CURR_LIM_SHIFT; in ab8500_charger_set_current()
1181 prev_curr_index = (reg_value >> shift_value); in ab8500_charger_set_current()
1189 shift_value = 0; in ab8500_charger_set_current()
1190 prev_curr_index = (reg_value >> shift_value); in ab8500_charger_set_current()
1225 reg, (u8)curr_index << shift_value); in ab8500_charger_set_current()
1231 (u8) i << shift_value, reg); in ab8500_charger_set_current()
1233 AB8500_CHARGER, reg, (u8)i << shift_value); in ab8500_charger_set_current()
[all …]
/openbmc/qemu/disas/
H A Dnanomips.c6348 uint64 shift_value = extract_shift_4_3_2_1_0(instruction); in DROTR() local
6353 return img_format("DROTR %s, %s, 0x%" PRIx64, rt, rs, shift_value); in DROTR()
6371 uint64 shift_value = extract_shift_4_3_2_1_0(instruction); in DROTR32() local
6376 return img_format("DROTR32 %s, %s, 0x%" PRIx64, rt, rs, shift_value); in DROTR32()
6419 uint64 shift_value = extract_shift_5_4_3_2_1_0(instruction); in DROTX() local
6425 rt, rs, shift_value, shiftx_value); in DROTX()
6443 uint64 shift_value = extract_shift_4_3_2_1_0(instruction); in DSLL() local
6448 return img_format("DSLL %s, %s, 0x%" PRIx64, rt, rs, shift_value); in DSLL()
6466 uint64 shift_value = extract_shift_4_3_2_1_0(instruction); in DSLL32() local
6471 return img_format("DSLL32 %s, %s, 0x%" PRIx64, rt, rs, shift_value); in DSLL32()
[all …]
/openbmc/linux/drivers/scsi/pm8001/
H A Dpm8001_hwi.c4682 u32 shift_value, gsm_base, gsm_dump_offset; in pm8001_get_gsm_dump() local
4711 shift_value = ((gsm_dump_offset + offset) & in pm8001_get_gsm_dump()
4714 shift_value = (((gsm_dump_offset + offset) & in pm8001_get_gsm_dump()
4721 (gsm_base + shift_value))) in pm8001_get_gsm_dump()
4726 (gsm_base + shift_value))) in pm8001_get_gsm_dump()
H A 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()