Searched refs:pindesc (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/pinctrl/ |
A D | core.c | 190 struct pin_desc *pindesc; in pinctrl_free_pindescs() local 194 if (pindesc) { in pinctrl_free_pindescs() 198 kfree(pindesc->name); in pinctrl_free_pindescs() 200 kfree(pindesc); in pinctrl_free_pindescs() 207 struct pin_desc *pindesc; in pinctrl_register_one_pin() local 210 if (pindesc) { in pinctrl_register_one_pin() 216 pindesc = kzalloc(sizeof(*pindesc), GFP_KERNEL); in pinctrl_register_one_pin() 217 if (!pindesc) in pinctrl_register_one_pin() 221 pindesc->pctldev = pctldev; in pinctrl_register_one_pin() 228 if (!pindesc->name) { in pinctrl_register_one_pin() [all …]
|
A D | pinctrl-rockchip.c | 2462 struct pinctrl_pin_desc *pindesc, *pdesc; in rockchip_pinctrl_register() local 2473 pindesc = devm_kcalloc(&pdev->dev, in rockchip_pinctrl_register() 2474 info->ctrl->nr_pins, sizeof(*pindesc), in rockchip_pinctrl_register() 2476 if (!pindesc) in rockchip_pinctrl_register() 2479 ctrldesc->pins = pindesc; in rockchip_pinctrl_register() 2482 pdesc = pindesc; in rockchip_pinctrl_register()
|
/linux/drivers/pinctrl/qcom/ |
A D | pinctrl-spmi-mpp.c | 829 struct pinctrl_pin_desc *pindesc; in pmic_mpp_probe() local 856 pindesc = devm_kcalloc(dev, npins, sizeof(*pindesc), GFP_KERNEL); in pmic_mpp_probe() 857 if (!pindesc) in pmic_mpp_probe() 873 pctrldesc->pins = pindesc; in pmic_mpp_probe() 882 for (i = 0; i < npins; i++, pindesc++) { in pmic_mpp_probe() 884 pindesc->drv_data = pad; in pmic_mpp_probe() 885 pindesc->number = i; in pmic_mpp_probe() 886 pindesc->name = pmic_mpp_groups[i]; in pmic_mpp_probe()
|
A D | pinctrl-spmi-gpio.c | 996 struct pinctrl_pin_desc *pindesc; in pmic_gpio_probe() local 1025 pindesc = devm_kcalloc(dev, npins, sizeof(*pindesc), GFP_KERNEL); in pmic_gpio_probe() 1026 if (!pindesc) in pmic_gpio_probe() 1042 pctrldesc->pins = pindesc; in pmic_gpio_probe() 1050 for (i = 0; i < npins; i++, pindesc++) { in pmic_gpio_probe() 1052 pindesc->drv_data = pad; in pmic_gpio_probe() 1053 pindesc->number = i; in pmic_gpio_probe() 1054 pindesc->name = pmic_gpio_groups[i]; in pmic_gpio_probe()
|
A D | pinctrl-lpass-lpi.c | 532 struct pinctrl_pin_desc pindesc; in lpi_gpio_dbg_show_one() local 547 pindesc = pctldev->desc->pins[offset]; in lpi_gpio_dbg_show_one() 555 seq_printf(s, " %-8s: %-3s %d", pindesc.name, is_out ? "out" : "in", func); in lpi_gpio_dbg_show_one()
|
/linux/drivers/pinctrl/samsung/ |
A 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()
|
/linux/drivers/pinctrl/mvebu/ |
A D | pinctrl-armada-37xx.c | 964 struct pinctrl_pin_desc *pindesc, *pdesc; in armada_37xx_pinctrl_register() local 976 pindesc = devm_kcalloc(&pdev->dev, in armada_37xx_pinctrl_register() 977 pin_data->nr_pins, sizeof(*pindesc), in armada_37xx_pinctrl_register() 979 if (!pindesc) in armada_37xx_pinctrl_register() 982 ctrldesc->pins = pindesc; in armada_37xx_pinctrl_register() 985 pdesc = pindesc; in armada_37xx_pinctrl_register()
|
Completed in 25 milliseconds