Lines Matching defs:selector
166 * to get the actual register value for that voltage selector
402 unsigned int val, selector;
415 * since this means the selector value we return is at a different
416 * offset into the selector table.
424 selector = val & mc13892_regulators[id].vsel_mask;
428 selector += MC13892_SWxHI_SEL_OFFSET;
431 dev_dbg(rdev_get_dev(rdev), "%s id: %d val: 0x%08x selector: %d\n",
432 __func__, id, val, selector);
434 return selector;
438 unsigned selector)
445 volt = rdev->desc->volt_table[selector];
447 reg_value = selector;
453 * the selector offset, we need to back out that offset if HI is
456 * The HI bit addition and selector offset handling COULD be more
457 * complicated by shifting and masking off the voltage selector part
458 * of the register then logical OR it back in, but since the selector