Searched refs:voltage_mask (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/drivers/regulator/ |
H A D | ab8500.c | 63 * @voltage_mask: mask to control regulator voltage 84 u8 voltage_mask; member in struct:ab8500_regulator_info 89 u8 voltage_mask; member in struct:ab8500_regulator_info::__anon8371 490 voltage_shift = ffs(info->voltage_mask) - 1; ab8500_regulator_get_voltage_sel() 504 info->voltage_reg, info->voltage_mask, ab8500_regulator_get_voltage_sel() 507 return (regval & info->voltage_mask) >> voltage_shift; ab8500_regulator_get_voltage_sel() 534 info->expand_register.voltage_mask, regval_expand); ab8540_aux3_regulator_get_voltage_sel() 536 if (regval_expand & info->expand_register.voltage_mask) ab8540_aux3_regulator_get_voltage_sel() 550 info->voltage_mask, regval); ab8540_aux3_regulator_get_voltage_sel() 552 voltage_shift = ffs(info->voltage_mask) - 1; ab8540_aux3_regulator_get_voltage_sel() 554 return (regval & info->voltage_mask) >> voltage_shift; ab8540_aux3_regulator_get_voltage_sel() 569 voltage_shift = ffs(info->voltage_mask) - 1; ab8500_regulator_set_voltage_sel() 575 info->voltage_mask, regval); ab8500_regulator_set_voltage_sel() 584 info->voltage_mask, regval); ab8500_regulator_set_voltage_sel() 602 int voltage_shift = ffs(info->voltage_mask) - 1; ab8540_aux3_regulator_set_voltage_sel() 607 info->voltage_mask, regval); ab8540_aux3_regulator_set_voltage_sel() 617 info->voltage_mask, regval); ab8540_aux3_regulator_set_voltage_sel() 621 regval_expand = info->expand_register.voltage_mask; ab8540_aux3_regulator_set_voltage_sel() 627 info->expand_register.voltage_mask, ab8540_aux3_regulator_set_voltage_sel() 639 info->expand_register.voltage_mask, regval_expand); ab8540_aux3_regulator_set_voltage_sel() 733 .voltage_mask = 0x0f, 756 .voltage_mask = 0x0f, 779 .voltage_mask = 0x07, 801 .voltage_mask = 0x38, 945 .voltage_mask = 0x0f, 966 .voltage_mask = 0x0f, 987 .voltage_mask = 0x07, 1010 .voltage_mask = 0x0f, 1032 .voltage_mask = 0x07, 1054 .voltage_mask = 0x07, 1075 .voltage_mask = 0x38, 1135 .voltage_mask = 0x70, 1216 .voltage_mask = 0x7, 1248 .voltage_mask = 0x0f, 1269 .voltage_mask = 0x0f, 1290 .voltage_mask = 0x07, 1313 .voltage_mask = 0x0f, 1334 .voltage_mask = 0x38, 1490 .voltage_mask = 0x0f, 1511 .voltage_mask = 0x0f, 1532 .voltage_mask = 0x07, 1537 .voltage_mask = 0x10, 1561 .voltage_mask = 0x0f, 1584 .voltage_mask = 0x3f, 1607 .voltage_mask = 0x3f, 1628 .voltage_mask = 0x38, 1729 .voltage_mask = 0xc0, 1772 .voltage_mask = 0x07, 3024 info->voltage_mask = 0xf; ab8500_regulator_register()
|
H A D | aat2870-regulator.c | 42 u8 voltage_mask; member in struct:aat2870_regulator 51 return aat2870->update(aat2870, ri->voltage_addr, ri->voltage_mask, aat2870_ldo_set_voltage_sel() 66 return (val & ri->voltage_mask) >> ri->voltage_shift; aat2870_ldo_get_voltage_sel() 158 ri->voltage_mask = 0xF << ri->voltage_shift; aat2870_get_regulator()
|
/linux-4.1.27/drivers/sbus/char/ |
H A D | envctrl.c | 163 unsigned char voltage_mask; /* Byte mask for voltage status channels. */ member in struct:i2c_child_t 499 tmp = data & pchild->voltage_mask; envctrl_i2c_voltage_status() 502 if (tmp == pchild->voltage_mask) { envctrl_i2c_voltage_status() 511 if (pchild->voltage_mask & chnls_mask[i]) { envctrl_i2c_voltage_status() 834 pchild->voltage_mask |= chnls_mask[i]; envctrl_init_globaladdr() 852 pchild->voltage_mask |= chnls_mask[(pchild->chnl_array[i]).chnl_no]; envctrl_init_voltage_status()
|
Completed in 174 milliseconds