Lines Matching refs:n_voltages
103 const u8 n_voltages;
116 .n_voltages = ARRAY_SIZE(_vreg##_table), \
162 if (vreg->n_voltages == 1)
165 for (i = 0; i < vreg->n_voltages; i++) {
169 else if (i + 1 == vreg->n_voltages && rdev_get_id(rdev) == V1)
175 (vreg->n_voltages - 1) << vreg->index,
179 i = vreg->n_voltages - 1;
193 if (vreg->n_voltages == 1)
197 tmp = ((tmp >> vreg->index) & (vreg->n_voltages - 1));
259 .n_voltages = ARRAY_SIZE(_vreg##_table), \