Home
last modified time | relevance | path

Searched refs:maxnr (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/arch/powerpc/lib/
Drheap.c707 int maxnr; in rh_dump() local
710 maxnr = ARRAY_SIZE(st); in rh_dump()
717 nr = rh_get_stats(info, RHGS_FREE, maxnr, st); in rh_dump()
718 if (nr > maxnr) in rh_dump()
719 nr = maxnr; in rh_dump()
728 nr = rh_get_stats(info, RHGS_TAKEN, maxnr, st); in rh_dump()
729 if (nr > maxnr) in rh_dump()
730 nr = maxnr; in rh_dump()
/Linux-v4.19/drivers/tty/serial/8250/
D8250_exar.c460 unsigned int nr_ports, i, bar = 0, maxnr; in exar_pci_probe() local
474 maxnr = pci_resource_len(pcidev, bar) >> (board->reg_shift + 3); in exar_pci_probe()
506 for (i = 0; i < nr_ports && i < maxnr; i++) { in exar_pci_probe()
D8250_pci.c1313 unsigned int bar, offset = board->first_offset, maxnr; in pci_default_setup() local
1321 maxnr = (pci_resource_len(priv->dev, bar) - board->first_offset) >> in pci_default_setup()
1324 if (board->flags & FL_REGION_SZ_CAP && idx >= maxnr) in pci_default_setup()
1334 unsigned int bar, offset = board->first_offset, maxnr; in pci_pericom_setup() local
1345 maxnr = (pci_resource_len(priv->dev, bar) - board->first_offset) >> in pci_pericom_setup()
1348 if (board->flags & FL_REGION_SZ_CAP && idx >= maxnr) in pci_pericom_setup()