Searched refs:pindesc (Results 1 – 7 of 7) sorted by relevance
/drivers/pinctrl/zte/ |
D | pinctrl-zx.c | 62 const struct pinctrl_pin_desc *pindesc = info->pins + group_selector; in zx_set_mux() local 63 struct zx_pin_data *data = pindesc->drv_data; in zx_set_mux() 100 u16 aoffset = pindesc->number / 16 * 4; in zx_set_mux() 101 u16 abitpos = (pindesc->number % 16) * 2; in zx_set_mux() 160 const struct pinctrl_pin_desc *pindesc = info->pins + pin; in zx_pin_config_get() local 161 struct zx_pin_data *data = pindesc->drv_data; in zx_pin_config_get() 213 const struct pinctrl_pin_desc *pindesc = info->pins + pin; in zx_pin_config_set() local 214 struct zx_pin_data *data = pindesc->drv_data; in zx_pin_config_set() 283 const struct pinctrl_pin_desc *pindesc = info->pins + i; in zx_pinctrl_build_state() local 286 group->name = pindesc->name; in zx_pinctrl_build_state() [all …]
|
/drivers/pinctrl/ |
D | core.c | 188 struct pin_desc *pindesc; in pinctrl_free_pindescs() local 190 pindesc = radix_tree_lookup(&pctldev->pin_desc_tree, in pinctrl_free_pindescs() 192 if (pindesc) { in pinctrl_free_pindescs() 195 if (pindesc->dynamic_name) in pinctrl_free_pindescs() 196 kfree(pindesc->name); in pinctrl_free_pindescs() 198 kfree(pindesc); in pinctrl_free_pindescs() 205 struct pin_desc *pindesc; in pinctrl_register_one_pin() local 207 pindesc = pin_desc_get(pctldev, pin->number); in pinctrl_register_one_pin() 208 if (pindesc) { in pinctrl_register_one_pin() 214 pindesc = kzalloc(sizeof(*pindesc), GFP_KERNEL); in pinctrl_register_one_pin() [all …]
|
D | pinctrl-rockchip.c | 2631 struct pinctrl_pin_desc *pindesc, *pdesc; in rockchip_pinctrl_register() local 2642 pindesc = devm_kcalloc(&pdev->dev, in rockchip_pinctrl_register() 2643 info->ctrl->nr_pins, sizeof(*pindesc), in rockchip_pinctrl_register() 2645 if (!pindesc) in rockchip_pinctrl_register() 2648 ctrldesc->pins = pindesc; in rockchip_pinctrl_register() 2651 pdesc = pindesc; in rockchip_pinctrl_register()
|
/drivers/pinctrl/qcom/ |
D | pinctrl-spmi-mpp.c | 802 struct pinctrl_pin_desc *pindesc; in pmic_mpp_probe() local 832 pindesc = devm_kcalloc(dev, npins, sizeof(*pindesc), GFP_KERNEL); in pmic_mpp_probe() 833 if (!pindesc) in pmic_mpp_probe() 849 pctrldesc->pins = pindesc; in pmic_mpp_probe() 858 for (i = 0; i < npins; i++, pindesc++) { in pmic_mpp_probe() 860 pindesc->drv_data = pad; in pmic_mpp_probe() 861 pindesc->number = i; in pmic_mpp_probe() 862 pindesc->name = pmic_mpp_groups[i]; in pmic_mpp_probe()
|
D | pinctrl-spmi-gpio.c | 972 struct pinctrl_pin_desc *pindesc; in pmic_gpio_probe() local 997 pindesc = devm_kcalloc(dev, npins, sizeof(*pindesc), GFP_KERNEL); in pmic_gpio_probe() 998 if (!pindesc) in pmic_gpio_probe() 1014 pctrldesc->pins = pindesc; in pmic_gpio_probe() 1022 for (i = 0; i < npins; i++, pindesc++) { in pmic_gpio_probe() 1024 pindesc->drv_data = pad; in pmic_gpio_probe() 1025 pindesc->number = i; in pmic_gpio_probe() 1026 pindesc->name = pmic_gpio_groups[i]; in pmic_gpio_probe()
|
/drivers/pinctrl/samsung/ |
D | pinctrl-samsung.c | 858 struct pinctrl_pin_desc *pindesc, *pdesc; in samsung_pinctrl_register() local 869 pindesc = devm_kcalloc(&pdev->dev, in samsung_pinctrl_register() 870 drvdata->nr_pins, sizeof(*pindesc), in samsung_pinctrl_register() 872 if (!pindesc) in samsung_pinctrl_register() 874 ctrldesc->pins = pindesc; in samsung_pinctrl_register() 878 for (pin = 0, pdesc = pindesc; pin < ctrldesc->npins; pin++, pdesc++) in samsung_pinctrl_register() 897 pdesc = pindesc + pin_bank->pin_base + pin; in samsung_pinctrl_register()
|
/drivers/pinctrl/mvebu/ |
D | pinctrl-armada-37xx.c | 957 struct pinctrl_pin_desc *pindesc, *pdesc; in armada_37xx_pinctrl_register() local 969 pindesc = devm_kcalloc(&pdev->dev, in armada_37xx_pinctrl_register() 970 pin_data->nr_pins, sizeof(*pindesc), in armada_37xx_pinctrl_register() 972 if (!pindesc) in armada_37xx_pinctrl_register() 975 ctrldesc->pins = pindesc; in armada_37xx_pinctrl_register() 978 pdesc = pindesc; in armada_37xx_pinctrl_register()
|