Home
last modified time | relevance | path

Searched refs:maxpin (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/pinctrl/pxa/
Dpinctrl-pxa2xx.c380 int ret, i, maxpin = 0; in pxa2xx_pinctrl_init() local
383 maxpin = max_t(int, ppins[i].pin.number, maxpin); in pxa2xx_pinctrl_init()
388 pctl->base_gafr = devm_kcalloc(&pdev->dev, roundup(maxpin, 16), in pxa2xx_pinctrl_init()
390 pctl->base_gpdr = devm_kcalloc(&pdev->dev, roundup(maxpin, 32), in pxa2xx_pinctrl_init()
392 pctl->base_pgsr = devm_kcalloc(&pdev->dev, roundup(maxpin, 32), in pxa2xx_pinctrl_init()
405 for (i = 0; i < roundup(maxpin, 16); i += 16) in pxa2xx_pinctrl_init()
407 for (i = 0; i < roundup(maxpin, 32); i += 32) { in pxa2xx_pinctrl_init()
/kernel/linux/linux-5.10/Documentation/driver-api/
Dpinctl.rst30 in the range 0..maxpin. This numberspace is local to each PIN CONTROLLER, so