Lines Matching refs:setting
344 struct pinctrl_setting *setting) in pinmux_map_to_setting() argument
346 struct pinctrl_dev *pctldev = setting->pctldev; in pinmux_map_to_setting()
364 setting->data.mux.func = ret; in pinmux_map_to_setting()
366 ret = pmxops->get_function_groups(pctldev, setting->data.mux.func, in pinmux_map_to_setting()
398 setting->data.mux.group = ret; in pinmux_map_to_setting()
403 void pinmux_free_setting(const struct pinctrl_setting *setting) in pinmux_free_setting() argument
408 int pinmux_enable_setting(const struct pinctrl_setting *setting) in pinmux_enable_setting() argument
410 struct pinctrl_dev *pctldev = setting->pctldev; in pinmux_enable_setting()
420 ret = pctlops->get_group_pins(pctldev, setting->data.mux.group, in pinmux_enable_setting()
428 setting->data.mux.group); in pinmux_enable_setting()
437 ret = pin_request(pctldev, pins[i], setting->dev_name, NULL); in pinmux_enable_setting()
445 setting->data.mux.group); in pinmux_enable_setting()
464 desc->mux_setting = &(setting->data.mux); in pinmux_enable_setting()
467 ret = ops->set_mux(pctldev, setting->data.mux.func, in pinmux_enable_setting()
468 setting->data.mux.group); in pinmux_enable_setting()
489 void pinmux_disable_setting(const struct pinctrl_setting *setting) in pinmux_disable_setting() argument
491 struct pinctrl_dev *pctldev = setting->pctldev; in pinmux_disable_setting()
500 ret = pctlops->get_group_pins(pctldev, setting->data.mux.group, in pinmux_disable_setting()
507 setting->data.mux.group); in pinmux_disable_setting()
523 if (desc->mux_setting == &(setting->data.mux)) { in pinmux_disable_setting()
529 setting->data.mux.group); in pinmux_disable_setting()
664 const struct pinctrl_setting *setting) in pinmux_show_setting() argument
666 struct pinctrl_dev *pctldev = setting->pctldev; in pinmux_show_setting()
671 pctlops->get_group_name(pctldev, setting->data.mux.group), in pinmux_show_setting()
672 setting->data.mux.group, in pinmux_show_setting()
673 pmxops->get_function_name(pctldev, setting->data.mux.func), in pinmux_show_setting()
674 setting->data.mux.func); in pinmux_show_setting()