Home
last modified time | relevance | path

Searched refs:voltage_mask (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/regulator/
Dab8500.c196 u8 voltage_mask; member
545 voltage_shift = ffs(info->voltage_mask) - 1; in ab8500_regulator_get_voltage_sel()
559 info->voltage_reg, info->voltage_mask, in ab8500_regulator_get_voltage_sel()
562 return (regval & info->voltage_mask) >> voltage_shift; in ab8500_regulator_get_voltage_sel()
577 voltage_shift = ffs(info->voltage_mask) - 1; in ab8500_regulator_set_voltage_sel()
583 info->voltage_mask, regval); in ab8500_regulator_set_voltage_sel()
592 info->voltage_mask, regval); in ab8500_regulator_set_voltage_sel()
674 .voltage_mask = 0x0f,
697 .voltage_mask = 0x0f,
720 .voltage_mask = 0x07,
[all …]
Daat2870-regulator.c29 u8 voltage_mask; member
38 return aat2870->update(aat2870, ri->voltage_addr, ri->voltage_mask, in aat2870_ldo_set_voltage_sel()
53 return (val & ri->voltage_mask) >> ri->voltage_shift; in aat2870_ldo_get_voltage_sel()
145 ri->voltage_mask = 0xF << ri->voltage_shift; in aat2870_get_regulator()
/linux-5.19.10/drivers/sbus/char/
Denvctrl.c162 unsigned char voltage_mask; /* Byte mask for voltage status channels. */ member
498 tmp = data & pchild->voltage_mask; in envctrl_i2c_voltage_status()
501 if (tmp == pchild->voltage_mask) { in envctrl_i2c_voltage_status()
510 if (pchild->voltage_mask & chnls_mask[i]) { in envctrl_i2c_voltage_status()
831 pchild->voltage_mask |= chnls_mask[i]; in envctrl_init_globaladdr()
849 pchild->voltage_mask |= chnls_mask[(pchild->chnl_array[i]).chnl_no]; in envctrl_init_voltage_status()