Lines Matching +full:function +full:- +full:mask
1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2011-2013
14 * tps65217_reg_read() - Generic function that can read a TPS65217 register
29 * tps65217_reg_write() - Generic function that can write a TPS65217 PMIC
38 * @mask: Bit mask (8 bits) to be applied. Function will only
39 * change bits that are set in the bit mask.
44 uchar mask) in tps65217_reg_write() argument
52 * mask in tps65217_reg_write()
54 if (mask != TPS65217_MASK_ALL_BITS) { in tps65217_reg_write()
63 read_val &= (~mask); in tps65217_reg_write()
64 read_val |= (dest_val & mask); in tps65217_reg_write()
112 * tps65217_voltage_update() - Function to change a voltage level, as this
113 * is a multi-step process.