/drivers/regulator/ |
H A D | lp8788-buck.c | 263 unsigned selector) 276 return lp8788_update_bits(buck->lp, addr, LP8788_VOUT_M, selector); 262 lp8788_buck12_set_voltage_sel(struct regulator_dev *rdev, unsigned selector) argument
|
H A D | qcom_rpm-regulator.c | 207 unsigned selector) 218 uV = regulator_list_voltage_linear_range(rdev, selector); 232 unsigned selector) 243 uV = regulator_list_voltage_linear_range(rdev, selector); 206 rpm_reg_set_mV_sel(struct regulator_dev *rdev, unsigned selector) argument 231 rpm_reg_set_uV_sel(struct regulator_dev *rdev, unsigned selector) argument
|
H A D | s5m8767.c | 257 int selector = 0; local 268 selector = DIV_ROUND_UP(min_vol - desc->min, desc->step); 270 if (desc->min + desc->step * selector > desc->max) 273 return selector; 299 unsigned selector) 327 while (*buck234_vol != selector) { 339 return regulator_set_voltage_sel_regmap(rdev, selector); 298 s5m8767_set_voltage_sel(struct regulator_dev *rdev, unsigned selector) argument
|
H A D | tps65023-regulator.c | 164 unsigned selector) 172 return regulator_set_voltage_sel_regmap(dev, selector); 163 tps65023_dcdc_set_voltage_sel(struct regulator_dev *dev, unsigned selector) argument
|
H A D | tps65910-regulator.c | 599 unsigned selector) 607 dcdc_mult = (selector / VDD1_2_NUM_VOLT_FINE) + 1; 610 vsel = (selector % VDD1_2_NUM_VOLT_FINE) + 3; 618 dcdc_mult = (selector / VDD1_2_NUM_VOLT_FINE) + 1; 621 vsel = (selector % VDD1_2_NUM_VOLT_FINE) + 3; 629 vsel = selector + 3; 637 unsigned selector) 657 selector << LDO_SEL_SHIFT); 660 selector << BBCH_BBSEL_SHIFT); 667 unsigned selector) 598 tps65910_set_voltage_dcdc_sel(struct regulator_dev *dev, unsigned selector) argument 636 tps65910_set_voltage_sel(struct regulator_dev *dev, unsigned selector) argument 666 tps65911_set_voltage_sel(struct regulator_dev *dev, unsigned selector) argument 701 tps65910_list_voltage_dcdc(struct regulator_dev *dev, unsigned selector) argument 724 tps65911_list_voltage(struct regulator_dev *dev, unsigned selector) argument [all...] |
H A D | lp872x.c | 322 unsigned selector) 336 return lp872x_update_bits(lp, addr, mask, selector); 321 lp872x_buck_set_voltage_sel(struct regulator_dev *rdev, unsigned selector) argument
|
H A D | max8997.c | 140 unsigned int selector) 147 switch (selector) { 151 return 4000000 + 20000 * (selector - 0x01); 162 unsigned int selector) 176 val = desc->min + desc->step * selector; 412 int min_uV, int max_uV, unsigned *selector) 455 *selector = val; 467 int min_uV, int max_uV, unsigned *selector) 503 *selector = i; 634 int min_uV, int max_uV, unsigned *selector) 139 max8997_list_voltage_charger_cv(struct regulator_dev *rdev, unsigned int selector) argument 161 max8997_list_voltage(struct regulator_dev *rdev, unsigned int selector) argument 411 max8997_set_voltage_charger_cv(struct regulator_dev *rdev, int min_uV, int max_uV, unsigned *selector) argument 466 max8997_set_voltage_ldobuck(struct regulator_dev *rdev, int min_uV, int max_uV, unsigned *selector) argument 633 max8997_set_voltage_buck(struct regulator_dev *rdev, int min_uV, int max_uV, unsigned *selector) argument 708 max8997_set_voltage_safeout_sel(struct regulator_dev *rdev, unsigned selector) argument [all...] |
H A D | tps6524x-regulator.c | 457 static int set_voltage_sel(struct regulator_dev *rdev, unsigned selector) argument 468 return write_field(hw, &info->voltage, selector);
|
H A D | twl-regulator.c | 460 twl4030ldo_set_voltage_sel(struct regulator_dev *rdev, unsigned selector) argument 465 selector); 497 unsigned *selector) 532 int max_uV, unsigned *selector) 579 twl6030ldo_set_voltage_sel(struct regulator_dev *rdev, unsigned selector) argument 584 selector); 802 unsigned int selector) 807 selector); 496 twl4030smps_set_voltage(struct regulator_dev *rdev, int min_uV, int max_uV, unsigned *selector) argument 531 twl6030coresmps_set_voltage(struct regulator_dev *rdev, int min_uV, int max_uV, unsigned *selector) argument 801 twl6030smps_set_voltage_sel(struct regulator_dev *rdev, unsigned int selector) argument
|
/drivers/media/usb/uvc/ |
H A D | uvc_ctrl.c | 43 .selector = UVC_PU_BRIGHTNESS_CONTROL, 52 .selector = UVC_PU_CONTRAST_CONTROL, 61 .selector = UVC_PU_HUE_CONTROL, 71 .selector = UVC_PU_SATURATION_CONTROL, 80 .selector = UVC_PU_SHARPNESS_CONTROL, 89 .selector = UVC_PU_GAMMA_CONTROL, 98 .selector = UVC_PU_WHITE_BALANCE_TEMPERATURE_CONTROL, 108 .selector = UVC_PU_WHITE_BALANCE_COMPONENT_CONTROL, 118 .selector = UVC_PU_BACKLIGHT_COMPENSATION_CONTROL, 127 .selector 1598 u8 selector; member in struct:uvc_ctrl_fixup [all...] |
/drivers/pinctrl/ |
H A D | core.c | 529 * pinctrl_get_group_selector() - returns the group selector for a group 545 "found group selector %u for %s\n", 1346 unsigned ngroups, selector = 0; local 1353 while (selector < ngroups) { 1356 const char *gname = ops->get_group_name(pctldev, selector); 1362 ret = ops->get_group_pins(pctldev, selector, 1379 selector++;
|
H A D | pinctrl-adi2.c | 598 unsigned selector) 602 return pinctrl->soc->groups[selector].name; 605 static int adi_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, argument 611 *pins = pinctrl->soc->groups[selector].pins; 612 *num_pins = pinctrl->soc->groups[selector].num; 663 unsigned selector) 667 return pinctrl->soc->functions[selector].name; 670 static int adi_pinmux_get_groups(struct pinctrl_dev *pctldev, unsigned selector, argument 676 *groups = pinctrl->soc->functions[selector].groups; 677 *num_groups = pinctrl->soc->functions[selector] 597 adi_get_group_name(struct pinctrl_dev *pctldev, unsigned selector) argument 662 adi_pinmux_get_func_name(struct pinctrl_dev *pctldev, unsigned selector) argument [all...] |
H A D | pinctrl-falcon.c | 364 struct seq_file *s, unsigned selector) 363 falcon_pinconf_group_dbg_show(struct pinctrl_dev *pctrldev, struct seq_file *s, unsigned selector) argument
|
H A D | pinctrl-at91.c | 223 unsigned selector) 227 return info->groups[selector].name; 230 static int at91_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, argument 236 if (selector >= info->ngroups) 239 *pins = info->groups[selector].pins; 240 *npins = info->groups[selector].npins; 701 static int at91_pmx_set(struct pinctrl_dev *pctldev, unsigned selector, argument 713 info->functions[selector].name, info->groups[group].name); 766 unsigned selector) 770 return info->functions[selector] 222 at91_get_group_name(struct pinctrl_dev *pctldev, unsigned selector) argument 765 at91_pmx_get_func_name(struct pinctrl_dev *pctldev, unsigned selector) argument 773 at91_pmx_get_groups(struct pinctrl_dev *pctldev, unsigned selector, const char * const **groups, unsigned * const num_groups) argument [all...] |
H A D | pinctrl-bcm2835.c | 612 unsigned selector) 614 return bcm2835_gpio_groups[selector]; 618 unsigned selector, 622 *pins = &bcm2835_gpio_pins[selector].number; 816 unsigned selector) 818 return bcm2835_functions[selector]; 822 unsigned selector, 611 bcm2835_pctl_get_group_name(struct pinctrl_dev *pctldev, unsigned selector) argument 617 bcm2835_pctl_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, const unsigned **pins, unsigned *num_pins) argument 815 bcm2835_pmx_get_function_name(struct pinctrl_dev *pctldev, unsigned selector) argument 821 bcm2835_pmx_get_function_groups(struct pinctrl_dev *pctldev, unsigned selector, const char * const **groups, unsigned * const num_groups) argument
|
H A D | pinctrl-rockchip.c | 282 unsigned selector) 286 return info->groups[selector].name; 290 unsigned selector, const unsigned **pins, 295 if (selector >= info->ngroups) 298 *pins = info->groups[selector].pins; 299 *npins = info->groups[selector].npins; 800 unsigned selector) 804 return info->functions[selector].name; 808 unsigned selector, const char * const **groups, 813 *groups = info->functions[selector] 281 rockchip_get_group_name(struct pinctrl_dev *pctldev, unsigned selector) argument 289 rockchip_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, const unsigned **pins, unsigned *npins) argument 799 rockchip_pmx_get_func_name(struct pinctrl_dev *pctldev, unsigned selector) argument 807 rockchip_pmx_get_groups(struct pinctrl_dev *pctldev, unsigned selector, const char * const **groups, unsigned * const num_groups) argument 819 rockchip_pmx_set(struct pinctrl_dev *pctldev, unsigned selector, unsigned group) argument [all...] |
H A D | pinctrl-single.c | 727 struct seq_file *s, unsigned selector) 726 pcs_pinconf_group_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned selector) argument
|
H A D | pinctrl-u300.c | 843 unsigned selector) 845 return u300_pin_groups[selector].name; 848 static int u300_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, argument 852 *pins = u300_pin_groups[selector].pins; 853 *num_pins = u300_pin_groups[selector].num_pins; 933 static void u300_pmx_endisable(struct u300_pmx *upmx, unsigned selector, argument 940 upmx_mask = u300_pmx_functions[selector].mask; 958 static int u300_pmx_set_mux(struct pinctrl_dev *pctldev, unsigned selector, argument 964 if (selector == 0) 968 u300_pmx_endisable(upmx, selector, tru 842 u300_get_group_name(struct pinctrl_dev *pctldev, unsigned selector) argument 978 u300_pmx_get_func_name(struct pinctrl_dev *pctldev, unsigned selector) argument 984 u300_pmx_get_groups(struct pinctrl_dev *pctldev, unsigned selector, const char * const **groups, unsigned * const num_groups) argument [all...] |
/drivers/pinctrl/nomadik/ |
H A D | pinctrl-abx500.c | 800 unsigned selector) 804 return pct->soc->groups[selector].name; 808 unsigned selector, 814 *pins = pct->soc->groups[selector].pins; 815 *num_pins = pct->soc->groups[selector].npins; 799 abx500_get_group_name(struct pinctrl_dev *pctldev, unsigned selector) argument 807 abx500_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, const unsigned **pins, unsigned *num_pins) argument
|
/drivers/pinctrl/samsung/ |
H A D | pinctrl-exynos5440.c | 145 /* check if the selector is a valid pin group selector */ 154 /* return the name of the group selected by the group selector */ 156 unsigned selector) 161 return priv->pin_groups[selector].name; 166 unsigned selector, const unsigned **pins, unsigned *num_pins) 171 *pins = priv->pin_groups[selector].pins; 172 *num_pins = priv->pin_groups[selector].num_pins; 313 /* check if the selector is a valid pin function selector */ 155 exynos5440_get_group_name(struct pinctrl_dev *pctldev, unsigned selector) argument 165 exynos5440_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, const unsigned **pins, unsigned *num_pins) argument 323 exynos5440_pinmux_get_fname(struct pinctrl_dev *pctldev, unsigned selector) argument 333 exynos5440_pinmux_get_groups(struct pinctrl_dev *pctldev, unsigned selector, const char * const **groups, unsigned * const num_groups) argument 346 exynos5440_pinmux_setup(struct pinctrl_dev *pctldev, unsigned selector, unsigned group, bool enable) argument 367 exynos5440_pinmux_set_mux(struct pinctrl_dev *pctldev, unsigned selector, unsigned group) argument [all...] |
H A D | pinctrl-samsung.c | 310 /* check if the selector is a valid pin function selector */ 321 unsigned selector) 326 return drvdata->pmx_functions[selector].name; 329 /* return the groups associated for the specified function selector */ 331 unsigned selector, const char * const **groups, 337 *groups = drvdata->pmx_functions[selector].groups; 338 *num_groups = drvdata->pmx_functions[selector].num_groups; 365 static void samsung_pinmux_setup(struct pinctrl_dev *pctldev, unsigned selector, argument 378 func = &drvdata->pmx_functions[selector]; 320 samsung_pinmux_get_fname(struct pinctrl_dev *pctldev, unsigned selector) argument 330 samsung_pinmux_get_groups(struct pinctrl_dev *pctldev, unsigned selector, const char * const **groups, unsigned * const num_groups) argument 404 samsung_pinmux_set_mux(struct pinctrl_dev *pctldev, unsigned selector, unsigned group) argument [all...] |
/drivers/pinctrl/sirf/ |
H A D | pinctrl-sirf.c | 56 unsigned selector) 58 return sirfsoc_pin_groups[selector].name; 62 unsigned selector, 66 *pins = sirfsoc_pin_groups[selector].pins; 67 *num_pins = sirfsoc_pin_groups[selector].num_pins; 143 unsigned selector, bool enable) 147 sirfsoc_pmx_functions[selector].padmux; 183 unsigned selector, 189 sirfsoc_pinmux_endisable(spmx, selector, true); 200 unsigned selector) 55 sirfsoc_get_group_name(struct pinctrl_dev *pctldev, unsigned selector) argument 61 sirfsoc_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, const unsigned **pins, unsigned *num_pins) argument 142 sirfsoc_pinmux_endisable(struct sirfsoc_pmx *spmx, unsigned selector, bool enable) argument 182 sirfsoc_pinmux_set_mux(struct pinctrl_dev *pmxdev, unsigned selector, unsigned group) argument 199 sirfsoc_pinmux_get_func_name(struct pinctrl_dev *pctldev, unsigned selector) argument 205 sirfsoc_pinmux_get_groups(struct pinctrl_dev *pctldev, unsigned selector, const char * const **groups, unsigned * const num_groups) argument [all...] |
/drivers/usb/storage/ |
H A D | shuttle_usbat.c | 1408 int selector; local 1412 for (selector = 0xA0; selector <= 0xB0; selector += 0x10) { 1413 if (usbat_write(us, USBAT_ATA, USBAT_ATA_DEVICE, selector) !=
|
/drivers/infiniband/hw/mlx4/ |
H A D | mcg.c | 353 u8 selector = dst_value >> 6; local 360 switch (selector) {
|
/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_dcb.c | 150 enum qlcnic_dcb_selector selector; member in struct:qlcnic_dcb_app 725 app->selector = QLC_DCB_GET_SELECTOR_APP(each->app[i]) - 1; 726 new_app.selector = app->selector; 933 .selector = idtype, 1057 table[j].selector = app->selector;
|