Lines Matching refs:desc
74 ret = tps65218_set_bits(tps, dev->desc->vsel_reg, dev->desc->vsel_mask, in tps65218_pmic_set_voltage_sel()
100 return tps65218_set_bits(tps, dev->desc->enable_reg, in tps65218_pmic_enable()
101 dev->desc->enable_mask, dev->desc->enable_mask, in tps65218_pmic_enable()
114 return tps65218_clear_bits(tps, dev->desc->enable_reg, in tps65218_pmic_disable()
115 dev->desc->enable_mask, TPS65218_PROTECT_L1); in tps65218_pmic_disable()
126 return tps65218_clear_bits(tps, dev->desc->bypass_reg, in tps65218_pmic_set_suspend_enable()
127 dev->desc->bypass_mask, in tps65218_pmic_set_suspend_enable()
154 return tps65218_set_bits(tps, dev->desc->bypass_reg, in tps65218_pmic_set_suspend_disable()
155 dev->desc->bypass_mask, in tps65218_pmic_set_suspend_disable()
201 return tps65218_set_bits(tps, dev->desc->csel_reg, dev->desc->csel_mask, in tps65218_pmic_set_input_current_lim()
202 index << __builtin_ctz(dev->desc->csel_mask), in tps65218_pmic_set_input_current_lim()
221 return tps65218_set_bits(tps, dev->desc->csel_reg, dev->desc->csel_mask, in tps65218_pmic_set_current_limit()
222 index << __builtin_ctz(dev->desc->csel_mask), in tps65218_pmic_set_current_limit()