sprd_pctl         157 drivers/pinctrl/sprd/pinctrl-sprd.c static int sprd_pinctrl_get_id_by_name(struct sprd_pinctrl *sprd_pctl,
sprd_pctl         160 drivers/pinctrl/sprd/pinctrl-sprd.c 	struct sprd_pinctrl_soc_info *info = sprd_pctl->info;
sprd_pctl         172 drivers/pinctrl/sprd/pinctrl-sprd.c sprd_pinctrl_get_pin_by_id(struct sprd_pinctrl *sprd_pctl, unsigned int id)
sprd_pctl         174 drivers/pinctrl/sprd/pinctrl-sprd.c 	struct sprd_pinctrl_soc_info *info = sprd_pctl->info;
sprd_pctl         189 drivers/pinctrl/sprd/pinctrl-sprd.c sprd_pinctrl_find_group_by_name(struct sprd_pinctrl *sprd_pctl,
sprd_pctl         192 drivers/pinctrl/sprd/pinctrl-sprd.c 	struct sprd_pinctrl_soc_info *info = sprd_pctl->info;
sprd_pctl         844 drivers/pinctrl/sprd/pinctrl-sprd.c 				     struct sprd_pinctrl *sprd_pctl,
sprd_pctl         857 drivers/pinctrl/sprd/pinctrl-sprd.c 	grp->pins = devm_kcalloc(sprd_pctl->dev,
sprd_pctl         864 drivers/pinctrl/sprd/pinctrl-sprd.c 		ret = sprd_pinctrl_get_id_by_name(sprd_pctl, pin_name);
sprd_pctl         870 drivers/pinctrl/sprd/pinctrl-sprd.c 		dev_dbg(sprd_pctl->dev,
sprd_pctl         894 drivers/pinctrl/sprd/pinctrl-sprd.c static int sprd_pinctrl_parse_dt(struct sprd_pinctrl *sprd_pctl)
sprd_pctl         896 drivers/pinctrl/sprd/pinctrl-sprd.c 	struct sprd_pinctrl_soc_info *info = sprd_pctl->info;
sprd_pctl         897 drivers/pinctrl/sprd/pinctrl-sprd.c 	struct device_node *np = sprd_pctl->dev->of_node;
sprd_pctl         910 drivers/pinctrl/sprd/pinctrl-sprd.c 	info->groups = devm_kcalloc(sprd_pctl->dev,
sprd_pctl         917 drivers/pinctrl/sprd/pinctrl-sprd.c 	info->grp_names = devm_kcalloc(sprd_pctl->dev,
sprd_pctl         927 drivers/pinctrl/sprd/pinctrl-sprd.c 		ret = sprd_pinctrl_parse_groups(child, sprd_pctl, grp);
sprd_pctl         939 drivers/pinctrl/sprd/pinctrl-sprd.c 								sprd_pctl, grp);
sprd_pctl         955 drivers/pinctrl/sprd/pinctrl-sprd.c static int sprd_pinctrl_add_pins(struct sprd_pinctrl *sprd_pctl,
sprd_pctl         959 drivers/pinctrl/sprd/pinctrl-sprd.c 	struct sprd_pinctrl_soc_info *info = sprd_pctl->info;
sprd_pctl         965 drivers/pinctrl/sprd/pinctrl-sprd.c 	info->pins = devm_kcalloc(sprd_pctl->dev,
sprd_pctl         979 drivers/pinctrl/sprd/pinctrl-sprd.c 			pin->reg = (unsigned long)sprd_pctl->base +
sprd_pctl         985 drivers/pinctrl/sprd/pinctrl-sprd.c 			pin->reg = (unsigned long)sprd_pctl->base +
sprd_pctl         990 drivers/pinctrl/sprd/pinctrl-sprd.c 			pin->reg = (unsigned long)sprd_pctl->base +
sprd_pctl         997 drivers/pinctrl/sprd/pinctrl-sprd.c 		dev_dbg(sprd_pctl->dev, "pin name[%s-%d], type = %d, "
sprd_pctl        1010 drivers/pinctrl/sprd/pinctrl-sprd.c 	struct sprd_pinctrl *sprd_pctl;
sprd_pctl        1015 drivers/pinctrl/sprd/pinctrl-sprd.c 	sprd_pctl = devm_kzalloc(&pdev->dev, sizeof(struct sprd_pinctrl),
sprd_pctl        1017 drivers/pinctrl/sprd/pinctrl-sprd.c 	if (!sprd_pctl)
sprd_pctl        1020 drivers/pinctrl/sprd/pinctrl-sprd.c 	sprd_pctl->base = devm_platform_ioremap_resource(pdev, 0);
sprd_pctl        1021 drivers/pinctrl/sprd/pinctrl-sprd.c 	if (IS_ERR(sprd_pctl->base))
sprd_pctl        1022 drivers/pinctrl/sprd/pinctrl-sprd.c 		return PTR_ERR(sprd_pctl->base);
sprd_pctl        1030 drivers/pinctrl/sprd/pinctrl-sprd.c 	sprd_pctl->info = pinctrl_info;
sprd_pctl        1031 drivers/pinctrl/sprd/pinctrl-sprd.c 	sprd_pctl->dev = &pdev->dev;
sprd_pctl        1032 drivers/pinctrl/sprd/pinctrl-sprd.c 	platform_set_drvdata(pdev, sprd_pctl);
sprd_pctl        1034 drivers/pinctrl/sprd/pinctrl-sprd.c 	ret = sprd_pinctrl_add_pins(sprd_pctl, sprd_soc_pin_info, pins_cnt);
sprd_pctl        1040 drivers/pinctrl/sprd/pinctrl-sprd.c 	ret = sprd_pinctrl_parse_dt(sprd_pctl);
sprd_pctl        1063 drivers/pinctrl/sprd/pinctrl-sprd.c 	sprd_pctl->pctl = pinctrl_register(&sprd_pinctrl_desc,
sprd_pctl        1064 drivers/pinctrl/sprd/pinctrl-sprd.c 					   &pdev->dev, (void *)sprd_pctl);
sprd_pctl        1065 drivers/pinctrl/sprd/pinctrl-sprd.c 	if (IS_ERR(sprd_pctl->pctl)) {
sprd_pctl        1067 drivers/pinctrl/sprd/pinctrl-sprd.c 		return PTR_ERR(sprd_pctl->pctl);
sprd_pctl        1075 drivers/pinctrl/sprd/pinctrl-sprd.c 	struct sprd_pinctrl *sprd_pctl = platform_get_drvdata(pdev);
sprd_pctl        1077 drivers/pinctrl/sprd/pinctrl-sprd.c 	pinctrl_unregister(sprd_pctl->pctl);