Lines Matching refs:grp
359 struct mtk_pinctrl_group *grp = hw->groups + i; in mtk_pctrl_find_group_by_pin() local
361 if (grp->pin == pin) in mtk_pctrl_find_group_by_pin()
362 return grp; in mtk_pctrl_find_group_by_pin()
409 struct mtk_pinctrl_group *grp, in mtk_pctrl_dt_node_to_map_func() argument
420 (*map)[*num_maps].data.mux.group = grp->name; in mtk_pctrl_dt_node_to_map_func()
443 struct mtk_pinctrl_group *grp; in mtk_pctrl_dt_subnode_to_map() local
501 grp = mtk_pctrl_find_group_by_pin(hw, pin); in mtk_pctrl_dt_subnode_to_map()
502 if (!grp) { in mtk_pctrl_dt_subnode_to_map()
509 err = mtk_pctrl_dt_node_to_map_func(hw, pin, func, grp, map, in mtk_pctrl_dt_subnode_to_map()
518 grp->name, in mtk_pctrl_dt_subnode_to_map()
751 struct mtk_pinctrl_group *grp = hw->groups + group; in mtk_pmx_set_mux() local
756 ret = mtk_pctrl_is_function_valid(hw, grp->pin, function); in mtk_pmx_set_mux()
763 desc_func = mtk_pctrl_find_function_by_pin(hw, grp->pin, function); in mtk_pmx_set_mux()
767 desc = (const struct mtk_pin_desc *)&hw->soc->pins[grp->pin]; in mtk_pmx_set_mux()
786 struct mtk_pinctrl_group *grp = &hw->groups[group]; in mtk_pconf_group_get() local
789 return mtk_pinconf_get(pctldev, grp->pin, config); in mtk_pconf_group_get()
796 struct mtk_pinctrl_group *grp = &hw->groups[group]; in mtk_pconf_group_set() local
802 ret = mtk_pinconf_set(pctldev, grp->pin, in mtk_pconf_group_set()
821 hw->soc->adv_drive_set(hw, &hw->soc->pins[grp->pin], 0); in mtk_pconf_group_set()