Searched refs:shift_value (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/power/supply/ |
D | ab8500_charger.c | 1138 int curr_index, prev_curr_index, shift_value, i; in ab8500_charger_set_current() local 1154 shift_value = MAIN_CH_INPUT_CURR_SHIFT; in ab8500_charger_set_current() 1155 prev_curr_index = (reg_value >> shift_value); in ab8500_charger_set_current() 1162 shift_value = VBUS_IN_CURR_LIM_SHIFT; in ab8500_charger_set_current() 1163 prev_curr_index = (reg_value >> shift_value); in ab8500_charger_set_current() 1171 shift_value = 0; in ab8500_charger_set_current() 1172 prev_curr_index = (reg_value >> shift_value); in ab8500_charger_set_current() 1207 reg, (u8)curr_index << shift_value); in ab8500_charger_set_current() 1213 (u8) i << shift_value, reg); in ab8500_charger_set_current() 1215 AB8500_CHARGER, reg, (u8)i << shift_value); in ab8500_charger_set_current() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/pm8001/ |
D | pm8001_hwi.c | 4848 u32 shift_value, gsm_base, gsm_dump_offset; in pm8001_get_gsm_dump() local 4877 shift_value = ((gsm_dump_offset + offset) & in pm8001_get_gsm_dump() 4880 shift_value = (((gsm_dump_offset + offset) & in pm8001_get_gsm_dump() 4887 (gsm_base + shift_value))) in pm8001_get_gsm_dump() 4892 (gsm_base + shift_value))) in pm8001_get_gsm_dump()
|
D | pm80xx_hwi.c | 50 int pm80xx_bar4_shift(struct pm8001_hba_info *pm8001_ha, u32 shift_value) in pm80xx_bar4_shift() argument 54 pm8001_cw32(pm8001_ha, 0, MEMBASE_II_SHIFT_REGISTER, shift_value); in pm80xx_bar4_shift() 59 } while ((reg_val != shift_value) && time_before(jiffies, start)); in pm80xx_bar4_shift() 60 if (reg_val != shift_value) { in pm80xx_bar4_shift()
|