Searched refs:ds_val (Results 1 – 2 of 2) sorted by relevance
313 unsigned int reg, bit, ds_val; in meson_pinconf_set_drive_strength() local328 ds_val = MESON_PINCONF_DRV_500UA; in meson_pinconf_set_drive_strength()330 ds_val = MESON_PINCONF_DRV_2500UA; in meson_pinconf_set_drive_strength()332 ds_val = MESON_PINCONF_DRV_3000UA; in meson_pinconf_set_drive_strength()334 ds_val = MESON_PINCONF_DRV_4000UA; in meson_pinconf_set_drive_strength()339 ds_val = MESON_PINCONF_DRV_4000UA; in meson_pinconf_set_drive_strength()342 ret = regmap_update_bits(pc->reg_ds, reg, 0x3 << bit, ds_val << bit); in meson_pinconf_set_drive_strength()
763 u32 regval, ds_val; in ma35_pinconf_get_drive_strength() local769 ds_val = field_get(MA35_GP_DS_MASK(port), regval); in ma35_pinconf_get_drive_strength()772 *strength = ds_1800mv_tbl[ds_val]; in ma35_pinconf_get_drive_strength()774 *strength = ds_3300mv_tbl[ds_val]; in ma35_pinconf_get_drive_strength()784 int i, ds_val = -1; in ma35_pinconf_set_drive_strength() local790 ds_val = i; in ma35_pinconf_set_drive_strength()797 ds_val = i; in ma35_pinconf_set_drive_strength()802 if (ds_val == -1) in ma35_pinconf_set_drive_strength()810 regval |= field_prep(MA35_GP_DS_MASK(port), ds_val); in ma35_pinconf_set_drive_strength()