Searched refs:maxpin (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/pinctrl/pxa/ |
H A D | pinctrl-pxa2xx.c | 380 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()
|
/openbmc/linux/Documentation/driver-api/ |
H A D | pin-control.rst | 28 in the range 0..maxpin. This numberspace is local to each PIN CONTROLLER, so
|