Lines Matching refs:bitmask

21 	u32 bitmask;		/* bit mask for power, clock */  member
40 .bitmask = S_IO_I2C_EN,
46 .bitmask = BIT(0),
52 .bitmask = BIT(0),
58 .bitmask = BIT(0),
64 .bitmask = BIT(0),
70 .bitmask = BIT(0),
80 .bitmask = TPS68470_VSIOVAL_IOVOLT_MASK,
86 .bitmask = TPS68470_VIOVAL_IOVOLT_MASK,
92 .bitmask = TPS68470_VCMVAL_VCVOLT_MASK,
98 .bitmask = TPS68470_VAUX1VAL_AUX1VOLT_MASK,
104 .bitmask = TPS68470_VAUX2VAL_AUX2VOLT_MASK,
110 .bitmask = TPS68470_VAVAL_AVOLT_MASK,
116 .bitmask = TPS68470_VDVAL_DVOLT_MASK,
126 .bitmask = BIT(0) | BIT(1),
132 .bitmask = 0x1F,
138 .bitmask = 0x0F,
144 .bitmask = 0x13,
150 .bitmask = 0xFF,
156 .bitmask = 0xFF,
162 .bitmask = 0x83,
172 .bitmask = 0xF5,
178 .bitmask = BIT(0),
184 .bitmask = TPS68470_CLKCFG1_MODE_A_MASK |
191 .bitmask = TPS68470_CLKCFG1_MODE_A_MASK |
200 int *bitmask) in pmic_get_reg_bit() argument
208 if (!reg || !bitmask) in pmic_get_reg_bit()
212 *bitmask = table[i].bitmask; in pmic_get_reg_bit()
218 int bitmask, u64 *value) in tps68470_pmic_get_power() argument
225 *value = (data & bitmask) ? 1 : 0; in tps68470_pmic_get_power()
230 int bitmask, u64 *value) in tps68470_pmic_get_vr_val() argument
237 *value = data & bitmask; in tps68470_pmic_get_vr_val()
242 int bitmask, u64 *value) in tps68470_pmic_get_clk() argument
249 *value = (data & bitmask) ? 1 : 0; in tps68470_pmic_get_clk()
254 int bitmask, u64 *value) in tps68470_pmic_get_clk_freq() argument
261 *value = data & bitmask; in tps68470_pmic_get_clk_freq()
266 int bitmask, u64 value) in ti_tps68470_regmap_update_bits() argument
268 return regmap_update_bits(regmap, reg, bitmask, value); in ti_tps68470_regmap_update_bits()
284 int reg, ret, bitmask; in tps68470_pmic_common_handler() local
289 ret = pmic_get_reg_bit(address, tbl, tbl_size, &reg, &bitmask); in tps68470_pmic_common_handler()
293 if (function == ACPI_WRITE && *value > bitmask) in tps68470_pmic_common_handler()
299 get(regmap, reg, bitmask, value) : in tps68470_pmic_common_handler()
300 update(regmap, reg, bitmask, *value); in tps68470_pmic_common_handler()